Commit graph

7832 commits

Author SHA1 Message Date
Henrik Levkowetz 1530a6c394 Added a new TestCase assertion: assertMailboxContains(), to be able to better express some test cases.
- Legacy-Id: 14139
2017-09-19 19:47:48 +00:00
Henrik Levkowetz 5ba85065aa Set version info and settings back to development mode
- Legacy-Id: 14133
2017-09-17 15:52:03 +00:00
Henrik Levkowetz a93537b75f Set version info to release version 6.62.0 before branching.
- Legacy-Id: 14131
2017-09-17 15:51:54 +00:00
Henrik Levkowetz 33b275b04f Added ietf.utils.text.unidecode_name() and replaced various uses of unidecode() with it, in order to normalize the generation of ascii versions of names, to avoid different practices in space stripping and space normalization in different parts of the code.
- Legacy-Id: 14128
2017-09-17 15:12:18 +00:00
Henrik Levkowetz 6aa2cfca89 Updated tests to match the submission API info page.
- Legacy-Id: 14127
2017-09-17 14:02:52 +00:00
Henrik Levkowetz 8d3c540edd Added submit API instructions and fixed a bug in error handling for the submission validity checkers.
- Legacy-Id: 14126
2017-09-17 13:04:41 +00:00
Henrik Levkowetz 3af2554b2f Added an API for draft submission, at /api/submit. Added an urls.py file under api/ to hold api urls, and moved those from ietf/urls.py. Refactored out many parts of the regular submission forms and functions in submit/forms.py and submit/views.py in order to re-use the appropriate parts for the submission API. Moved support functions to submit/utils.py. Added a new validation errors for missing docName in xml-based submissions. Updated the submission test document templates to use insert additional values. Added failure and success test cases for automated API submissions, and refactored some test utility functions.
- Legacy-Id: 14125
2017-09-16 09:35:42 +00:00
Henrik Levkowetz da23da1e8e Tweaked Document.relations_that_doc() to accept unicode relationship strings, in order to let it be called from modules importing __future__.unicode_literals.
- Legacy-Id: 14124
2017-09-16 09:24:29 +00:00
Henrik Levkowetz 9f785c0dce Tweaked the test util function create_person() to create ascii-only .ascii fields, which it did not do before.
- Legacy-Id: 14123
2017-09-16 09:21:45 +00:00
Henrik Levkowetz dedc7e6d56 Modified the mailtrigger clean_duplicates to reduce email address list entries with the same address but different names to one instance, and use consistent unicode names for authors if known.
- Legacy-Id: 14122
2017-09-16 09:19:20 +00:00
Henrik Levkowetz f6e91e7c1f Commented out the sql log middleware; comment in only as needed.
- Legacy-Id: 14121
2017-09-16 09:16:04 +00:00
Henrik Levkowetz 1e7b906535 Fixed another place where updated logic is needed to get the current
meeting when we have multiple future meetings.  Fixes issue #2371.
 - Legacy-Id: 14120
2017-09-15 17:49:22 +00:00
Henrik Levkowetz bc054b8cb2 Updated meeting.helpers.get_meeting() to deal with multiple future meetings the same way get_ietf_meeting() does.
- Legacy-Id: 14119
2017-09-13 09:16:34 +00:00
Henrik Levkowetz 793b1d3fe0 Set version info and settings back to development mode
- Legacy-Id: 14117
2017-09-11 15:17:38 +00:00
Henrik Levkowetz 08a4da737a Set version info to release version 6.61.0 before branching.
- Legacy-Id: 14115
2017-09-11 15:17:10 +00:00
Henrik Levkowetz 3305cbfc64 Merged in [14106] from rcross@amsl.com:
Add support for directorates to generate-wg-aliases.  Fixes #2363.
 - Legacy-Id: 14110
Note: SVN reference [14106] has been migrated to Git commit 4269d3b68e
2017-09-08 14:29:32 +00:00
Henrik Levkowetz a6a85385ac Merged in [14104] from rcross@amsl.com:
Update secretariat admin permissions.  Change AnnouncementFrom.address to CharField because full emails, with real name, fail EmailField validation. Includes migration.
 - Legacy-Id: 14109
Note: SVN reference [14104] has been migrated to Git commit 6772afdd24
2017-09-08 13:28:44 +00:00
Henrik Levkowetz 40fd78a0b4 Merged in [14103] from rcross@amsl.com:
Change announcement tool access function to use data from AnnouncementFrom objects.  Fixes #2362.
 - Legacy-Id: 14108
Note: SVN reference [14103] has been migrated to Git commit a85a76247a
2017-09-08 12:54:38 +00:00
Henrik Levkowetz 135d5d946b Tweaked the submission checker shell invocation code to deal with command lines starting with environment variable settings.
- Legacy-Id: 14107
2017-09-08 12:09:22 +00:00
Ryan Cross 4269d3b68e Add support for directorates to generate-wg-aliases. Fixes #2363. Commit ready for merge.
- Legacy-Id: 14106
2017-09-07 21:03:25 +00:00
Ryan Cross 6772afdd24 Update secretariat admin permissions. Change AnnouncementFrom.address to CharField because full emails, with real name, fail EmailField validation. Includes migration. Commit ready for merge.
- Legacy-Id: 14104
2017-09-06 22:42:15 +00:00
Ryan Cross a85a76247a Change announcement tool access function to use data from AnnouncementFrom objects. Fixes #2362. Commit ready for merge
- Legacy-Id: 14103
2017-09-06 21:29:59 +00:00
Henrik Levkowetz a9b259ef26 Changed the message shown when xml file parsing fails during draft submission to include the actual error message from the xml parser. Fixes issue #2353.
- Legacy-Id: 14102
2017-09-06 17:41:29 +00:00
Henrik Levkowetz dda271bd7e Fixed another issue with the meeting materials urls, related to the href() normalisation work.
- Legacy-Id: 14101
2017-09-06 14:46:49 +00:00
Henrik Levkowetz 95a5400dea Changed the handling of yang validation otput to capture errors messages also when command the exit code is zero.
- Legacy-Id: 14100
2017-09-03 14:40:02 +00:00
Henrik Levkowetz 25cc899a24 Set version info and settings back to development mode
- Legacy-Id: 14098
2017-09-03 12:10:14 +00:00
Henrik Levkowetz 13fe8798a2 Set version info to release version 6.60.0 before branching.
- Legacy-Id: 14096
2017-09-03 12:10:06 +00:00
Henrik Levkowetz 7b1224ebad Merged in ^/personal/sbirkholz/meeting_registration_more_fixes, which adds creation of missing person records when importing meeting registration data. Tweaked the resulting code some.
- Legacy-Id: 14092
2017-08-31 18:48:53 +00:00
Henrik Levkowetz 2928f0c129 Merged in [14088] from rcross@amsl.com:
Strip whitespace from registration data during import.  Includes migration for existing data.  Fixes #2356.
 - Legacy-Id: 14091
Note: SVN reference [14088] has been migrated to Git commit 044b89169a
2017-08-31 16:03:49 +00:00
Henrik Levkowetz 0fac54cb3e Merged in [14086] from rjsparks@nostrum.com:
Show whether a person is nomcom eligible on their edit_profile page. Related to #2257 and #2323.
 - Legacy-Id: 14090
Note: SVN reference [14086] has been migrated to Git commit dc20598999
2017-08-31 15:21:17 +00:00
Henrik Levkowetz aafd6290a6 Added an option to ietf.utils.draft.Draft to pull document name from the source file name.
- Legacy-Id: 14089
2017-08-31 14:48:43 +00:00
Ryan Cross 044b89169a Strip whitespace from registration data during import. Includes migration for existing data. Fixes #2356. Commit ready for merge.
- Legacy-Id: 14088
2017-08-29 19:58:32 +00:00
Robert Sparks dc20598999 Show whether a person is nomcom eligible on their edit_profile page. Related to #2257 and #2323. Commit ready for merge.
- Legacy-Id: 14086
2017-08-28 19:28:44 +00:00
Henrik Levkowetz f2668cf61d Set version info and settings back to development mode
- Legacy-Id: 14084
2017-08-28 08:39:38 +00:00
Henrik Levkowetz ce5e565aea Set version info to release version 6.59.0 before branching.
- Legacy-Id: 14082
2017-08-28 08:39:30 +00:00
Henrik Levkowetz 8536a7435d Additional change related to the href() work.
- Legacy-Id: 14078
2017-08-25 13:11:14 +00:00
Henrik Levkowetz 4174196af0 Fixed a problem with missing extensions for external materials URLs, introduced in earlier doc.href() normalization work.
- Legacy-Id: 14077
2017-08-24 19:18:54 +00:00
Seth Birkholz 8b5a639b82 This should be the final fix to
resolve the meeting registration problem where a Person object
 was not being created
 - Legacy-Id: 14076
2017-08-24 19:04:40 +00:00
Henrik Levkowetz f8581f7fc7 Merged in [14062] from housley@vigilsec.com:
Show which RFC was in force when the IPR disclosure was submitted. Fixes #2309.
 - Legacy-Id: 14070
