Commit graph

565 commits

Author SHA1 Message Date
Robert Sparks 57afa06fcd Moved the materials start, cutoff, and revision dates into the Meeting object
Add a bit to meeting to note whether proceedings are final. 
Update proceedings view to reflect the status of that bit. 
Add a function that finalizes a meetings proceedings.
Straighten out a migration numbering collision introduced in an earlier merge.
Commit ready for merge.
 - Legacy-Id: 11764
2016-08-08 20:34:37 +00:00
Robert Sparks 162845dcb8 Add a bit to meeting to note whether proceedings are final. Update proceedings view to reflect the status of that bit. Add a function that finalizes a meetings proceedings
- Legacy-Id: 11763
2016-08-08 20:14:04 +00:00
Robert Sparks fbf7d9e685 missed adding a migration
- Legacy-Id: 11761
2016-08-08 17:03:53 +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
Robert Sparks f617e2688f Shift all datetimes for iphone json view to UTC. Commit ready for merge.
- Legacy-Id: 11759
2016-08-05 16:03:53 +00:00
Robert Sparks f2964b9733 Continued iterative-improvements to auto-generated proceedings:
- Migration to create documents and sessionpresentations for ietf95 and 96 bluesheets. Add bluesheets to proceedings.
- Refactor columns for proceedings to group agenda, minutes, and bluesheets into one column.
- Add a column for recordings. Show the recordings for all sessions for a group.
- Refactored all_meeting_ functions on session. Improved (with a hack) how recordings are displayed.
- Add guards against very old meetings. For more modern, past, meetings, add a warning that these are not the official proceedings and provide a link to the official proceedings.

Commit ready for merge.
 - Legacy-Id: 11758
2016-08-04 21:20:06 +00:00
Robert Sparks 56c232ec1d Add guards against very old meetings. For more modern, past, meetings, add a warning that these are not the official proceedings and provide a link to the official proceedings.
- Legacy-Id: 11757
2016-08-04 21:08:56 +00:00
Robert Sparks c68ae7669e Provides a custom json view of meetings optimized for the iphone app. Commit ready for merge.
- Legacy-Id: 11756
2016-08-04 19:51:52 +00:00
Robert Sparks 2ff54a963b refactored all_meeting_ functions on session. Improved (with a hack) how recordings are displayed.
- Legacy-Id: 11755
2016-08-03 18:19:39 +00:00
Robert Sparks a34dc40170 Migration to create documents and sessionpresentations for ietf95 and 96 bluesheets. Add bluesheets to proceedings.
- Legacy-Id: 11747
2016-08-02 20:30:40 +00:00
Robert Sparks 261f97e6c1 Add a column for recordings. Show the recordings for all sessions for a group.
- Legacy-Id: 11746
2016-08-02 15:31:30 +00:00
Henrik Levkowetz 4f3cc26d04 Don't show iaoc leadership sessions on the materials page.
- Legacy-Id: 11720
2016-07-19 17:04:38 +00:00
Henrik Levkowetz e14e1a9963 Merged in [11712] from rjsparks@nostrum.com:
Additional tweaks related to #1984.
 - Legacy-Id: 11718
Note: SVN reference [11712] has been migrated to Git commit 4226ee4980e8ca66d4a4cefacf63d1f0b58b7b40
2016-07-19 16:50:53 +00:00
Henrik Levkowetz 081abec0e8 Merged in [11711] from rjsparks@nostrum.com:
Starting a page for direct rendering of proceedings.
 - Legacy-Id: 11717
Note: SVN reference [11711] has been migrated to Git commit d9b1528f36e092892c9a18602615f7151edf75c3
2016-07-19 11:22:00 +00:00
Henrik Levkowetz 1f535323b6 Merged in [11698] from rcross@amsl.com:
Changed send_interim_announcement_request() to use new mailtrigger interim_approved.
 - Legacy-Id: 11709
