Commit graph

7803 commits

Author SHA1 Message Date
Henrik Levkowetz ee33b6026b Tweaked the query filter for 'latest' meetings in the fetch_meeting_attendance management command to deal with future meetings beyond the current meeting.
- Legacy-Id: 14458
2017-12-22 19:56:55 +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 01af0af2c1 Enhanced doc event notification emails with who and when. Fixes issue #2428.
- Legacy-Id: 14448
2017-12-19 16:04:32 +00:00
Henrik Levkowetz 29a0c8a47f Added a data migration to create yang catalog links for yang documents published before the yang catalog link feature was introduced in the datatracker.
- Legacy-Id: 14447
2017-12-19 15:08:33 +00:00
Henrik Levkowetz 7d7b7de54f Fixed an ungarded object attribute access.
- Legacy-Id: 14446
2017-12-19 14:38:02 +00:00
Henrik Levkowetz 8d91f8d06b Updated the API notes page.
- Legacy-Id: 14445
2017-12-19 14:11:26 +00:00
Henrik Levkowetz e1fa3ba381 Limited the iesg ballot position API to ADs (excluding secretariat).
- Legacy-Id: 14444
2017-12-19 14:10:43 +00:00
Henrik Levkowetz 008eaf7fda Modified the run_yang_model_checks management command to accept document aliases on the command line.
- Legacy-Id: 14443
2017-12-19 14:09:40 +00:00
Henrik Levkowetz ff5480b5fb Reverted an inadvertently included patch version.
- Legacy-Id: 14442
2017-12-19 14:07:57 +00:00
Henrik Levkowetz 05f2977144 Set version info and settings back to development mode
- Legacy-Id: 14439
2017-12-18 17:59:00 +00:00
Henrik Levkowetz 5fdcb1106d Set version info to release version 6.68.0 before branching.
- Legacy-Id: 14437
2017-12-18 17:58:52 +00:00
Henrik Levkowetz f28eacdd47 Tastypie cannot serialize binary fields. Exclude from PersonalApiKey resource.
- Legacy-Id: 14434
2017-12-18 17:57:48 +00:00
Henrik Levkowetz 789b88d25d Adjusted the personalapikey migration.
- Legacy-Id: 14433
2017-12-18 17:56:46 +00:00
Henrik Levkowetz 308a3cdeb0 Updated bower-managed static web assets
- Legacy-Id: 14432
2017-12-18 17:26:46 +00:00
Henrik Levkowetz 6567e707ce Merged in ^/personal/henrik/6.64.2-ballotapi@14426. This provides personal API keys and a ballot position API at /api/iesg/position. Also added an endpoint description at /api/.
- Legacy-Id: 14430
2017-12-17 23:43:44 +00:00
Henrik Levkowetz a08c8dc76f Added an API endpoint to support automation of IESG ballot position posting, at /api/iesg/position. Added tests for the API endpoint, and updated the apikey validation decorator tests. Tweaked the decorator to handle a weakness found during testing.
- Legacy-Id: 14429
2017-12-17 21:55:27 +00:00
Henrik Levkowetz b0863c8963 Modified some names.
- Legacy-Id: 14428
2017-12-16 18:43:08 +00:00
Henrik Levkowetz ec4e238185 Added some missing files.
- Legacy-Id: 14427
2017-12-16 18:39:26 +00:00
Henrik Levkowetz e7209c6e50 Added a new personal event table to keep track of personal API key logins, and a management command to send out reports about activity to users with API keys. Added a weekly cronjob script to trigger weekly reports, and a monthly script for future use. Added a @require_api_key decorator to validate API keys for API key views and log in the API key owner. Modified the API key management urls to use create and disable rather than add and delete. Updated the API key list view. Added an API placeholder view function for ballot position setting, for test purposes. Added tests for the decorator and management command.
- Legacy-Id: 14426
2017-12-16 18:37:52 +00:00
Henrik Levkowetz f697d9ecb6 Merged in [14404] from rjsparks@nostrum.com:
Include an explicitly set Responsible ADs email addresses in generated aliases when a document has a group.
 - Legacy-Id: 14424