Note: SVN reference [14062] has been migrated to Git commit 6d616855bc
2017-08-24 09:41:37 +00:00
Henrik Levkowetz a1dcba1741 Merged in [14059] from rjsparks@nostrum.com:
Made the view-feedback table sortable. Fixes #2259.
 - Legacy-Id: 14069
Note: SVN reference [14059] has been migrated to Git commit e5f10bfee9
2017-08-23 18:16:57 +00:00
Henrik Levkowetz e393b83f6b Merged in [14058] from rjsparks@nostrum.com:
Further refinements to the nominee status table. Related to #2261.
 - Legacy-Id: 14068
Note: SVN reference [14058] has been migrated to Git commit 7cecd9fe38
2017-08-23 17:30:00 +00:00
Henrik Levkowetz 2b2753635f Merged in [14057] from rjsparks@nostrum.com:
Improve the nominee status table to serve as a nomcom dashboard. Fixes #2261.
 - Legacy-Id: 14067
Note: SVN reference [14057] has been migrated to Git commit 2dbb0766fd
2017-08-23 15:06:12 +00:00
Henrik Levkowetz 2ad08d6c59 Merged in [14056] from rjsparks@nostrum.com:
Straightened out some DocHistory timestamps that did not align with the respective DocEvent timestamps. Fixes #1972.
 - Legacy-Id: 14063
Note: SVN reference [14056] has been migrated to Git commit cebcd61b08
2017-08-21 21:25:48 +00:00
Russ Housley 6d616855bc Show which RFC was in force when the IPR disclosure was submitted. Fixes #2309.
- Legacy-Id: 14062
2017-08-21 14:30:20 +00:00
Henrik Levkowetz 9312b59153 Merged in [14055] from rjsparks@nostrum.com:
Improved what initial states are offered when the IRTF chair or RG personnel manage adoption of a document. Fixes #2319.
 - Legacy-Id: 14061
Note: SVN reference [14055] has been migrated to Git commit 09a7d720a1
2017-08-21 12:45:49 +00:00
Henrik Levkowetz 52fe135c53 Use the wordwrap filter instead of the fill filter when displaying meeting minutes and similar, to avoid messing up the formatting.
- Legacy-Id: 14060
2017-08-21 12:11:17 +00:00
Robert Sparks e5f10bfee9 Made the view-feedback table sortable. Fixes #2259. Commit ready for merge.
- Legacy-Id: 14059
2017-08-17 21:58:19 +00:00
Robert Sparks 7cecd9fe38 Further refinements to the nominee status table. Related to #2261. Commit ready for merge.
- Legacy-Id: 14058
2017-08-16 21:59:51 +00:00
Robert Sparks 2dbb0766fd Improve the nominee status table to serve as a nomcom dashboard. Fixes #2261. Commit ready for merge.
- Legacy-Id: 14057
2017-08-16 20:42:33 +00:00
Robert Sparks cebcd61b08 Straightened out some DocHistory timestamps that did not align with the respective DocEvent timestamps. Fixes #1972. Commit ready for merge.
- Legacy-Id: 14056
2017-08-14 20:33:24 +00:00
Robert Sparks 09a7d720a1 Improved what initial states are offered when the IRTF chair or RG personnel manage adoption of a document. Fixes #2319. Commit ready for merge.
- Legacy-Id: 14055
2017-08-14 19:35:48 +00:00
Henrik Levkowetz 0d4320fcdd Merged in [14053] from rjsparks@nostrum.com:
Fixed typo in the meeting materials template that was causing minutes for groups that met more than once to not show.
 - Legacy-Id: 14054
Note: SVN reference [14053] has been migrated to Git commit 8a4d5aa8ba
2017-08-14 15:58:09 +00:00
Robert Sparks 8a4d5aa8ba Fixed typo in the meeting materials template that was causing minutes for groups that met more than once to not show. Commit ready for merge.
- Legacy-Id: 14053
2017-08-13 20:42:45 +00:00
Henrik Levkowetz 0e0fd173a8 Merged in [14035] from rjsparks@nostrum.com:
Make it more obvious which sessions are scheduled and which are not when viewing session details and managing materials. Fixes #2084.
 - Legacy-Id: 14038
Note: SVN reference [14035] has been migrated to Git commit 661bb18f0c
2017-08-10 11:33:26 +00:00
Henrik Levkowetz aaccbba6e8 Fixed a bug in coverage_changes.
- Legacy-Id: 14037
2017-08-10 10:53:59 +00:00
Henrik Levkowetz 87cd50e1d8 Made a test more stable.
- Legacy-Id: 14036
2017-08-10 10:53:38 +00:00
Robert Sparks 661bb18f0c Make it more obvious which sessions are scheduled and which are not when viewing session details and managing materials. Fixes #2084. Commit ready for merge.
- Legacy-Id: 14035
2017-08-09 20:06:36 +00:00
Henrik Levkowetz 55003bdf87 Simplified and corrected some code which uses doc.href(), based on the recent updates to href().
- Legacy-Id: 14026
2017-08-03 18:11:46 +00:00
Henrik Levkowetz cf8f70a1a8 Merged in [14018] from rcross@amsl.com:
Add meeting_importantdate to Secretatriat admin permissions.
 - Legacy-Id: 14025
Note: SVN reference [14018] has been migrated to Git commit a18c9c1014
2017-08-03 16:57:26 +00:00
Henrik Levkowetz 1eeaf49c5c Added an error exit when the test runner is invoked with incompatible switches (--parallel and --html-report)
- Legacy-Id: 14024
2017-08-02 13:00:16 +00:00
Henrik Levkowetz 0a0ac7806b Removed a module temporarily inserted in INSTALLED_APPS
- Legacy-Id: 14022
2017-08-01 14:08:09 +00:00
Henrik Levkowetz 4dad8cdf9a Added a test to check for missing admin models, and added the admin models that were currently missing.
- Legacy-Id: 14021
2017-08-01 14:00:29 +00:00
Henrik Levkowetz 2846a2d58d Return 404 if meeting materials not found.
- Legacy-Id: 14019
2017-08-01 10:56:10 +00:00
Ryan Cross a18c9c1014 Add meeting_importantdate to Secretatriat admin permissions. Commit ready for merge
- Legacy-Id: 14018
2017-07-31 22:59:02 +00:00
Henrik Levkowetz aaf3fa54d8 Set version info and settings back to development mode
- Legacy-Id: 14015
2017-07-31 12:33:50 +00:00
Henrik Levkowetz 1a09d8ab60 Set version info to release version 6.58.0 before branching.
- Legacy-Id: 14013
2017-07-31 12:33:41 +00:00
Henrik Levkowetz e54a24b931 Added a couple of missing migrations.
- Legacy-Id: 14010
2017-07-31 12:11:08 +00:00
Henrik Levkowetz 138f3d7382 Fixed a variable initialization issue.
- Legacy-Id: 14009
2017-07-30 14:33:34 +00:00
Henrik Levkowetz 2070a4efcf Fixed a pyflakes issue.
- Legacy-Id: 14008
2017-07-30 13:55:30 +00:00
Henrik Levkowetz 8a53653682 Added detailed line-by line changes in code coverage to the coverage_changes management command. Use verbosity 2 or higher.
- Legacy-Id: 14007
2017-07-30 13:50:06 +00:00
Henrik Levkowetz 868427a645 Merged in [13996] from rcross@amsl.com:
Move Announcement app From addresses out of code and into database table.  Fixes #1681.
 - Legacy-Id: 14006
Note: SVN reference [13996] has been migrated to Git commit d49787a0f6060e7db64f5a0e684bf1d980f85290
2017-07-29 18:12:45 +00:00
Henrik Levkowetz 24273da256 Backed out commit 14000; the code is not idempotent and will create duplicate Person objects.
- Legacy-Id: 14004
2017-07-29 14:02:41 +00:00
Henrik Levkowetz 70614557cc Added an admin model for the MeetingRegistration class.
- Legacy-Id: 14003
2017-07-29 14:01:19 +00:00
Henrik Levkowetz 2a62b8c39d Fixed a couple of html issues.
- Legacy-Id: 14002
2017-07-29 11:41:52 +00:00
Henrik Levkowetz 68abf06905 Merged ^/personal/sbirkholz/meeting_registration/@13969:
Added Person objects to a MeetingRegistration objects in ietf/stats/utils.py when importing meeting registrations in get_meeting_registration_data().
 - Legacy-Id: 14000