Note: SVN reference [11698] has been migrated to Git commit 3da2d4f67b
2016-07-18 11:51:05 +00:00
Henrik Levkowetz f4cbe6c294 Merged in [11690] from housley@vigilsec.com:
When the Secretariat marks a session as cancelled, the HTML agenda
shows a red CANCELLED box, the text shows *** CANCELLED ***, and (as
before) the .ics file includes STATUS:CANCELLED.  Fixes issue #1639.
 - Legacy-Id: 11704
Note: SVN reference [11690] has been migrated to Git commit cbf7daddcc
2016-07-18 10:39:29 +00:00
Ryan Cross 3da2d4f67b Changed send_interim_announcement_request() to use new mailtrigger interim_approved. Commit ready for merge.
- Legacy-Id: 11698
2016-07-18 08:15:13 +00:00
Henrik Levkowetz 57a79aecd6 Show only 'session' and 'other' type meetings on the materials page, especially do not show leadership meetings.
- Legacy-Id: 11695
2016-07-17 12:55:59 +00:00
Russ Housley cbf7daddcc When the Secretariat marks a session as cancelled, the HTML agenda
shows a red CANCELLED box, the text shows *** CANCELLED ***, and (as
before) the .ics file includes STATUS:CANCELLED.  Fixes issue #1639.
Commit ready for merge.
 - Legacy-Id: 11690
2016-07-16 18:05:44 +00:00
Henrik Levkowetz 10435774c3 Merged in [11664] from rcross@amsl.com:
Send email to secretariat when an interim meeting has been approved and is waiting for announcement.
 - Legacy-Id: 11685
Note: SVN reference [11664] has been migrated to Git commit 54969aa236
2016-07-16 15:13:47 +00:00
Ryan Cross 11952627f3 Change where interim meeting announcement request email gets sent. Commit ready for merge
- Legacy-Id: 11667
2016-07-16 12:33:36 +00:00
Ryan Cross 54969aa236 Send email to secretariat when an interim meeting has been approved and is waiting for announcement. Commit ready for merge.
- Legacy-Id: 11664
2016-07-16 11:33:39 +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
Henrik Levkowetz 387a3fc21d Tweaked a resource to give it the correct name in the api registry.
- Legacy-Id: 11649
2016-07-13 18:45:52 +00:00
Henrik Levkowetz 7bc8e043f1 Added model UrlResource with FK to Room
This will make it easier to support audio and video streaming links
which vary by meeting, but are fixed by Room. Also added migrations,
resource, admin support, supporting methods, and a bit of refactoring.
 - Legacy-Id: 11644
2016-07-13 13:07:20 +00:00
Henrik Levkowetz 14e97a732c Provide the agenda template with the time now
This makes it possible to display either audio and video stream links
when a session is live, or links to the archives after a session.
 - Legacy-Id: 11643
