Jennifer Richards
07e26dd52e
refactor: Replace deprecated force_text with force_str
2023-05-09 15:21:50 -03:00
Lars Eggert
caf80efd84
feat: Prefill the abstract, shepherd and AD info into a ballot writeup ( #5218 )
...
* feat: Prefill the abstract, shepherd and AD info into a ballot writeup
* Suggestions from @rjsparks
* Remove instructions to add IANA Expert template.
* Make "notes" fields for various bodies conditioned on the doc stream
2023-02-27 12:19:39 -06:00
Lars Eggert
f8b48f4c43
fix: use Internet-Draft more consistently across the UI ( #5104 )
...
* s/Internet Draft/Internet-Draft/i
* s/draft/Internet-Draft/i or s/draft/I-D/i
* s/ID/I-D/
* Fix tests
* a -> an
* Undo case-change to ASCII
* Address code review comments
* Add migrations
* Add merged migration
* fix: straighten out migrations
* fix: finish straightening out migrations
---------
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2023-02-11 10:09:28 -06:00
Robert Sparks
afac1f8f19
feat: enable editorial stream adoption and balloting ( #5011 )
...
* feat: enable editorial stream adoption and balloting
* fix: bring tests into line with refactor
* feat: force intended_std_level to Informational when adopting into a non-ietf stream.
* fix: improve blocking position labels and email content
* fix: simplify pointer to group on doc main page for rswg docs
* fix: recover from merge typos
* fix: correct defer and clear ballot behavior
* fix: improve publication request access logic
* fix: clean up broken editorial state
* fix: adjust test to match migrations
2023-01-31 13:50:51 -06:00
Jennifer Richards
56505147e0
fix: handle timezones in a bunch of places
2022-09-23 16:11:49 -03:00
Jennifer Richards
ebebdbed3e
refactor: replace datetime.now and datetime.today with timezone.now ( #4211 )
...
* refactor: replace datetime.now with timezone.now
* refactor: migrate model fields to use timezone.now as default
* refactor: replace datetime.today with timezone.now
datetime.datetime.today() is equivalent to datetime.datetime.now(); both
return a naive datetime with the current local time.
* refactor: rephrase datetime.now(tz) as timezone.now().astimezone(tz)
This is effectively the same, but is less likely to encourage accidental
use of naive datetimes.
* refactor: revert datetime.today() change to old migrations
* refactor: change a missed datetime.now to timezone.now
* chore: renumber timezone_now migration
* chore: renumber migrations
2022-08-25 13:45:16 -03:00
Robert Sparks
f5a04263e5
Added the notion of responsible leadership.
...
- Legacy-Id: 19202
2021-07-07 17:49:35 +00:00
Robert Sparks
6b383255ad
Staging for merge forward
...
- Legacy-Id: 19199
2021-07-06 18:05:54 +00:00
Jennifer Richards
b08110b838
Allow external resources to be set/suggested during submission process. Fixes #3068 . Commit ready for merge.
...
- Legacy-Id: 18960
2021-04-19 20:21:19 +00:00
Jennifer Richards
e11583a87f
Allow assignment of Person as "action holder" for a Doc, plus rudimentary automation of assignment. Fixes #3146 . Commit ready for merge.
...
- Legacy-Id: 18829
2021-02-12 20:31:00 +00:00
Robert Sparks
3697180cc1
Reverted merge of timezone-aware migration efforts.
...
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz
774e752a54
Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
...
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Robert Sparks
7e384a8aea
Send email to new mailtrigger controlled destinations when iana expert review state changes. Fixes #3121 . Commit ready for merge.
...
- Legacy-Id: 18714
2020-11-18 21:32:48 +00:00
Henrik Levkowetz
9125104065
Merged in [18324] from rjsparks@nostrum.com:
...
Send extra mail to yangdoctors chairs when a draft with yang checks goes into IETF LC. Fixes #2419 .
- Legacy-Id: 18363
Note: SVN reference [18324] has been migrated to Git commit cb58810705
2020-08-13 11:23:22 +00:00
Robert Sparks
cb58810705
Send extra mail to yangdoctors chairs when a draft with yang checks goes into IETF LC. Fixes #2419 . Commit ready to merge.
...
- Legacy-Id: 18324
2020-07-30 21:44:02 +00:00
Henrik Levkowetz
e4bc508abc
Merged in [18298] from rjsparks@nostrum.com:
...
Convert IRTF area groups into their own group type rather than attempting to overload AG. Fixes #3027 .
- Legacy-Id: 18320
Note: SVN reference [18298] has been migrated to Git commit 2b10465aa7
2020-07-30 14:27:17 +00:00
Robert Sparks
2b10465aa7
Convert IRTF area groups into their own group type rather than attempting to overload AG. Fixes #3027 . Commit ready for merge.
...
- Legacy-Id: 18298
2020-07-28 18:54:44 +00:00
Russ Housley
e0ca07e65d
Send email to AD when an IETF Last Call expires that contains downrefs. Fixes #2472
...
- Legacy-Id: 18276
2020-07-25 21:09:50 +00:00
Jennifer Richards
6e97a89786
Notify IRSG when an IRSG ballot is created. Fixes #2978 . Commit ready for merge.
...
- Legacy-Id: 18162
2020-07-13 16:45:45 +00:00
Jennifer Richards
24140fac50
Notify secretariat when conflict review/status change doc enters an announcement pending state. Fixes #2962 . Commit ready for merge.
...
- Legacy-Id: 18159
2020-07-13 16:11:58 +00:00
Henrik Levkowetz
bc05e7a8d0
Refactored many instances of msg.get_payload(decode=True).decode('utf-8') and similar to get_payload_text(msg), which uses msg.get_charset() to get the actual charset to do the decoding, in a consistent manner. Also removed some instances of force_str, but more remain.
...
- Legacy-Id: 17807
2020-05-16 20:20:05 +00:00
Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz
e9a37d8ac8
Removed six.text_type(), changed six.moves.urllib to plain urllib, and removed now unused six imports.
...
- Legacy-Id: 17385
2020-03-05 14:41:41 +00:00
Robert Sparks
4cce1b5e08
Make internal review email about an RG use the IRSG instead of the IESG in text and addresses. Fixes #2881 . Commit ready for merge.
...
- Legacy-Id: 17288
2020-02-11 20:17:42 +00:00
Henrik Levkowetz
6482254a03
Merged in ^/branch/akayla/irsg/6.113.1.dev0 from peter@akayla.com.
...
This provides support for IRSG ballots, similar to the IESG ballots support which has been in use for quite some time. The IRSG ballots differ from IESG ballots in a number of ways, described in detail in the RFP and SoW for this work and implemented here.
- Legacy-Id: 17164
2019-12-20 15:00:55 +00:00
Peter E. Yee
bb7e504d14
12/13 merged into 6.113.1.dev0 with migration ordering failure
...
- Legacy-Id: 17149
2019-12-13 19:53:45 +00:00
Henrik Levkowetz
bdc73e771a
Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
...
- Legacy-Id: 16461
2019-07-16 13:20:05 +00:00
Henrik Levkowetz
8c6eb3a30a
Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
...
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz
36cac48063
Fixed a bunch of str/bytes issues.
...
- Legacy-Id: 16341
2019-06-30 20:54:09 +00:00
Henrik Levkowetz
3ec7e864be
Converted leading tabs to spaces in ietf/**/*.py
...
- Legacy-Id: 16310
2019-06-27 14:51:02 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
682ddee8e4
Reverted earlier application of on_behalf_of() at mail sending call points, and instead did all on_behalf_of processing in condition_message(). Added insertion of Reply-To header fields in this case. Changed all use of the mail-sending 'extra' parameters to use value lists. Updated a bunch of tests accordingly.
...
- Legacy-Id: 16020
2019-03-11 17:01:33 +00:00
Henrik Levkowetz
435a0da12d
Added on_behalf_of() calls for from addresses needing it throughout the code.
...
- Legacy-Id: 15992
2019-03-04 20:14:19 +00:00
Henrik Levkowetz
57a4c9f41f
Added 9 new group features, and changed list-like char fields to json fields, to get better support for using the values as lists. Modified code to use the group features instead of explicit lists of group types in many places in the code.
...
- Legacy-Id: 15908
2019-01-22 18:11:46 +00:00
Jean Mahoney
194d8c89d1
Verb tense used in Ballot Issued emails now matches whether the LC end date is in the past or future. Fixes issue #2482 . Commit ready for merge.
...
- Legacy-Id: 15679
2018-11-03 03:38:52 +00:00
Henrik Levkowetz
cdc295bab8
Merged in [14655] from housley@vigilsec.com:
...
Strip the HTML tags around the new values in the mail produced by email_iesg_processing_document. Also, provide the previously missing URL at the end of the message. Fixes 2455.
- Legacy-Id: 14657
Note: SVN reference [14655] has been migrated to Git commit 6ea0881a89
2018-02-19 17:36:09 +00:00
Russ Housley
6ea0881a89
Strip the HTML tags around the new values in the mail produced by email_iesg_processing_document. Also, provide the previously missing URL at the end of the message. Fixes 2455.
...
- Legacy-Id: 14655
2018-02-18 20:40:49 +00:00
Henrik Levkowetz
1f976da5c1
Third part of document read refactoring, after [14406] and [14410]. This replaces all usage of the non-unicode-aware get_document_content() function with unicode-aware Document.text() or Document.text_or_error() methods. This was triggered by yet another report of unicode content not being shown properly, and should fix all instances of document (drafts, agendas, minutes, etc.) display in the datatracker not handling unicode characters properly.
...
- Legacy-Id: 14411
Note: SVN reference [14406] has been migrated to Git commit 967ece7e7d
Note: SVN reference [14410] has been migrated to Git commit 660c81c272
2017-12-11 16:23:51 +00:00
Henrik Levkowetz
660c81c272
Tweaked the file content read refactoring in [14406] to try latin-1 conversion if unicode doesn't work.
...
- Legacy-Id: 14410
Note: SVN reference [14406] has been migrated to Git commit 967ece7e7d
2017-12-10 17:48:09 +00:00
Henrik Levkowetz
967ece7e7d
Started refactoring of reading text from document files (drafts, charters, etc.) in order to normalise on one way of doing this, and making that return unicode rather than undecoded bytes. This is the first step of two, in order to gauge the possible issues and report on discrepancies.
...
- Legacy-Id: 14406
2017-12-08 21:51:11 +00:00
Henrik Levkowetz
b4fd2b63a8
Merged in [13205] from housley@vigilsec.com:
...
Check downref registry when producing Last Call text. Fixes #2069 .
- Legacy-Id: 13210
Note: SVN reference [13205] has been migrated to Git commit aa7ed23cda
2017-04-12 21:24:33 +00:00
Russ Housley
aa7ed23cda
Check downref registry when producing Last Call text. Fixes #2069 .
...
- Legacy-Id: 13205
2017-04-12 18:27:05 +00:00
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Lars Eggert
afdf154e0a
Change "ID Tracker" to "Datatracker" in various places. Fixes some of #2100 .
...
Commit ready for merge.
- Legacy-Id: 13108
2017-03-25 18:23:38 +00:00
Henrik Levkowetz
4daf66d11c
Added DocEvent rev= parameter througout the code.
...
- Legacy-Id: 12978
2017-03-06 15:08:21 +00:00
Henrik Levkowetz
5f053ad21a
Cleaned up the remaining explicit url names, using dotted-paths to view
...
functions instead. In all almost 700 changes.
- Legacy-Id: 12923
2017-02-26 23:21:49 +00:00
Henrik Levkowetz
988a2b808f
Added explicit charset setting and consistent encoding to several email paths through the datatracker. After introducing support for non-ascii names in email addresses, using role.formatted_email() to insert names into email content doesn't work any more, since uncode names will now be rfc2047-encoded in formatted_email(). Added another method role.name_and_email() for this case. Replaced another case of '%s <%s>' name-and-email formatting with formataddr(). Fixed some tests which did not send unicode email bodies to the email functions. Fixes issue #2017 .
...
- Legacy-Id: 12896
2017-02-21 19:17:10 +00:00
Henrik Levkowetz
4b0a9360f0
Merged in ^/branch/iola/event-saving-refactor-r10291, which refactors document saving to always use doc.save_with_history(events), and requires accompanying events. This branch also provides refactoring of recurring regexes in url patterns into a dictionary. As part of the merge, also refactored new code which didn't use the save_with_history() method.
...
- Legacy-Id: 11840
2016-08-23 10:52:08 +00:00
Henrik Levkowetz
f2150df76a
Merged in [11687], [11710] from presnick@qti.qualcomm.com:
...
Generate a message to Secretary and IESG when AD changes a draft state
to 'Approved'. Fixes issue #796 .
- Legacy-Id: 11714
Note: SVN reference [11687] has been migrated to Git commit ae87e84610
Note: SVN reference [11710] has been migrated to Git commit 65bb1f2738
2016-07-19 10:48:13 +00:00
Pete Resnick
ae87e84610
Generate message to Secretary and IESG when AD changes a draft state to "Approved".
...
Fixes issue #796 . Commit ready for merge.
- Legacy-Id: 11687
2016-07-16 17:09:21 +00:00