Commit graph

1542 commits

Author SHA1 Message Date
Robert Sparks 3697180cc1 Reverted merge of timezone-aware migration efforts.
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz a708bdf895 Refactored out a new test case DrafTestCase in order to re-use it to set up test directories with draft content, and updated the StatisticsTest to subclass it.
- Legacy-Id: 18783
2020-12-19 22:42:36 +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 ba29ab845a Merged in [18723] from mrcullen42@gmail.com:
Fixes #3032: Only send expiration warnings for drafts with a 'draft' state of 'active', to match the drafts that we will actually expire.
 - Legacy-Id: 18755
Note: SVN reference [18723] has been migrated to Git commit dbeb0e8d2d
2020-12-11 20:17:55 +00:00
Robert Sparks b673e9f836 Merged in [18719] from housley@vigilsec.com:
Automatically move the IESG document state when a ballot is issued, prevent a writeup change or re-issue of ballot if the document is already approved, and warn about issuing ballots before the IETF Last Call is finished. Fixes #3119.
 - Legacy-Id: 18746
Note: SVN reference [18719] has been migrated to Git commit 89ec802a5b
2020-12-10 17:04:41 +00:00
Margaret Cullen dbeb0e8d2d Fixes #3032: Only send expiration warnings for drafts with a "draft" state of "active", to match the drafts that we will actually expire. Commit ready for merge.
- Legacy-Id: 18723
2020-12-01 17:05:34 +00:00
Russ Housley 89ec802a5b Automatically move the IESG document state when a ballot is issued, prevent a writeup change or re-issue of ballot if the document is already approved, and warn about issuing ballots before the IETF Last Call is finished. Fixes #3119.
- Legacy-Id: 18719
2020-11-23 22:59:41 +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 7b02847149 Merged in [18701] from jennifer@painless-security.com:
Improve group 'about' link text on doc page. Fixes #3066.
 - Legacy-Id: 18704
Note: SVN reference [18701] has been migrated to Git commit cde31ce72f
2020-11-17 06:44:47 +00:00
Henrik Levkowetz 15c5a0ab8b Modified the document.save...() logging to give the document name
- Legacy-Id: 18702
2020-11-17 05:08:42 +00:00
Jennifer Richards cde31ce72f Improve group 'about' link text on doc page. Fixes #3066. Commit ready for merge.
- Legacy-Id: 18701
2020-11-16 18:11:05 +00:00
Robert Sparks ec061deef6 Add logging for times to save a document with history. Commit ready for merge.
- Legacy-Id: 18698
2020-11-16 17:17:00 +00:00
Henrik Levkowetz 088033d843 Added matching indexes to a number of models with ordering by multiple keys.
- Legacy-Id: 18664
2020-11-09 19:41:12 +00:00
Henrik Levkowetz dbd9ab0c66 Merged in [18627] from rjsparks@nostrum.com:
Repair warning call for duplicate review submission. Improve testing. Additional fix for #3092.
 - Legacy-Id: 18638
Note: SVN reference [18627] has been migrated to Git commit c8361aba80
2020-10-24 19:27:41 +00:00
Robert Sparks c8361aba80 Repair warning call for duplicate review submission. Improve testing. Additional fix for #3092. Commit ready for merge.
- Legacy-Id: 18627
2020-10-22 21:04:37 +00:00
Henrik Levkowetz 1832976b94 Added caching for the /doc/active page.
- Legacy-Id: 18625
2020-10-22 11:25:24 +00:00
Henrik Levkowetz 4bbe2fed93 Restricted a log.assertion to only run for current documents (not DocHistory entries). Fixed a buggy handling of document.group for historic groups.
- Legacy-Id: 18617
2020-10-15 11:29:14 +00:00
Henrik Levkowetz 6d36990446 Changed the cache-filling code for doc.get_state() to avoid a period where the cache is seen as valid but empty. Addresses an issue where documents occasionally appear to be in an unexpected state.
- Legacy-Id: 18564
2020-10-05 14:55:16 +00:00
Henrik Levkowetz f31b52e8f7 Merged in [18550] from rjsparks@nostrum.com:
Use the id-archive wherever we had been using the id-repository. Fixes #3080.
 - Legacy-Id: 18560
Note: SVN reference [18550] has been migrated to Git commit 3baea05e6d
2020-10-04 14:16:15 +00:00
Henrik Levkowetz 29d1a0b362 Merged in [18533] from rjsparks@nostrum.com:
Replaced review name collision resolution code with a decision to not save when it occurs. Fixes #3092.
 - Legacy-Id: 18559