2017-07-29 10:34:32 +00:00
Henrik Levkowetz 926c197c14 Changed from get_meetings() to get_meeting() for meeting.views.floor_plan(), in order to raise 404 on missing meetings. Fixes a server 500 on /meeting/floor-plan/ for nonexistant meetings.
- Legacy-Id: 13999
2017-07-28 22:50:23 +00:00
Henrik Levkowetz b33b62824e Added a document name validator to avoid new documents with unwanted characters in the name.
- Legacy-Id: 13998
2017-07-28 22:48:30 +00:00
Henrik Levkowetz 6eda346356 Added a data migration to fix recent slides names containing underscores.
- Legacy-Id: 13997
2017-07-28 22:47:34 +00:00
Henrik Levkowetz 0fc216b7fd Tweaked the draft dot regexp
- Legacy-Id: 13993
2017-07-28 12:51:28 +00:00
Henrik Levkowetz d35ec73069 Added support for mime-encoding of non-ascii name parts in document notify lists when generating draft email aliases.
- Legacy-Id: 13990
2017-07-27 19:22:59 +00:00
Henrik Levkowetz dfaceb6e22 Point at the datatracker's document pages, instead of directly at the document in question, for documents on a person's profile page. This reverts to the functionality as originally designed, but uses the correct doc.get_absolute_url instead of doc.href() (which incorrectly did the same as get_absolute_url until recently). Fixes issue #2340.
- Legacy-Id: 13989
2017-07-27 15:31:05 +00:00
Henrik Levkowetz 4295396891 Make Document.href() point at the rfc when doc.is_rfc().
- Legacy-Id: 13988
2017-07-27 15:28:11 +00:00
Henrik Levkowetz c8336b9ca0 Made the materials links on the group materials tab say 'Edit Materials' for people who can edit the group. Fixes issue #2332.
- Legacy-Id: 13987
2017-07-27 15:10:18 +00:00
Henrik Levkowetz c7a2b4a019 Merged in [13980] from rjsparks@nostrum.com:
Remove the Historic charter link that has 404ed for several months. The closest we have for the content it might have reached in the path is already linked out of the concluded working groups page. Fixes #2223.
 - Legacy-Id: 13983
Note: SVN reference [13980] has been migrated to Git commit 9ddbbd5ffd
2017-07-26 22:17:01 +00:00
Henrik Levkowetz a3c5c7f72a Merged in [13978] from rjsparks@nostrum.com:
Query unique person objects when searching for duplicates based on aliases. Fixes #2263.
 - Legacy-Id: 13982
Note: SVN reference [13978] has been migrated to Git commit 503199eaff
2017-07-26 21:51:42 +00:00
Robert Sparks 9ddbbd5ffd Remove the Historic charter link that has 404ed for several months. The closest we have for the content it might have reached in the path is already linked out of the concluded working groups page. Fixes #2223. Commit ready for merge.
- Legacy-Id: 13980
2017-07-26 21:08:43 +00:00
Henrik Levkowetz 896fb3d098 Removed old admin styling, things have moved on to the point where it doesn't work well any more.
- Legacy-Id: 13979
2017-07-26 20:47:13 +00:00
Robert Sparks 503199eaff Query unique person objects when searching for duplicates based on aliases. Fixes #2263. Commit ready for merge.
- Legacy-Id: 13978
2017-07-26 20:37:17 +00:00
Henrik Levkowetz 4be32ee7f2 Changed the menubar link to meeting materials to explicitly point at /meeting/materials/, not just /meeting/.
- Legacy-Id: 13970
2017-07-26 16:03:25 +00:00
Seth Birkholz 6359192cbb Commit ready for merge. This commit implements fixes suggested by Henrik to the MeetingRegistration class
- added tests
    - reverted 'obj' to 'object'
    - removed check for valid email
    - identifing person by Email.person rather than Person.user__username
    - used a simpler form of unidecode logic.  TBD: the previous code was stolen from elsewhere in the code which should also be simplified.
    - Person.name now uses firstname + lastname rather than email.
 - Legacy-Id: 13969
2017-07-25 20:20:00 +00:00
Henrik Levkowetz 3c88cf822b Replaced some group-specific agenda and minutes urls with session-specific urls, and more consistently pointed at explicitly named meeting materilas. Related to [13964].
- Legacy-Id: 13968
Note: SVN reference [13964] has been migrated to Git commit a5d8cc85d3
2017-07-24 17:41:49 +00:00
Henrik Levkowetz d00921b94b Added a new release-coverage format which whould make it easier to show line-by-line code test coverage changes in the future.
- Legacy-Id: 13967
2017-07-24 17:38:00 +00:00
Henrik Levkowetz 2de6855ccd Fixed a time arithmetics issue in meeting cutoff date methods
- Legacy-Id: 13966
2017-07-23 14:47:46 +00:00
Henrik Levkowetz 8e942f44a6 Changed the display of individual item update time on the materials overview page. In practice, having a tooltip on every agenda, minutes, and slides link became intrusive and annoying. Changed to display a bell if the update is within one day of now, and to display the time tooltip when hovering over the bell. Also corrected the colspan numbers for cancelled sessions, for consistency.
- Legacy-Id: 13965
2017-07-22 11:39:11 +00:00
Henrik Levkowetz a5d8cc85d3 Added urls and views for individual meeting documents, in order to be able to serve them directly from the datatracker, instead of taking them from www.ietf.org through CDN. Adjusted the patterns used for href() accordingly. This also avoid different-origin issues. Shifted the url for materials_editable_groups() to an URL more in line to those it links to. Changed the iframe urls for the agenda week view to work for groups with different agendas for different sessions by using href().
- Legacy-Id: 13964
2017-07-21 21:23:53 +00:00
Henrik Levkowetz b56e9483b4 Merged in [13958] from rjsparks@nostrum.com:
Tweak to the important dates page title.
 - Legacy-Id: 13963
Note: SVN reference [13958] has been migrated to Git commit a327e1402e
2017-07-21 17:07:15 +00:00
Henrik Levkowetz 0d1feacb42 Merged in [13957] from rjsparks@nostrum.com:
Moves Important Dates into the datatracker. Fixes #2338.
 - Legacy-Id: 13962
Note: SVN reference [13957] has been migrated to Git commit 2e6f26af23
2017-07-21 16:30:04 +00:00
Henrik Levkowetz 7d443e5577 Merged in [13955] from kivinen@iki.fi:
Changed links to previous reviews go to the doc page of the last
result, not the review request page. The doc page will contain the
actual review, so it has all information that is needed. Fixes #2090.
 - Legacy-Id: 13961
Note: SVN reference [13955] has been migrated to Git commit 7154166e74
2017-07-21 15:57:03 +00:00
Henrik Levkowetz ab8590ecea Merged in [13934] from kivinen@iki.fi:
Added sorting for the review team statistics tables. Fixed #2330.
 - Legacy-Id: 13959
Note: SVN reference [13934] has been migrated to Git commit 249c345383
2017-07-21 12:03:19 +00:00
Robert Sparks a327e1402e Tweak to the important dates page title. Commit ready for merge
- Legacy-Id: 13958
2017-07-21 11:00:00 +00:00
Robert Sparks 2e6f26af23 Moves Important Dates into the datatracker. Fixes #2338. Commit ready for merge.
- Legacy-Id: 13957
2017-07-21 10:29:56 +00:00
Tero Kivinen 7154166e74 Changed links to previous reviews go to the doc page of the last
result, not the review request page. The doc page will contain the
actual review, so it has all information that is needed. Fixes #2090.
Commit ready for merge.
 - Legacy-Id: 13955
2017-07-21 08:40:16 +00:00
Seth Birkholz 95d3ac3b3c Branch ready to merge. added Person object to a MeetingRegistration object in ietf/stats/utils.py method get_meeting_registration_data
- Legacy-Id: 13954
2017-07-21 07:26:58 +00:00
Henrik Levkowetz 3d5862a9d4 Changed get_timeslot_for_filename() to not blow up in the presence of duplicate timeslots.
- Legacy-Id: 13952
2017-07-20 12:43:38 +00:00
Seth Birkholz bffc7114eb Added Person object to ietf/stats/utils.py in get_meeting_registration_data
- Legacy-Id: 13949
2017-07-19 16:48:28 +00:00
Henrik Levkowetz 9ff76d026d Set version info and settings back to development mode
- Legacy-Id: 13945
2017-07-19 12:15:22 +00:00
Henrik Levkowetz f5e8b60a45 Set version info to release version 6.57.0 before branching.
- Legacy-Id: 13943
2017-07-19 12:15:05 +00:00
Henrik Levkowetz 7751f54742 Make materials links on the ietf materials page visible to group delegates.
- Legacy-Id: 13939
2017-07-19 11:45:35 +00:00
Henrik Levkowetz 3b4992d2b7 Fixed a bug in a meeting number comparison.
- Legacy-Id: 13938
2017-07-19 11:42:26 +00:00
Henrik Levkowetz 337efbbe3f Merged in [13919] from peter@akayla.com:
Prints the group type and IRTF/IETF correctly now.  Fixes #2034.
 - Legacy-Id: 13937
Note: SVN reference [13919] has been migrated to Git commit 6df0b52532
2017-07-18 13:51:34 +00:00
Henrik Levkowetz 39dbf43da4 Merged in [13918] from kivinen@iki.fi:
Unified the review request views to use same template, so they all
show same data, in same format.
 - Legacy-Id: 13936
Note: SVN reference [13918] has been migrated to Git commit b6e036b63e
2017-07-18 12:57:56 +00:00
Tero Kivinen 249c345383 Added sorting for the review team statistics tables. Fixed #2330.
Commit ready for merge.
 - Legacy-Id: 13934
