Commit graph

1302 commits

Author SHA1 Message Date
Tero Kivinen f9eeee0cc9 Added easier to detect error message when search returns 0 results. This currently parses html result from the mailarchive system, but when we get proper API to mailarchive system it should be changed to do that instead. Fixes #2126. Commit ready for merge.
- Legacy-Id: 15706
2018-11-03 11:08:18 +00:00
Tero Kivinen 56acd00c6c Changed format of the reviewer statistics in lists. Fixes #2131. Commit ready for merge.
- Legacy-Id: 15701
2018-11-03 09:04:57 +00:00
Henrik Levkowetz 3b8d9ae832 Merged in [15684] from rjsparks@nostrum.com:
Removed the field and widget that made editing document states easier on the document admin page since they do not survive validation failure of other fields on the form. Excluded states from the modelform since the default states widget is almost impossible to use without producing bad data. If states need to be edited through the admin, it will, for now, need to be done gruelingly through the admin form for State. Fixes #2524.
 - Legacy-Id: 15700
Note: SVN reference [15684] has been migrated to Git commit 128c0a6dbb
2018-11-03 09:01:59 +00:00
Robert Sparks 43374969f6 Notify the RFC Editor when an RFC Editor note is changed after a draft has been approved. Fixes #2440. Commit ready for merge.
- Legacy-Id: 15698
2018-11-03 08:13:10 +00:00
Robert Sparks 5db8831b81 Clearly label cancelled sessions on the week-view on the agenda page. Fixes #2619. Commit ready for merge.
- Legacy-Id: 15694
2018-11-03 06:57:59 +00:00
Henrik Levkowetz 95161df4f4 Merged in [15679] from mahoney@nostrum.com:
Verb tense used in Ballot Issued emails now matches whether the LC end date is in the past or future. Fixes issue #2482.
 - Legacy-Id: 15685
Note: SVN reference [15679] has been migrated to Git commit 194d8c89d1
2018-11-03 04:37:41 +00:00
Robert Sparks 128c0a6dbb Removed the field and widget that made editing document states easier on the document admin page since they do not survive validation failure of other fields on the form. Excluded states from the modelform since the default states widget is almost impossible to use without producing bad data. If states need to be edited through the admin, it will, for now, need to be done gruelingly through the admin form for State. Fixes #2524. Commit ready for merge.
- Legacy-Id: 15684
2018-11-03 04:28:50 +00:00
Jean Mahoney 194d8c89d1 Verb tense used in Ballot Issued emails now matches whether the LC end date is in the past or future. Fixes issue #2482. Commit ready for merge.
- Legacy-Id: 15679
2018-11-03 03:38:52 +00:00
Robert Sparks b76ea7bcd5 Let a reviewer indicate that an AD should give this review early attention. Fixes #2553. Commit ready for merge.
- Legacy-Id: 15676
2018-11-02 21:23:27 +00:00
Robert Sparks c7bf147b1d Let review teams opt in to poking a responsible AD when unhappy reviews are submitted. Fixes #2544. Commit ready for merge.
- Legacy-Id: 15675
2018-11-02 20:18:06 +00:00
Henrik Levkowetz 282a410f3f Merged in [15613] from rjsparks@nostrum.com:
Make having a trailing slash optional for doc/html/docname. Fixes #2247.
 - Legacy-Id: 15618
Note: SVN reference [15613] has been migrated to Git commit 7593230edde63d4d2e8ec04c455e862aa5e71f21
2018-10-30 14:02:46 +00:00
Henrik Levkowetz 90e773aafa Merged in [15601] from rjsparks@nostrum.com:
Corrected some DocTypeName entries' prefix value. Made the search code more robust against DocTypeName objects that have an empty prefix value. Fixes #2599.
 - Legacy-Id: 15604
Note: SVN reference [15601] has been migrated to Git commit 22d459362aec2a06854a515fbcebfec54e8a6e69
2018-10-21 12:36:01 +00:00
Henrik Levkowetz 3508f59f52 Merged in [15596] from rjsparks@nostrum.com:
improved coverage for several tests.
 - Legacy-Id: 15600
Note: SVN reference [15596] has been migrated to Git commit 6f18ae882532433ba86322b33c34f5f1b0350cb9
2018-10-19 14:27:13 +00:00
Henrik Levkowetz ef3cbf4684 Merged in [15595] from rjsparks@nostrum.com:
Converted stats, submit, sync. and utils/test to use factories. Excluded utils/test_data from coverage checks.
 - Legacy-Id: 15599