Note: SVN reference [14404] has been migrated to Git commit e36cad65ed
2017-12-15 23:57:41 +00:00
Henrik Levkowetz 152261a869 Added new infrastructure for personal API keys, to generate, view, and delete them.
- Legacy-Id: 14423
2017-12-14 14:30:59 +00:00
Henrik Levkowetz 5d86b65170 Set version info and settings back to development mode
- Legacy-Id: 14417
2017-12-12 14:41:22 +00:00
Henrik Levkowetz 63d9a1741e Set version info to release version 6.67.1 before branching.
- Legacy-Id: 14415
2017-12-12 14:41:00 +00:00
Henrik Levkowetz c5c4bde5e6 Dead code removal.
- Legacy-Id: 14412
2017-12-11 18:38:56 +00:00
Henrik Levkowetz 1f976da5c1 Third part of document read refactoring, after [14406] and [14410]. This replaces all usage of the non-unicode-aware get_document_content() function with unicode-aware Document.text() or Document.text_or_error() methods. This was triggered by yet another report of unicode content not being shown properly, and should fix all instances of document (drafts, agendas, minutes, etc.) display in the datatracker not handling unicode characters properly.
- Legacy-Id: 14411
Note: SVN reference [14406] has been migrated to Git commit 967ece7e7d

Note: SVN reference [14410] has been migrated to Git commit 660c81c272
2017-12-11 16:23:51 +00:00
Henrik Levkowetz 660c81c272 Tweaked the file content read refactoring in [14406] to try latin-1 conversion if unicode doesn't work.
- Legacy-Id: 14410
Note: SVN reference [14406] has been migrated to Git commit 967ece7e7d
2017-12-10 17:48:09 +00:00
Henrik Levkowetz 3f40d9c962 Applied a patch from kivinen@iki.fi to only show review completion date when the review is completed or part completed. Fixes issue #2423.
- Legacy-Id: 14409
2017-12-09 21:54:56 +00:00
Henrik Levkowetz 892f12e537 Merged in [14403] from rjsparks@nostrum.com:
Fixed a typo in the milestones under review view. Added bootstrap panels. Fixes #2427,
 - Legacy-Id: 14408
Note: SVN reference [14403] has been migrated to Git commit d415d8658c
2017-12-09 20:54:35 +00:00
Henrik Levkowetz 920a73a575 Fixed the formatting of a number of custom checks for the django check format, to be easier to read.
- Legacy-Id: 14407
2017-12-09 14:57:55 +00:00
Henrik Levkowetz 967ece7e7d Started refactoring of reading text from document files (drafts, charters, etc.) in order to normalise on one way of doing this, and making that return unicode rather than undecoded bytes. This is the first step of two, in order to gauge the possible issues and report on discrepancies.
- Legacy-Id: 14406
2017-12-08 21:51:11 +00:00
Henrik Levkowetz f2f21c4ef3 Improved cleaning of unidecode results in ascii name conversion.
- Legacy-Id: 14405
2017-12-08 12:36:23 +00:00
Robert Sparks e36cad65ed Include an explicitly set Responsible ADs email addresses in generated aliases when a document has a group. Commit ready for merge.
- Legacy-Id: 14404
2017-12-07 21:33:04 +00:00
Robert Sparks d415d8658c Fixed a typo in the milestones under review view. Added bootstrap panels. Fixes #2427, Commit ready for merge.
- Legacy-Id: 14403
2017-12-07 21:12:56 +00:00
Henrik Levkowetz 3cd3c3526f Tweaked the coverage_changes management comand output.
- Legacy-Id: 14402
2017-12-06 13:31:33 +00:00
Henrik Levkowetz f7d33191f3 Set version info and settings back to development mode
- Legacy-Id: 14398
2017-12-05 12:31:36 +00:00
Henrik Levkowetz 466d1aa383 Set version info to release version 6.67.0 before branching.
- Legacy-Id: 14396
2017-12-05 12:30:51 +00:00
Henrik Levkowetz 7237a800ae Changed urlpattern order to list the more specific of overlapping patterns first, and made the rfc feed per year pattern more permissive.
- Legacy-Id: 14393
2017-12-04 16:32:58 +00:00
Henrik Levkowetz 4b5e354abe Merged in [14386] from rjsparks@nostrum.com:
Add a per-year RFC feed.
 - Legacy-Id: 14391
