Commit graph

97 commits

Author SHA1 Message Date
Henrik Levkowetz d2c2d80341 Merged in [13112] from lars@netapp.com:
Fix various \'RemovedInDjango20Warning\' warnings.
 - Legacy-Id: 13141
Note: SVN reference [13112] has been migrated to Git commit 8a70e9773d
2017-03-26 22:06:47 +00:00
Lars Eggert 8a70e9773d Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Ryan Cross 4f5933ae20 Add placeholders and validations to secretariat non-session time input fields. Fixes #2208. Commit ready for merge.
- Legacy-Id: 13017
2017-03-16 23:10:14 +00:00
Henrik Levkowetz 74af0f5658 Replaced another bunch of explicit url names with dotted-path to the view function.
- Legacy-Id: 12849
2017-02-15 22:11:20 +00:00
Henrik Levkowetz aa5e61d958 Updated all urlpatterns to use ietf.utils.urls.url() instead of django's,
in order to autogenerate dotted path url pattern names.  Updated a number
of url reverses to use dotted path, and removed explicit url pattern names
as needed.

Changed some imports to prevent import of ietf.urls before django
initialization was complete.


Changed 3 cases of form classes being curried to functions; django 1.10
didn't accept that.

Started converting old-style middleware classes to new-style middleware
functions (incomplete).

Tweaked a nomcom decorator to preserve function names and attributes, like
a good decorator should.

Replaced the removed django templatetag 'removetags' with our own version
which uses bleach, and does sanitizing in addition to removing explicitly
mentionied html tags.

Rewrote the filename argument handling in a management command which had
broken with the upgrade.
 - Legacy-Id: 12818
2017-02-11 14:43:01 +00:00
Henrik Levkowetz 19d585255a Django 1.10 does not permit the view argument to url() to be a string any more. Changed all cases view arguments to url() which were strings to instead reference the actual imported function.
- Legacy-Id: 12815
2017-02-10 14:49:16 +00:00
Henrik Levkowetz 7b95411f58 The context_instance parameter to render_to_response() and render_to_string() is now deprecated. Fixed this, and generally changed the idiom render_to_response('template.html', {}, RequestContext(request)) to the newer and simpler render(request, 'template.html', {}). About 200 instances.
- Legacy-Id: 12637
2017-01-09 21:26:30 +00:00
Henrik Levkowetz d5460b8f7f Django 1.9: Merged work forward to copy of latest release.
- Legacy-Id: 12621
2016-12-22 17:30:50 +00:00
Henrik Levkowetz c2541ec04b Django 1.9: Removed deprecated use of django.conf.urls.patterns() from all urls*.py files.
- Legacy-Id: 12618
2016-12-22 17:21:57 +00:00
Henrik Levkowetz 8e9858379b Fixed some pyflakes and form initialization issues with the upgrade to DurationField.
- Legacy-Id: 12599
2016-12-21 17:03:39 +00:00
Henrik Levkowetz 67b2fc1107 Extended the form fields used for duration to accept additional formats, including formats the secretariat are currently using, in order to avoid trouble with the TimedeltaField --> DurationField transition.
- Legacy-Id: 12598
2016-12-21 15:26:32 +00:00
Henrik Levkowetz 3d6b370c59 Upgraded custom TimedeltaFields to use the builtin DurationField from Django 1.8, and adjusted forms and initialization values accordingly.
- Legacy-Id: 12597
2016-12-20 22:56:34 +00:00
Ryan Cross f29100ab3a Change non-working-group-session edit view to use same group options available when creating the non-working-group-sessions. Commit ready for merge.
- Legacy-Id: 12320
2016-11-12 04:18:22 +00:00
Ryan Cross 743ec4d7ff Refactor Proceedings Introduction pages tests and implementation. Commit ready for merge
- Legacy-Id: 12140
2016-10-13 23:31:03 +00:00
Robert Sparks 0f6e3f434e Closed off the old paths for materials upload (redirecting some old entry points). Commit ready for merge.
- Legacy-Id: 12000
2016-09-19 19:06:22 +00:00
Henrik Levkowetz 7e6ed23f70 Merged in [11858] from rjsparks@nostrum.com:
Merge forward Ryan's IETF Overview pages.
 - Legacy-Id: 11874