Note: SVN reference [15595] has been migrated to Git commit 39e76a836996ec9ed8ea449c92bdfae91c3dbaae
2018-10-19 12:54:58 +00:00
Henrik Levkowetz 15c8ab9506 Ensure the send_mail argument to save_position is a boolean.
- Legacy-Id: 15547
2018-10-09 16:34:45 +00:00
Henrik Levkowetz 22a2e29db8 Added an send_email field to BallotPostitionDocEvent to reflect whether the 'Send email' button was used to save the ballot position. Reverted a different earlier schema change which had the same purpose. Added icons on documents' IESG evaluation record to reflect this.
- Legacy-Id: 15526
2018-10-07 15:08:17 +00:00
Henrik Levkowetz 9e0e5d66b3 Merged in [15492] from rjsparks@nostrum.com:
Use factories for ipr tests.
 - Legacy-Id: 15516
Note: SVN reference [15492] has been migrated to Git commit 775addc616
2018-10-01 17:51:17 +00:00
Henrik Levkowetz cfb214c48a Added a BallotCommentDocEvent, which extends DocEvent with a send_mail field, in order to better be able to show whether ballot discusses and comments were posted with with the 'send email' button or not.
- Legacy-Id: 15515
2018-10-01 13:31:17 +00:00
Robert Sparks 775addc616 Use factories for ipr tests. Commit ready for merge.
- Legacy-Id: 15492
2018-09-28 23:16:46 +00:00
Henrik Levkowetz 89b8fe6c1b Moved document methods rfc_number() and rfcnum() to the abstract parent class to have them available also for historical document records. Should fix the recent server 500 on /doc/draft-ietf-aaa-diameter/17/.
- Legacy-Id: 15454
2018-09-14 20:29:07 +00:00
Robert Sparks d9b53a5d6c Use unversioned links in ics agendas. Partially fixes #2542. Commit ready for merge.
- Legacy-Id: 15446
2018-09-10 20:12:09 +00:00
Robert Sparks fd8af4b6f7 Review assignment email includes a link to the review request that ensures the reviewer is logged in. Fixes #2543. Commit ready for merge
- Legacy-Id: 15444
2018-09-06 21:39:10 +00:00
Henrik Levkowetz caa3ec98b4 Changed the menu listing of review dirs and their display on the Directorates page back to what it was before the 'reviews' group type was split out. Added a 'Reviews' column to the Directoratges page.
- Legacy-Id: 15420
2018-08-01 18:53:44 +00:00
Henrik Levkowetz 70c5dcc8c4 Merged in [15387] from rjsparks@nostrum.com:
Use factories for ietf.iesg.tests.
 - Legacy-Id: 15406
Note: SVN reference [15387] has been migrated to Git commit 705e4c84d9
2018-07-24 08:25:07 +00:00
Henrik Levkowetz ac55203499 Merged in [15380] from rjsparks@nostrum.com:
Use factories for ietf.idindex.tests.
 - Legacy-Id: 15405
Note: SVN reference [15380] has been migrated to Git commit 2159fdd975
2018-07-24 07:22:26 +00:00
Henrik Levkowetz 85aa1ecc25 Tweaked a test to prevent failures when looking for a specific string in line-wrapped text.
- Legacy-Id: 15397
2018-07-19 15:54:18 +00:00
Robert Sparks 705e4c84d9 Use factories for ietf.iesg.tests. Commit ready for merge.
- Legacy-Id: 15387
2018-07-19 13:13:05 +00:00
Henrik Levkowetz db2c326e73 Merged in [15354] from kivinen@iki.fi:
Added default to review completion draft version number. If the reviewer
is filling in the review form himself the default will be the latest
version of the draft. If it is someone else filling in the review
then the version number is the latest version at the point when review
was assigned (i.e., it assumes reviewer did review on version he was
requested to and then document authors might have updated the document).
Also mark the document versions that are earlier than the review request
date with red background and those which are newer with green background.
Fixes #2125.
 - Legacy-Id: 15386
Note: SVN reference [15354] has been migrated to Git commit dc3e8ee810
2018-07-18 22:36:01 +00:00
Henrik Levkowetz b054a142d9 Merged in [15349] from kivinen@iki.fi:
Removed the requirement for review_content field to be mandatory when
using \'link\' method. This partially addresses #2520. Commit ready for
merge.
 - Legacy-Id: 15383
Note: SVN reference [15349] has been migrated to Git commit 0783890fa5
2018-07-18 18:20:21 +00:00
Henrik Levkowetz e8e2db50b3 Merged in [15347] from kivinen@iki.fi:
Add review request date to the top. Add tooltips for drafts versions
providing the date they were sumbmitted. Fixes #2218. Commit ready for
merge.
 - Legacy-Id: 15382