Note: SVN reference [14386] has been migrated to Git commit 6ab819bdde
2017-12-04 15:29:15 +00:00
Henrik Levkowetz 57c18ef3fe Changed settings and handling of adhoc wiki paths to be more testing-friendly.
- Legacy-Id: 14390
2017-12-04 15:09:03 +00:00
Henrik Levkowetz 47a0b9d3ce Changed handling of yang modeules from drafts with errors, to not place them in separate directories, due to possible follow-on effects. Added use of IANA-held modules when validating, and regular rsyncing from IANA.
- Legacy-Id: 14389
2017-12-04 14:37:15 +00:00
Henrik Levkowetz 8a43f7aedf Added better handling for attempted (mistaken) uploads to unscheduled sessions.
- Legacy-Id: 14388
2017-12-04 13:55:16 +00:00
Henrik Levkowetz 6ddacb6b4e Fixed an incorrect comparison in a check function.
- Legacy-Id: 14387
2017-12-01 17:30:50 +00:00
Robert Sparks 6ab819bdde Add a per-year RFC feed. Commit ready for merge.
- Legacy-Id: 14386
2017-12-01 17:19:51 +00:00
Henrik Levkowetz c5acfc0a79 Improved code coverage slightly.
- Legacy-Id: 14385
2017-12-01 09:28:37 +00:00
Henrik Levkowetz ddfddb61ca Made the ballot type representation string more expressive, showing both name and doc_type.
- Legacy-Id: 14383
2017-12-01 09:27:28 +00:00
Henrik Levkowetz abb69338e2 Added a warning message for the user if ballot creation failed due to an already open ballot. This is a bad state, and should prevented by stricter checks before changing state, but is better than the current situation until we decide exactly which checks to implement.
- Legacy-Id: 14382
2017-11-30 16:10:38 +00:00
Henrik Levkowetz 999cd502e2 Tweaked ascii name normalization.
- Legacy-Id: 14381
2017-11-30 16:09:06 +00:00
Henrik Levkowetz 98d234cd86 Refactored the handling of BallotDocEvent in tests, only creating them as needed, in preparation for stricter checks on state transitions to avoid mismatches between state and ballot.
- Legacy-Id: 14380
2017-11-30 16:02:31 +00:00
Henrik Levkowetz c757ae95d8 Moved the 'Search mailarchive' link on ballot pages to a more visible spot.
- Legacy-Id: 14376
2017-11-23 10:54:35 +00:00
Henrik Levkowetz 64653b1aa3 Merged in [14374] from kivinen@iki.fi:
If draft name has rfcXXXX-bis or rfcXXXXbis then add rfcXXXX to diff context menu. Fixes #460 (7 years old ticket).
 - Legacy-Id: 14375
Note: SVN reference [14374] has been migrated to Git commit 23d053ea53
2017-11-16 08:16:38 +00:00
Tero Kivinen 23d053ea53 If draft name has rfcXXXX-bis or rfcXXXXbis then add rfcXXXX to diff context menu. Fixes #460 (7 years old ticket). Commit ready for merge
- Legacy-Id: 14374
2017-11-15 11:33:02 +00:00
Henrik Levkowetz 16ab42383b Set version info and settings back to development mode
- Legacy-Id: 14372
2017-11-15 04:17:17 +00:00
Henrik Levkowetz d1a777cdc6 Set version info to release version 6.66.0 before branching.
- Legacy-Id: 14370
2017-11-15 04:17:06 +00:00
Henrik Levkowetz b931be0a07 Merged in [14365] from kivinen@iki.fi:
Added closed date column to closed review list. Fixes #2150.
 - Legacy-Id: 14366
Note: SVN reference [14365] has been migrated to Git commit 7b4727541a
2017-11-13 06:58:42 +00:00
Tero Kivinen 7b4727541a Added closed date column to closed review list. Fixes #2150. Commit ready for merge
- Legacy-Id: 14365
2017-11-11 11:30:00 +00:00
Henrik Levkowetz 6b2659ecd7 Merged in [14362] from rcross@amsl.com:
Improve test coverage for ietf.secr.sreq.
 - Legacy-Id: 14364
Note: SVN reference [14362] has been migrated to Git commit bf3a49466f
2017-11-11 10:32:33 +00:00
Henrik Levkowetz 275af78e89 Merged in [14359] from kivinen@iki.fi:
Fixed save-continue to work. Fixes #2383.
 - Legacy-Id: 14363