2017-07-18 11:47:07 +00:00
Henrik Levkowetz 3db5be1af0 Changed etherpad links to not use the explicit 9000 port any more; it's not needed and may cause issues.
- Legacy-Id: 13932
2017-07-17 14:37:36 +00:00
Henrik Levkowetz c65015c30d Merged in [13916] from alireza.mohammadi@icann.org:
Better punctuation during state change by adding \" before and after
old and new state.  Fixes issue #1545.
 - Legacy-Id: 13931
Note: SVN reference [13916] has been migrated to Git commit 07c3fe97fd
2017-07-17 14:25:29 +00:00
Henrik Levkowetz edc57b961f Merged in [13911] from kivinen@iki.fi:
Fixed sign in page so it will always scroll to top when page is loaded, so the sign in fields are visible.
 - Legacy-Id: 13929
Note: SVN reference [13911] has been migrated to Git commit 16fb57b14d
2017-07-17 13:18:12 +00:00
Henrik Levkowetz 02ae6aebd3 Merged in [13908] from alireza.mohammadi@icann.org:
Ticket# 1644 : add \'last updated\' timestamps on meeting materials page
Added UTC time to the tooltip of Agenda and slides and an new column of Updated. Updated column present the latest time stamp for agenda and slides.
 - Legacy-Id: 13928
Note: SVN reference [13908] has been migrated to Git commit 5b0555581f
2017-07-17 12:47:26 +00:00
Henrik Levkowetz 29ef660827 Added an 'assignments' m2m field to the API sssion resource
- Legacy-Id: 13927
2017-07-17 11:52:05 +00:00
Henrik Levkowetz 391d5e9ec5 Added a guard for the case that slides might be removed from a session while agenda page construction is in flight.
- Legacy-Id: 13926
2017-07-17 09:22:06 +00:00
Henrik Levkowetz 6eb8c03eb5 Added a session status field to the /meeting/agenda.json data, to make cancelled session info available.
- Legacy-Id: 13925
2017-07-17 09:20:47 +00:00
Henrik Levkowetz f3a5f4fd9a Modified the meeting session materials template to use href(), in order to be able to point at the right materials for groups with multiple sessions with different materials.
- Legacy-Id: 13923
2017-07-16 13:06:37 +00:00
Henrik Levkowetz e1faf1f61d Reverted the meeting agenda href setting.
- Legacy-Id: 13922
2017-07-16 13:01:25 +00:00
Peter E. Yee 6df0b52532 Prints the group type and IRTF/IETF correctly now. Fixes #2034. Commit ready for merge.
- Legacy-Id: 13919
2017-07-15 18:03:30 +00:00
Tero Kivinen b6e036b63e Unified the review request views to use same template, so they all
show same data, in same format. Commit ready for merge.
 - Legacy-Id: 13918
2017-07-15 17:21:58 +00:00
Seth Birkholz 0c520b0a01 This is a bug fix for Ticket #1309
- Legacy-Id: 13917
2017-07-15 16:49:22 +00:00
Alireza Mohammadi 07c3fe97fd Unit test fix. Fixes issue #1545.
- Legacy-Id: 13916
2017-07-15 16:48:14 +00:00
Henrik Levkowetz 13bd9e1b59 Merged in [13905] from david.i.allan@ericsson.com:
Fixes issue #2183.

    2183 fix to status update forms
 - Legacy-Id: 13914
Note: SVN reference [13905] has been migrated to Git commit 6964155a00
2017-07-15 16:28:36 +00:00
Alireza Mohammadi d715d82c24 Better punctuation during state change by adding \" before and after old and new state. Fixes issue #1545.
- Legacy-Id: 13913
2017-07-15 16:16:16 +00:00
Henrik Levkowetz 5fe98e42ae Merged in [13903] from rjsparks@nostrum.com:
Use a better timestamp for newrevisiondocevents when uploading agendas, minutes, and slides. Fixes #2039.
 - Legacy-Id: 13912
Note: SVN reference [13903] has been migrated to Git commit 59886b9bbf
2017-07-15 15:50:46 +00:00
Tero Kivinen 16fb57b14d Fixed sign in page so it will always scroll to top when page is loaded, so the sign in fields are visible. Commit ready for merge.
- Legacy-Id: 13911
2017-07-15 15:40:51 +00:00
Henrik Levkowetz 2764a63023 Merged in [13902] from rjsparks@nostrum.com:
Include drafts associated with sessions when building session pdf and tarballs. Fixes #2036.
 - Legacy-Id: 13909
Note: SVN reference [13902] has been migrated to Git commit a235482f8a
2017-07-15 15:24:10 +00:00
Alireza Mohammadi 5b0555581f Ticket# 1644 : add "last updated" timestamps on meeting materials page
Added UTC time to the tooltip of Agenda and slides and an new column of Updated. Updated column present the latest time stamp for agenda and slides.
 - Legacy-Id: 13908
2017-07-15 15:23:10 +00:00
Henrik Levkowetz c9736e9600 Merged in [13900] from peter@akayla.com:
Allows ADs to manage meeting materials from the meeting/##/materials page. Fixes #2213.
 - Legacy-Id: 13906
Note: SVN reference [13900] has been migrated to Git commit 0d2e3cd32e
2017-07-15 14:57:54 +00:00
David I. Allan 6964155a00 2183 fix to status update forms commit ready for merge
- Legacy-Id: 13905
2017-07-15 14:32:09 +00:00
Henrik Levkowetz e08198db86 Merged in [13899] from rjsparks@nostrum.com:
Allow editing of title for agendas, minutes, and bluesheets documents. Fixes #2317.
 - Legacy-Id: 13904
Note: SVN reference [13899] has been migrated to Git commit fbde311f43
2017-07-15 14:12:34 +00:00
Robert Sparks 59886b9bbf Use a better timestamp for newrevisiondocevents when uploading agendas, minutes, and slides. Fixes #2039. Commit ready for merge.
- Legacy-Id: 13903
2017-07-15 13:42:25 +00:00
Robert Sparks a235482f8a Include drafts associated with sessions when building session pdf and tarballs. Fixes #2036. Commit ready for merge.
- Legacy-Id: 13902
2017-07-15 13:03:37 +00:00
Henrik Levkowetz 25753daf86 Merged in [13897] from rjsparks@nostrum.com:
Send email to reviewer when request is closed with no response. Fixes #2176.
 - Legacy-Id: 13901
Note: SVN reference [13897] has been migrated to Git commit 617dac49d6
2017-07-15 12:44:58 +00:00
Peter E. Yee 0d2e3cd32e Allows ADs to manage meeting materials from the meeting/##/materials page. Fixes #2213. Commit ready for merge.
- Legacy-Id: 13900
2017-07-15 12:40:13 +00:00
Robert Sparks fbde311f43 Allow editing of title for agendas, minutes, and bluesheets documents. Fixes #2317. Commit ready for merge.
- Legacy-Id: 13899
2017-07-15 12:24:02 +00:00
Henrik Levkowetz 526bab0ab1 Merged in [13893] from housley@vigilsec.com:
IPR pages reference RFC 8179. Partial fix to #2309.
 - Legacy-Id: 13898
Note: SVN reference [13893] has been migrated to Git commit c8f4d08a2e
2017-07-15 12:09:14 +00:00
Robert Sparks 617dac49d6 Send email to reviewer when request is closed with no response. Fixes #2176. Commit ready to merge.
- Legacy-Id: 13897
2017-07-15 12:07:20 +00:00
Henrik Levkowetz 6c1d3b856c Merged in [13892] from mahoney@nostrum.com:
Made email subject 'I-D ACTION:<draft>' consistent with other 'I-D Action: <draft>' email subjects. Fixes #1519.
 - Legacy-Id: 13896
Note: SVN reference [13892] has been migrated to Git commit 8bb332d8e8
2017-07-15 11:45:11 +00:00
Henrik Levkowetz 7f556c9955 Merged in [13888] from rjsparks@nostrum.com:
Refined the state changed email message per discussion on tools-development. Fixes #2116.
 - Legacy-Id: 13894
Note: SVN reference [13888] has been migrated to Git commit 7a11217f6f
2017-07-15 11:16:22 +00:00
Russ Housley c8f4d08a2e IPR pages reference RFC 8179. Partial fix to #2309.
- Legacy-Id: 13893
2017-07-15 11:14:12 +00:00
Jean Mahoney 8bb332d8e8 Made email subject 'I-D ACTION:<draft>' consistent with other 'I-D Action: <draft>' email subjects. Fixes #1519. Commit ready for merge.
- Legacy-Id: 13892
2017-07-15 11:05:29 +00:00
Henrik Levkowetz 3e7b2b3125 Merged in [13887] from rjsparks@nostrum.com:
Allow minutes to be uploaded after previous minutes had been uploaded and removed from the session. Fixes #2286.
 - Legacy-Id: 13891
