Commit graph

7501 commits

Author SHA1 Message Date
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
Henrik Levkowetz 7da2f28588 Set version info to release version 6.54.0 before branching.
- Legacy-Id: 13562
2017-06-08 11:17:11 +00:00
Ryan Cross 77f4bf21ff When changing a TelechatDate in the admin interface, retain all document associations. Fixes #1349. Commit ready for merge.
- Legacy-Id: 13559
2017-06-07 17:30:53 +00:00
Henrik Levkowetz 40eae13aa6 Added a migration for the email field on MeetingRegistration.
- Legacy-Id: 13558
2017-06-07 12:30:31 +00:00
Henrik Levkowetz fb66f38afd Undid an unintentional adaptation to the xml2rfc 2.6.0 call interface change.
- Legacy-Id: 13556
2017-06-07 00:07:39 +00:00
Ryan Cross 5188bdff6c Several widgets in session request form require javascript. Prevent usage of page without javascript. Fixes #1767. Commit ready for merge.
- Legacy-Id: 13554
2017-06-06 20:52:07 +00:00
Henrik Levkowetz 07b89e0b15 Added a merge migration.
- Legacy-Id: 13552
2017-06-06 20:22:44 +00:00
Henrik Levkowetz 023a32715d Merged in ^/branch/iola/author-stats-r13145 from olau@iola.com, with additional features from ^/personal/henrik/6.52.1-authorstats.
- Legacy-Id: 13550
2017-06-06 18:36:59 +00:00
Henrik Levkowetz 1158a4d780 Set version info and settings back to development mode
- Legacy-Id: 13548
2017-06-06 17:40:29 +00:00
Henrik Levkowetz c6a46983a1 Set version info to release version 6.53.1 before branching.
- Legacy-Id: 13546
2017-06-06 17:40:21 +00:00
Henrik Levkowetz a34d078428 Commented out again a function that was commented in by mistake in the committed code.
- Legacy-Id: 13543
2017-06-06 16:30:53 +00:00
Henrik Levkowetz 5ca4309691 Fixed a bug in wordwrap() where an URL (or any word) longer than width could prevent line breaking in following text.
- Legacy-Id: 13541
2017-06-06 14:03:02 +00:00
Henrik Levkowetz a28940fc1e Name/email formatting tweaks, to complement [13536].
- Legacy-Id: 13540
Note: SVN reference [13536] has been migrated to Git commit 55d36e284d
2017-06-06 08:11:31 +00:00
Henrik Levkowetz e19290e98d Merged in [13532] from rjsparks@nostrum.com:
Add an expertise field to reviewer settings. Fixes #2308. ,
 - Legacy-Id: 13539
