datatracker/ietf/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
..
management fix: repair many revision related issues with the main and htmlized views 2023-09-12 08:55:38 -05:00
migrations fix: Allow blank originaltargetaliasname (#6748) 2023-12-07 15:01:55 -04:00
templatetags chore: merge branch 'main' into feat/rfc 2023-12-05 09:12:11 -06:00
__init__.py Move new schema models from redesign/ to ietf/ 2012-01-24 17:17:24 +00:00
admin.py feat: remove DocAlias 2023-08-19 13:17:21 -05:00
expire.py fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
factories.py fix: bring tests up current. add subseries names to rfc view. fix html. 2023-09-22 12:40:15 -05:00
feeds.py chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
fields.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
forms.py fix: teach ajax_select2_search_docs about rfcs (#6679) 2023-11-21 15:33:44 -06:00
lastcall.py fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
mails.py chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
models.py fix: Include refs to pre-RFC drafts as refs to the RFC (#6784) 2023-12-18 09:11:53 -06:00
redirect_drafts_urls.py Use the id-archive wherever we had been using the id-repository. Fixes #3080. Commit ready for merge. 2020-10-02 14:13:17 +00:00
redirect_idtracker_urls.py Updated all urlpatterns to use ietf.utils.urls.url() instead of django's, 2017-02-11 14:43:01 +00:00
resources.py feat: remove DocAlias 2023-08-19 13:17:21 -05:00
settings.py Started moving app-specific settings into app settings.py files. 2016-09-09 05:42:41 +00:00
tests.py fix: Include refs to pre-RFC drafts as refs to the RFC (#6784) 2023-12-18 09:11:53 -06:00
tests_ballot.py Merge branch 'feat/rfc' into related_no_alias 2023-07-19 17:48:22 -05:00
tests_bofreq.py chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
tests_charter.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
tests_conflict_review.py chore: merge branch 'main' into feat/rfc 2023-11-01 10:54:29 -05:00
tests_downref.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
tests_draft.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
tests_irsg_ballot.py feat: enable editorial stream adoption and balloting (#5011) 2023-01-31 13:50:51 -06:00
tests_js.py ci: Switch to using geckodriver (#6541) 2023-11-21 15:30:50 -06:00
tests_material.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
tests_models.py chore: repair merge damage 2023-11-01 12:41:15 -05:00
tests_review.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
tests_rsab_ballot.py chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
tests_statement.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
tests_status_change.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
tests_subseries.py chore: sync subseries index test with view changes 2023-11-05 13:56:50 +01:00
tests_utils.py fix: ignore attempts to look for versions of rfcs, but find the rfc. 2023-12-13 11:54:22 -06:00
urls.py feat: Teach ajax_select2_search about subseries (#6709) 2023-11-30 11:22:32 -04:00
urls_bofreq.py Added Additional Resources. Simplified the bofreq urls file. 2021-07-07 22:28:05 +00:00
urls_charter.py Added a new document tab for some documents, showing htmlized drafts and RFCs 2017-03-20 14:08:52 +00:00
urls_conflict_review.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
urls_material.py Cleaned up the remaining explicit url names, using dotted-paths to view 2017-02-26 23:21:49 +00:00
urls_review.py feat: add "add comment" feature to the review requests. (#6603) 2023-11-05 09:29:25 +01:00
urls_statement.py chore: feat/dark-mode <- main (#6103) 2023-08-10 09:49:15 -05:00
urls_status_change.py Cleaned up the remaining explicit url names, using dotted-paths to view 2017-02-26 23:21:49 +00:00
utils.py fix: ignore attempts to look for versions of rfcs, but find the rfc. 2023-12-13 11:54:22 -06:00
utils_bofreq.py Added the notion of responsible leadership. 2021-07-07 17:49:35 +00:00
utils_charter.py refactor: Do not use canonical_name() for charters (#5818) 2023-06-14 08:32:21 -05:00
utils_search.py fix: address dangling pyflake (#6678) 2023-11-21 13:17:55 -06:00
views_ballot.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
views_bofreq.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
views_charter.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
views_conflict_review.py chore: merge branch 'main' into feat/rfc 2023-11-01 10:54:29 -05:00
views_doc.py fix: Include refs to pre-RFC drafts as refs to the RFC (#6784) 2023-12-18 09:11:53 -06:00
views_downref.py chore: correct merge errors 2023-06-26 13:14:31 -05:00
views_draft.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
views_help.py chore: merge main and fix conflicts 2023-08-30 16:35:20 -05:00
views_material.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
views_review.py chore: merge main and fix new views 2023-11-16 15:58:22 -06:00
views_search.py fix: AD queue graphs and AD doc list sorting (#6752) 2023-12-14 15:05:00 -06:00
views_statement.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
views_stats.py fix: Specify UTC for TruncDate (#5996) 2023-07-20 08:29:30 -05:00
views_status_change.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00