Note: SVN reference [13887] has been migrated to Git commit 08c7a38fc8
2017-07-15 10:53:37 +00:00
Henrik Levkowetz 15f8b4504e Change the test telechat dates so that the first active telechat doesn't change to lie in the past if the tests are run across midnight.
- Legacy-Id: 13889
2017-07-15 10:01:35 +00:00
Robert Sparks 7a11217f6f Refined the state changed email message per discussion on tools-development. Fixes #2116. Commit ready for merge.
- Legacy-Id: 13888
2017-07-15 09:36:29 +00:00
Robert Sparks 08c7a38fc8 Allow minutes to be uploaded after previous minutes had been uploaded and removed from the session. Fixes #2286. Commit ready for merge.
- Legacy-Id: 13887
2017-07-15 08:39:40 +00:00
Henrik Levkowetz 66703c2352 Merged in [13883] from rjsparks@nostrum.com:
Repaired missing table id, allowing slide reordering to be saved. Fixes #2327.
 - Legacy-Id: 13886
Note: SVN reference [13883] has been migrated to Git commit cde2e6a133
2017-07-15 08:22:30 +00:00
Robert Sparks cde2e6a133 Repaired missing table id, allowing slide reordering to be saved. Fixes #2327. Commit ready to merge.
- Legacy-Id: 13883
2017-07-15 07:45:26 +00:00
Henrik Levkowetz ce9291daeb Tweaked the coverage line ignore patterns.
- Legacy-Id: 13880
2017-07-13 19:41:45 +00:00
Henrik Levkowetz e0c59bace0 Added a code coverage exception pattern.
- Legacy-Id: 13878
2017-07-13 15:38:15 +00:00
Henrik Levkowetz 263551d3b7 Set version info and settings back to development mode
- Legacy-Id: 13856
2017-07-13 12:41:25 +00:00
Henrik Levkowetz ba93c510a7 Set version info to release version 6.56.0 before branching.
- Legacy-Id: 13854
2017-07-13 12:41:16 +00:00
Henrik Levkowetz 86b252c90e Some refactoring of the agenda and minutes validation work.
- Legacy-Id: 13850
2017-07-13 10:42:48 +00:00
Henrik Levkowetz 46fc7b77fd Added more validation of extension, mime type, etc. for uploaded meeting agendas and minutes. Added '.md' (markdown) as an accepted file type. Html with frames is now rejected. Factored out validation code into separate functions.
- Legacy-Id: 13849
2017-07-12 22:45:57 +00:00
Henrik Levkowetz fee74d3357 When proceedings have been finalized, redirect meeting/xx/materials to the finalized meeting/xx/proceedings page.
- Legacy-Id: 13848
2017-07-12 20:23:25 +00:00
Henrik Levkowetz ccf170bb5f Modified a test to make it less sensitive to timing vagaries causing arbitrary failures.
- Legacy-Id: 13846
2017-07-12 15:24:39 +00:00
Henrik Levkowetz e7f3d7ecb1 Added the last call end date to the first line of the last call announcement event description, on request from worley@ariadne.com.
- Legacy-Id: 13845
2017-07-12 15:03:17 +00:00
Henrik Levkowetz 0c573f20fe Fixed a place where doc.save() was called instead of doc.save_with_history().
- Legacy-Id: 13844
2017-07-12 13:02:41 +00:00
Henrik Levkowetz 3b8277d99e Fixed a pyflakes issue.
- Legacy-Id: 13842
2017-07-12 12:40:48 +00:00
Henrik Levkowetz 428038b838 Added a test for interim meeting agenda and minutes urls.
- Legacy-Id: 13841
2017-07-12 12:38:26 +00:00
Henrik Levkowetz 0de5e350c5 A bit of optimization of the /meeting/past/ view.
- Legacy-Id: 13839
2017-07-12 12:33:05 +00:00
Henrik Levkowetz ccf6b516bc Fixed a problem with loosing the outermost html element when massaging html agendas.
- Legacy-Id: 13838
2017-07-12 11:05:53 +00:00
Henrik Levkowetz 2937bb0789 Added back session minutes urlpattern for interim meetings.
- Legacy-Id: 13837
2017-07-12 08:09:49 +00:00
Henrik Levkowetz d2395f9521 Merged in [13832] from rjsparks@nostrum.com:
Treat Area Groups similar to Working Groups and Research Groups where it makes sense to do so.
 - Legacy-Id: 13836
Note: SVN reference [13832] has been migrated to Git commit 2c92aa213d
2017-07-11 21:57:01 +00:00
Henrik Levkowetz 1ba4350a05 Corrected code for [13834], handling minutes and other non-agenda meeting urls correctly.
- Legacy-Id: 13835
Note: SVN reference [13834] has been migrated to Git commit aba3861b0b
2017-07-11 21:40:15 +00:00
Henrik Levkowetz aba3861b0b Use a datatracker internal url for session agendas and minutes, to avoid X-Frame-Options SAMEORIGIN preventing agenda display in frames.
- Legacy-Id: 13834
2017-07-11 21:01:57 +00:00
Robert Sparks 2c92aa213d Treat Area Groups similar to Working Groups and Research Groups where it makes sense to do so. Commit ready for merge.
- Legacy-Id: 13832
2017-07-11 19:12:21 +00:00
Henrik Levkowetz 082528134b Merged in [13830] from rjsparks@nostrum.com:
Show all the sessions for area groups in the proceedings. Fixes #2265.  Should be patched into production.
 - Legacy-Id: 13831
Note: SVN reference [13830] has been migrated to Git commit 68d70aaeb2
2017-07-11 18:33:56 +00:00
Robert Sparks 68d70aaeb2 Show all the sessions for area groups in the proceedings. Fixes #2265. Commit ready for merge. Should be patched into production.
- Legacy-Id: 13830
2017-07-11 18:13:16 +00:00
Henrik Levkowetz 95ddc35eae Added wiki creation for groups in state 'bof'
- Legacy-Id: 13829
2017-07-11 16:06:00 +00:00
Henrik Levkowetz 2c39de61ab Replaced the local copy of the draft/rfc htmlization code with rfc2html as installed modeule.
- Legacy-Id: 13827
2017-07-11 13:52:08 +00:00
Henrik Levkowetz f8f7815060 Added a slide abstract [Edit] button on slide document pages also for empty abstracts, to provide the ability to add abstracts.
- Legacy-Id: 13825
2017-07-10 21:46:21 +00:00
Henrik Levkowetz fa49287cfa Added a mock of urllib2.urlopen for another test which uses finalize(meeting) in order to prevent external http accesses when running tests.
- Legacy-Id: 13824
2017-07-10 20:30:55 +00:00
Henrik Levkowetz f0317b3cff Added another surname particle.
- Legacy-Id: 13823
2017-07-10 20:08:33 +00:00
Henrik Levkowetz eceed7476d Added the html_report switch setting to the test runner object.
- Legacy-Id: 13822
2017-07-09 18:10:51 +00:00
Henrik Levkowetz ca921fe45d Added a switch to control generation of the code coverage html report, which now defaults to false. The report can be generated post-testing with "coverage html -d static/coverage/".
- Legacy-Id: 13821
2017-07-09 16:50:38 +00:00
Henrik Levkowetz 900174ae57 Added log.unreachable() calls to some functions believed to be unused.
- Legacy-Id: 13818
2017-07-09 15:01:21 +00:00
Henrik Levkowetz d26c7085c6 Added code coverage settings and configuration to ignore debug-related lines of code.
- Legacy-Id: 13817
2017-07-09 15:00:22 +00:00
Henrik Levkowetz 24ce4c176c Set version info and settings back to development mode
- Legacy-Id: 13791
2017-07-08 10:09:39 +00:00
Henrik Levkowetz bba07777ad Set version info to release version 6.55.3 before branching.
- Legacy-Id: 13789
2017-07-08 10:09:31 +00:00
Henrik Levkowetz cb9e98af97 Updated bower-managed static web assets
- Legacy-Id: 13786
2017-07-08 09:53:45 +00:00
Henrik Levkowetz d481019803 Added reverse relationships from drafts to submissions to submission checks to the Json API, to make it easier to find the yang checks for a given document.
- Legacy-Id: 13785
2017-07-07 12:55:30 +00:00
Henrik Levkowetz c69d09e29c Reduced the number of non-functional URL patterns for interim meetings. Can easily be expanded as needed.
- Legacy-Id: 13784
2017-07-06 19:11:07 +00:00
Henrik Levkowetz b4e2081009 Added a log assertion for calls to can_manage_group_type.
- Legacy-Id: 13782
2017-07-06 13:59:00 +00:00
Henrik Levkowetz 6c2331a34e Added test cases for ADs and IRTF Chair for the chartering buttons on /group/chartering.
- Legacy-Id: 13781
2017-07-06 13:57:52 +00:00
Henrik Levkowetz 9e5db7ce5c Make sure that factory groups have a type.
- Legacy-Id: 13780
2017-07-06 13:56:59 +00:00
Henrik Levkowetz b97d45f5ba Call can_manage_group_type() with the right information. Fixes an issue with chartering buttons not being visible for ADs.
- Legacy-Id: 13778
2017-07-06 10:56:08 +00:00
Henrik Levkowetz c5b52ae91e Merged in [13775] from rcross@amsl.com:
Refactor session edit page.  Add button to cancel a session, which sets the status.  Fixes #2296.
 - Legacy-Id: 13776