Note: SVN reference [13532] has been migrated to Git commit d845fba8bec765f2f81ae1a4bbca52c9bceb6e02
2017-06-06 07:54:03 +00:00
Henrik Levkowetz fb93a8c293 Added dates to unreachable() calls, to make it easier to decide when to remove marked code.
- Legacy-Id: 13538
2017-06-06 07:27:07 +00:00
Henrik Levkowetz 55d36e284d Changed the '%s <%s>'%(name,email) idiom in several places to use email.utils.formataddr() instead, to avoid future problems with names that would need quotes. Added comments in 2 places where this change would not be appropriate.
- Legacy-Id: 13536
2017-06-05 22:40:11 +00:00
Henrik Levkowetz 8b72b6a29a Made the stats backfill script slightly more verbose, including some blank lines for readability. Changed output to go both to screen and to file. Made the unicode/latin1/ascii decoding more general.
- Legacy-Id: 13535
2017-06-05 22:37:14 +00:00
Henrik Levkowetz 20b4250ea5 Reduced the size of stats data transferred from the server by an order of magnitude for author stats pages by not sending complete lists of item names per table item (we're only displaying them when there are few to display, anyway). Added caching of the resulting stats data for 24 hours. The caching was not possible in all cases before the data reduction, due to an item size limit of 1 MByte in memcached.
- Legacy-Id: 13534
2017-06-05 22:32:15 +00:00
Henrik Levkowetz 26f07f0a29 Set version info and settings back to development mode
- Legacy-Id: 13530
2017-06-05 13:42:03 +00:00
Henrik Levkowetz db50ad4a27 Set version info to release version 6.53.0 before branching.
- Legacy-Id: 13528
2017-06-05 13:41:54 +00:00
Henrik Levkowetz f2b0881dae Corrected the add_topics migration
- Legacy-Id: 13525
2017-06-05 12:27:45 +00:00
Henrik Levkowetz 89dd68db1f Updated bower-managed static web assets
- Legacy-Id: 13522
2017-06-05 12:00:01 +00:00
Henrik Levkowetz b3fe24d76b Merged in [13503] from rjsparks@nostrum.com:
Add usernames to the email sent to the secretariat when a possible duplicate person has been detected. Fixes #2307.
 - Legacy-Id: 13521
Note: SVN reference [13503] has been migrated to Git commit d330b8ded453b61eabc59589d44785d4fc09c767
2017-06-04 21:49:43 +00:00
Henrik Levkowetz d041edf1b3 Merged in [13501] from rjsparks@nostrum.com:
Use a simpler widget for the public key file when editing a nomcom to remove confusion between clearing keys and clearing the form control. Fixes #2299.
 - Legacy-Id: 13519
Note: SVN reference [13501] has been migrated to Git commit ca76f5c8f0fbf0832440680381380995b0092ea7
2017-06-04 19:40:26 +00:00
Henrik Levkowetz 2bacdd3a00 Merged in [13500] from rjsparks@nostrum.com:
Provide assigned dates on review team reviewers page. Fixes #2304. Related to #2305.
 - Legacy-Id: 13518
Note: SVN reference [13500] has been migrated to Git commit e422717f91eb26a0691347beca9380889d8ee890
2017-06-04 17:31:25 +00:00
Henrik Levkowetz 2e20d9df66 Changed all instances of deprecated self.failUnless() unittest method to self.assertTrue().
- Legacy-Id: 13515
2017-06-04 16:24:34 +00:00
Henrik Levkowetz d20e6ce53a Merged in [13499] from rcross@amsl.com:
Add non WG Area choices to Parent field of secretariat groups edit form.  Fixes #1344.
 - Legacy-Id: 13513
Note: SVN reference [13499] has been migrated to Git commit a63d5132b2
2017-06-04 15:34:52 +00:00
Henrik Levkowetz 08f134bf52 Improved review linebreaking tests, based on [13495] from olau@iola.dk.
- Legacy-Id: 13511
Note: SVN reference [13495] has been migrated to Git commit 1a59cf60d3
2017-06-04 15:14:56 +00:00
Henrik Levkowetz d23650e382 Merged in [13492] from rcross@amsl.com:
Remove old proceedings generation code.  Fixes #2234.
 - Legacy-Id: 13510
Note: SVN reference [13492] has been migrated to Git commit 254e35fa56
2017-06-04 13:09:16 +00:00
Henrik Levkowetz d3decdcb61 Merged in [13485] from rcross@amsl.com:
Add import of YouTube session videos using YouTube Data API.  Fixes #2249.
 - Legacy-Id: 13509
Note: SVN reference [13485] has been migrated to Git commit 7ee2a16967
2017-06-03 23:58:05 +00:00
Henrik Levkowetz b2da91de1b Added a middleware exception handler for the case of people submitting unicode outside the Basic Multilingual Plane, which cannot currently be saved to the database.
- Legacy-Id: 13508
2017-06-03 21:47:51 +00:00
Henrik Levkowetz 96c5b2b524 Added a test for no-agenda templates being used for future meetings without agenda. Aligned the wording in the txt and html templates.
- Legacy-Id: 13507
2017-06-03 21:46:13 +00:00
Henrik Levkowetz 495169de21 Merged in [13474] from rjsparks@nostrum.com:
Allow the nomcom to collect feedback on arbitrary topics. Fixes #2256 and #1846.
 - Legacy-Id: 13506
Note: SVN reference [13474] has been migrated to Git commit 4813177086
2017-06-03 13:50:44 +00:00
Henrik Levkowetz 5b2087f910 Eliminated several variations on word wrapping, keeping only what used to be wrap_text(), but renamed as ietf.utils.text.wordwrap(). This performs better than django.utils.text.wrap() when there are indented text parts. Replaced django's default wordwrap filter with one calling ietf.utils.text.wordwrap in templates. Changed to triggered wrapping in some cases, with the maybewordwrap filter, which triggers on lines longer than 100 characters. This fixes the issue with undesired wrapping of reviews.
- Legacy-Id: 13505
2017-06-02 23:13:22 +00:00
Ryan Cross a63d5132b2 Add non WG Area choices to Parent field of secretariat groups edit form. Fixes #1344. Commit ready for merge.
- Legacy-Id: 13499
2017-06-02 18:50:01 +00:00
Henrik Levkowetz 16d129cacf Added examples of how our different text wrapper functions work to ietf.utils.text. Run 'python ietf/utils/text.py | less' to see the results.
- Legacy-Id: 13498
2017-06-02 17:59:26 +00:00
Ole Laursen 1a59cf60d3 Introduce a word-wrapping filter that checks if there are lines (containing spaces to not
count URLs) longer than 100 characters, and only wraps the text if that's the case, to 
prevent messing up pre-wrapped text. Use this filter in the review email code.

Branch ready for merge.
 - Legacy-Id: 13495
2017-06-02 13:17:30 +00:00
Henrik Levkowetz 91b4063669 Added 24 hour caching of the author and meeting stats pages. Sorted the django imports and combined 2 imports from the same module.
- Legacy-Id: 13494
2017-06-02 10:21:12 +00:00
Henrik Levkowetz 4c6ecbf303 Tweaked the authorstats backfill script's output
- Legacy-Id: 13493
2017-06-02 10:19:12 +00:00
Ryan Cross 254e35fa56 Remove old proceedings generation code. Fixes #2234. Commit ready for merge.
- Legacy-Id: 13492
2017-06-01 23:59:56 +00:00
Henrik Levkowetz 151b14ab3f Converted the meeting attendance fetcher to a management command.
- Legacy-Id: 13490
2017-06-01 20:55:40 +00:00
Henrik Levkowetz 4971c01ced Moved the fetch-meeting-registration script in order to convert it to a management command.
- Legacy-Id: 13489
2017-06-01 20:54:42 +00:00
Henrik Levkowetz d5eb59c5a6 Changed the extension filtering from using a blacklist to a whitelist, to avoid a lot of incorrect types.
- Legacy-Id: 13487
2017-06-01 20:19:38 +00:00
Henrik Levkowetz 64b9615aa7 Changed most instances of 'registrations' to 'attendees' in the meeting statistics code (as that's what the numbers show)
- Legacy-Id: 13486
2017-06-01 20:17:16 +00:00
Ryan Cross 7ee2a16967 Add import of YouTube session videos using YouTube Data API. Fixes #2249. Commit ready for merge.
- Legacy-Id: 13485
2017-06-01 18:36:46 +00:00
Henrik Levkowetz be28c2b2db Fix a date arithmetic bug.
- Legacy-Id: 13484
2017-06-01 17:28:55 +00:00
Henrik Levkowetz ecb0e75e4d Added a guard against trying to list locations which are None in agenda.json (there are socials with a timeslot but no location)
- Legacy-Id: 13482
2017-06-01 07:44:18 +00:00
Henrik Levkowetz b6b45166bf Added email address to the MeetingRegistration model, and also to the fields imported from ietf.org/registration/attendees/NN . Changed the bin counting code for attendee-related stats to use names plus email as unique string, rather than only names.
- Legacy-Id: 13481
2017-05-31 23:08:23 +00:00
Henrik Levkowetz a92c2b4ad5 Updated migration numbering to avoid collisions.
- Legacy-Id: 13480
2017-05-31 21:36:08 +00:00
Henrik Levkowetz 76628be3fd Merged in ^/branch/iola/author-stats-r13145 from olau@iola.dk, and fixed some tests in code which moved after the latest merge with trunk. The test suite passes, but the migrations are _not_ ready to run, because of numbering conflicts (again due to code changes on trunk since the latest sync).
- Legacy-Id: 13479
2017-05-31 20:59:26 +00:00
Henrik Levkowetz b81be04f20 Fixed the DOI information for doc/rfc*/bibtex/ temporarily; for a better fix we need to import the DOI values in ietf/sync/rfceditor.py
- Legacy-Id: 13478
2017-05-31 16:29:07 +00:00
Robert Sparks 4813177086 Allow the nomcom to collect feedback on arbitrary topics. Fixes #2256 and #1846. Commit ready for merge.
- Legacy-Id: 13474
2017-05-30 19:54:31 +00:00
Henrik Levkowetz e0c994ffea Set version info and settings back to development mode
- Legacy-Id: 13457
2017-05-29 23:21:48 +00:00
Henrik Levkowetz f542801631 Set version info to release version 6.52.0 before branching.
- Legacy-Id: 13455
2017-05-29 23:21:36 +00:00
Henrik Levkowetz 097235a5cf Updated bower-managed static web assets
- Legacy-Id: 13451
2017-05-29 23:05:54 +00:00
Henrik Levkowetz 94cec8c943 Merged in [13418] from rcross@amsl.com:
Add full edit capability for non-sessions.  Fixes #2235.
 - Legacy-Id: 13450
Note: SVN reference [13418] has been migrated to Git commit 930aaccc87
2017-05-28 11:59:52 +00:00
Henrik Levkowetz 471ffd0388 Merged in [13417] from rjsparks@nostrum.com:
Minor tweak to instructions for removing nomcom positions.
 - Legacy-Id: 13449
Note: SVN reference [13417] has been migrated to Git commit 92b1c30b63
2017-05-28 11:37:15 +00:00
Henrik Levkowetz a4469c3009 Merged in [13413] from rjsparks@nostrum.com:
Allow nomcoms to configure the feedback page to show nominee pictures. Fixes #2252. ,
 - Legacy-Id: 13426
Note: SVN reference [13413] has been migrated to Git commit c49abdd557
2017-05-25 14:50:29 +00:00
Henrik Levkowetz 85a1cd89d0 Merged in [13412] from rcross@amsl.com:
Allow chairs to upload bluesheets for interim meetings.  Fixes #2165.
 - Legacy-Id: 13425
Note: SVN reference [13412] has been migrated to Git commit 264f6f36e2
2017-05-25 14:35:20 +00:00
Henrik Levkowetz d3b4d8c18b Fixed a bug for /meeting/*/agenda.json where multiple entries for a room name could occur, even if only one of them were referenced by sessions.
- Legacy-Id: 13424
2017-05-25 14:13:00 +00:00
Henrik Levkowetz 4afe0b8830 Added stripping of leading and trailing whitespace from submission data (including email addresses) gleaned from submitted xml. Changed email line parsing to use email.utils.parseaddr() instead of a regex which only would handle unwuoted names (and possibly not utf-8 names) correctly.
- Legacy-Id: 13423
2017-05-25 14:10:42 +00:00
Ryan Cross 930aaccc87 Add full edit capability for non-sessions. Fixes #2235. Commit ready for merge.
- Legacy-Id: 13418
2017-05-24 21:08:41 +00:00
Robert Sparks 92b1c30b63 Minor tweak to instructions for removing nomcom positions. Commit ready for merge.
- Legacy-Id: 13417
2017-05-24 16:07:28 +00:00
Robert Sparks c49abdd557 Allow nomcoms to configure the feedback page to show nominee pictures. Fixes #2252. Commit ready for merge,
- Legacy-Id: 13413
2017-05-23 22:18:04 +00:00
Ryan Cross 264f6f36e2 Allow chairs to upload bluesheets for interim meetings. Fixes #2165. Commit ready for merge.
- Legacy-Id: 13412
2017-05-23 19:56:35 +00:00
Henrik Levkowetz 4d97def715 Merged in [13409] from rjsparks@nostrum.com:
Add some help for the nomcom chair for when new positions are needed later in a nomcom cycle. Fixes #2253.
 - Legacy-Id: 13410
Note: SVN reference [13409] has been migrated to Git commit ffa49a68fd
2017-05-23 19:09:05 +00:00
Robert Sparks ffa49a68fd Add some help for the nomcom chair for when new positions are needed later in a nomcom cycle. Fixes #2253. Commit ready for merge.
- Legacy-Id: 13409
2017-05-23 18:35:33 +00:00
Henrik Levkowetz c684cc45f4 Merged in [13400] from rjsparks@nostrum.com:
Correctly calculate statistics on the nomcom private index page. Fixes #2254.
 - Legacy-Id: 13408
Note: SVN reference [13400] has been migrated to Git commit ab6820e938
2017-05-22 22:44:49 +00:00
Henrik Levkowetz 93228f8833 Merged in [13399] from rjsparks@nostrum.com:
Make it possible to close nominations without closing feedback. Fixes #2255.
 - Legacy-Id: 13403
Note: SVN reference [13399] has been migrated to Git commit ac8e5f5402
2017-05-22 20:14:12 +00:00
Henrik Levkowetz d54f9a1a58 Merged in [13390] from rjsparks@nostrum.com:
Avoid confusing messages saying a key has not been entered when it has. Fixes #2250.
 - Legacy-Id: 13402
Note: SVN reference [13390] has been migrated to Git commit 1a18130c57
2017-05-22 19:46:39 +00:00
Henrik Levkowetz 994bef0c92 Merged in [13388] from rjsparks@nostrum.com:
Update the feedback count badge when new feedback is provided. Fixes #2260.
 - Legacy-Id: 13401
Note: SVN reference [13388] has been migrated to Git commit ceff54480c
2017-05-22 19:32:15 +00:00
Robert Sparks ab6820e938 Correctly calculate statistics on the nomcom private index page. Fixes #2254. Commit ready for merge.
- Legacy-Id: 13400
2017-05-22 19:07:52 +00:00
Robert Sparks ac8e5f5402 Make it possible to close nominations without closing feedback. Fixes #2255. Commit ready for merge.
- Legacy-Id: 13399
2017-05-22 18:40:05 +00:00
Henrik Levkowetz 26bd9283ef Merged in [13383] from rjsparks@nostrum.com:
Don't double-escape when showing feedback. Fixes #2297.
 - Legacy-Id: 13398
Note: SVN reference [13383] has been migrated to Git commit cf382d30bb
2017-05-19 20:10:02 +00:00
Henrik Levkowetz a559557284 Added more information about session presentations to the agenda.json output, on request from pusateri@bangj.com.
- Legacy-Id: 13397
2017-05-19 19:55:38 +00:00
Henrik Levkowetz 04e76c9fc9 Added raw_id_fields on DocumentAuthorAdmin to speed up form loading, and added SessionPresentationAdmin to the meeting admin.py
- Legacy-Id: 13395
2017-05-19 14:09:49 +00:00
Ole Laursen 12eb4dc650 Port credits setting to pie chart
- Legacy-Id: 13392
2017-05-18 08:00:30 +00:00
Robert Sparks 1a18130c57 Avoid confusing messages saying a key has not been entered when it has. Fixes #2250. Commit ready for merge.
- Legacy-Id: 13390
2017-05-17 21:02:20 +00:00
Robert Sparks 4b0fefeb3e Revert an attempt to improve a nomcom test. Affects #2260. Commit ready for merge.
- Legacy-Id: 13389
2017-05-17 16:45:58 +00:00
Robert Sparks ceff54480c Update the feedback count badge when new feedback is provided. Fixes #2260. Commit ready for merge.
- Legacy-Id: 13388
2017-05-17 13:55:39 +00:00
Robert Sparks cf382d30bb Don't double-escape when showing feedback. Fixes #2297. Commit ready for merge.
- Legacy-Id: 13383
2017-05-16 22:25:52 +00:00
Henrik Levkowetz 1d37e387bd Set version info and settings back to development mode
- Legacy-Id: 13377
2017-05-16 15:34:52 +00:00
Henrik Levkowetz 46edaaa825 Set version info to release version 6.51.0 before branching.
- Legacy-Id: 13375
2017-05-16 15:34:43 +00:00
Henrik Levkowetz e6191432f3 Updated person migration 0017 to avoid database referential inconsistency due to missing person records.
- Legacy-Id: 13371
2017-05-16 15:17:07 +00:00
Henrik Levkowetz 355c5cb626 Updated doc migration 0029 to avoid duplicate actions, and to avoid database referential inconsistency due to case differences in email addresses.
- Legacy-Id: 13370
2017-05-16 15:15:30 +00:00
Henrik Levkowetz fe30afdfe7 Updated the check_referential_integrity management command to show progress bars when not in verbose mode.
- Legacy-Id: 13369
2017-05-16 15:07:56 +00:00
Henrik Levkowetz a1b48cbc45 Merged in [13337] from rcross@amsl.com:
When editing interim meeting request show duration as HH:MM instead of HH:MM:SS.  Fixes #2226.
 - Legacy-Id: 13362
Note: SVN reference [13337] has been migrated to Git commit 066de1e612
2017-05-15 15:54:46 +00:00
Henrik Levkowetz 1b7a39545b Merged in [13290] from rjsparks@nostrum.com:
Provides the utility used to reconcile the RFC Editor database against what the draft parser returns for document authors.  (But only if keeping this in trunk is a good idea.)
 - Legacy-Id: 13361
Note: SVN reference [13290] has been migrated to Git commit 6d8182965b
2017-05-15 14:22:16 +00:00
Henrik Levkowetz 48c275fa64 Merged in [13336] from rcross@amsl.com:
Fix issue where deferring a ballot causes 500 error in Telechat app.  Fixes #1342.
 - Legacy-Id: 13360
Note: SVN reference [13336] has been migrated to Git commit 7542e8daa3
2017-05-15 14:05:25 +00:00
Henrik Levkowetz 15063bf74c Set version info and settings back to development mode
- Legacy-Id: 13345
2017-05-14 10:01:04 +00:00
Henrik Levkowetz 3d39982b3e Set version info to release version 6.50.1 before branching.
- Legacy-Id: 13343
2017-05-14 10:00:56 +00:00
Henrik Levkowetz 795afd1730 Updated bower-managed static web assets
- Legacy-Id: 13339
2017-05-14 09:42:45 +00:00
Henrik Levkowetz 83ed53e7a9 Merged in [13336] from rcross@amsl.com:
Fix issue where deferring a ballot causes 500 error in Telechat app.  Fixes #1342.
 - Legacy-Id: 13338
Note: SVN reference [13336] has been migrated to Git commit 7542e8daa3
2017-05-12 21:40:52 +00:00
Ryan Cross 066de1e612 When editing interim meeting request show duration as HH:MM instead of HH:MM:SS. Fixes #2226. Commit ready for merge.
- Legacy-Id: 13337
2017-05-12 21:40:20 +00:00
Ryan Cross 7542e8daa3 Fix issue where deferring a ballot causes 500 error in Telechat app. Fixes #1342. Commit ready for merge.
- Legacy-Id: 13336
2017-05-12 19:30:06 +00:00
Henrik Levkowetz 7850502c4f Merged in [13333] from rcross@amsl.com:
Correct Management Item Details link in telechat agenda_package.txt.  Fixes #2158.
 - Legacy-Id: 13335
Note: SVN reference [13333] has been migrated to Git commit a6070f8fb0
2017-05-12 18:13:40 +00:00
Ryan Cross a6070f8fb0 Correct Management Item Details link in telechat agenda_package.txt. Fixes #2158. Commit ready for merge.
- Legacy-Id: 13333
2017-05-12 17:10:11 +00:00
Henrik Levkowetz 5422b80bc2 Merged in [13328] from rcross@amsl.com:
Set parent of new areas to IESG.  Fixes #2011.
 - Legacy-Id: 13332
Note: SVN reference [13328] has been migrated to Git commit a9096359ce
2017-05-12 16:18:07 +00:00
Henrik Levkowetz 4ddd0d2d2f Merged in [13326] from rcross@amsl.com:
Fix escaping in abstracts in i-d-announce message.  Fixes #1353.
 - Legacy-Id: 13331
Note: SVN reference [13326] has been migrated to Git commit 073a7fb04a
2017-05-12 15:54:54 +00:00
Henrik Levkowetz b5319c576a Updated the utils.DumpInfo model to match the database.
- Legacy-Id: 13330
2017-05-12 15:27:23 +00:00
Ryan Cross a9096359ce Set parent of new areas to IESG. Fixes #2011. Commit ready for merge.
- Legacy-Id: 13328
2017-05-11 23:42:01 +00:00
Ryan Cross 073a7fb04a Fix escaping in abstracts in i-d-announce message. Fixes #1353. Commit ready for merge.
- Legacy-Id: 13326
2017-05-11 21:20:35 +00:00
Henrik Levkowetz db40ddc231 Merged in [13324] from rcross@amsl.com:
Disallow multi-day interim meetings with non-consecutive dates.  Fixes #2193.
 - Legacy-Id: 13325
Note: SVN reference [13324] has been migrated to Git commit 75a7beb596
2017-05-11 20:15:49 +00:00
Ryan Cross 75a7beb596 Disallow multi-day interim meetings with non-consecutive dates. Fixes #2193. Commit ready for merge.
- Legacy-Id: 13324
2017-05-11 19:30:26 +00:00
Henrik Levkowetz 49cdf0424a Merged in [13309] from rcross@amsl.com:
Fix Edit button of session request view.  Fixes #2285.
 - Legacy-Id: 13322
Note: SVN reference [13309] has been migrated to Git commit a35cb5f2d5
2017-05-11 13:27:18 +00:00
Henrik Levkowetz c0c128d491 Merged in [13308] from rcross@amsl.com:
Add ability for secretariat to skip announcement of regular interim meetings.  Fixes #2210.
 - Legacy-Id: 13321
Note: SVN reference [13308] has been migrated to Git commit 53615b0970
2017-05-11 12:46:44 +00:00
Henrik Levkowetz 73df0baefb Merged in [13303] from rcross@amsl.com:
Fixes #2211.  Session admin edit fails if no resources selected.
 - Legacy-Id: 13319
Note: SVN reference [13303] has been migrated to Git commit 9ba73e70a2
2017-05-11 12:03:19 +00:00
Henrik Levkowetz b7fba37f52 Added a guard to prevent problems with legacy drafts without any draft state.
- Legacy-Id: 13318
2017-05-11 11:47:45 +00:00
Henrik Levkowetz 79258227bc Tweaked the DRAFT_NAMES_WITH_DOT setting for another draft name exception.
- Legacy-Id: 13317
2017-05-11 11:46:56 +00:00
Henrik Levkowetz ccba8e1ba2 Merged in [13293] from rcross@amsl.com:
Improve help messages for multi-day and series interim meeting types.  Fixes #2194.
 - Legacy-Id: 13316
Note: SVN reference [13293] has been migrated to Git commit 0a51d88741
2017-05-11 11:42:04 +00:00
Henrik Levkowetz a885c85717 Merged in [13292] from rcross@amsl.com:
Fixes #2002.  Trailing comma in Liaison cc_contacts field causes invalid email address error.
 - Legacy-Id: 13315
Note: SVN reference [13292] has been migrated to Git commit 9972a5464a
2017-05-11 11:23:29 +00:00
Henrik Levkowetz 3ee897d63b Merged in [13291] from rcross@amsl.com:
Change From address of session request notifications from session_request_developers@ietf.org to session-request@ietf.org.  Fix requester information in session request cancellation email.  Fixes #1621.
 - Legacy-Id: 13314
Note: SVN reference [13291] has been migrated to Git commit 9a9531d9f6
2017-05-11 10:23:20 +00:00
Henrik Levkowetz 9635e5e3e4 Fixed some pyflakes issues.
- Legacy-Id: 13313
2017-05-11 09:57:58 +00:00
Henrik Levkowetz 7ed85fa96c Updated doc resources.py with EditedAuthorsDocEventResource
- Legacy-Id: 13311
2017-05-11 05:07:57 +00:00
Henrik Levkowetz c36e773a9d More fixes for the makeresources management command
- Legacy-Id: 13310
2017-05-11 05:06:41 +00:00
Ryan Cross a35cb5f2d5 Fix Edit button of session request view. Fixes #2285. Commit ready for merge.
- Legacy-Id: 13309
2017-05-10 22:07:51 +00:00
Ryan Cross 53615b0970 Add ability for secretariat to skip announcement of regular interim meetings. Fixes #2210. Commit ready for merge.
- Legacy-Id: 13308
2017-05-10 21:06:15 +00:00
Henrik Levkowetz 405f76f238 Updated the makeresources command to use the current AppCommand.handle_app_config() interface.
- Legacy-Id: 13306
2017-05-10 20:08:40 +00:00
Ryan Cross 9ba73e70a2 Fixes #2211. Session admin edit fails if no resources selected. Commit ready for merge.
- Legacy-Id: 13303
2017-05-10 19:04:11 +00:00
Henrik Levkowetz bea447c21c Merged in [13276] from rcross@amsl.com:
Add group field to Roles add form validation.  Fixes #2292.
 - Legacy-Id: 13301
Note: SVN reference [13276] has been migrated to Git commit 4d9bdcad6a
2017-05-10 17:36:17 +00:00
Henrik Levkowetz 454a00585b Merged in [13275] from rcross@amsl.com:
Refactor to prevent secretariat recordings entry page from timing out.  Fixes #2287.
 - Legacy-Id: 13299
Note: SVN reference [13275] has been migrated to Git commit 462fc1a2e5
2017-05-10 15:39:03 +00:00
Henrik Levkowetz db85712f6f Merged in [13274] from rcross@amsl.com:
Indicate official schedule in Select a Schedule drop-down.  Fixes #1456.
 - Legacy-Id: 13298
Note: SVN reference [13274] has been migrated to Git commit 6b7bb57597
2017-05-10 15:18:36 +00:00
Henrik Levkowetz d82b8bf036 Reverted one of the changes in [13296], and added a comment explaining the relationship between the role list in roles_for_group_type() and the fields in the following GroupForm.
- Legacy-Id: 13297
Note: SVN reference [13296] has been migrated to Git commit a59331dd63
2017-05-10 13:22:16 +00:00
Henrik Levkowetz a59331dd63 Align the roles edit buttons on a group's about page with the roles that the group edit GroupForm will accept. Avoids edit forms without any fields and some server 500 errors.
- Legacy-Id: 13296
2017-05-10 13:05:51 +00:00
Henrik Levkowetz 38bfdb4095 Fixed a bug in the earlier author extraction bugfix.
- Legacy-Id: 13295
2017-05-10 12:21:17 +00:00
Henrik Levkowetz 27374cf52d Changed alignment for the RFC 'Errata' label within the document name and title column to consistently put it at the right side of the column, for a tidier appearance.
- Legacy-Id: 13294
2017-05-10 09:54:56 +00:00
Ryan Cross 0a51d88741 Improve help messages for multi-day and series interim meeting types. Fixes #2194. Commit ready for merge.
- Legacy-Id: 13293
2017-05-09 23:46:53 +00:00
Ryan Cross 9972a5464a Fixes #2002. Trailing comma in Liaison cc_contacts field causes invalid email address error. Commit ready for merge.
- Legacy-Id: 13292
2017-05-09 23:28:35 +00:00
Ryan Cross 9a9531d9f6 Change From address of session request notifications from session_request_developers@ietf.org to session-request@ietf.org. Fix requester information in session request cancellation email. Fixes #1621. Commit ready for merge.
- Legacy-Id: 13291
2017-05-09 21:33:14 +00:00
Robert Sparks 6d8182965b Provides the utility used to reconcile the RFC Editor database against what the draft parser returns for document authors. Commit ready for merge. (But only if keeping this in trunk is a good idea.)
- Legacy-Id: 13290
2017-05-09 20:42:14 +00:00
Robert Sparks 8030fb3965 Created an EditedAuthorsDocEvent to capture the basis or reason for changing a documentauthor set. Mapped a large number of email addresses found from the RFC Editor database and from parsing RFCs to the right Person objects, and creating Person objects as necessary. Updated the documentauthors set for RFCs based on reconciling what the tracker already knew with the RFC Editor database and the parsing the RFCs. Manually inspected the Updates to ensure no author was inappropriately removed from the set. Commit ready for merge.
- Legacy-Id: 13289
2017-05-09 20:16:11 +00:00
Henrik Levkowetz fb70e9a4ff Fixed an issue with the author extraction code.
- Legacy-Id: 13288
2017-05-09 19:19:55 +00:00