Commit graph

143 commits

Author SHA1 Message Date
Henrik Levkowetz 8c6eb3a30a Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz 2d7c9629aa Added 'from __future__' imports all over the place, to bring code behaviour into closer alignment between python2 and python3
- Legacy-Id: 16446
2019-07-15 15:40:51 +00:00
Henrik Levkowetz 0679eaa8d4 Removed unused imports.
- Legacy-Id: 16402
2019-07-04 21:06:57 +00:00
Henrik Levkowetz f480799af9 Undid unintentional bulk commit
- Legacy-Id: 16401
2019-07-04 21:04:46 +00:00
Henrik Levkowetz fc09a59950 Added decode() of command pipe output.
- Legacy-Id: 16400
2019-07-04 21:01:39 +00:00
Henrik Levkowetz f33ecaa1a4 Fixed a test that compared an int with a meeting number string. Changed meeting test data to use meeting number 72 instead of 42, because proceedings code gives 404 for meetings before 65. Changed a number of StringIO() to BytesIO().
- Legacy-Id: 16378
2019-07-04 16:01:32 +00:00
Henrik Levkowetz f5ae2541ad Replaced multiple asserts with assertContains().
- Legacy-Id: 16353
2019-07-01 14:09:12 +00:00
Henrik Levkowetz d7f5c84182 Initial 2to3 patch with added copyright statement updates.
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Ryan Cross b5850d5c7f Remove ability to cancel a break session. Fixes #2703. Commit ready for merge.
- Legacy-Id: 16092
2019-03-23 17:00:52 +00:00
Ryan Cross 2842ad12bb Fix issue where cancelling one break session causes other breaks to get cancelled. Fixes #2699. Commit ready for merge.
- Legacy-Id: 16085
2019-03-23 14:49:33 +00:00
Henrik Levkowetz e55a079591 Merged in [15787] from rcross@amsl.com:
Rework page flow and forms of secr/meetings app.  Fixes #2609.
 - Legacy-Id: 15794
Note: SVN reference [15787] has been migrated to Git commit e634dc2488
2018-11-30 20:48:40 +00:00
Ryan Cross e634dc2488 Rework page flow and forms of secr/meetings app. Fixes #2609. Commit ready for merge.
- Legacy-Id: 15787
2018-11-21 22:43:04 +00:00
Henrik Levkowetz 18c7e90d94 Merged in [15719] from rcross@amsl.com:
Removed resources field from secr/meetings/../rooms.
Tweaked CSS for this page to eliminate horizontal scrolling. 
Includes new base templates to facilitate transition to bootstrap.
Fixes #2628.
 - Legacy-Id: 15759
Note: SVN reference [15719] has been migrated to Git commit afbcc4e0ad
2018-11-12 14:17:32 +00:00
Henrik Levkowetz d284c56ed5 Removed a print statement from a test.
- Legacy-Id: 15758
2018-11-12 14:11:34 +00:00
Henrik Levkowetz e471386cf2 Merged in [15715] from rcross@amsl.com:
Fix issue where new non-session location field value isn't saved.  Fixes #2625.
 - Legacy-Id: 15756
Note: SVN reference [15715] has been migrated to Git commit a47fba833f
2018-11-12 13:35:17 +00:00
Ryan Cross afbcc4e0ad Removed resources field from secr/meetings/../rooms.
Tweaked CSS for this page to eliminate horizontal scrolling. 
Includes new base templates to facilitate transition to bootstrap.
Fixes #2628.  Commit ready for merge.
 - Legacy-Id: 15719
2018-11-05 10:01:05 +00:00
Ryan Cross a47fba833f Fix issue where new non-session location field value isn't saved. Fixes #2625. Commit ready for merge.
- Legacy-Id: 15715
2018-11-05 04:25:20 +00:00
Henrik Levkowetz c24092d2f7 Merged in [15335] from rcross@amsl.com:
Fixed the ordering of meeting select in secr/meetings.  Fixes #2539.
 - Legacy-Id: 15373
2018-07-17 14:36:36 +00:00
Henrik Levkowetz 1504c6b13e Merged in [15328] from rcross@amsl.com:
Give secretariat the ability to cancel non-working group sessions. Fixes #2537.
 - Legacy-Id: 15363
Note: SVN reference [15328] has been migrated to Git commit ec279682d2
2018-07-15 20:08:44 +00:00
Ryan Cross ec279682d2 Give secretariat the ability to cancel non-working group sessions. Fixes #2537. Commit ready for merge.
- Legacy-Id: 15328
2018-07-14 16:14:35 +00:00
Henrik Levkowetz c219f2f998 Merged in [15266] from rcross@amsl.com:
Update blue sheet template.  Replace start time / end time with date.
 - Legacy-Id: 15271