Note: SVN reference [13775] has been migrated to Git commit 9ac9493a70
2017-07-05 21:35:59 +00:00
Ryan Cross 9ac9493a70 Refactor session edit page. Add button to cancel a session, which sets the status. Fixes #2296. Commit ready for merge.
- Legacy-Id: 13775
2017-07-05 20:23:10 +00:00
Henrik Levkowetz 811e9ff8c5 Set an url for the server_error page, for testing.
- Legacy-Id: 13772
2017-07-03 21:42:08 +00:00
Henrik Levkowetz 25e833444c Added a check for duplicate Yang model names after xym extraction. This prevents running pyang and yanglint on one module, moving it to the module libs, and then failing to run the checks on a second module with the same name, because the file has been moved after the first check.
- Legacy-Id: 13770
2017-07-03 21:24:19 +00:00
Henrik Levkowetz 1063a749fc Linked to the submission status page from the submission confirmation page, in case people want to look at the text or xml which will be posted.
- Legacy-Id: 13769
2017-07-03 21:22:18 +00:00
Henrik Levkowetz 27bf51cbb9 Removed some test code which isn't useful with tastypie 0.14.0
- Legacy-Id: 13768
2017-07-03 21:20:36 +00:00
Henrik Levkowetz bf0aec8e89 Updated template exclusion setting.
- Legacy-Id: 13767
2017-07-03 21:19:28 +00:00
Henrik Levkowetz 42b1a41227 Added the new format '4' to the list of recognized formats in the coverage_changes management command.
- Legacy-Id: 13766
2017-07-03 21:18:46 +00:00
Henrik Levkowetz 97a5ed1f6c Added a test to verify that we can load the 500 page template
- Legacy-Id: 13765
2017-07-03 21:17:45 +00:00
Henrik Levkowetz e9b82e3425 Tastypie 0.14.0 does not support the callback parameter as earlier; disable the tests for this as we don't use it anyway.
- Legacy-Id: 13764
2017-07-03 17:38:33 +00:00
Henrik Levkowetz fde4843389 On request from a user, added information about running idnits before submission upload to the upload form page.
- Legacy-Id: 13762
2017-07-03 14:05:11 +00:00
Henrik Levkowetz fb88596c59 Fixed an issue with the scope of the logfunc variable in production.
- Legacy-Id: 13761
2017-07-03 14:03:53 +00:00
Henrik Levkowetz 08f0338555 Tweaked the wording of the unexpected-encoding warning.
- Legacy-Id: 13760
2017-07-03 11:38:03 +00:00
Henrik Levkowetz 274548f1b1 Check the whole draft submission text when checking mime type, and catch decoding errors and raise ValidationError when converting submission form txt file to unicode for Draft().
- Legacy-Id: 13759
2017-07-02 21:32:44 +00:00
Henrik Levkowetz 4b28605774 Set version info and settings back to development mode
- Legacy-Id: 13749
2017-07-01 10:49:49 +00:00
Henrik Levkowetz f50b8fb403 Set version info to release version 6.55.2 before branching.
- Legacy-Id: 13747
2017-07-01 10:49:39 +00:00
Henrik Levkowetz b8e11e7f71 Added a migration matching the new validator on Email.address.
- Legacy-Id: 13744
2017-07-01 10:26:49 +00:00
Henrik Levkowetz 108c00a0a3 Merged in [13731] from rjsparks@nostrum.com:
Reworked how review assigments are processed in order to ensure a team's queue rotates when it should. Fixes #2305.
 - Legacy-Id: 13743
Note: SVN reference [13731] has been migrated to Git commit 7f5cef056ade1641f1d815b0a5f35962077d6d01
2017-06-30 20:16:22 +00:00
Henrik Levkowetz 9415d65341 Merged in [13727] from rcross@amsl.com:
Remove legacy external interim meeting listing.  Install redirect to /meeting/past.  Fixes #2166.
 - Legacy-Id: 13742
Note: SVN reference [13727] has been migrated to Git commit 7d244c9a38
2017-06-30 18:36:10 +00:00
Henrik Levkowetz 7e1b09410c Upgraded xym to 0.4.2, with related changes in method calls.
- Legacy-Id: 13741
2017-06-30 15:59:40 +00:00
Henrik Levkowetz ad3701e457 Fixed an issue with the test_edit_replace_user() test
- Legacy-Id: 13740
2017-06-30 11:49:18 +00:00
Henrik Levkowetz 70830e8705 Added email address validation for the Email.address field, now that we're not putting dummy addresses in it.
- Legacy-Id: 13739
2017-06-30 11:48:03 +00:00
Henrik Levkowetz 0d120fb46a Tweaked the EmailFactory to return an email address not longer than the Email.address field.
- Legacy-Id: 13738
2017-06-30 11:47:12 +00:00
Henrik Levkowetz db96292229 Added a utility function to show just the text content of the test client response.
- Legacy-Id: 13737
2017-06-30 11:45:24 +00:00
Henrik Levkowetz 60e9b7451c Included the temporary yang model extraction directory in the list of model librarires given to yanglint, in order to support drafts with models referencing models in the same draft. Fixes issue #2324.
- Legacy-Id: 13736
2017-06-29 21:03:26 +00:00
Henrik Levkowetz ade8973015 Merged in [13726] from rcross@amsl.com:
Update secr.rolodex app to deactivate old Users when replaced on edit.  Fixes #2001.
 - Legacy-Id: 13735
Note: SVN reference [13726] has been migrated to Git commit a251076903
2017-06-29 20:39:52 +00:00
Henrik Levkowetz c4954e13b1 Added more test objects in test_merge_users(), and fixed an issue with merge_users() uncovered by the added testing.
- Legacy-Id: 13730
2017-06-29 14:53:00 +00:00
Henrik Levkowetz 22a9a46608 Merged in [13718] from rcross@amsl.com:
Improve User merge handling in merge_persons().  Fix minor bug in submit.checkers.py.  Fixes #1900.
 - Legacy-Id: 13729
Note: SVN reference [13718] has been migrated to Git commit 7768e7c6b3
2017-06-29 13:18:52 +00:00
Henrik Levkowetz 3c727106a2 Merged in [13717] from rjsparks@nostrum.com:
Actually use the topic audience type in the feedback view. Fixes #2320.
 - Legacy-Id: 13728
Note: SVN reference [13717] has been migrated to Git commit 9638cb2e397beab18f3607b324518fd2900215f7
2017-06-29 12:52:25 +00:00
Ryan Cross 7d244c9a38 Remove legacy external interim meeting listing. Install redirect to /meeting/past. Fixes #2166. Commit ready for merge.
- Legacy-Id: 13727
2017-06-29 00:09:36 +00:00
Ryan Cross a251076903 Update secr.rolodex app to deactivate old Users when replaced on edit. Fixes #2001. Commit ready for merge.
- Legacy-Id: 13726
2017-06-28 20:43:28 +00:00
Henrik Levkowetz 22f181cdbe Modified the text shown on Chairs' 'Manage DOcument Adoption in Group' button and corrected the logic for which text to show.
- Legacy-Id: 13725
2017-06-28 17:39:11 +00:00
Henrik Levkowetz 2070bbfed6 Merged in [13722] and [13712] from rcross@amsl.com:
Remove all use of request.session from secretariat apps.  Add tests for affected views.  Fixes #1455.
 - Legacy-Id: 13724
Note: SVN reference [13712] has been migrated to Git commit 915b445bcffcd4687fb1677230b98282d22dd9a0

Note: SVN reference [13722] has been migrated to Git commit 3a2cb9d3d846168f75d9796b4e5383bdf10b1f60
2017-06-28 14:55:10 +00:00
Henrik Levkowetz 3b7f320c29 Removed the copy of xym copied directly from repository -- the method call we use is too unstable at the moment. Now requiring xym=='0.4'.
- Legacy-Id: 13723
2017-06-28 11:53:09 +00:00
Henrik Levkowetz 6cd18d6324 Merged in [13628] from rcross@amsl.com:
Grant secretariat meeting__meeting admin permissions.
 - Legacy-Id: 13721