Note: SVN reference [11858] has been migrated to Git commit cb3af1a2d9
2016-08-25 13:36:48 +00:00
Robert Sparks cb3af1a2d9 Merge forward Ryan's IETF Overview pages. Commit ready for merge.
- Legacy-Id: 11858
2016-08-24 17:20:54 +00:00
Henrik Levkowetz 4b0a9360f0 Merged in ^/branch/iola/event-saving-refactor-r10291, which refactors document saving to always use doc.save_with_history(events), and requires accompanying events. This branch also provides refactoring of recurring regexes in url patterns into a dictionary. As part of the merge, also refactored new code which didn't use the save_with_history() method.
- Legacy-Id: 11840
2016-08-23 10:52:08 +00:00
Robert Sparks 44cd9e0920 Moved the materials start, cutoff, and revision dates into the Meeting object
- Legacy-Id: 11760
2016-08-05 20:44:05 +00:00
Henrik Levkowetz eb92924821 Merged in [11699] from rcross@amsl.com:
Change blue_sheet_generate() to only generate blue sheets for WG and RG group types that have sessions on the official schedule.
 - Legacy-Id: 11715
Note: SVN reference [11699] has been migrated to Git commit f6301913f6
2016-07-19 10:58:27 +00:00
Ryan Cross f6301913f6 Change blue_sheet_generate() to only generate blue sheets for WG and RG group types that have sessions on the official schedule. Commit ready for merge.
- Legacy-Id: 11699
2016-07-18 09:13:43 +00:00
Henrik Levkowetz 5f1f06631c Merged in [11686] from rcross@amsl.com:
A refactor to give secretariat a broader selection of groups to choose from when scheduling non-working group sessions.
 - Legacy-Id: 11694
Note: SVN reference [11686] has been migrated to Git commit b195beb3ad
2016-07-17 11:48:11 +00:00
Ryan Cross b195beb3ad A refactor to give secretariat a broader selection of groups to choose from when scheduling non-working group sessions. Commit ready for merge.
- Legacy-Id: 11686
2016-07-16 15:50:16 +00:00
Henrik Levkowetz 8ca48aac42 Make group acronym regex patterns consistent.
There were multiple different regex patterns in different urlpattern
declarations, with some of them permitting characters which should not
occur in group acronym.  Changed them to consistently use [-a-z0-9]+ .
 - Legacy-Id: 11651
2016-07-13 19:19:15 +00:00
Robert Sparks b3883b6ac4 Allow non-official schedules to be viewed in the same ways the official schedule for a meeting can be viewed. Fixes #1959. Commit ready for merge.
- Legacy-Id: 11500
2016-06-29 20:56:08 +00:00
Henrik Levkowetz 5b5d288d4c Applied patch from production: Added timeslot filtering by schedule for non-session timeslot display.
- Legacy-Id: 11444
2016-06-21 19:01:55 +00:00
Henrik Levkowetz 0f0686c489 Backed out previous changes; make_directories() was used in more than one place. Renamed to more expressive name.
- Legacy-Id: 11441
2016-06-21 13:28:13 +00:00
Henrik Levkowetz d4c7928c13 Removed unused import.
- Legacy-Id: 11440
2016-06-21 13:22:59 +00:00
Henrik Levkowetz 340c854efb The helper function make_directories() is now used in only one place, and the function where it's used isn't terribly long. Inlined it, and added a comment (and question) about the os.umask() call. The list of leaves is possibly out of sync with some other places where material doctypes are used.
- Legacy-Id: 11439
2016-06-21 13:20:09 +00:00
Henrik Levkowetz 1e50d5dd44 Merged in [11434] from rcross@amsl.com:
Remove legacy secretariat code for adding interim meetings in favor of new ietf.meeting interim features.
 - Legacy-Id: 11437