2016-07-13 13:01:26 +00:00
Henrik Levkowetz 8ff4670954 Added a meeting week-view test.
- Legacy-Id: 11594
2016-07-10 15:06:25 +00:00
Henrik Levkowetz cb439fa3d4 Fixed some pyflakes issues.
- Legacy-Id: 11593
2016-07-10 14:07:17 +00:00
Henrik Levkowetz df5417e7b3 Use xslugify on floor and room names, instead of slugify which ignores slashes.
- Legacy-Id: 11592
2016-07-10 14:01:10 +00:00
Henrik Levkowetz 87273de795 Not all the IETF 96 room names are in place yet. Use get_or_create in the data migration.
- Legacy-Id: 11591
2016-07-10 14:00:01 +00:00
Henrik Levkowetz 2fe2412bdd Tweaked the room admin to show additional fields.
- Legacy-Id: 11590
2016-07-10 13:59:03 +00:00
Henrik Levkowetz 769c6f6137 Tweaked the Room.functional_display_name() to not return anything for more variations of 'breakout' room names.
- Legacy-Id: 11585
2016-07-09 21:21:33 +00:00
Henrik Levkowetz 0eaa07f056 Tweaked floorplan data migration.
- Legacy-Id: 11584
2016-07-09 21:19:59 +00:00
Henrik Levkowetz e70dcfc7a3 Added floorplan data for additional rooms.
- Legacy-Id: 11582
2016-07-09 20:28:42 +00:00
Henrik Levkowetz d53da28d00 Added support in the interim meeting request form for taking a group id parameter as query arg.
- Legacy-Id: 11577
2016-07-09 19:45:11 +00:00
Henrik Levkowetz 7d9b6c109c Updated data migration with ietf 96 room locations.
- Legacy-Id: 11576
2016-07-09 19:43:18 +00:00
Henrik Levkowetz acb3f90d39 Tweaked the floor-plan urls, removing an unnecessary path element.
- Legacy-Id: 11569
2016-07-08 13:03:56 +00:00
Henrik Levkowetz 58044b103e Added another test, and fixed a code flaw it discovered.
- Legacy-Id: 11560
2016-07-08 11:19:09 +00:00
Henrik Levkowetz e7eb4975b0 Save submitted session agendas as UTF-8, not as ascii.
- Legacy-Id: 11551
2016-07-07 20:37:47 +00:00
Henrik Levkowetz efc09d92f3 Updated migration.
- Legacy-Id: 11548
2016-07-07 17:28:47 +00:00
Henrik Levkowetz fa184df2a6 Added an explicit PhantomJS(port=0) as a workaround for old phantomjs instances staying around and blocking the port needed to run tests.
- Legacy-Id: 11546
2016-07-07 16:27:52 +00:00
Henrik Levkowetz 2bebde1ebe Added a test for the floorplan view.
- Legacy-Id: 11545
2016-07-07 12:41:27 +00:00
Henrik Levkowetz 8fee031802 Added a floorplan view function, and urls to go with it.
- Legacy-Id: 11543
2016-07-07 12:39:46 +00:00
Henrik Levkowetz 1d5e0ec41a Added a data migration to provide initial IETF-96 floorplan data.
- Legacy-Id: 11542
2016-07-07 12:38:39 +00:00
Henrik Levkowetz 9e5d990954 Added meeting FloorPlan model and added location parameters and ordering to the Room model.
- Legacy-Id: 11540
2016-07-07 12:37:09 +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 a36cf95572 Refactored the code to skip coverage testing a bit, and added skipping of template and url coverage.
- Legacy-Id: 11472
2016-06-24 15:39:59 +00:00
Henrik Levkowetz bea74cb8b4 Added an optional parameter 'owner' to meeting.views.agenda(). Fixed issues #1959 and #1615
- Legacy-Id: 11463
2016-06-23 15:08:39 +00:00
Henrik Levkowetz ff6e312b32 Fixed a buggy urlpattern regexp which would eat up the last character in an url if not given an extension.
- Legacy-Id: 11462
2016-06-23 14:56:29 +00:00
Henrik Levkowetz 52456c6207 Added a missing import.
- Legacy-Id: 11457
2016-06-22 13:50:53 +00:00
Henrik Levkowetz d01d3c2912 Added a check for the phantomjs binary to the skip-selenium tests in ietf/meeting/tests_js.py, in order to be able to add selenium to requirements.txt. This will make the selenium tests run if phantomjs is available on the system, without manually having to install the selenium module. This should make the buildbot run the selenium tests, too.
- Legacy-Id: 11456
2016-06-22 13:46:48 +00:00
Robert Sparks ca87b89a79 Remove some incomplete (and not functional) selenium tests
Commit ready for merge.
 - Legacy-Id: 11454