Note: SVN reference [15347] has been migrated to Git commit dcabfc84f1
2018-07-18 16:36:35 +00:00
Robert Sparks 2159fdd975 Use factories for ietf.idindex.tests. Commit ready for merge.
- Legacy-Id: 15380
2018-07-18 15:35:20 +00:00
Henrik Levkowetz 7abece146c Merged in [15344] from mahoney@nostrum.com:
email confirming interim meeting request now says 'the Area Director of the <area>' instead of '<area> Area Director'. Fixes issue #2522.
 - Legacy-Id: 15378
Note: SVN reference [15344] has been migrated to Git commit 3c478e5c52
2018-07-18 13:16:02 +00:00
Henrik Levkowetz 5b77d01a48 Merged in [15331] from housley@vigilsec.com:
Add test for downref in Last Call announcement
 - Legacy-Id: 15366
Note: SVN reference [15331] has been migrated to Git commit e2808b1c0b
2018-07-16 16:54:56 +00:00
Tero Kivinen dc3e8ee810 Added default to review completion draft version number. If the reviewer
is filling in the review form himself the default will be the latest
version of the draft. If it is someone else filling in the review
then the version number is the latest version at the point when review
was assigned (i.e., it assumes reviewer did review on version he was
requested to and then document authors might have updated the document).
Also mark the document versions that are earlier than the review request
date with red background and those which are newer with green background.
Fixes #2125. Commit ready for merge.
 - Legacy-Id: 15354
2018-07-14 21:54:04 +00:00
Tero Kivinen 0783890fa5 Removed the requirement for review_content field to be mandatory when
using "link" method. This partially addresses #2520. Commit ready for
merge.
 - Legacy-Id: 15349
2018-07-14 20:12:32 +00:00
Tero Kivinen dcabfc84f1 Add review request date to the top. Add tooltips for drafts versions
providing the date they were sumbmitted. Fixes #2218. Commit ready for
merge.
 - Legacy-Id: 15347
2018-07-14 20:07:36 +00:00
Jean Mahoney 3c478e5c52 email confirming interim meeting request now says 'the Area Director of the <area>' instead of '<area> Area Director'. Fixes issue #2522. Commit ready to merge.
- Legacy-Id: 15344
2018-07-14 18:52:38 +00:00
Russ Housley e2808b1c0b Add test for downref in Last Call announcement
- Legacy-Id: 15331
2018-07-14 16:41:22 +00:00
Henrik Levkowetz 2daef52bea This commit replaces the code defined group features with features held
in a database table:

- Added a GroupFeatures model to the group models, and removed the old 
  features.py
- Added a agenda type for future use in showing different group types on
  different agendas.
- Renamed the group feature has_materials to has_nonsession_materials.
- Added API resources and admin support for the new tables.
- Added a Directorate (with reviews) group type as complement to
  Directorate, to distinguish between directorates with and without reviews.
- Adjusted tests as needed.
- Updated the fixtures, and fixed the generate_fixtures script to include
  the new AgendaTypeName objects.

There still exists about 70 instances of code comparing the group type
with a list of types; most of these should probably be replaced with new
features, instead, to make it possible to add new group types through the
database table, rather than having to edit the code.  That was the purpose
of this refactoring from the start, but the presence of this large number
of comparisons of group type against lists of types defeats the goal until
we add appropriate features and replace the group type list comparisons.
 - Legacy-Id: 15316
2018-07-12 10:51:48 +00:00
Henrik Levkowetz 9fe1820640 Tweaked the 'Related documents' part of the Document admin page to more intuitively show the relationships.
- Legacy-Id: 15259
2018-06-14 19:22:55 +00:00
Henrik Levkowetz 41a5f5dca4 Merged in [15248] from rjsparks@nostrum.com:
Improvements to tests after converting to factories suggested by studying coverage_changes.
 - Legacy-Id: 15255