Note: SVN reference [11434] has been migrated to Git commit 98afcae63a752129c63f0d2e1824bbbb26dbf71f
2016-06-21 12:23:58 +00:00
Henrik Levkowetz e6a005dba6 Added a score of setting save/restores to test setup/teardown actions.
- Legacy-Id: 11436
2016-06-21 07:51:02 +00:00
Henrik Levkowetz 4cac784522 Renamed a bunch of identically named MainTestCase classes.
- Legacy-Id: 10913
2016-03-06 18:18:38 +00:00
Henrik Levkowetz f60fe7ceab Fixed a weekday numbering problem in a test.
- Legacy-Id: 10359
2015-11-01 19:23:41 +00:00
Ryan Cross 67e1678b13 Fixes Ticket #1806. Legacy session scheduling view broken. Commit ready for merge.
- Legacy-Id: 10338
2015-10-31 04:27:12 +00:00
Ole Laursen 86c3a430d1 Merge in ^/branch/iola/event-saving-refactor-r10076, fixing a few problems
- Legacy-Id: 10298
2015-10-27 10:37:06 +00:00
Henrik Levkowetz 71dec7a692 Moved forward to 6.7.2.dev0 the changes to rename class ScheduledSession to the more correct (but unfortunately also cumbersome) SchedTimeSessAssignment, and rename reverse relationships involving this class appropriately. Accompanying changes in javascript and templates. Migrations to match.
- Legacy-Id: 10297
2015-10-26 22:45:26 +00:00
Henrik Levkowetz 971a676c35 Merged in [10206] from rcross@amsl.com:
Clean up bluesheets upload page.  Add display of uploaded files.
 - Legacy-Id: 10223
Note: SVN reference [10206] has been migrated to Git commit aec062b8b6
2015-10-17 17:24:39 +00:00
Ryan Cross aec062b8b6 Clean up bluesheets upload page. Add display of uploaded files. Commit ready for merge
- Legacy-Id: 10206
2015-10-14 00:06:03 +00:00
Ole Laursen 16d9641902 Summary: Fix the generate blue sheets button properly, including
fixing the accompanying test
 - Legacy-Id: 10126
2015-10-02 12:26:36 +00:00
Ole Laursen 009b5ad1e5 Summary: Wrap Blue Sheets generation with simple POST form, fixes a
crawler error
 - Legacy-Id: 10123
2015-10-02 11:37:49 +00:00
Robert Sparks f5b6465e81 mailtoken becomes mailtrigger
- Legacy-Id: 10090
2015-09-17 20:03:45 +00:00
Robert Sparks 90c3426e2f updated mailtoken utilities to match the model refactor. Morphed all the code using the utilities to match. Added paths to get Cc through as needed. Next up: Recipient selection form for the iesg save-and-send-email workflow
- Legacy-Id: 10040
2015-08-23 18:15:06 +00:00
Robert Sparks 23a2ada5f9 checkpoint
- Legacy-Id: 10027
2015-08-18 18:52:22 +00:00
Henrik Levkowetz 1ba8996fd2 Merged in [9603] from rjsparks@nostrum.com:
Added functionality which allows the secretariat to manage more meeting types, including leadership meetings.
Backfilled those types of meetings from IETF91 and IETF92.
Addressed several facelift issues in the meeting application.
 - Legacy-Id: 9606
Note: SVN reference [9603] has been migrated to Git commit a85424ad23
2015-05-06 18:07:18 +00:00
Robert Sparks 3bf1beb030 fix a bug discovered with adhoc testing
- Legacy-Id: 9599
2015-05-04 15:10:18 +00:00
Robert Sparks 17b928b94b checkpoint: added room functional description, backfilled ietf92 meeting data, repaired session material views, added tests
- Legacy-Id: 9596
2015-05-01 22:31:30 +00:00
Robert Sparks 72b85fc1c7 checkpoint: views by type working
- Legacy-Id: 9592
2015-04-30 21:44:45 +00:00
Robert Sparks 1e30120710 checkpoint. Model changes done and UI tweaked to match.
- Legacy-Id: 9588
2015-04-30 15:57:48 +00:00
Robert Sparks 8f0b8a9225 Checkpoint for demonstration/discussion in Dallas. More development expected afterwards.
- Legacy-Id: 9250
2015-03-19 18:41:02 +00:00
Henrik Levkowetz 6f285a12f4 Changed the handling of some test directory creation and removal code, to be more consistent. Fixed a problem where a test didn't create and remove a test directory it used.
- Legacy-Id: 9203
2015-03-15 16:01:15 +00:00