Robert Sparks
4ddf132efb
fix: remove leftover docalias detritus
2023-09-15 09:51:15 -05:00
Robert Sparks
536c1fb6fc
fix: missed docalias artifact removal. Better use of became_rfc.
2023-09-14 16:43:26 -05:00
Robert Sparks
90ca856afa
chore: repair damage from bulk changes
2023-08-18 13:44:05 -05:00
Robert Sparks
823281ba6c
chore: first pass at clearing out canonical_name
2023-08-18 10:59:55 -05:00
Robert Sparks
22dc5b6dc7
chore: cleanup typos
2023-08-17 16:24:22 -05:00
Robert Sparks
4946430159
chore: checkpoint: halfway through removing docalias
2023-08-15 09:11:53 -05:00
Robert Sparks
59c0a1f7f9
chore: repair merge damage
2023-07-19 18:09:23 -05:00
Robert Sparks
cf3a270cd2
Merge branch 'feat/rfc' into related_no_alias
2023-07-19 17:48:22 -05:00
Jennifer Richards
8f0b459050
refactor: Replace is_rfc() tests ( #5925 )
...
* refactor: Remove is_rfc() - test type_id instead
* fix: Guard against unknown pub_date
This should not ever come up - we have a published_rfc event for
every rfc. Should investigate fixing pub_date() to always return a val.
2023-07-06 12:07:53 -03:00
Jennifer Richards
d87ffb6912
Merge pull request #5912 from ietf-tools/main
...
chore: Merge main into feat/rfc
2023-07-04 12:09:46 -03:00
Robert Sparks
ad0071fd7d
chore: merge feat/rfc
2023-06-26 13:12:15 -05:00
Jennifer Richards
f2c2957925
refactor: Represent RFCs as their own DocType ( #5835 )
...
* feat: Add RFC DocTypeName, StateType, and States
* refactor: Rename rfc_number() to deprecated_rfc_number()
* feat: Add rfc_number field to DocInfo
* feat: Add DocRelationshipName "became-rfc"
* chore: First-pass migration to create rfc Documents
* chore: create_rfc_documents migration depends on new names
* refactor: Rename variable
* fix: Fix revname / downcase name for "became-rfc" DocRelationshipName
* chore: Remove debugging print statements
* feat: Point rfc aliases at rfc Documents
* test: Refactor RFC factories
* refactor: Rewrite is_rfc() in terms of type_id
* test: Use RfcFactory as base for IndividualRfcFactory
* refactor: Replace calls to deprecated_rfc_number()
* refactor: Remove deprecated_rfc_number() method
* test: Import WgRfcFactory
2023-06-20 15:28:16 -03:00
Lars Eggert
a6cc12c14b
fix: Don't (re)sort obsoleted/updated info ( #5391 )
...
* fix: Don't (re)sort obsoleted/updated info
Rebased against feat/postgres
* Update ietf/doc/utils_search.py
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
* Update ietf/doc/utils_search.py
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
* Update ietf/doc/utils_search.py
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
* Fix review comments
---------
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2023-06-20 12:07:45 -05:00
Robert Sparks
769d85a6c4
chore: explore architecture change in RelatedDocument
2023-06-16 14:58:42 -05:00
Lars Eggert
4f9be6e8a0
fix: Restore correct operation of column sort headers. ( #5253 )
...
Fixes #5234 . Was broken in c061caa
.
2023-03-01 10:45:25 -06:00
Jennifer Richards
3220bf3c40
chore: replace last few datetime.date.today() calls with date_today()
2022-10-18 12:45:47 -03:00
Jennifer Richards
4084d7d557
fix: record and interpret RFC pub dates in correct timezone ( #4421 )
...
* fix: use PST8PDT for published_rfc event timestamps
* fix: find RFCs by PST8PDT year in RfcFeed
* refactor: add const RPC_TZINFO to represent RFC publication timezone
* chore: remove (rather than fix) unused template tags
* fix: always return RPC_TZINFO-local date from Document.pub_date()
* refactor: convert 'published' flag to a Boolean to reflect its usage
* fix: display doc publication dates in correct time zones
* fix: fix various small issues breaking tests
2022-09-08 14:51:19 -03:00
Lars Eggert
75a32d2210
fix: Link to reviews from search status column ( #3955 )
...
* fix: Link to reviews from search status column
Fixes #3953
* fix: Make the notices about exceeded state times less obtrusive
* Fix tests
2022-05-13 14:05:42 -05:00
Eric Vyncke
65d4c99707
feat: use related docs pages count when no page count ( #3686 )
2022-03-22 13:41:37 -05:00
Robert Sparks
e299df973a
Merged in [19700] from lars@eggert.org:
...
Add space between RFC and number.
- Legacy-Id: 19729
Note: SVN reference [19700] has been migrated to Git commit a8aa328e5a
2021-12-01 19:18:07 +00:00
Robert Sparks
e3cd5f51ed
Merged in [19552] from rjsparks@nostrum.com:
...
Adjust when we truncate search results.
- Legacy-Id: 19560
Note: SVN reference [19552] has been migrated to Git commit dd0e1496e6
2021-11-08 17:56:13 +00:00
Robert Sparks
279c1f3aaf
Merged in [19490] from jennifer@painless-security.com:
...
Refactor expirable_drafts() and its usage to speed up doc.views_search.recent_drafts view (and discourage inefficient use of the method).
- Legacy-Id: 19526
Note: SVN reference [19490] has been migrated to Git commit 0d955b6328
2021-11-02 17:23:40 +00:00
Jennifer Richards
0d955b6328
Refactor expirable_drafts() and its usage to speed up doc.views_search.recent_drafts view (and discourage inefficient use of the method). Commit ready for merge.
...
- Legacy-Id: 19490
2021-10-28 22:24:45 +00:00
Robert Sparks
6d74a83744
Caching of the latest document view work. May add database stress to other views. Commit ready for merge.
...
- Legacy-Id: 19489
2021-10-28 21:25:15 +00:00
Robert Sparks
f909a1922b
Remove submissioncheck results from search_result_row until performance issues are addressed. Commit ready for merge.
...
- Legacy-Id: 19452
2021-10-25 14:34:03 +00:00
Robert Sparks
3697180cc1
Reverted merge of timezone-aware migration efforts.
...
- Legacy-Id: 18792
2021-01-12 16:54:20 +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
Henrik Levkowetz
f10255e0e2
Merged in [18270] from valery@smyslov.net:
...
Added display of verified errata in red, not verified in orange in document lists.
#2997
- Legacy-Id: 18280
Note: SVN reference [18270] has been migrated to Git commit 126d32b37f
2020-07-26 14:46:35 +00:00
Valery Smyslov
126d32b37f
#2997
...
- Legacy-Id: 18270
2020-07-25 17:25:31 +00:00
Henrik Levkowetz
f10ddadc0e
Merged in changes from trunk up to r17584.
...
- Legacy-Id: 17593
2020-04-07 16:02:52 +00:00
Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz
94e4dc7c74
Python3 is more ticklish about comparing strings to None than Py2. Fixed an issue with this in generate_sort_key() for document searches.
...
- Legacy-Id: 17373
2020-03-02 12:47:05 +00:00
Sasha Romijn
6e55f26dbd
Fix #2050 - Allow adding review wishes from document and search pages.
...
On the main page of a document and in document search results, a new
button allows review team members to add a review wish for that document.
For reviewers that are only on one team, this essentially works
identical to tracking a document. Reviewers that are on multiple teams
are lead through an intermediate step to select a review team, and then
returned to their search or document page.
Commit ready for merge.
- Legacy-Id: 16939
2019-10-29 16:27:56 +00:00
Henrik Levkowetz
41c6bbf62e
Merged in [16563] from housley@vigilsec.com:
...
Improve performance for a few pages
- Legacy-Id: 16613
Note: SVN reference [16563] has been migrated to Git commit 765ce0d0b0
2019-08-04 15:44:06 +00:00
Russ Housley
765ce0d0b0
Improve performance for a few pages
...
- Legacy-Id: 16563
2019-07-20 22:59:26 +00:00
Henrik Levkowetz
bdc73e771a
Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
...
- Legacy-Id: 16461
2019-07-16 13:20:05 +00:00
Henrik Levkowetz
28472a462b
Python2/3 compatibility: Added more elements to list (tuple) entries to ensure sorting without exceptions under Python3.
...
- Legacy-Id: 16451
2019-07-15 15:51:26 +00:00
Henrik Levkowetz
42c620f4ae
Fixed search result ordering where we had comparisons between int and str, which is disallowed in py3.
...
- Legacy-Id: 16335
2019-06-29 13:32:44 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
426870b766
Merged in the Document and DocAlias primary key change and m2m work in ^/personal/henrik/6.96.1-docalias.
...
- Legacy-Id: 16261
2019-06-15 12:00:48 +00:00
Henrik Levkowetz
a2cafded25
Changed DocAlias to be many-to-many, in order to be able to handle STD aliases referring to multiple RFCs.
...
- Legacy-Id: 16249
2019-06-14 20:38:14 +00:00
Henrik Levkowetz
815602351f
This is a series of 50 migrations that changes the Document and DocAlias
...
primary keys from character strings to integers, and makes corresponding code
changes.
This was prompted by database limitations discovered when trying to make
DocAlias use a m2m document field; with 255 long strings as primary keys for
Document and DocAlias this violated the MySQL database limitations.
Changing the primary keys to integers should also improve efficiency.
Due to the data migrations which create the new integer primary keys and adds
corresponding integer foreign keys matching the previous string foreign keys
in all tables having foreign keys to Document and DocAlias, some of these
migrations take a long time. The total set of migrations are expected to have
a runtime on the order of 2 hours.
- Legacy-Id: 16237
2019-06-10 11:32:46 +00:00
Henrik Levkowetz
8726e74709
Merged in a refactoring of document review code from rjsparks@nostrum.com. This introduces ReviewAssignments, letting us do multiple assingments for a given RevieRequest, without conflating the assignments and their results with the request itself.
...
- Legacy-Id: 16177
2019-04-30 16:54:06 +00:00
Henrik Levkowetz
bb4fe3fbbf
Undid previous commit
...
- Legacy-Id: 16153
2019-04-22 19:22:42 +00:00
Robert Sparks
4b147f2ef8
More cleanup and correction. Caught a pervasive misuse of a state-name
...
- Legacy-Id: 16036
2019-03-15 20:39:06 +00:00
Robert Sparks
6118975620
Added an explicit ID-Exists state for the IESG state machine. Reworked code so that the IESG state machine always has a state. Added the ability to release a document from a working group, research group, or the independent stream. Releasing a document removes all stream state, and sets the document to have no stream.
...
- Legacy-Id: 15809
2018-12-11 22:38:05 +00:00
Henrik Levkowetz
c124a018e8
Fixed a typo. Fixes issue #2500 .
...
- Legacy-Id: 15061
2018-04-20 13:06:21 +00:00
Henrik Levkowetz
1591b3ebd2
Fixed an issue where simplified sorting of DocEvents resulted in some ballot icons not being shown on the IESG agenda documents page.
...
- Legacy-Id: 15046
2018-04-16 10:38:08 +00:00
Henrik Levkowetz
bac162d0d0
Reduced the max number of results returned by document searches from 500 to 200, for a better user experience. A faster return and a search term tweak to pinpoint the desired search result is better than a long wait and then maybe having to tweak the search terms anyway.
...
- Legacy-Id: 15027
2018-04-07 10:12:13 +00:00
Henrik Levkowetz
d44c2dc92c
Added another prefetch to search doc query results.
...
- Legacy-Id: 15023
2018-04-06 21:24:07 +00:00