Note: SVN reference [14359] has been migrated to Git commit 5c1f1dfbd7
2017-11-11 09:45:25 +00:00
Ryan Cross bf3a49466f Improve test coverage for ietf.secr.sreq. Commit ready for merge
- Legacy-Id: 14362
2017-11-11 09:33:27 +00:00
Henrik Levkowetz efdb7bcc75 Merged in [14356] from kivinen@iki.fi:
Moved email open assignment summary from subpage to the main review request page. Fixes #2091.
 - Legacy-Id: 14361
Note: SVN reference [14356] has been migrated to Git commit 7c7e9ae698
2017-11-11 09:08:38 +00:00
Henrik Levkowetz a942bffbc6 Merged in [14355] from suresh@kaloom.com:
Fixes #2109
 - Legacy-Id: 14360
Note: SVN reference [14355] has been migrated to Git commit 51fa1deef2
2017-11-11 08:18:13 +00:00
Tero Kivinen 5c1f1dfbd7 Fixed save-continue to work. Fixes #2383. Commit ready for merge
- Legacy-Id: 14359
2017-11-11 07:23:50 +00:00
Henrik Levkowetz c6ed4b0dbe Changed the placement of the mail-archive search link on the ballot pages.
- Legacy-Id: 14358
2017-11-11 07:23:32 +00:00
Tero Kivinen 7c7e9ae698 Moved email open assignment summary from subpage to the main review request page. Fixes #2091. Commit ready for merge
- Legacy-Id: 14356
2017-11-11 06:29:05 +00:00
Suresh Krishnan 51fa1deef2 Commit ready for merge. Fixes #2109
- Legacy-Id: 14355
2017-11-11 06:27:35 +00:00
Ryan Cross fec655caf9 Fix problem where slide reordering is not retained. Fixes #2405. Commit ready for merge.
- Legacy-Id: 14354
2017-11-11 05:39:21 +00:00
Henrik Levkowetz 5ac6cf3987 Set version info and settings back to development mode
- Legacy-Id: 14326
2017-11-08 12:31:33 +00:00
Henrik Levkowetz 3d7c0626f0 Set version info to release version 6.65.1 before branching.
- Legacy-Id: 14324
2017-11-08 12:30:57 +00:00
Henrik Levkowetz 4f8f9d5c3f Added a check for proper API key settings in production, and added workable default API key settings for development.
- Legacy-Id: 14319
2017-11-07 15:49:15 +00:00
Henrik Levkowetz e29218f947 Bugfix
- Legacy-Id: 14317
2017-11-06 23:04:58 +00:00
Henrik Levkowetz a0d3d0b2c3 Tweaked the show-important-dates flag migration.
- Legacy-Id: 14316
2017-11-06 20:36:44 +00:00
Henrik Levkowetz 9369255764 In order to make it possible to enter meeting important dates and have the IESG see and approve them before they are generally visible, a flag has been added to the Meeting model, and code has been added to show the important dates as appropriate. A menu link to the important dates has also been added.
- Legacy-Id: 14315
2017-11-06 17:20:21 +00:00
Henrik Levkowetz 348738046a Changed the yang impact analysis url setting.
- Legacy-Id: 14314
2017-11-06 17:03:38 +00:00
Henrik Levkowetz 75c75cc7a2 Set version info and settings back to development mode
- Legacy-Id: 14311
2017-11-06 09:56:28 +00:00
Henrik Levkowetz d0634e248e Set version info to release version 6.65.0 before branching.
- Legacy-Id: 14309
2017-11-06 09:56:20 +00:00
Henrik Levkowetz a865d479ae Added a link to draft ballot pages for a mail archive search for discuss, comment, and review messages related to the draft.
- Legacy-Id: 14304
2017-11-04 17:36:58 +00:00
Henrik Levkowetz b29e096f92 Added a test for the IESG past documents page, and tweaked some test documents to have titles.
- Legacy-Id: 14303
2017-11-04 16:15:39 +00:00
Henrik Levkowetz f0cee14abc Made a setting more DRY.
- Legacy-Id: 14302
2017-11-04 16:15:25 +00:00
Henrik Levkowetz 615aba4637 The iesg past docs template.
- Legacy-Id: 14301
2017-11-04 16:14:16 +00:00
Henrik Levkowetz 8499beb010 Added a 'Recent documents' to the IESG pages.
- Legacy-Id: 14300
2017-11-04 12:36:13 +00:00
Henrik Levkowetz 77d5f1c155 Added a test for the new API help page.
- Legacy-Id: 14299
2017-11-03 20:01:14 +00:00
Henrik Levkowetz 241a8c0b0c Revert an incorrectly committed patch level change.
- Legacy-Id: 14298
2017-11-03 19:52:56 +00:00
Henrik Levkowetz 8786b5c700 Tweaked the error message for review message URLs which cannot be retrieved.
- Legacy-Id: 14297
2017-11-03 19:52:34 +00:00
Henrik Levkowetz 2c2f5b68bf Revert an incorrectly committed patch level change.
- Legacy-Id: 14296
2017-11-03 18:22:42 +00:00
Henrik Levkowetz 260bac9346 Updated some tests to match api views refactoring.
- Legacy-Id: 14295
2017-11-03 16:42:09 +00:00
Henrik Levkowetz 526003fd26 Added a brief REST API info page. In preparation for signing http notifications using RFC 7515, added information about API signing public/private keypair. Refactored api views to reside in api/views.py. Added jwcrypto to requirements.
- Legacy-Id: 14294
2017-11-03 16:17:00 +00:00
Henrik Levkowetz e899ed6e4d Permit ADs to do wg session materials upload.
- Legacy-Id: 14293
2017-11-03 14:38:50 +00:00
Henrik Levkowetz 85a1007922 Set version info and settings back to development mode
- Legacy-Id: 14291
2017-11-03 11:03:18 +00:00
Henrik Levkowetz 83c358f1c0 Set version info to release version 6.64.1 before branching.
- Legacy-Id: 14289
2017-11-03 11:03:10 +00:00
Henrik Levkowetz 3269a696fe Variable naming fix
- Legacy-Id: 14286
2017-11-03 10:36:50 +00:00
Henrik Levkowetz b6f0fbd52d Added new checker runs for all active drafts with yang modules to the yang link data migration, in order to make sure to have module information available.
- Legacy-Id: 14277
2017-11-02 14:49:51 +00:00
Henrik Levkowetz 370a0e3d94 Added a progress bar to the submission checker json field upgrade migration.
- Legacy-Id: 14276
2017-11-02 14:48:28 +00:00
Henrik Levkowetz 6edcd1b407 Capture messages from xym's get_extracted_models()
- Legacy-Id: 14275
2017-11-02 14:45:58 +00:00
Henrik Levkowetz a9c6dd92b0 Reverted the changes in [14254] and [14255]
- Legacy-Id: 14274
Note: SVN reference [14254] has been migrated to Git commit cf6143cce7