2016-06-21 21:35:17 +00:00
Henrik Levkowetz 6fa181763b Changed the code test coverage checking to never register coverage counts for tests that are sometimes skipped. Removed now unwanted skip settings from the releasetest settings.
- Legacy-Id: 11453
2016-06-21 20:39:28 +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 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 377a84c52b Normalized session agenda html content before running it into PyQuery to avoid later occurrences of '
' for each carriage return.
- Legacy-Id: 11430
2016-06-20 22:02:05 +00:00
Henrik Levkowetz ef8da52f27 Refactored the code to not use two different functions to get_next_interim_numbers.
- Legacy-Id: 11425
2016-06-20 18:53:12 +00:00
Henrik Levkowetz 7f98aa87a7 Updated MeetingFactory to give interim meeting numbers with two-digit zero-padded numbers.
- Legacy-Id: 11423
2016-06-20 18:50:39 +00:00
Henrik Levkowetz b6b855d619 Added a get before post in a interim request test.
- Legacy-Id: 11422
2016-06-20 18:48:16 +00:00
Henrik Levkowetz 53fa91f7bb Enhanced the interim_meetings data migration to also update the interim meeting numbers to consistently use zero-padded two-digit serial numbers, in line with how new interim meeting numbers are generated. Added reverse migrations. Made the migration accept existing TimeSlot and Assignments, if found.
- Legacy-Id: 11421
2016-06-20 18:22:09 +00:00
Henrik Levkowetz d46a3d5768 Set some admin fields to raw_id, to avoid insanely long lists of choices.
- Legacy-Id: 11420
2016-06-20 18:18:07 +00:00
Henrik Levkowetz 67c1af546c Added an url pattern for interim meeting agendas -- we construct those in some places, like in /doc/agenda-interim-... document pages, so we should be able to handle the ,;-)
- Legacy-Id: 11418
2016-06-20 18:04:40 +00:00
Henrik Levkowetz 7dde59f873 Avoid multiple doctype declarations and other html errors by parsing sesion agenda html files and inserting our title and doctype.
- Legacy-Id: 11417
2016-06-20 18:01:35 +00:00
Henrik Levkowetz 84c355e166 Added caching to some meeting methods which are called multiple times when generating the IETF agenda.
- Legacy-Id: 11413
2016-06-20 11:21:01 +00:00
Henrik Levkowetz 28829d34c5 Added interim test set up and tear down actions. The InterimTests need the same setUp and tearDown of a test materials dir as the regular meeting tests, otherwise they are going to depend on individual developer's settings_local, and fail unpredictably.
- Legacy-Id: 11403
2016-06-17 15:00:11 +00:00
Henrik Levkowetz d298785fda Merged in ^/branch/amsl/interim@11230, which provides interim meeting management support. Also fixes issues #1961, #1962 and #1964.
- Legacy-Id: 11402
2016-06-17 14:16:27 +00:00
Ryan Cross c8f3760dbe refactor code dealing with interim materials path
- Legacy-Id: 11229
2016-05-23 22:58:45 +00:00
Ryan Cross 81fe596c95 change approval redirects
- Legacy-Id: 11228
2016-05-23 17:21:48 +00:00
Ryan Cross ed371396c1 add tests. fix form validations
- Legacy-Id: 11219
2016-05-20 22:49:27 +00:00
Ryan Cross 6ea92cc5a0 various bug fixes and tweaks
- Legacy-Id: 11204
2016-05-18 23:55:44 +00:00
Ryan Cross cecdea3d72 Add utility script to send interim meeting minutes reminder. Add ability to include comments with meeting cancellation
- Legacy-Id: 11199
2016-05-17 22:55:47 +00:00
Ryan Cross 8fef55dc31 add approval and cancel notifications
- Legacy-Id: 11196
2016-05-16 22:48:43 +00:00
Henrik Levkowetz 92214726fd Renamed some files under ietf/group/ which contained views but didn't have 'views' in the name.
- Legacy-Id: 11190
2016-05-13 15:59:10 +00:00
Henrik Levkowetz 7e61ce84e8 Merged in ^/branch/iola/account-registration-fixes-r11167@11179 from olau@iola.dk, which contains fixes and refactoring for the account registration code, in order to better support the coming community app refactoring.
- Legacy-Id: 11180
2016-05-12 12:59:04 +00:00
Henrik Levkowetz 6be0aebf07 Extend the owner regexp with apostrophe to be able to handle some user logins generated by the test suite.
- Legacy-Id: 11179
2016-05-12 12:56:11 +00:00
Ryan Cross 3366006653 Refactoring. Implement iCalendar support
- Legacy-Id: 11178
2016-05-11 00:13:55 +00:00
Ryan Cross 3f3e6f0b14 add edit view. refactor to use modelforms
- Legacy-Id: 11176
2016-05-06 23:02:25 +00:00
Ole Laursen b83e0d2c78 Unify the URL name handling in ietfauth, i.e. just refer directly to
the view behind the URL instead of naming it.
 - Legacy-Id: 11172