Note: SVN reference [15248] has been migrated to Git commit b86bd84278
2018-06-14 13:11:29 +00:00
Henrik Levkowetz b3301de22e Fixed a pyflakes nit.
- Legacy-Id: 15253
2018-06-14 12:35:16 +00:00
Henrik Levkowetz a3c12d937f Removed two instances of log.assertion(); we have enough data on these now.
- Legacy-Id: 15252
2018-06-14 12:03:02 +00:00
Robert Sparks b86bd84278 Improvements to tests after converting to factories suggested by studying coverage_changes. Commit ready to merge.
- Legacy-Id: 15248
2018-06-13 22:09:01 +00:00
Robert Sparks 340b6591b2 Use factories for ietf.doc.tests_status_change. Repair previous commit errors in ietf.doc.tests_material. Commit ready for merge.
- Legacy-Id: 15238
2018-06-09 22:16:26 +00:00
Robert Sparks a2fa0d6400 Use factories for ietf.doc.tests_material and ietf.doc.tests_review. Commit ready for merge.
- Legacy-Id: 15237
2018-06-09 21:20:37 +00:00
Robert Sparks 3eeece797a Use factories for ietf.doc.tests_downref. Commit ready for merge.
- Legacy-Id: 15228
2018-06-08 14:42:45 +00:00
Robert Sparks 67df7bd8cf Use factories for ietf.doc.tests_conflict_review. Commit ready for merge.
- Legacy-Id: 15227
2018-06-08 00:13:00 +00:00
Robert Sparks 880dafdb24 Use factories for ietf.doc.tests_charter. Commit ready for merge.
- Legacy-Id: 15226
2018-06-07 23:50:27 +00:00
Robert Sparks 6f011a3e56 Use factories for ietf.doc.tests_draft. Commit ready for merge.
- Legacy-Id: 15225
2018-06-07 22:03:09 +00:00
Robert Sparks dcf9e6b40f Use factories for ietf.doc.tests_ballots. Fixed a long-hidden bug in test_edit_verify_permissions where non-existing usernames were used and passed the tests accidently. Added list_email to the GroupFactory. Commit ready for merge.
- Legacy-Id: 15219
2018-06-06 17:59:40 +00:00
Robert Sparks a064e28926 Factoryalized the rest of ietf.doc.tests. Created draft type specific factories. Commit ready for merge.
- Legacy-Id: 15217
2018-06-05 21:17:28 +00:00
Robert Sparks 984806de2d Trivial commit removing some recently commented out code. Commit ready for merge.
- Legacy-Id: 15209
2018-06-04 15:16:47 +00:00
Robert Sparks 84d3c92298 more factoryization of ietf.doc.tests. Commit ready for merge.
- Legacy-Id: 15205
2018-06-02 13:39:39 +00:00
Robert Sparks 4e7743c009 More factorization of ietf.doc.tests. Commit ready for merge.
- Legacy-Id: 15204
2018-06-01 21:39:22 +00:00
Robert Sparks 4a4a152c9a Use factories for the rest of the tests in ietf.doc.tests.SearchTests. Commit ready for merge.
- Legacy-Id: 15203
2018-06-01 18:54:26 +00:00
Robert Sparks 0a1d9ecd2a Converted test_search_for_name to use factories. Commit ready for merge.
- Legacy-Id: 15202
2018-06-01 15:52:57 +00:00
Robert Sparks 54afc41f8e Converted test_search to use factories. Commit ready for merge.
- Legacy-Id: 15201
2018-06-01 15:16:32 +00:00
Henrik Levkowetz 4db4dd16b0 Merged in ^/personal/henrik/6.79.1-gdpr@15180 containing GDPR-adaptations.
- Legacy-Id: 15181
2018-05-28 11:26:24 +00:00
Henrik Levkowetz 81e78c70a0 Added guards against asking for properties on None in a couple of places.
- Legacy-Id: 15173
2018-05-26 08:34:27 +00:00
Henrik Levkowetz 2522082979 Changed the email origin field during test to hold user.username in order to exercise more of the code. Changed the EmailFactory to also use user.username as origin.
- Legacy-Id: 15172
2018-05-26 08:32:20 +00:00
Robert Sparks 6b779e9d4c Send email when the responsible AD for a conflict review is changed. Include the stream manager and stream steering group when the responsible AD changes or when the telechat date changes. Fixes #2497. Commit ready for merge.
- Legacy-Id: 15152
2018-05-21 22:02:34 +00:00
Henrik Levkowetz 6c3ec5b18e Added Email origin to Email record creation throughout the codebase.
- Legacy-Id: 15149
2018-05-17 16:56:26 +00:00
Henrik Levkowetz a66639299d Removed all references to the removed Person.affiliation field.
- Legacy-Id: 15129
2018-05-05 12:47:55 +00:00
Henrik Levkowetz 5f37a71889 Added origin information to all places where we create email address entries.
- Legacy-Id: 15127
2018-05-05 12:40:30 +00:00
Robert Sparks 1c16926ee6 Missed adding the migrations. Related to #1963. Commit ready for merge.
- Legacy-Id: 15120
2018-05-03 21:23:07 +00:00
Robert Sparks 1295f1f1d2 Change stream state to replaced when an ISE, IAB, or IRTF document is replaced. Fixes #1963. Commit ready for merge.
- Legacy-Id: 15119
2018-05-03 21:21:38 +00:00
Robert Sparks 8436078af6 Made settings.URL_REGEXPS.name non-greedy. Added a test to exercise the bug at #2429. Fixes #2429. Commit ready for merge.
- Legacy-Id: 15110
2018-05-03 15:39:00 +00:00
Henrik Levkowetz d076a1728c Added a 'recent drafts' page, showing drafs submitted the last 7 days.
- Legacy-Id: 15099
2018-05-01 17:55:22 +00:00
Henrik Levkowetz 53c4ac36db Removed the Person.address field, which is not being used. This was a legacy from the 2001 perl-based datatracker tables. Fixes issue #2504.
- Legacy-Id: 15095
2018-04-27 14:00:33 +00:00
Henrik Levkowetz 198c003b6a Merged in [15084] from rjsparks@nostrum.com:
Corrected the implementation of clear_ballot. Added a test for it. Restored functionality to ballot popups that was missing because a template variable was not passed in.
 - Legacy-Id: 15092