Note: SVN reference [18533] has been migrated to Git commit 0ff5172a89d5a7ad48cb1fd03b1c8926e26e50f9
2020-10-04 13:36:44 +00:00
Robert Sparks 3baea05e6d Use the id-archive wherever we had been using the id-repository. Fixes #3080. Commit ready for merge.
- Legacy-Id: 18550
2020-10-02 14:13:17 +00:00
Henrik Levkowetz 0eee548999 Fixed a couple of pyflakes issues.
- Legacy-Id: 18516
2020-09-24 10:23:30 +00:00
Henrik Levkowetz e2caecba2f Added a migration to create missing DocAlias instances (and remove some bad ones).
- Legacy-Id: 18511
2020-09-22 15:25:58 +00:00
Henrik Levkowetz 51806b1964 Updated log.assertion() to provide an exception object (under Py3, it seems that logging.Logger instances ignore the traceback if there isn't also an exception object). Added a check for unset draft-iesg state to Document.set_state().
- Legacy-Id: 18503
2020-09-18 14:15:02 +00:00
Henrik Levkowetz 0fa1500f52 Changed the format of email addresses added to the document notifications filed when the document shepherd is set. Fixes issue #3079.
- Legacy-Id: 18494
2020-09-14 13:31:39 +00:00
Henrik Levkowetz 90a6ed0d08 Fixed a bad membership test.
- Legacy-Id: 18480
2020-09-09 15:32:38 +00:00
Henrik Levkowetz e86bf0194b Added an assertion to catch an unexpected document state (no IESG state set). Updated the log.assertion() function to accept a "note" argument, for more informative assertion messages.
- Legacy-Id: 18479
2020-09-09 14:09:43 +00:00
Henrik Levkowetz 1354604581 Fixed a pyflakes nit.
- Legacy-Id: 18470
2020-09-07 14:57:00 +00:00
Henrik Levkowetz 0fa8800644 Rewrote some code in document_main to avoid using the iesg_state.slug attribute when iesg_state might not be set.
- Legacy-Id: 18469
2020-09-07 14:54:29 +00:00
Henrik Levkowetz a6bbb33177 Merged in [18445] from rjsparks@nostrum.com:
Provide a management command to inform github backups.
 - Legacy-Id: 18455
Note: SVN reference [18445] has been migrated to Git commit 30ac9833c5
2020-09-01 12:10:48 +00:00
Henrik Levkowetz 21cd74a809 Added search field and tweaked the list display for the DocAlias admin.
- Legacy-Id: 18451
2020-08-31 15:38:33 +00:00
Henrik Levkowetz 2355f7c0e8 Merged in [18378] from rjsparks@nostrum.com:
Improved the classification of some github related external resources. Tightened validation of new resource values.
 - Legacy-Id: 18449
Note: SVN reference [18378] has been migrated to Git commit 2b70735fd2
2020-08-31 15:21:42 +00:00
Robert Sparks 30ac9833c5 Provide a management command to inform github backups. Commit ready for merge.
- Legacy-Id: 18445
2020-08-28 15:34:25 +00:00
Robert Sparks ba7e1f3c6a changes to improve interfacing with the backup scripts
- Legacy-Id: 18442
2020-08-28 15:28:22 +00:00
Henrik Levkowetz b3128842c9 Renamed the AUTH48 state_alert_badge() filter to auth48_alert_badge(), as the filter is specific, not generic.
- Legacy-Id: 18439
2020-08-28 13:29:15 +00:00
Henrik Levkowetz 5a64d6027c Added exception catching around an urlreverse that might fail. (Enumerating valid group types will also work, but can get out of sync, so this is more DRY).
- Legacy-Id: 18437
2020-08-28 12:57:22 +00:00
Henrik Levkowetz 1b2900007a Fixed an issue in the auth48 state_alert_badge() template filter, which could arise for a document where a get_state() call returns None.
- Legacy-Id: 18436
2020-08-28 12:49:09 +00:00
Henrik Levkowetz c98b6c8ad3 Fixed an issue with the generated tag for versioned bibxml entries under /doc/bibxml3 for drafts that have been published as RFC.
- Legacy-Id: 18418
2020-08-26 15:23:41 +00:00
Henrik Levkowetz 8d2e0a0637 Merged in [18357] from rjsparks@nostrum.com:
Show link to a drafts group page for all group types when the draft has a group. Fixes #3061.
 - Legacy-Id: 18406
Note: SVN reference [18357] has been migrated to Git commit cf42db8804
2020-08-24 10:53:10 +00:00
Robert Sparks f4fd4b1921 Gather actual repos to backup takinging user and organizational owners into account, iterating through owner repos when necessary using the github api.
- Legacy-Id: 18384
2020-08-19 19:07:29 +00:00
Robert Sparks 2b70735fd2 Improved the classification of some github related external resources. Tightened validation of new resource values. Commit ready to merge.
- Legacy-Id: 18378
2020-08-17 23:50:22 +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 cf42db8804 Show link to a drafts group page for all group types when the draft has a group. Fixes #3061. Commit ready for merge.
- Legacy-Id: 18357
2020-08-12 18:47:29 +00:00
Henrik Levkowetz 57938b039d Converted many cases of plain-text 403 messages to use a properly styled page instead, with a login link when appropriate. Also changed some API endpoint 400 responses to a more correct 403.
- Legacy-Id: 18339
2020-08-06 10:59:52 +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
Henrik Levkowetz 9dbdbd5078 Merged in [18296] from rjsparks@nostrum.com:
Show RSOC from the Group menu. Fixes #3024.
 - Legacy-Id: 18308
Note: SVN reference [18296] has been migrated to Git commit 328c92f395
2020-07-29 14:18:29 +00:00
Henrik Levkowetz 57f6fba930 Merged in [18276] from housley@vigilsec.com:
Send email to AD when an IETF Last Call expires that contains downrefs. Fixes #2472
 - Legacy-Id: 18306
Note: SVN reference [18276] has been migrated to Git commit e0ca07e65d
2020-07-29 13:08:10 +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
Robert Sparks 44d19f0533 Let MyPy know a decoration is on purpose. Commit ready for merge.
- Legacy-Id: 18297
2020-07-28 16:49:08 +00:00