2016-05-06 12:58:10 +00:00
Henrik Levkowetz 22f17f963c Added a migration to match the updated time zone definitions of pytz-2016.4.
- Legacy-Id: 11156
2016-05-05 12:28:22 +00:00
Robert Sparks f34ae9c612 Reworked the pages that manage all the possible schedules for a meeting. Removed a lot of custom javascript. Fixes #1921. Commit ready for merge.
- Legacy-Id: 11137
2016-04-27 20:46:02 +00:00
Ryan Cross facead5d95 Add inteirm meeting request disapprove and cancel capabilities
- Legacy-Id: 11135
2016-04-26 23:05:53 +00:00
Ryan Cross 21d3ede5bc save agenda as a Document object
- Legacy-Id: 11131
2016-04-26 00:16:32 +00:00
Ryan Cross ba75fad3b5 added send announcement view
- Legacy-Id: 11130
2016-04-22 23:14:35 +00:00
Ryan Cross f46fdcfa14 change main menu meeting->upcoming, add navigation tabs
- Legacy-Id: 11127
2016-04-22 18:07:27 +00:00
Ryan Cross bd96d89c85 implement preapproved, add new SessionStatusName, add announce views
- Legacy-Id: 11126
2016-04-22 16:48:20 +00:00
Ryan Cross be6e536769 add pending and detail views and tests.
- Legacy-Id: 11125
2016-04-20 23:57:52 +00:00
Ryan Cross 8f8e4df650 changes for demo
- Legacy-Id: 11121
2016-04-15 12:45:39 +00:00
Ben Campbell d3a14a7e15 Allow meetings/materials to be queried without an explicit meeting number. Fixes issue #1934. Commit ready for merge.
- Legacy-Id: 11075
2016-04-02 19:54:59 +00:00
Ryan Cross 7238fd9148 Add support for series request. Javascript tweaks
- Legacy-Id: 11028
2016-03-30 00:02:28 +00:00
Henrik Levkowetz 58f00689a4 New migration to match pytz 2016.3
- Legacy-Id: 10983
2016-03-28 14:32:29 +00:00
Ryan Cross b85df63a4f use formset for interim sessions
- Legacy-Id: 10978
2016-03-25 23:15:05 +00:00
Henrik Levkowetz 0bcc7f0f3f Merged in [10973] from rjsparks@nostrum.com:
Show the drafts from all of a groups sessions on the materials page. Fixes #1933.
 - Legacy-Id: 10976
Note: SVN reference [10973] has been migrated to Git commit 71166df5a2
2016-03-24 17:57:46 +00:00
Henrik Levkowetz 96d62b8aaa Fixed a problem with paging of api lists, which requires that the ordering keys define a fully deterministic ordering (i.e., there may be no entries with the same sort position in order to make the api paging work). (The admin interface's paging does not seem to have this problem.) Fixes issue #1930.
- Legacy-Id: 10957
2016-03-20 17:07:36 +00:00
Henrik Levkowetz 8177d3ecbc Migration for timezone changes (pytz 2015.7 => 2016.1)
- Legacy-Id: 10938
2016-03-16 13:52:09 +00:00
Henrik Levkowetz 6e6a8baa13 Fixed a typo.
- Legacy-Id: 10931
2016-03-15 23:15:44 +00:00
Henrik Levkowetz adb8625635 Introduced caching for the api resources.
- Legacy-Id: 10929
2016-03-15 23:12:04 +00:00
Ryan Cross 2cdd073a6c tweaks to request form ui
- Legacy-Id: 10898
2016-03-04 23:28:28 +00:00
Ryan Cross 3b609f6a8f add new javascript, request ui tweaks
- Legacy-Id: 10888
2016-03-04 17:46:42 +00:00