Note: SVN reference [15084] has been migrated to Git commit ee346edaba
2018-04-26 13:41:22 +00:00
Henrik Levkowetz d994a58474 Merged in [15083] from rjsparks@nostrum.com:
Removed memoize from latest_event.
 - Legacy-Id: 15091
Note: SVN reference [15083] has been migrated to Git commit 1735f86db0
2018-04-26 12:51:45 +00:00
Henrik Levkowetz c02f8fe331 Merged in [15080] from rjsparks@nostrum.com:
Marked a couple of functions as unreachable.
 - Legacy-Id: 15089
Note: SVN reference [15080] has been migrated to Git commit 7df28d8bac
2018-04-26 12:08:07 +00:00
Henrik Levkowetz c7350be50f Reverted a change to UserFactory to avoid nepalese names. The issue is bigger, and needs a different resulution. Changed the url pattern that used \w to match names to instead use a more inclusive regex.
- Legacy-Id: 15088
2018-04-26 11:53:51 +00:00
Robert Sparks ee346edaba Corrected the implementation of clear_ballot. Added a test for it. Restored functionality to ballot popups that was missing because a template variable was not passed in. Commit ready for merge.
- Legacy-Id: 15084
2018-04-25 19:52:44 +00:00
Robert Sparks 1735f86db0 Removed memoize from latest_event. Commit ready for merge.
- Legacy-Id: 15083
2018-04-25 18:15:23 +00:00
Henrik Levkowetz 8e43e7aed0 Merged in [15075] from rjsparks@nostrum.com:
Improved testing for docs_for_ad.
 - Legacy-Id: 15082
Note: SVN reference [15075] has been migrated to Git commit b7375412ab
2018-04-25 17:21:33 +00:00
Robert Sparks 7df28d8bac Marked a couple of functions as unreachable. Commit ready for merge.
- Legacy-Id: 15080
2018-04-25 15:10:55 +00:00
Henrik Levkowetz e1eb39b478 Merged in [15074] from rjsparks@nostrum.com:
Simplified docs_in_iesg_process. Added a test for it.
 - Legacy-Id: 15079
Note: SVN reference [15074] has been migrated to Git commit 57f548ecbd
2018-04-25 13:17:59 +00:00
Henrik Levkowetz 227cb0db4d Merged in [15073] from rjsparks@nostrum.com:
Rearranged ietf/doc/urls.py to allow matching some special pages under /doc without a trailing slash. Adjusted several of those special URLs to work without the trailing slash.
 - Legacy-Id: 15078
