Commit graph

340 commits

Author SHA1 Message Date
Robert Sparks 7bc6f2b6b2
fix: return same bibxml for versioned and versionless references (#4470)
* fix: return same bibxml for versioned and versionless references

Fixes #4384.

Refactors bibxml production to remove repeated logic.

Abandons the half-implemented idea that returning information
from the Submission object might be better than the Document or
DocHistory objects.

* fix: test for None with `is not` and simplify choice from multiple qs objects

Addresses review comments.
2022-09-19 10:38:57 -05:00
Robert Sparks 9c236ea2a2
chore: remove unneeded logging and code marked unreachable that has not been reached. (#4305)
* chore: remove unneeded logging and code marked unreachable that has not been reached.

* fix: remove noop save override
2022-08-04 11:25:31 -05:00
Peter Yee 3a1d8b398d
Fix: corrects the IESG evaluation record summary for approved docs (#4261)
* fix: corrects the IESG evaluation record summary statement for documents where the IESG state is approved (announced or not).

* fix: corrects IESG evaluation record summary for approved docs
This is a correction to a previous fix that didn't pass all the tests
for some documents

* fix: corrects IESG evaluation record summary for approved docs
Corrects the previous fix by removing commented out code. Sigh. At least
these are free.
2022-07-24 07:53:46 -05:00
Lars Eggert 1ba87890ba
feat: Render the document shepherd writeup templates at two new URLs (#4225)
* feat: Render the document shepherd writeup templates at two new URL.

Those being `/doc/shepherdwriteuptemplate/group` and
`/doc/shepherdwriteuptemplate/individual`.

* Address review comments from @jennifer-richards

* Fixes

* Remove debug statement

* Make bleach sanitizer not strip the `start` attribute of `ol` tags

Also rearrange the code a bit

* Don't sanitize the `python_markdown` output, it destroys wanted formatting

* Restore bleach

* Don't bleach tag `id`s.
2022-07-22 13:43:02 -05:00
Robert Sparks fcbd5e418f
fix: stabilize the order of related documents shown on status-change pages (#4237) 2022-07-21 11:19:52 -05:00
Lars Eggert 169ab1c10f
fix: Adopt -> Manage adoption (#3922)
Fixes #3877
2022-05-03 09:32:24 -05:00
Jennifer Richards 43952a8c69
fix: do not prematurely dereference status change RelatedDocuments (#3835)
* test: add tests of the person_link tag

* fix: do not prematurely dereference status change RelatedDocuments

The urlize_related_source_list template tag expects the RelatedDocument
instances, not the source Document.

* test: add test cases for status changes on document_main view
2022-04-19 07:04:38 -05:00
Lars Eggert 870fed030f
fix: More fixes for narrow screens (#3662)
* fix: More fixes for narrow screens

Need to keep checking for issues, there are more.

* Make columns more narrow on narrow screens

* More fixes

* More fixes

* Test fixes

* Fix more tests

* Close tbody
2022-03-24 12:40:48 -03:00
Jennifer Richards 6c260a5b7e Merge 7.45.1.dev0 into Bootstrap 5 update branch. Made a first pass at reconciling differences.
- Legacy-Id: 19945
2022-02-17 20:09:49 +00:00
Jennifer Richards 66687a5a37 Update any_email_sent() to use balloters instead of old ad field. Add tests to catch the otherwise quiet failure. Fixes #3438. Commit ready for merge.
- Legacy-Id: 19837
2022-01-12 20:21:41 +00:00
Lars Eggert 8bc7fde027 More fixes.
- Legacy-Id: 19828
2022-01-11 07:02:39 +00:00
Jennifer Richards cf62b46093 Find references from submitted XML instead of rendering to text and parsing. Fixes #3342. Commit ready for merge.
- Legacy-Id: 19825
2022-01-07 17:53:23 +00:00
Lars Eggert 5132661b06 More test fixes
- Legacy-Id: 19803
2022-01-05 11:25:25 +00:00
Lars Eggert c68446ae93 More select2 and test fixes.
- Legacy-Id: 19781
2021-12-14 18:19:12 +00:00
Robert Sparks 9b54c9d3c9 Merged in [19763] from jennifer@painless-security.com:
Add ability to import session minutes from notes.ietf.org. Mock out calls to the requests library in tests. Call markdown library through a util method. Fixes #3489.
 - Legacy-Id: 19767
Note: SVN reference [19763] has been migrated to Git commit fd0df6f619
2021-12-09 22:43:19 +00:00
Jennifer Richards fd0df6f619 Add ability to import session minutes from notes.ietf.org. Mock out calls to the requests library in tests. Call markdown library through a util method. Fixes #3489. Commit ready for merge.
- Legacy-Id: 19763
2021-12-09 17:16:19 +00:00
Robert Sparks adbf8acb81 Provide pdfs of htmlized (pdfized) documents to replace tools.ietf.org/pdf/ at /doc/pdf. Commit ready for merge.
- Legacy-Id: 19753
2021-12-07 23:49:58 +00:00
Robert Sparks 024cfc3f20 Provide a more direct replacement for tools.ietf.org/id at doc/id. Commit ready for merge.
- Legacy-Id: 19747
2021-12-03 18:15:48 +00:00
Jennifer Richards 38469966e2 Return rev used to find doc when heuristics modify the input. Share heuristics between rfcdiff and html views. Fixes #3437. Commit ready for merge.
- Legacy-Id: 19658
2021-11-12 21:45:58 +00:00
Robert Sparks 4c1cfea343 Revert merge of r19554. Speed comparison was flawed, and moving the few comparisons into python made no relevant difference.
- Legacy-Id: 19566
2021-11-08 20:37:57 +00:00
Robert Sparks 3dc41033c7 Separating the relateddocument query results in python when building the document main page is slightly faster
- Legacy-Id: 19554
2021-11-05 19:40:29 +00:00
Robert Sparks 19fb998c95 Gather related document information a little more efficiently for the draft main view
- Legacy-Id: 19553
2021-11-05 19:11:30 +00:00
Robert Sparks 036966da97 Provide a metadata endpoint to assist rfcdiff.pyht. Commit ready for merge.
- Legacy-Id: 19396
2021-10-01 21:31:24 +00:00
Jennifer Richards 2060173f3a Improve proceedings display with new title block, configurable host logos, and additional PDF or URL materials. Fixes #3147. Commit ready for merge.
- Legacy-Id: 19306
2021-08-30 17:02:49 +00:00
Robert Sparks 1eb46361a0 Provide a per-document status file in the format expected by idnits2. Rework the rfc status blob and obsoleted file to manage the long generation times. Commit ready for merge.
- Legacy-Id: 19265
2021-07-30 16:13:15 +00:00
Robert Sparks b179143303 Supply missing template for idnits2-rfcs-obsoleted. Add a view that provides the rfc-status blob used by idnits. Commit ready for merge.
- Legacy-Id: 19263
2021-07-28 18:24:12 +00:00
Robert Sparks 3283645252 Provide replacement for idnits2's use of tools.ietf.org for a representation of obsoleted RFCs. Commit ready for merge.
- Legacy-Id: 19262
2021-07-27 19:40:57 +00:00
Robert Sparks 359889c1f7 Changed the signature of can_manage_all_groups_of_type to only take a type_id. Removed the logic that tried to distinguish permissions for teams by parent - that should be modeled as separate type_ids instead. Commit ready for merge.
- Legacy-Id: 19258
2021-07-22 18:34:57 +00:00
Robert Sparks 7ede0942d0 Rename ietf.group.utils.can_manage_group_type to can_manage_all_groups_of_type to improve code readability where it is used. Commit ready for merge.
- Legacy-Id: 19256
2021-07-22 18:05:06 +00:00
Robert Sparks 0002e43cab Merged in [19243] from rjsparks@nostrum.com:
Render markdown on the document main page for document materials. Fixes #2927.
 - Legacy-Id: 19245
Note: SVN reference [19243] has been migrated to Git commit 0eb027879a
2021-07-20 20:38:41 +00:00
Robert Sparks 0eb027879a Render markdown on the document main page for document materials. Fixes #2927. Commit ready for merge.
- Legacy-Id: 19243
2021-07-20 19:58:31 +00:00
Robert Sparks 8b72e3ce1e Merged in [19228] from rjsparks@nostrum.com:
Add BOF Requests to the datatracker.
 - Legacy-Id: 19237
Note: SVN reference [19228] has been migrated to Git commit 84717102b0
2021-07-15 21:39:57 +00:00
Robert Sparks 6b5c0ac499 Merged in [19200] from housley@vigilsec.com:
Better explain ballot positions from former area dirctors. Fixes #3228. Branch
 - Legacy-Id: 19229
Note: SVN reference [19200] has been migrated to Git commit b2e5873577290740133120f21ec340cbcef513f5
2021-07-15 20:23:50 +00:00
Robert Sparks dcd372a928 Restrict editor access in all states but proposed.
- Legacy-Id: 19205
2021-07-08 19:16:58 +00:00
Robert Sparks f5a04263e5 Added the notion of responsible leadership.
- Legacy-Id: 19202
2021-07-07 17:49:35 +00:00
Robert Sparks 338da98661 merged forward. Gave IAB same abilities as IESG.
- Legacy-Id: 19201
2021-07-06 20:19:12 +00:00
Robert Sparks 6b383255ad Staging for merge forward
- Legacy-Id: 19199
2021-07-06 18:05:54 +00:00
Robert Sparks 5f6816d742 Handle bare numbers and rfc names with a space for the /doc/html view. Fixes #1999. Commit ready for merge.
- Legacy-Id: 19095
2021-06-07 21:25:42 +00:00
Jennifer Richards 6cf9eb8dd1 Allow secretariat to edit document author list. Fixes #3185. Commit ready for merge.
- Legacy-Id: 18989
2021-05-11 18:40:28 +00:00
Robert Sparks 3b84ea6648 Merged in [18937] from rjsparks@nostrum.com:
Change the default behavior of a document's main page to show the 
full document content. Users can still control whether the full
page is shown on a particular document by adding either
?include_text=0 or ?include_text=1 to the url. Users can also use
the settings page at /account/settings to override the default
behavior for all documents. Fixes #3252.
 - Legacy-Id: 18946
Note: SVN reference [18937] has been migrated to Git commit 7cb5fdafbf149eb67161fc8297f70ba208f05fe9
2021-04-12 18:24:58 +00:00
Robert Sparks e76d32e61b Merged in [18905] from housley@vigilsec.com:
Point bibxml3 to I-D archive so that all version numbers are handled properly, and perform more robust revision suffix cleanup. Fixes #3188.
 - Legacy-Id: 18920
Note: SVN reference [18905] has been migrated to Git commit d42aab0d0a
2021-03-22 22:30:00 +00:00
Russ Housley d42aab0d0a Point bibxml3 to I-D archive so that all version numbers are handled properly, and perform more robust revision suffix cleanup. Fixes #3188.
- Legacy-Id: 18905
2021-03-06 23:30:13 +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