Commit graph

7605 commits

Author SHA1 Message Date
Henrik Levkowetz 1c3a613c2a Changed the suggested yanglint command to use the -i switch.
- Legacy-Id: 14190
2017-10-06 12:48:31 +00:00
Henrik Levkowetz 9e434edda3 Added bluesheet upload permission for RG Chairs; reformatted some role_required() decorators.
- Legacy-Id: 14187
2017-10-05 10:41:55 +00:00
Henrik Levkowetz ab5254619e Use the same layout for group additional URLs as for documents. Fixes issue #2386.
- Legacy-Id: 14186
2017-10-04 19:01:23 +00:00
Henrik Levkowetz c5ecab1701 Set version info and settings back to development mode
- Legacy-Id: 14182
2017-09-28 09:33:48 +00:00
Henrik Levkowetz f5933df0c5 Set version info to release version 6.63.0 before branching.
- Legacy-Id: 14180
2017-09-28 09:33:40 +00:00
Henrik Levkowetz f07bcc051c Updated bower-managed static web assets
- Legacy-Id: 14177
2017-09-28 09:12:04 +00:00
Henrik Levkowetz ac8e18480e Added tests for correct nomcom email from-address to the nomcom tests, and did some refactoring to improve test failure messages.
- Legacy-Id: 14176
2017-09-28 09:09:51 +00:00
Henrik Levkowetz 166c7531f9 Changed the nomcom code to permit nomcom year interpolation in the nomcom from-address and in nomcom templates. Changed the nomcom from-address setting to 'nomcom-chair-{year}@ietf.org'.
- Legacy-Id: 14175
2017-09-27 21:20:59 +00:00
Henrik Levkowetz c7f4f82c31 Separated schema and data migrations.
- Legacy-Id: 14174
2017-09-27 17:33:04 +00:00
Henrik Levkowetz 7530e4cec3 Added a missing template.
- Legacy-Id: 14173
2017-09-27 16:49:27 +00:00
Henrik Levkowetz 53eb7c8ae8 Added migrations for document url model changes. Updated the name fixtures. Added ability for individual draft authors to edit document urls.
- Legacy-Id: 14172
2017-09-27 16:37:13 +00:00
Henrik Levkowetz 7b2d921a5a Tweaked the submission search form to accept draft names which include revision numbers. Fixes issue #2380.
- Legacy-Id: 14171
2017-09-27 15:08:40 +00:00
Henrik Levkowetz 2d817427fc Added a cancel button to the submission confirmation page. Fixes issue #2379.
- Legacy-Id: 14170
2017-09-27 14:18:12 +00:00
Henrik Levkowetz 328c6c6ab8 Added a submission state filter to the submission admin page.
- Legacy-Id: 14169
2017-09-27 14:15:31 +00:00
Henrik Levkowetz d0583f4f02 Removed the repeat of the error message in the HTTP reason string. Fixes issue #2378.
- Legacy-Id: 14168
2017-09-27 11:03:25 +00:00
Henrik Levkowetz 92d425fd9b Added 'Additional URLs' for documents, the same way we have them for groups.
This could be used to point to a document source repository, to extracted
  yang module files, document wikis, and other relevant resources.
 - Legacy-Id: 14166
2017-09-27 10:52:32 +00:00
Henrik Levkowetz 34c32e1b71 Fixed a html nit.
- Legacy-Id: 14164
2017-09-24 12:04:15 +00:00
Henrik Levkowetz cbda2679a9 Removed some unreachable code.
- Legacy-Id: 14150
2017-09-22 14:45:21 +00:00
Henrik Levkowetz 0e00adc5ee Another tweak to the draft author extraction code, to handle some name transliterations using multiple leading grave accents.
- Legacy-Id: 14149
2017-09-21 09:28:18 +00:00
Henrik Levkowetz e760e8ea79 Set version info and settings back to development mode
- Legacy-Id: 14147
2017-09-20 21:12:48 +00:00
Henrik Levkowetz 87e30b14f5 Set version info to release version 6.62.1 before branching.
- Legacy-Id: 14145
2017-09-20 21:12:39 +00:00
Henrik Levkowetz 2c1438c240 Moved unidecode_name from utils.text to person.name.
Modified UserFactory to use a new locale for each new user, instead of the
same locale for a whole test run.  This (almost) ensures the exercise of
code to deal with non-ascii names, something which would not happen if a
locale with ascii names was chosen at the start of a run.

Modified name.initials() to not use non-word characters as initials.

Modified unidecode_name() to do more normalization, to conform to the
conventions used in internet-drafts.

Added saving of the factory-boy random state in order to be able to re-run
a test suite with the same pseudo-random sequence as in a previous failed
run.

Fixed an issue with email formatting in test_api_submit_ok().

Modified the draft author extraction code to deal better with names with
embedded apostrophes.
 - Legacy-Id: 14141
2017-09-20 15:36:30 +00:00
Henrik Levkowetz a440a30f95 Refined a test case which could fail incorrectly when PersonFactory produced multiple persons who shared the same name during a test run, using TestCase.assertMailboxContains().
- Legacy-Id: 14140
2017-09-19 19:49:51 +00:00
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