Note: SVN reference [15073] has been migrated to Git commit da25919f08
2018-04-24 21:27:04 +00:00
Robert Sparks b7375412ab Improved testing for docs_for_ad.
- Legacy-Id: 15075
2018-04-24 19:22:09 +00:00
Robert Sparks 57f548ecbd Simplified docs_in_iesg_process. Added a test for it.
- Legacy-Id: 15074
2018-04-24 18:27:19 +00:00
Robert Sparks da25919f08 Rearranged ietf/doc/urls.py to allow matching some special pages under /doc without a trailing slash. Adjusted several of those special URLs to work without the trailing slash.
- Legacy-Id: 15073
2018-04-24 18:00:59 +00:00
Henrik Levkowetz 28f4c52c20 Added permission for a document shepherd to request publication. Fixes issue #2509.
- Legacy-Id: 15071
2018-04-23 20:41:04 +00:00
Henrik Levkowetz c124a018e8 Fixed a typo. Fixes issue #2500.
- Legacy-Id: 15061
2018-04-20 13:06:21 +00:00
Henrik Levkowetz 12d999a384 Modified the IESG position setting API to send email messages about positions set.
- Legacy-Id: 15050
2018-04-17 11:57:16 +00:00
Henrik Levkowetz 2ed9face25 Modified the IESG position setting API to send email messages about positions set.
- Legacy-Id: 15049
2018-04-17 11:38:40 +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 a9fbea113b Changed incorrect use of 404 status code in api to 400. Fixes issue #2498.
- Legacy-Id: 15044
2018-04-13 11:11:48 +00:00
Henrik Levkowetz b5d62973c7 Tweaked the error return from Document.get_document_content() to be more helpful during development.
- Legacy-Id: 15034
2018-04-09 14:01:37 +00:00
Henrik Levkowetz ea7728b501 Changed calls to .related_that*() and .relations_that*() to use tuples rather than lists (a slight optimization).
- Legacy-Id: 15029
2018-04-07 10:47:16 +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 96e4059e43 Undid some memoization; these values can change during an object's lifetime.
- Legacy-Id: 15025
2018-04-07 10:07:57 +00:00
Henrik Levkowetz 5446ae642a Changed the signature of some document methods to not accept lists (but still accept tuples) in order to make caching possible. Added @memoize to some methods.
- Legacy-Id: 15024
2018-04-06 21:25:56 +00:00
Henrik Levkowetz d44c2dc92c Added another prefetch to search doc query results.
- Legacy-Id: 15023
2018-04-06 21:24:07 +00:00
Henrik Levkowetz 6b27daa58a Imposed sort order (most recent docs first) on document search results, in order to retain the most recent docs in case we have to chop the result list due too many hits.
- Legacy-Id: 15022
2018-04-06 21:23:14 +00:00
Henrik Levkowetz 248c2dd055 Added back the on-agenda calendar links to document lists, now in an implementation with better performance characteristics.
- Legacy-Id: 15020
2018-04-06 15:17:18 +00:00
Henrik Levkowetz 583d8882c5 Fixed an issue where the change of slide naming between IETF 96 and 97 caused the datatracker to not provide correct link to pre-IETF-97 materials. Thanks to tjw.ietf@gmail.com for the heads-up.
- Legacy-Id: 15017
2018-04-05 20:34:56 +00:00
Henrik Levkowetz 6a32a363cc Merged in [15012] from ford@isoc.org:
Add IRTF State option to Additional Search Criteria pulldown.
 - Legacy-Id: 15016
Note: SVN reference [15012] has been migrated to Git commit cd912600e6
2018-04-05 14:50:40 +00:00
Mat Ford cd912600e6 Add IRTF State option to Additional Search Criteria pulldown. Commit ready for merge.
- Legacy-Id: 15012
2018-04-05 11:56:37 +00:00
Henrik Levkowetz 421621eb51 Another round of iesg page optimizations. Reduced additional instances of individual lookups to a single lookup followed by annotation of document objects. Reduced several instances of repeating the same work multiple times (queries for telechat documents, queries for telechat dates).
- Legacy-Id: 15010
2018-04-05 11:03:26 +00:00
Henrik Levkowetz 67a17bb227 Fixed a number of tests to deal correctly with model method caching.
- Legacy-Id: 15009
2018-04-05 10:55:27 +00:00
Henrik Levkowetz 15d45b4d22 Changed the ballot_icon template tag to use an already found ballot if available, rather than doing lookups to find it (twice!).
- Legacy-Id: 15007
2018-04-04 17:12:08 +00:00
Henrik Levkowetz 1ec98fdd59 Added @memoize to two Document methods
- Legacy-Id: 15006
2018-04-04 17:10:06 +00:00
Henrik Levkowetz 43a9291053 Added an index for (doc, type) on DocEvent to speed up latest_event() queries.
- Legacy-Id: 14990
2018-04-01 19:33:16 +00:00
Henrik Levkowetz 675c652052 Additional changes to speed up the IESG agenda docs page: Changed telechat_page_count() to accept a list of documents if that's already been generated, to avoid double work. Changed the reviewed_by_teams list to provide acronyms directly, to avoid group lookups during template rendering. Provided page counts directly to the template instead of repeated (costly) filtering through telechat_page_count, with new document lookups. Removed the telechat_page_count template filter, due to its cost. Tweaked some lookups in fill_in_document_table_attributes() . Added to the select_related() list for documents in IESG agenda_documents().
- Legacy-Id: 14988
2018-04-01 18:51:48 +00:00
Henrik Levkowetz 60a60de94b Replaced inline database lookups with get_active_ads().
- Legacy-Id: 14987
2018-04-01 18:38:50 +00:00
Henrik Levkowetz db3a4eb20e Changed some instances of .slug to _id
- Legacy-Id: 14985
2018-04-01 18:32:27 +00:00
Henrik Levkowetz 4c297ba4c0 Changed settings so that cache keys used by memcached includes the release version, in order to avoid stale and incorrect cache content on new release deployment. Made it easier to pick out cache key composition by normalizing the variable name. Adjusted cache prefix and the composition of some keys to have a unique and consistent cache key prefix.
- Legacy-Id: 14943
2018-03-26 21:26:20 +00:00
Henrik Levkowetz c0eb9e3aa6 Merged in [14899] from rjsparks@nostrum.com:
Cleaner charter factory simplifies test code.
 - Legacy-Id: 14914
