datatracker/ietf/templates/doc
Jennifer Richards 149f82f578
fix: Include refs to pre-RFC drafts as refs to the RFC (#6784)
* fix: clean up shadowed name in document_referenced_by.html

* fix: include refs to rfc's came_from_draft()

* fix: include refs to draft's became_rfc()

* fix: Count indirect refs by RFCs

* refactor: break indirect ref_by counting to its own fn

* fix: only count refs to pre-rfc draft, not post-draft rfc

(and rename a method)

* test: test referenced_by_rfcs methods

The test_referenced_by_rfcs_as_rfc_or_draft() test
fails because there's a bug!

* test: actually, do double-count refs to rfc/draft

Let's do include refs to an rfc and its precursor draft
as separate refs. This almost surely indicates a data
error because it would mean an rfc referenced both an
rfc and the draft that it came from. That should never
be allowed, so at least let some light fall on it if
it happens.

* chore: Add docstring to document_referenced_by view
2023-12-18 09:11:53 -06:00
..
ballot chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
bofreq chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
charter chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
conflict_review chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
draft chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
mail chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
material fix: replace deprecated bootstrap things (#5858) 2023-07-18 12:22:28 -05:00
review chore: merge main and fix new views 2023-11-16 15:58:22 -06:00
search chore: merge main and fix new views 2023-11-16 15:58:22 -06:00
statement chore: feat/dark-mode <- main (#6103) 2023-08-10 09:49:15 -05:00
stats fix: More darkmode fixes (#6477) 2023-10-23 18:38:35 -05:00
status_change fix: teach ajax_select2_search_docs about rfcs (#6679) 2023-11-21 15:33:44 -06:00
ad_list.html feat: Revamp AD dashboard (#6534) 2023-11-15 11:25:30 -06:00
add_comment.html feat: add "add comment" feature to the review requests. (#6603) 2023-11-05 09:29:25 +01:00
add_sessionpresentation.html fix: replace deprecated bootstrap things (#5858) 2023-07-18 12:22:28 -05:00
ballot_popup.html feat: enable editorial stream adoption and balloting (#5011) 2023-01-31 13:50:51 -06:00
bibxml.xml feat: add target to bibxml-ids (#5148) 2023-02-15 11:37:56 -06:00
change_ad.html chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
change_shepherd.html fix: replace deprecated bootstrap things (#5858) 2023-07-18 12:22:28 -05:00
change_shepherd_email.html fix: replace deprecated bootstrap things (#5858) 2023-07-18 12:22:28 -05:00
change_state.html fix: replace deprecated bootstrap things (#5858) 2023-07-18 12:22:28 -05:00
change_title.html chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
document_ballot.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
document_ballot_content.html chore: merge main and fix conflicts 2023-08-30 16:35:20 -05:00
document_bibtex.bib chore: merge branch 'main' into feat/rfc 2023-12-05 09:12:11 -06:00
document_bofreq.html chore: merge main and fix conflicts 2023-08-30 16:35:20 -05:00
document_charter.html chore: merge main and fix new views 2023-11-16 15:58:22 -06:00
document_chatlog.html chore: merge main and fix conflicts 2023-08-30 16:35:20 -05:00
document_conflict_review.html fix: use type instead of state in templates 2023-09-05 18:04:16 -05:00
document_draft.html chore: merge branch 'main' into feat/rfc 2023-11-01 10:54:29 -05:00
document_email.html fix: Linkify email address lists one-by-one (#6315) 2023-09-15 10:45:58 -05:00
document_format_buttons.html fix: use type instead of state in templates 2023-09-05 18:04:16 -05:00
document_history.html fix: put rfc history on left 2023-09-26 17:17:04 -05:00
document_history_form.html fix: repair broken html 2023-09-13 14:10:29 -05:00
document_html.html chore: merge branch 'main' into feat/rfc 2023-11-01 10:54:29 -05:00
document_info.html fix: make Was link go to the right place. Remove unreachable code. 2023-09-15 16:49:21 -05:00
document_material.html fix: Add link to session to material metadata (#6536) 2023-10-25 08:28:50 -05:00
document_polls.html chore: merge main and fix conflicts 2023-08-30 16:35:20 -05:00
document_referenced_by.html fix: Include refs to pre-RFC drafts as refs to the RFC (#6784) 2023-12-18 09:11:53 -06:00
document_references.html feat: show references to and from subseries 2023-11-01 15:57:34 -05:00
document_review.html fix: replace deprecated bootstrap things (#5858) 2023-07-18 12:22:28 -05:00
document_rfc.html fix: repairs to the timeline graphic 2023-09-12 09:23:01 -05:00
document_statement.html fix: repairs to the timeline graphic 2023-09-12 09:23:01 -05:00
document_status_change.html chore: merge main and fix conflicts 2023-08-30 16:35:20 -05:00
document_subseries.html feat: Sort RFCs on subseries views; fix page title (#6704) 2023-11-29 12:34:18 -06:00
document_subseries_top.html feat: Sort RFCs on subseries views; fix page title (#6704) 2023-11-29 12:34:18 -06:00
document_top.html fix: bring tests up current. add subseries names to rfc view. fix html. 2023-09-22 12:40:15 -05:00
document_writeup.html fix: replace deprecated bootstrap things (#5858) 2023-07-18 12:22:28 -05:00
downref.html fix: Add definition of DOWNREF from RFC3967 (#5789) 2023-06-08 15:14:14 -05:00
downref_add.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
drafts_for_ad.html chore: merge main and fix conflicts 2023-08-30 16:35:20 -05:00
drafts_in_iesg_process.html chore: merge main and fix conflicts 2023-08-30 16:35:20 -05:00
drafts_in_last_call.html fix: replace deprecated bootstrap things (#5858) 2023-07-18 12:22:28 -05:00
edit_action_holders.html chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
edit_authors.html chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
edit_field.html chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
edit_notify.html chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
edit_sessionpresentation.html fix: replace deprecated bootstrap things (#5858) 2023-07-18 12:22:28 -05:00
edit_telechat_date.html fix: replace deprecated bootstrap things (#5858) 2023-07-18 12:22:28 -05:00
email_aliases.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
eval_email.txt fix: send status change eval and lc to IANA. Fixes #3504. (#4244) 2022-07-23 12:36:00 -05:00
frontpage.html chore: merge main and fix conflicts 2023-08-30 16:35:20 -05:00
idnits2-rfcs-obsoleted.txt Supply missing template for idnits2-rfcs-obsoleted. Add a view that provides the rfc-status blob used by idnits. Commit ready for merge. 2021-07-28 18:24:12 +00:00
idnits2-state.txt refactor: Replace is_rfc() tests (#5925) 2023-07-06 12:07:53 -03:00
index_active_drafts.html fix: use slowpages to cache doc/active (#5781) 2023-06-07 15:35:17 -05:00
index_all_drafts.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
index_subseries.html feat: Sort RFCs on subseries views; fix page title (#6704) 2023-11-29 12:34:18 -06:00
irsg_ballot_status.html fix: Say when no IRSG ballots exist (#4788) 2022-11-23 10:01:02 -06:00
opengraph.html fix: use type instead of state in templates 2023-09-05 18:04:16 -05:00
recent_drafts.html fix: replace deprecated bootstrap things (#5858) 2023-07-18 12:22:28 -05:00
relationship_help.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
remind_action_holders.html chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
remove_sessionpresentation.html fix: replace deprecated bootstrap things (#5858) 2023-07-18 12:22:28 -05:00
review_assignment_summary.html chore: merge main and fix conflicts 2023-08-30 16:35:20 -05:00
review_request_summary.html chore: merge main and fix conflicts 2023-08-30 16:35:20 -05:00
revisions_list.html fix: repair many revision related issues with the main and htmlized views 2023-09-12 08:55:38 -05:00
rsab_ballot_status.html feat: enable editorial stream adoption and balloting (#5011) 2023-01-31 13:50:51 -06:00
shepherd_writeup.html chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
shepherd_writeup.txt fix: change trac.ietf.org links to what they redirect to now (#5651) 2023-05-18 08:31:54 -05:00
shepherd_writeup_template.html feat: Render the document shepherd writeup templates at two new URLs (#4225) 2022-07-22 13:43:02 -05:00
state_help.html fix: State descriptions can have HTML in them, mark them safe (#6384) 2023-09-26 08:09:39 -05:00
submit_to_iesg.html fix: replace deprecated bootstrap things (#5858) 2023-07-18 12:22:28 -05:00
submit_to_iesg_email.txt Summary: Add new document saving API, Document.save_with_history(events). 2015-09-28 14:01:03 +00:00
yang-check-modal-overlay.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00