Note: SVN reference [15266] has been migrated to Git commit e65748103b705e5dddea75bc550884498f42e75e
2018-06-20 04:10:22 +00:00
Henrik Levkowetz c8ebcf1f88 Merged in [14879] from kivinen@iki.fi:
Backfilled IETF meetings starting from 1 and backfilled the attendee numbers for them. Modified the overview attendee statistics page to use different colors for different venue continents.
 - Legacy-Id: 14898
Note: SVN reference [14879] has been migrated to Git commit 75dbe017a6
2018-03-22 00:01:57 +00:00
Tero Kivinen 75dbe017a6 Backfilled IETF meetings starting from 1 and backfilled the attendee numbers for them. Modified the overview attendee statistics page to use different colors for different venue continents. Commit ready for merge.
- Legacy-Id: 14879
2018-03-20 17:28:48 +00:00
Henrik Levkowetz 1ece5f1f3b Removed premature save of upload document state (doing it after verifying that the save to file worked instead). Tweaked materials documents revision extraction regexes. Added a test on no change of materials rev after failed upload. Corrected the naming of materials in make_meeting_test_data. Refined the test crawl of meeting materials pages.
- Legacy-Id: 14865
2018-03-19 01:05:52 +00:00
Henrik Levkowetz 4c6aa091b1 Added date information to the 'scheduled session' emails, and also a link to an ical file for the group sessions. Fixes issue #2461.
- Legacy-Id: 14722
2018-03-02 16:43:56 +00:00
Henrik Levkowetz de0c60884f Added a missing pyflakes pragma.
- Legacy-Id: 14713
2018-02-28 16:58:35 +00:00
Henrik Levkowetz 28bd9eadda Make sure that sessions listed in session scheduling notification emails are listed in time order. Fixes issue #2460.
- Legacy-Id: 14712
2018-02-28 13:28:51 +00:00
Henrik Levkowetz 19980de327 Fixed a bug in the queryset argument of a form field declaration.
- Legacy-Id: 14669
2018-02-22 00:05:46 +00:00
Henrik Levkowetz 5638cf3da3 Changed all usage of ForeignKey and OneToOneFiled in model.py files to the compatibility versions from ietf.utils.models.
- Legacy-Id: 14661
2018-02-20 15:36:05 +00:00
Henrik Levkowetz 92db803bac Removed code that has been marked unreachable for more than 5 months.
- Legacy-Id: 14472
2017-12-29 19:48:18 +00:00
Henrik Levkowetz 4f83548b49 Added a new field Meeting.days to capture the length of a meeting. This is necessary now that we have previous meetings officially starting Sunday, lasting to Friday, and future meetings starting Saturday, Lasting to Friday. We use Meeting.days to calculate Meeting.end_date(). Meeting.get_ietf_monday() and two cut_off() methods have also been updated to be instance methods instead of class methods, and to not assume that a meeting starts on Sunday.
- Legacy-Id: 14225
2017-10-25 13:38:15 +00:00
Ryan Cross b9bf77b543 Changed to not check timeslot type on delete because other types now have this option. Commit ready for merge
- Legacy-Id: 14211
2017-10-16 20:37:15 +00:00
Ryan Cross 4a71c1476f Fix issue creating new timeslots in secretariat scheduling tool caused by changing the meeting start date to a Saturday. Commit ready for merge.
- Legacy-Id: 14189
2017-10-05 20:28:39 +00:00
Henrik Levkowetz cbda2679a9 Removed some unreachable code.
- Legacy-Id: 14150
2017-09-22 14:45:21 +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
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
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 900174ae57 Added log.unreachable() calls to some functions believed to be unused.
- Legacy-Id: 13818
2017-07-09 15:01:21 +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 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
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 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
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
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
Ryan Cross 4d9bdcad6a Add group field to Roles add form validation. Fixes #2292. Commit ready for merge.
- Legacy-Id: 13276
2017-05-09 00:33:55 +00:00
Henrik Levkowetz 14c748df98 Changed the creation of temporary test dirs to use names which include the test class name, in order to make it possible to run test cases in parallel. Disabled coverage testing when running in parallel (those classes cannot be pickled and distributed to the test runner threads, and also won't pass coverage data back). Tweaked the TestCase.tempdir() method.
- Legacy-Id: 13157
2017-03-27 21:41:18 +00:00
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