Note: SVN reference [14899] has been migrated to Git commit 8026f86cd3
2018-03-24 21:24:03 +00:00
Henrik Levkowetz cc717946f5 Merged in [14896] from rjsparks@nostrum.com:
Improved test coverage for ietf/doc/views_charter.py.
 - Legacy-Id: 14912
Note: SVN reference [14896] has been migrated to Git commit f11907b6a0
2018-03-24 17:54:14 +00:00
Henrik Levkowetz 6d5f604d5b Tweaked the document list iCalendar links to not show for presentations on days in the past.
- Legacy-Id: 14908
2018-03-24 15:29:10 +00:00
Henrik Levkowetz f48669a8e4 Merged in [14884] from adam@nostrum.com:
Adding page count to last call page.
 - Legacy-Id: 14907
Note: SVN reference [14884] has been migrated to Git commit e7b984dfa7
2018-03-24 15:09:50 +00:00
Henrik Levkowetz bd205ae29b Merged in [14849] from ben@nostrum.com:
Give ADs the red Clear Ballot button
 - Legacy-Id: 14904
Note: SVN reference [14849] has been migrated to Git commit 7bf02077fd
2018-03-24 13:31:48 +00:00
Robert Sparks 8026f86cd3 Cleaner charter factory simplifies test code. Commit ready for merge.
- Legacy-Id: 14899
2018-03-22 14:01:24 +00:00
Robert Sparks f11907b6a0 Improved test coverage for ietf/doc/views_charter.py. Commit ready for merge.
- Legacy-Id: 14896
2018-03-21 21:59:45 +00:00
Adam Roach e7b984dfa7 Adding page count to last call page. Commit ready for merge.
- Legacy-Id: 14884
2018-03-21 09:12:34 +00:00
Ben Campbell cc96709957 Give ADs the red Clear Ballot button
- Legacy-Id: 14848
2018-03-17 16:35:35 +00:00
Henrik Levkowetz a04e187f0f Removed some old debug print statements.
- Legacy-Id: 14823
2018-03-14 22:11:06 +00:00
Henrik Levkowetz 1fd4a4d1a7 Added session ical links to document lists (WG docs, search results, etc.) for documents on upcoming meeting agendas. Reduced the query and rendering times of document lists some more through additional prefetch_related().
- Legacy-Id: 14799
2018-03-14 19:16:50 +00:00
Henrik Levkowetz fdba464808 Added result caching for a couple of Document methods.
- Legacy-Id: 14795
2018-03-14 19:11:18 +00:00
Henrik Levkowetz 6e9bb00f13 Changed html cleaning to differentiate between fragment cleaning and document cleaning. Added an lxml-based cleaner for document cleaning, also permitting <style> tags (but not external style sheets).
- Legacy-Id: 14775
2018-03-13 12:48:22 +00:00
Henrik Levkowetz 2c0348cc7a Found that django's urlize() does not deal well with adjacent parantheses. Replaced it with a filter based on bleach.linkify, which does better.
- Legacy-Id: 14752
2018-03-09 15:07:04 +00:00
Henrik Levkowetz 1df3c715d0 Replaced the use of (at least in Django 1.11) buggy urlize() with bleach.linkify(), to avoid some exceptions caused by malformed urlize output, exposed by the new sanitize_html(). Also removed some dead code.
- Legacy-Id: 14751
2018-03-09 12:00:15 +00:00
Robert Sparks 975522af35 Make a more appropriate review message when a BoF has an initial charter under consideration. Fixes #2458. Commit ready for merge.
- Legacy-Id: 14715
2018-02-28 20:54:56 +00:00
Henrik Levkowetz 6e1d4d45d8 Added some missing migrations
- Legacy-Id: 14697
2018-02-25 20:08:37 +00:00
Henrik Levkowetz 1389775488 Added some missing migrations.
- Legacy-Id: 14696
2018-02-25 20:06:50 +00:00
Henrik Levkowetz 1ed8e967e7 Merged in ^/personal/henrik/6.72.1-django-1.11@14676: Upgrade to Django 1.11
- Legacy-Id: 14695
2018-02-25 19:55:16 +00:00
Henrik Levkowetz dc90fa3940 Changed user.is_authenticated and .is_anonymous from method calls to attribute access.
- Legacy-Id: 14668
2018-02-22 00:03:30 +00:00
Henrik Levkowetz 6184170828 Changed import path from a deprecated path to the kosher one.
- Legacy-Id: 14667
2018-02-22 00:01:01 +00:00
Henrik Levkowetz 26bf387356 Replaced direct assignment to m2m fields with .clear() and .set()
- Legacy-Id: 14666
2018-02-21 23:58:25 +00:00
Henrik Levkowetz 36b5e2ef8e Changed name from .rel to .remote_field for remote accessors.
- Legacy-Id: 14665
2018-02-21 23:56:36 +00:00
Henrik Levkowetz a4768bb514 Removed unused imports. Added some explicit orderings to avoid pagination issues.
- Legacy-Id: 14664
2018-02-21 23:54:31 +00:00
Henrik Levkowetz 06362ec046 Got rid of old migrations and created new initial migrations.
- Legacy-Id: 14662
2018-02-21 23:46:22 +00:00
Henrik Levkowetz 5638cf3da3 Changed all usage of ForeignKey and OneToOneFiled in model.py files to the compatibility versions from ietf.utils.models.
- Legacy-Id: 14661
2018-02-20 15:36:05 +00:00
Henrik Levkowetz cdc295bab8 Merged in [14655] from housley@vigilsec.com:
Strip the HTML tags around the new values in the mail produced by email_iesg_processing_document. Also, provide the previously missing URL at the end of the message. Fixes 2455.
 - Legacy-Id: 14657
