Commit graph

1561 commits

Author SHA1 Message Date
Jennifer Richards 17d37723f7 Consolidate repeated searchable field code into SearchableField class. Fix single-valued searchable fields. Make javascript test config reusable. Use Django Form.media for JS/CSS inclusion. Fixes #3196, #3204. Commit ready for merge.
- Legacy-Id: 18939
2021-04-09 15:18:11 +00:00
Robert Sparks 67456530e4 Merged in [18858] and [18875] from kivinen@iki.fi:
Remove the automatic redirect from latest version to page without version number (also from tests), and made sure when viewing old snapshot which also happens to be last revision for draft where we have rfc, we show information from the draft, not from the rfc. Fixes issue #3162.
 - Legacy-Id: 18882
Note: SVN reference [18858] has been migrated to Git commit 84a25ed491

Note: SVN reference [18875] has been migrated to Git commit fedab94d3d
2021-03-03 17:11:13 +00:00
Robert Sparks 7cd52f4d81 Merged in [18869] from rjsparks@nostrum.com:
Display htmlized pages much more like tools.ietf.org.
 - Legacy-Id: 18880
Note: SVN reference [18869] has been migrated to Git commit b075c2dca8
2021-03-03 15:40:55 +00:00
Robert Sparks fa0826f860 Merged in [18862] from peter@akayla.com:
Modifies stream name descriptions and changes document page to use the description instead of the stream name. Fixes issue 3169.
 - Legacy-Id: 18879
Note: SVN reference [18862] has been migrated to Git commit 12a5e04689
2021-03-02 23:33:48 +00:00
Tero Kivinen fedab94d3d Fix the format links to point to correct location when latest snapshot
is used, also corrects the versions links at the top.
 - Legacy-Id: 18875
2021-03-02 19:06:36 +00:00
Robert Sparks 9744ae12e5 Reverted r18858. More work is needed.
- Legacy-Id: 18873
2021-03-02 18:35:34 +00:00
Robert Sparks 5b43494421 Merged in [18858] from kivinen@iki.fi:
Remove the automatic redirect from latest version to page without version number (also from tests), and made sure when viewing old snapshot which also happens to be last revision for draft where we have rfc, we show information from the draft, not from the rfc. Fixes issue #3162.
 - Legacy-Id: 18872
Note: SVN reference [18858] has been migrated to Git commit 84a25ed491
2021-03-02 17:17:30 +00:00
Robert Sparks c44c8a0caa Merged in [18857] from housley@vigilsec.com:
Properly handle bibxml3 for drafts with filenames that end in a hypen and digits. Fixes #3188.
 - Legacy-Id: 18870
Note: SVN reference [18857] has been migrated to Git commit cb554fa862
2021-03-02 14:51:08 +00:00
Robert Sparks b075c2dca8 Display htmlized pages much more like tools.ietf.org. Commit ready for merge.
- Legacy-Id: 18869
2021-03-01 22:50:31 +00:00
Robert Sparks 87489c8694 Merged in [18856] from rjsparks@nostrum.com:
Patch around multiple newrevisiondocevents.
 - Legacy-Id: 18868
Note: SVN reference [18856] has been migrated to Git commit 160030c745
2021-03-01 22:31:16 +00:00
Robert Sparks 8bf32fc890 Adjust several searchable fields to match a changed interface in select2-field.js
- Legacy-Id: 18867
2021-02-26 16:23:04 +00:00
Robert Sparks ae4c2d1fca Updated test (minor) to match changes in generation of page
- Legacy-Id: 18864
2021-02-24 19:10:23 +00:00
Robert Sparks 2421e41f3f Minor tweaks
- Legacy-Id: 18863
2021-02-24 18:26:45 +00:00
Peter E. Yee 12a5e04689 Modifies stream name descriptions and changes document page to use the description instead of the stream name. Fixes issue 3169. Commit ready for merge.
- Legacy-Id: 18862
2021-02-24 03:11:50 +00:00
Robert Sparks fc6579c712 Remove datatracker menu, simplify the base, and focus primarily on styling for just this page. Add the colorbar and tooltips.
- Legacy-Id: 18861
2021-02-23 23:16:07 +00:00
Tero Kivinen 84a25ed491 Remove the automatic redirect from latest version to page without version number (also from tests), and made sure when viewing old snapshot which also happens to be last revision for draft where we have rfc, we show information from the draft, not from the rfc. Fixes issue #3162. Commit ready for merge.
- Legacy-Id: 18858
2021-02-23 19:17:45 +00:00
Russ Housley cb554fa862 Properly handle bibxml3 for drafts with filenames that end in a hypen and digits. Fixes #3188.
- Legacy-Id: 18857
2021-02-23 18:38:06 +00:00
Robert Sparks 160030c745 Patch around multiple newrevisiondocevents. Commit ready for merge.
- Legacy-Id: 18856
2021-02-20 19:29:56 +00:00
Robert Sparks 436d68e5c1 Change ietf.doc.tests.TemplateTagTest to use our own TestCase class rather than bare unittest.
- Legacy-Id: 18837
2021-02-17 21:38:31 +00:00
Robert Sparks 156cbf680e Change styling to get closer to tools. Implement most of the info items.
- Legacy-Id: 18836
2021-02-16 22:41:31 +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 e94f5c15ff Allow ballot text to be edited after the ballot is approved. Fixes #3157. Related to #3119. Commit ready to merge.
- Legacy-Id: 18791
2021-01-11 22:59:11 +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