Note: SVN reference [13628] has been migrated to Git commit fd60ce6868
2017-06-27 15:58:56 +00:00
Henrik Levkowetz 8c0f4f09b6 Added checks for the presence of yang module directories to the check framework. Tweaked some text strings.
- Legacy-Id: 13720
2017-06-27 14:41:36 +00:00
Henrik Levkowetz 13905a2a84 Modified the yang checker to work with both versions 0.3.x and 0.4.x of xym (different signatures for get_extracted_models()).
- Legacy-Id: 13719
2017-06-27 11:37:56 +00:00
Ryan Cross 7768e7c6b3 Improve User merge handling in merge_persons(). Fix minor bug in submit.checkers.py. Fixes #1900. Commit ready for merge.
- Legacy-Id: 13718
2017-06-26 23:13:58 +00:00
Henrik Levkowetz 3fa1addde7 Removed the 'apply to all sessions' checkbox from the agenda/minutes/slides upload pages for non-session timeslots, such as plenaries etc. as it is rarely if ever correct to have it checked then.
- Legacy-Id: 13715
2017-06-26 18:28:34 +00:00
Henrik Levkowetz 9f44b9a65d Additional tweaks to the mailman listinfo importer.
- Legacy-Id: 13710
2017-06-22 16:41:27 +00:00
Henrik Levkowetz ce1b655fa2 Code reorganization, doing away with multiple urls_* and views_ files in ietf.group. No intentional functionality changes.
- Legacy-Id: 13709
2017-06-22 15:18:08 +00:00
Henrik Levkowetz c28b919e26 Made the import_mailman_listinfo management command somewhat more robust.
- Legacy-Id: 13708
2017-06-22 15:16:28 +00:00
Henrik Levkowetz 8eded1d8d2 Return a checker None result with exception message on xym exceptions.
- Legacy-Id: 13707
2017-06-22 15:08:01 +00:00
Henrik Levkowetz f6f0278859 Changed the url coverage code to handle deeper chains of url includes, and to handle url includes through url lists in addition to url modules. Added information in the release coverage dictionaries about the view functions coupled to the urls.
- Legacy-Id: 13706
2017-06-22 15:07:06 +00:00
Henrik Levkowetz 70de94fc48 Variable naming tweak
- Legacy-Id: 13701
2017-06-21 13:12:19 +00:00
Henrik Levkowetz 768ca0b45e Catch bad module names in the Yang checker (they are not currently flagged by xym).
- Legacy-Id: 13700
2017-06-21 13:10:05 +00:00
Henrik Levkowetz 95f966c98b Changed the implementation of Submission.latest_checks() to also return None checks, so it's possible to update a Passed due to no yang modules to a None (no modules to check).
- Legacy-Id: 13698
2017-06-20 21:05:48 +00:00
Henrik Levkowetz 5e80e00aea Corrected the settings names used in the yang extraction command.
- Legacy-Id: 13695
2017-06-20 14:06:42 +00:00
Henrik Levkowetz 4d562e9bac Set version info and settings back to development mode
- Legacy-Id: 13693
2017-06-20 13:43:46 +00:00
Henrik Levkowetz 4ef411285e Set version info to release version 6.55.1 before branching.
- Legacy-Id: 13691
2017-06-20 13:43:38 +00:00
Henrik Levkowetz 6dc0c2f46c Updated bower-managed static web assets
- Legacy-Id: 13688
2017-06-20 13:22:41 +00:00
Henrik Levkowetz dcc1bca058 Added assertion logging for found group parent loops to is_decendant_of().
- Legacy-Id: 13687
2017-06-20 13:18:33 +00:00
Henrik Levkowetz e87e3eb661 Added circular parent relationship detection in the Group.is_decendant_of() method and in the group edit form data cleaning.
- Legacy-Id: 13686
2017-06-19 23:34:52 +00:00
Henrik Levkowetz 508bf15c6c Work around an issue in xml2rfc
- Legacy-Id: 13682
2017-06-19 19:02:42 +00:00
Henrik Levkowetz afc37cc207 Added a guard around rendering of group.ad_role, which isn't always set.
- Legacy-Id: 13681
2017-06-19 18:16:39 +00:00
Henrik Levkowetz 5e6ecfbaf5 Refined the appearance and wording of the 'Manage document's adoption' button.
- Legacy-Id: 13680
2017-06-19 18:09:33 +00:00
Henrik Levkowetz e4fc7f0055 Fixed a typo.
- Legacy-Id: 13679
2017-06-19 07:25:26 +00:00
Henrik Levkowetz b42f1cbeb5 Replaced the use of unaccent.asciify(), which has similar functionality to unidecode.unidecode(). Changed the draft parser to work exclusively with unicode text, which both makes the removal of unaccent easier, and takes us closer to Py35 compatibility. Adjusted callers of the draft parser to send in unicode.
- Legacy-Id: 13673
2017-06-18 18:23:18 +00:00
Henrik Levkowetz be80e68b47 Corrected the spelling of norwegian words in unaccent.py
- Legacy-Id: 13671
2017-06-18 09:33:51 +00:00
Henrik Levkowetz 7e68623c90 Additional tweaks to the surname particle handling.
- Legacy-Id: 13670
2017-06-18 03:22:52 +00:00
Henrik Levkowetz f1f32b41ae Additional tweaks to the surname particle handling.
- Legacy-Id: 13669
2017-06-18 03:20:49 +00:00
Henrik Levkowetz 228a68348f Don't deliver spurious yang extraction errors for drafts where no yang modules were found.
- Legacy-Id: 13668
2017-06-17 20:54:52 +00:00
Henrik Levkowetz a18cf20868 Removed code which has been marked as unreachable since February/March 2017 without triggering any usage indications.
- Legacy-Id: 13667
2017-06-17 17:54:40 +00:00
Henrik Levkowetz 7dd596ecd6 Undid the last commit, made in error.
- Legacy-Id: 13666
2017-06-17 17:08:55 +00:00
Henrik Levkowetz db9ceb3f45 Changed mentions of people with roles on the various group pages to link to both their profile page and their email address.
- Legacy-Id: 13665
2017-06-17 17:07:23 +00:00
Henrik Levkowetz e6c8b6621c Changed mentions of people with roles on the various group pages to link to both their profile page and their email address.
- Legacy-Id: 13664
2017-06-17 17:05:38 +00:00
Henrik Levkowetz bb089c182d Improved the handling of surname particles, (prompted by failure to handle the name of Niels ten Oever correctly)
- Legacy-Id: 13663
2017-06-17 15:12:54 +00:00
Henrik Levkowetz 1905d25aee Made changes to the can_adopt_draft() logic, to make it possible for a chair of multiple groups to correct the mistake if adoption was made for the wrong group.
- Legacy-Id: 13662
2017-06-17 14:28:13 +00:00
Henrik Levkowetz 7ecf7dfa44 Merged in [13615] and [13627]from rcross@amsl.com:
Changed views that use GET requests to delete objects to use POST.
Fixes #1796.
 - Legacy-Id: 13654
Note: SVN reference [13615] has been migrated to Git commit 3ccb550888

Note: SVN reference [13627] has been migrated to Git commit b908caf95c
2017-06-16 14:20:01 +00:00
Henrik Levkowetz 34a2352288 Make sure wordwrap() and friend works as intended if they are used as template filters and given string arguments.
- Legacy-Id: 13653
2017-06-16 13:15:02 +00:00
Henrik Levkowetz 4ea1c34791 Set version info and settings back to development mode
- Legacy-Id: 13651
2017-06-16 09:38:39 +00:00
Henrik Levkowetz 35cf75ce94 Set version info to release version 6.55.0 before branching.
- Legacy-Id: 13649
2017-06-16 09:38:31 +00:00
Henrik Levkowetz ca324df8f4 Set version info and settings back to development mode
- Legacy-Id: 13643
2017-06-16 09:13:52 +00:00
Henrik Levkowetz 6187f0c05d Set version info to release version 6.55.0 before branching.
- Legacy-Id: 13641
2017-06-16 09:13:44 +00:00
Henrik Levkowetz 8d420d4d2f Added initial data to the versioninfo migration.
- Legacy-Id: 13638
2017-06-16 08:55:31 +00:00
Henrik Levkowetz c4b64e51af Updated the VersionInfo migration.
- Legacy-Id: 13637
2017-06-16 08:45:11 +00:00
Henrik Levkowetz 98dc0d0092 Only run yanglint and yanglint tests if we have it configured.
- Legacy-Id: 13636
2017-06-15 22:13:43 +00:00
Henrik Levkowetz 4fc2c6f960 Merged in ^/personal/henrik/6.54.2-yang@13630:
Added a new yang checker, 'yanglint', to the existing Yang checker class, in
addition to the existing 'pyang' checker.

Added modal overlay displays showing the yang check results every place the
yin/yang symbol is shown (red or green) to indicate the presencee and result
of yang checks.  Added a Yang Validation: line in the document
meta-information section on the document's page in the datatracker.

Added the result of the xym extaction to the yang check results, to make
extration failures visible.

Added the version of the used xym, pyang, and yanglint commands to the check
results.

Added an action to move successfully extracted and validated modules to the
module library directories immediately on submission.

Added the xym and pyang repositories as svn:external components, rather than
listing them in requirements.txt, as there has been delays of many months
between essential features in the repositories, and an actual release.  We may
get occasional buildbot failures if broken code is pulled in from the
repository, but better that than the functionality failure of severely
outdated componets.

Added a new management command to re-run yang validation for active drafts for
which yang modules were found at submission time, in order to pick up imported
models which may have arrived in the model libraries after the draft's
submission.  Run daily from bin/daily.

Added a table to hold version information for external commands.  The yang
checker output should include the version information of the used checkers,
but seems unnecessary to run each command with its --version switch every
time we check a module...

Added a new management command to collect version information for external
commands on demand.  To be run daily from bin/daily.

Added tests to verify that xym, pyang and yanglint information is available
on the submission confirmation page, and updated the yang module contained in
the test document to validate under both pyang and yanglint.

Updated admin.py and resource.py files as needed.
 - Legacy-Id: 13634