Note: SVN reference [14655] has been migrated to Git commit 6ea0881a89
2018-02-19 17:36:09 +00:00
Russ Housley 6ea0881a89 Strip the HTML tags around the new values in the mail produced by email_iesg_processing_document. Also, provide the previously missing URL at the end of the message. Fixes 2455.
- Legacy-Id: 14655
2018-02-18 20:40:49 +00:00
Henrik Levkowetz 3dd66eba65 Fixed an UnboundLocalError (only partial variable initialization) bug.
- Legacy-Id: 14620
2018-02-07 06:13:19 +00:00
Henrik Levkowetz a00532694d Merged in [14549] from rjsparks@nostrum.com:
Allow those people who can make a review request to edit the request deadline. Send mail to other directorate secretaries when one secretary makes a change to a request. Fixes #2233.
 - Legacy-Id: 14555
Note: SVN reference [14549] has been migrated to Git commit ba8b4d3a38
2018-01-23 19:24:39 +00:00
Henrik Levkowetz 535cd0bccf Expanded the fields that the 'author' entry of the document search form is applied to, from just author name, to author name, email addresses, and affiliation. Fixes issue #2415.
- Legacy-Id: 14552
2018-01-23 18:12:10 +00:00
Robert Sparks ba8b4d3a38 Allow those people who can make a review request to edit the request deadline. Send mail to other directorate secretaries when one secretary makes a change to a request. Fixes #2233. Commit ready for merge.
- Legacy-Id: 14549
2018-01-22 21:43:53 +00:00
Henrik Levkowetz 649433874f Merged in [14539] from rjsparks@nostrum.com:
Warn when putting a draft on a telechat that is so close that directorates will probably not have time to complete a review. Fixes #2381.
 - Legacy-Id: 14542
Note: SVN reference [14539] has been migrated to Git commit dfc1d2aa9a
2018-01-19 15:22:16 +00:00
Robert Sparks dfc1d2aa9a Warn when putting a draft on a telechat that is so close that directorates will probably not have time to complete a review. Fixes #2381. Commit ready for merge.
- Legacy-Id: 14539
2018-01-18 22:14:30 +00:00
Henrik Levkowetz 07fd714c88 Refined the URL patterns and handling of alternative meeting material file formats, which were broken by an earlier refactoring (v6.57.0). Fixes issue #2436.
- Legacy-Id: 14521
2018-01-14 21:09:28 +00:00
Henrik Levkowetz 97206c6eeb Added user notification about ballots closed automatically when creating a new ballot.
- Legacy-Id: 14471
2017-12-29 15:24:37 +00:00
Henrik Levkowetz 4488fd82a4 Merged in [14467] from housley@vigilsec.com:
Close any previous ballots when a charter goes to Internal Review or Extrernal Review.  Fixes #2421.
 - Legacy-Id: 14470
Note: SVN reference [14467] has been migrated to Git commit de6121c6c1
2017-12-29 13:40:10 +00:00
Russ Housley de6121c6c1 Close any previous ballots when a charter goes to Internal Review or Extrernal Review. Fixes #2421.
- Legacy-Id: 14467
2017-12-28 20:09:56 +00:00
Robert Sparks 0a9737a5d2 Include information about previous team reviews in assignement emails. Fixes #2392. Commit ready for merge.
- Legacy-Id: 14466
2017-12-26 22:13:13 +00:00
Henrik Levkowetz b12bb3ca3c Guard document replacement following methods against infinite recursion on circular relationships.
- Legacy-Id: 14457
2017-12-22 19:28:59 +00:00
Henrik Levkowetz 7d7b7de54f Fixed an ungarded object attribute access.
- Legacy-Id: 14446
2017-12-19 14:38:02 +00:00