Note: SVN reference [14255] has been migrated to Git commit d4cc828e27
2017-11-02 12:24:10 +00:00
Henrik Levkowetz a146c22f8d Make the API accept ordering and relations for the meeting date field.
- Legacy-Id: 14273
2017-11-02 12:17:17 +00:00
Henrik Levkowetz a25ee4e50d Fixed an initialization error.
- Legacy-Id: 14271
2017-11-01 20:58:21 +00:00
Henrik Levkowetz 23a3056260 Fixed a typo.
- Legacy-Id: 14270
2017-11-01 14:51:08 +00:00
Henrik Levkowetz 48a81862b8 Added a data migration to upgrade the submission checker json details to a consistent format.
- Legacy-Id: 14269
2017-11-01 14:45:25 +00:00
Henrik Levkowetz 1e98a58386 Added missing in-loop variable initializations in the yang checker code. Fixes issue #2397.
- Legacy-Id: 14268
2017-11-01 14:40:56 +00:00
Henrik Levkowetz 6e23f99019 Improved the help message for the run_yang_model_checks management command.
- Legacy-Id: 14267
2017-11-01 14:39:53 +00:00
Henrik Levkowetz 02ec2aa7e3 Included the path for draft moduled found invalid in the module paths when running yanglint, in order to avoid some unhelpful model not found messages. Fixes issue #2398.
- Legacy-Id: 14266
2017-11-01 14:00:24 +00:00