2017-06-15 20:16:48 +00:00
Henrik Levkowetz 207ea51723 Added a test case for invalid yang in a draft submission.
- Legacy-Id: 13633
2017-06-15 19:22:36 +00:00
Henrik Levkowetz d98054c103 Added a new yang checker, 'yanglint', to the existing Yang checker class, in
addition to the existing 'pyang' checker.

Added modal overlay displays showing the yang check results every place the
yin/yang symbol is shown (red or green) to indicate the presencee and result
of yang checks.  Added a Yang Validation: line in the document
meta-information section on the document's page in the datatracker.

Added the result of the xym extaction to the yang check results, to make
extration failures visible.

Added the version of the used xym, pyang, and yanglint commands to the check
results.

Added an action to move successfully extracted and validated modules to the
module library directories immediately on submission.

Added the xym and pyang repositories as svn:external components, rather than
listing them in requirements.txt, as there has been delays of many months
between essential features in the repositories, and an actual release.  We may
get occasional buildbot failures if broken code is pulled in from the
repository, but better that than the functionality failure of severely
outdated componets.

Added a new management command to re-run yang validation for active drafts for
which yang modules were found at submission time, in order to pick up imported
models which may have arrived in the model libraries after the draft's
submission.  Run daily from bin/daily.

Added a table to hold version information for external commands.  The yang
checker output should include the version information of the used checkers,
but seems unnecessary to run each command with its --version switch every
time we check a module...

Added a new management command to collect version information for external
commands on demand.  To be run daily from bin/daily.

Added tests to verify that xym, pyang and yanglint information is available
on the submission confirmation page, and updated the yang module contained in
the test document to validate under both pyang and yanglint.

Updated admin.py and resource.py files as needed.
 - Legacy-Id: 13630
2017-06-15 16:09:28 +00:00
Ryan Cross fd60ce6868 Grant secretariat meeting__meeting admin permissions. Commit ready for merge.
- Legacy-Id: 13628
2017-06-14 17:20:29 +00:00
Ryan Cross b908caf95c Add missing confirm_delete.html. Commit ready for merge.
- Legacy-Id: 13627
2017-06-14 16:27:46 +00:00
Ryan Cross 3ccb550888 Change views that use GET requests to delete objects to use POST. Fixes #1796. Commit ready for merge.
- Legacy-Id: 13615
2017-06-13 23:33:31 +00:00
Henrik Levkowetz c53e3784c3 Set version info and settings back to development mode
- Legacy-Id: 13599
2017-06-13 10:38:36 +00:00
Henrik Levkowetz 317d948c90 Set version info to release version 6.54.1 before branching.
- Legacy-Id: 13597
2017-06-13 10:36:58 +00:00
Henrik Levkowetz b22a7145d5 Updated bower-managed static web assets
- Legacy-Id: 13594
2017-06-13 10:13:20 +00:00
Henrik Levkowetz 895d959c96 Fixed a html warning from the test crawler.
- Legacy-Id: 13593
2017-06-13 10:07:27 +00:00
Henrik Levkowetz bd0a772f17 Added a guard against trying to get the room ID from a timeslot without location in the secretariat schedule view.
- Legacy-Id: 13592
2017-06-13 09:59:05 +00:00
Henrik Levkowetz 6bf0e558ea Merged in [13588] from rcross@amsl.com:
Initialize Empty-Schedule with special sessions from previous meeting on creation.  Fixes #1500.
 - Legacy-Id: 13591
Note: SVN reference [13588] has been migrated to Git commit 8a98ba2516
2017-06-12 22:27:04 +00:00
Henrik Levkowetz 40181b8eb0 Merged in [13586] from rjsparks@nostrum.com:
Workaround an issue with the schedule editor by ensuring no sessions remain scheduled in a room whose purpose has changed to something other than holding sessions (such as becoming unavailable).
 - Legacy-Id: 13589
Note: SVN reference [13586] has been migrated to Git commit d4acb1cbd9
2017-06-12 22:02:00 +00:00
Ryan Cross 8a98ba2516 Initialize Empty-Schedule with special sessions from previous meeting on creation. Fixes #1500. Commit ready for merge.
- Legacy-Id: 13588
2017-06-12 21:39:52 +00:00
Henrik Levkowetz f75ec3622a A first go at adding floor labels to the agenda pages. The placement of the labels are complicated by available whitespace beeing in different horizontal positions for different types of lines. Adding another column will push the session title out of the screen on small devices.
- Legacy-Id: 13587
2017-06-12 21:00:08 +00:00
Robert Sparks d4acb1cbd9 Workaround an issue with the schedule editor by ensuring no sessions remain scheduled in a room whose purpose has changed to something other than holding sessions (such as becoming unavailable). Commit ready for merge.
- Legacy-Id: 13586
2017-06-12 20:01:47 +00:00
Henrik Levkowetz ea4742a7b6 Tweaked template text for clarity.
- Legacy-Id: 13585
2017-06-12 19:42:20 +00:00
Henrik Levkowetz f5298d7bb8 Fixed a bug in which operations were available on the /group/chartering/ 'Chartering or re-chartering' page, so that not only operations on groups in a chartering state is shown, but also the options to start chartering. Fixes issue #2312.
- Legacy-Id: 13584
2017-06-12 19:25:39 +00:00
Henrik Levkowetz a9785674ea Merged in [13575] from rcross@amsl.com:
Create new script ietf/bin/set_admin_permissions to configure Django Admin group permissions.  Fixes #2008.
 - Legacy-Id: 13581
Note: SVN reference [13575] has been migrated to Git commit 1876927cbc
2017-06-10 09:29:26 +00:00
Henrik Levkowetz 3d387e5ff6 Merged in [13567] from rcross@amsl.com:
Refactor ietf/bin/merge-person-records to facilitate testing.  Add tests.  Fixes #2162.
 - Legacy-Id: 13580
Note: SVN reference [13567] has been migrated to Git commit e9b7c5753e
2017-06-10 07:48:19 +00:00
Henrik Levkowetz 47b88e052e Merged in [13554] from rcross@amsl.com:
Several widgets in session request form require javascript.  Prevent usage of page without javascript. Fixes #1767.
 - Legacy-Id: 13578
Note: SVN reference [13554] has been migrated to Git commit 5188bdff6c
2017-06-10 07:15:38 +00:00
Henrik Levkowetz 9bd64ba6f2 Merged in [13559] from rcross@amsl.com:
When changing a TelechatDate in the admin interface, retain all document associations.  Fixes #1349.
 - Legacy-Id: 13577
Note: SVN reference [13559] has been migrated to Git commit 77f4bf21ff
2017-06-10 05:33:36 +00:00
Henrik Levkowetz 4dcdda08d2 Added a test to the test suite which checks if there are interleaved schema and data migrations that have not been released yet. Having split migrations, first all schema and then all data, will permit doing 2 sequential releases; but if the data and schema migrations are interleaved (beyond this) it is problematic to arrange for release without ending up with a prolonged period when running code and table structure is out of sync (while the normally more time-consuming data migrations run).
- Legacy-Id: 13576
2017-06-09 21:37:14 +00:00
Ryan Cross 1876927cbc Create new script ietf/bin/set_admin_permissions to configure Django Admin group permissions. Fixes #2008. Commit ready for merge.
- Legacy-Id: 13575
2017-06-09 21:01:56 +00:00
Henrik Levkowetz df2d0571c4 Narrowed a too wide try/except region in order to give more correct error messages. Changed the the strip() application to happen only on extracted author elements that actually have content. Fixes an inability to upload xml-only drafts with missing author country information.
- Legacy-Id: 13574
2017-06-09 20:12:44 +00:00
Henrik Levkowetz 22d83d2d2c Fixed another place where None author email needed an extra guard.
- Legacy-Id: 13573
2017-06-09 20:07:55 +00:00
Henrik Levkowetz 131a7020b5 Added blank lines between milestones, so they don't get run together if they are long enough to cause line wrapping. Fixes issue #2311.
- Legacy-Id: 13572
2017-06-09 20:04:38 +00:00
Henrik Levkowetz 7385a8be51 Changed name and signature for a log helper.
- Legacy-Id: 13571
2017-06-09 19:38:48 +00:00
Henrik Levkowetz 1178f9f3ba Removed a debug print statement.
- Legacy-Id: 13570
2017-06-09 19:37:41 +00:00
Henrik Levkowetz 99fa2e4593 Fixed a problem with a formset, they don't have self.cleaned_data, so cannot return it. Fixes issue #2310.
- Legacy-Id: 13568
2017-06-09 11:55:19 +00:00
Ryan Cross e9b7c5753e Refactor ietf/bin/merge-person-records to facilitate testing. Add tests. Fixes #2162. Commit ready for merge.
- Legacy-Id: 13567
2017-06-08 23:28:43 +00:00
Henrik Levkowetz 317aac9e55 Fixed a place where a missing document author email address could cause a server 500. There may be additional places needing attention, now that we're not inserting dummy addresses.
- Legacy-Id: 13566
2017-06-08 14:44:54 +00:00
Henrik Levkowetz 356fa71a6a Set version info and settings back to development mode
- Legacy-Id: 13564
2017-06-08 11:17:44 +00:00