Commit graph

1135 commits

Author SHA1 Message Date
Ryan Cross 931c5ce6cd Add migration to cancel 107 sessions
- Legacy-Id: 17466
2020-03-19 17:48:03 +00:00
Henrik Levkowetz 9acd467e75 Merged in [17442] from rjsparks@nostrum.com:
Allow area groups to request interim meetings. Fixed #2919.
 - Legacy-Id: 17443
Note: SVN reference [17442] has been migrated to Git commit 1664438c52
2020-03-16 18:22:41 +00:00
Robert Sparks 1664438c52 Allow area groups to request interim meetings. Fixed #2919. Commit ready for merge.
- Legacy-Id: 17442
2020-03-16 16:45:01 +00:00
Henrik Levkowetz 170271d97d Added WebEx room resource name, query method and template logic to show WebEx room resources.
- Legacy-Id: 17437
2020-03-14 12:45:22 +00:00
Henrik Levkowetz c6b2e8e479 Merged in [17425] from rjsparks@nostrum.com:
Make required AD approval of virtual interims configurable. Fixes #2912.
 - Legacy-Id: 17426
Note: SVN reference [17425] has been migrated to Git commit 6248706959
2020-03-12 21:13:22 +00:00
Robert Sparks 6248706959 Make required AD approval of virtual interims configurable. Fixes #2912. Commit ready for merge.
- Legacy-Id: 17425
2020-03-12 19:12:57 +00:00
Henrik Levkowetz 84dca63df7 Merged in [17418] from rjsparks@nostrum.com:
Correctly represent cancelled sessions in ics files. Fixes #2905.
 - Legacy-Id: 17421
Note: SVN reference [17418] has been migrated to Git commit 51327d0767
2020-03-11 19:45:26 +00:00
Robert Sparks 51327d0767 Correctly represent cancelled sessions in ics files. Fixes #2905. Commit ready for merge.
- Legacy-Id: 17418
2020-03-11 15:28:15 +00:00
Henrik Levkowetz 60e302ab5a Avoid trying to open meeting documents with empty .uploaded_filename.
- Legacy-Id: 17417
2020-03-10 17:59:56 +00:00
Ole Laursen 5faccf5379 Put the time slots in the new meeting schedule editor on a time scale
per day. This opens the possibility of having the slots not match
across the different rooms.

Add colors to session in areas/IRTF. Add support for toggling display
of areas/IRTF.

Show graphical hint when a time slot is overfull.
 - Legacy-Id: 17415
2020-03-09 19:40:31 +00:00
Sasha Romijn 56d73e4b82 Added a management command to create a dummy IETF 999 meeting.
- Legacy-Id: 17395
2020-03-06 13:24:23 +00:00
Sasha Romijn e0f90fe579 Add missing migration content to existing meeting 0026 migration.
- Legacy-Id: 17394
2020-03-06 12:26:12 +00:00
Sasha Romijn ac5c57faa0 Fix accidentally committed typo from [17289]
- Legacy-Id: 17393
Note: SVN reference [17289] has been migrated to Git commit a227813dc5
2020-03-06 12:21:20 +00:00
Henrik Levkowetz 726fcbf27d Removed all __future__ imports.
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Ole Laursen 393ee64bec Add new view for editing meeting schedules. This is a preliminary
basic version with timeslots in a fixed grid and drag and drop for
assigning and unassigning. Compared to the existing JS based view, it
is missing session details (attendences etc.), conflicts and other
warnings, toggling of sessions in areas, area coloring, extending to
next timeslot and probably more.

Add new auxiliary view to copy a schedule for the new schedule editor.
 - Legacy-Id: 17389
2020-03-05 19:15:44 +00:00
Ole Laursen de99911e38 Add regexp validation of Schedule.name
- Legacy-Id: 17388
2020-03-05 19:02:44 +00:00
Henrik Levkowetz 566971a6ae Removed further six usage.
- Legacy-Id: 17386
2020-03-05 15:10:33 +00:00
Henrik Levkowetz e9a37d8ac8 Removed six.text_type(), changed six.moves.urllib to plain urllib, and removed now unused six imports.
- Legacy-Id: 17385
2020-03-05 14:41:41 +00:00
Henrik Levkowetz a14e38a1a1 Replaced most cases of using of urlopen(), instead using the higher-level 'requests' module where it simplifies the code.
- Legacy-Id: 17380
2020-03-03 17:34:42 +00:00
Sasha Romijn 4decb23022 Add display of new constraints and joint sessions to agenda builder interface.
The new timerange, time_relation and wg_adjacent constraints, along with the
joint_with_groups option, are now reflected in the special requests field.
This allows them to be taken into account while scheduling sessions.
 - Legacy-Id: 17378
2020-03-03 15:16:58 +00:00
Sasha Romijn 825a054d19 Add support for structured entry and storage of joint sessions in meetings.
- Also adds additional tests for the SessionForm
- Fixes a javascript error in session requests for non-WG groups,
  that could cause incorrect form behaviour.
- Expands the tests added in [17289] a bit.
 - Legacy-Id: 17321
Note: SVN reference [17289] has been migrated to Git commit a227813dc5
2020-02-21 13:27:11 +00:00
Henrik Levkowetz 2aa948a17b Changed some remaining cases of open() to io.open().
- Legacy-Id: 17319
2020-02-20 22:35:49 +00:00
Henrik Levkowetz ab99478913 Fixed a bug in the resource description for SchedulingEvent that prevented it from being accessed under /api/v1/meeting/schedulingevent/.
- Legacy-Id: 17303
2020-02-17 12:20:14 +00:00
Henrik Levkowetz d902aa0b1b Added search fields to the admin index for SchedulingEvent.
- Legacy-Id: 17302
2020-02-17 12:17:37 +00:00
Henrik Levkowetz c04cbd5692 Added missin test directory creation and removal in setUp() and tearDown() in MeetingTests.
- Legacy-Id: 17295
2020-02-16 15:43:32 +00:00
Sasha Romijn a227813dc5 Add support for the timerange, wg_adjacent and time_relation constraints.
This adds three new constraints to the database and relevant UIs:
- timerange: "This WG can't meet during these timeframes"
- wg_adjacent: "Schedule adjacent to another WG (directly following,
  no breaks, same room)"
- time_relation: schedule the two sessions of one WG on subsequent
  days or with at least one day seperation
 - Legacy-Id: 17289
2020-02-12 10:42:38 +00:00
Robert Sparks 8a5f960569 Set a meaningful state in a test fixture. Tests surprisingly were not broken by this though. Commit ready for merge.
- Legacy-Id: 17268
2020-01-30 22:15:00 +00:00
Robert Sparks a5dab5385c Improve the tests for session draft bundles to exercise the code that extracts draftnames from agendas. Commit ready for merge.
- Legacy-Id: 17266
2020-01-30 21:50:36 +00:00
Henrik Levkowetz 753ff1e5be Merged in [17181] from olau@iola.dk:
Fix problem with assignments to the same session causing a crash.
 - Legacy-Id: 17192
Note: SVN reference [17181] has been migrated to Git commit b9e5c9b967
2020-01-07 17:06:49 +00:00
Henrik Levkowetz b14cba5f15 Refactored some document methods to align better with Django's get_absolute_url(), and added Person.get_absolute_uri()
- Legacy-Id: 17189
2020-01-07 13:33:02 +00:00
Ole Laursen b9e5c9b967 Fix problem with assignments to the same session causing a crash.
Commit ready for merge
 - Legacy-Id: 17181
2020-01-06 17:40:23 +00:00
Henrik Levkowetz 09557af28d Changed import statements.
- Legacy-Id: 17154
2019-12-18 16:29:11 +00:00
Henrik Levkowetz 06fe583351 Merged /branch/iola/meeting-improvement-r16992@17152 from olau@iola.dk:
* Renamed Meeting.agenda to Meeting.schedule together with a bunch of related
   internal things

* Moved Session.status, .requested, and .requested_by to a new SchedulingEvent.

* Turned sessions into regular sessions and non-sessions into misc.
  sessions in the UI and code to avoid ambiguity.

  This doesn't change the data in the DB except for uses of
  TimeSlotTypeName where 'session' is now 'regular'.
 - Legacy-Id: 17153
2019-12-17 23:43:07 +00:00
Ole Laursen de2b6d4072 Fix use of status still referring to the old attribute in the group
meeting page
 - Legacy-Id: 17142
2019-12-09 18:08:37 +00:00
Ole Laursen 568670c060 Turn sessions into regular sessions and non-sessions into misc.
sessions in the UI and code to avoid ambiguity.

This doesn't change the data in the DB except for uses of
TimeSlotTypeName where 'session' is now 'regular'.
 - Legacy-Id: 17128
2019-12-06 20:02:26 +00:00
Ole Laursen 6920c179cd Fix problem with missing names
- Legacy-Id: 17127
2019-12-06 19:56:03 +00:00
Ole Laursen defc50caf5 Fix bug in materials page introduced in previous commit with non-WG groups
- Legacy-Id: 17124
2019-12-05 18:11:24 +00:00
Ole Laursen 3957743b85 Move Session.status, .requested, and .requested_by to a new SchedulingEvent
- Legacy-Id: 17122
2019-12-05 12:41:09 +00:00
Robert Sparks 61f9fbd8f2 Remove unreachable assertion from slide reordering utility function. Commit ready for merge.
- Legacy-Id: 17097
2019-11-22 17:12:19 +00:00
Henrik Levkowetz e996fa1037 Merged in [17061] and [17024] from rjsparks@nostrum.com:
Allow slides drag-drop between sessions for groups meeting with multiple sessions. Fixes #2700.
 - Legacy-Id: 17068
Note: SVN reference [17024] has been migrated to Git commit 1016b3a514

Note: SVN reference [17061] has been migrated to Git commit fabd2f6ca5
2019-11-20 10:36:16 +00:00
Henrik Levkowetz 19eb5de983 Merged in [17044] from valery@smyslov.net:
Make it clearer that a chair can't revise materials for a meeting once the proceedings deadline has passed

    Fixes issue #2612.
 - Legacy-Id: 17067
Note: SVN reference [17044] has been migrated to Git commit 182dae28a8
2019-11-20 10:10:31 +00:00
Henrik Levkowetz 8d5bd97423 Merged in [17036] from housley@vigilsec.com:
Drop old 'slides' section from agenda.json
 - Legacy-Id: 17064
Note: SVN reference [17036] has been migrated to Git commit 71a569f714
2019-11-20 07:44:01 +00:00
Henrik Levkowetz b6a82218f6 Merged in [17035] from housley@vigilsec.com:
Improve performance for some agenda-related pages
 - Legacy-Id: 17063
Note: SVN reference [17035] has been migrated to Git commit ff653634c8
2019-11-20 07:00:46 +00:00
Robert Sparks fabd2f6ca5 python2->3 adjustments for r17025. Commit ready for merge.
- Legacy-Id: 17061
2019-11-19 18:25:06 +00:00
Ole Laursen 0555879777 Rename Meeting.agenda to Meeting.schedule together with a bunch of
related internal things
 - Legacy-Id: 17051
2019-11-18 17:22:19 +00:00
Valery Smyslov 182dae28a8 Fixes issue #2612. Commit ready for merge.
- Legacy-Id: 17044
2019-11-18 08:48:15 +00:00
Russ Housley 71a569f714 Drop old 'slides' section from agenda.json
- Legacy-Id: 17036
2019-11-16 18:38:50 +00:00
Russ Housley ff653634c8 Improve performance for some agenda-related pages
- Legacy-Id: 17035
2019-11-16 10:28:57 +00:00
Robert Sparks 1016b3a514 Allow slides drag-drop between sessions for groups meeting with multiple sessions. Fixes #2700. Commit ready to merge.
- Legacy-Id: 17024
2019-11-15 20:54:14 +00:00
Henrik Levkowetz 290a98631f Merged in [16564] from pusateri@bangj.com and added tests:
Convert markdown to html if Accept header prioritizes text/html over text/markdown. Fixes #1926.
 - Legacy-Id: 16982
Note: SVN reference [16564] has been migrated to Git commit 65b3f93afe
2019-11-09 17:15:39 +00:00
Henrik Levkowetz cc8263a91c Renamed and fixed up a migration that caused multiple leaf nodes.
- Legacy-Id: 16840
2019-10-08 10:58:46 +00:00
Henrik Levkowetz 058a8c3cf2 Merged in [16762] from rjsparks@nostrum.com:
Use form validation to prevent interim slide titles that end with -nn until we change interims to use the modern HREF schemes. Fixes #2797.
 - Legacy-Id: 16837
Note: SVN reference [16762] has been migrated to Git commit 40b066560cb01191a5f7995a0fd04a32f1abbddd
2019-10-07 19:28:31 +00:00
Henrik Levkowetz 7931b3196d Merged in [16701] from rcross@amsl.com:
Add migration to remove any break / registration sessions that have already been created for future meetings.  Goes with changes for #2713.
 - Legacy-Id: 16816
Note: SVN reference [16701] has been migrated to Git commit 0bbdbca8ac
2019-10-02 20:53:30 +00:00
Henrik Levkowetz 33e8733b91 Fixed up mypy issues or added type:ignore comments as needed for a clean mypy run.
- Legacy-Id: 16772
2019-09-30 15:42:18 +00:00
Henrik Levkowetz 506dcb3472 Merged in [16604] from rjsparks@nostrum.com:
Look at all scheduled sessions for a group when deciding to display a cancelled banner. Fixes #2764.
 - Legacy-Id: 16691
Note: SVN reference [16604] has been migrated to Git commit aea3c1a55b1b14f9da90d0cfb03891e7129f8632
2019-09-03 11:08:59 +00:00
Henrik Levkowetz 7e34b3cd60 Merged in [16599] from rjsparks@nostrum.com:
Correct the uploaded_filename for slides that go through the approve-proposed-slides workflow.
 - Legacy-Id: 16644
Note: SVN reference [16599] has been migrated to Git commit f6b05ae963b9933dc8522f5db86eb33086d8f040
2019-08-10 17:29:51 +00:00
Henrik Levkowetz 8a9e6911cd Merged in [16598] from rjsparks@nostrum.com:
Add the ppt* to pdf conversion to the approve-suggested-slides workflow. Fixes #2762.
 - Legacy-Id: 16643
Note: SVN reference [16598] has been migrated to Git commit c43dcaa8ea707c089fc66f52c361944cef1d4874
2019-08-10 17:00:49 +00:00
Henrik Levkowetz 8e313e4ed5 Adjusted migrations for Python2/3 compatibility.
- Legacy-Id: 16633
2019-08-08 17:11:14 +00:00
Henrik Levkowetz 41c6bbf62e Merged in [16563] from housley@vigilsec.com:
Improve performance for a few pages
 - Legacy-Id: 16613
Note: SVN reference [16563] has been migrated to Git commit 765ce0d0b0
2019-08-04 15:44:06 +00:00
Henrik Levkowetz c27b285c58 Merged in [16593] from rjsparks@nostrum.com:
Sort the documents in the agenda, minutes, bluesheets section of the session_details view. Fixes #2759.
 - Legacy-Id: 16611
Note: SVN reference [16593] has been migrated to Git commit f2dd064afdc77168c12897a630600a17631b390f
2019-08-03 15:41:14 +00:00
Henrik Levkowetz 4e131f1f2e Merged in [16589] from rjsparks@nostrum.com:
Show a calendar of upcoming meetings. Fixes #2719.
 - Legacy-Id: 16602
Note: SVN reference [16589] has been migrated to Git commit d3b70a46b882979fabb82972921a6ad177c06b08
2019-07-31 15:21:20 +00:00
Henrik Levkowetz 4fb9f8ba19 Merged in [16561] from rjsparks@nostrum.com:
Prompt for login for approving slide suggestions instead of just presenting an error. Fixes #2750.
 - Legacy-Id: 16587
Note: SVN reference [16561] has been migrated to Git commit c80d7072104bbc8bb68281a0dcb442e4971c7dad
2019-07-24 22:51:54 +00:00
Henrik Levkowetz 7039520557 Merged in [16557] from pusateri@bangj.com:
Partially addresses issue #1926 still displaying markdown as text. Fixes #2704.
 - Legacy-Id: 16576
Note: SVN reference [16557] has been migrated to Git commit f76c46bef0
2019-07-22 18:09:53 +00:00
Henrik Levkowetz 7b08563edd Added a migration for the slidesubmission.time field
- Legacy-Id: 16571
2019-07-21 21:05:22 +00:00
Henrik Levkowetz 23ac054ad6 Merged in [16554] from rjsparks@nostrum.com:
Rework how SlideSuggestion objects name their files. Improve the UI when there are multiple pending suggestions for updating the same presentation.
 - Legacy-Id: 16570
Note: SVN reference [16554] has been migrated to Git commit 1e8eb0ed6d227e32816c4bc352a7301691eaaaac
2019-07-21 21:03:13 +00:00
Tom Pusateri 65b3f93afe Convert markdown to html if Accept header prioritizes text/html over text/markdown. Fixes #1926. Commit ready for merge.
- Legacy-Id: 16564
2019-07-21 03:14:35 +00:00
Russ Housley 765ce0d0b0 Improve performance for a few pages
- Legacy-Id: 16563
2019-07-20 22:59:26 +00:00
Tom Pusateri f76c46bef0 Partially addresses issue #1926 still displaying markdown as text. Fixes #2704. Commit ready for merge.
- Legacy-Id: 16557
2019-07-20 18:58:34 +00:00
Henrik Levkowetz e3f083e6d3 Merged in [16515] from rjsparks@nostrum.com:
Save files correctly when updates to an existing set of slides are proposed. Fixes #2748.
 - Legacy-Id: 16517
Note: SVN reference [16515] has been migrated to Git commit 41fd67c6847b82d9e9f006f5bb79c03bc5b8b577
2019-07-17 21:25:46 +00:00
Henrik Levkowetz 6ef24e9c4e Changed agenda file reading to read files as binary when looking for draft names listed in the agenda.
- Legacy-Id: 16505
2019-07-17 13:38:46 +00:00
Henrik Levkowetz e03784132d Merged changes from current trunk to Py3 branch.
- Legacy-Id: 16468
2019-07-16 15:36:16 +00:00
Henrik Levkowetz bdc73e771a Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
- Legacy-Id: 16461
2019-07-16 13:20:05 +00:00
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 63f0896644 Changed tobinary file mode for pdf file. Fixed a str/num comparison.
- Legacy-Id: 16417
2019-07-07 12:59:26 +00:00
Henrik Levkowetz f8d4c3c9a6 More assertContains() and BytesIO() related changes.
- Legacy-Id: 16411
2019-07-07 12:45:57 +00:00
Henrik Levkowetz 40fb7b3588 Added a missing import.
- Legacy-Id: 16407
2019-07-06 19:22:37 +00:00
Henrik Levkowetz 40ab3c949f Added missing code to skip coverage measurement for skippable tests.
- Legacy-Id: 16406
2019-07-06 17:27:49 +00:00
Henrik Levkowetz 77e055264e Fixed an incorrect test that compared the meeting number string with an integer.
- Legacy-Id: 16395
2019-07-04 20:56:35 +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 97a555936d Changed a large number of test assertions to use assertContains() and removed separate, now unnecessary,status_code checks. Also changed many assertTrue(... in ...) to use assertIn().
- Legacy-Id: 16346
2019-06-30 21:03:34 +00:00
Henrik Levkowetz 36cac48063 Fixed a bunch of str/bytes issues.
- Legacy-Id: 16341
2019-06-30 20:54:09 +00:00
Henrik Levkowetz 05f275a3af Changed instances of json.loads(r.content) to r.json(). Changed some instances of assert* to assertContains.
- Legacy-Id: 16338
2019-06-30 20:44:45 +00:00
Henrik Levkowetz 15e74e89cb Converted instances of assertTrue(text in response.content) to the recommended assertContains(response, text), and similar for assertFalse(... in ...)
- Legacy-Id: 16336
2019-06-29 13:43:31 +00:00
Henrik Levkowetz 484dcece5f Changed all model __unicode__() methods to __str__()
- Legacy-Id: 16330
2019-06-28 21:07:08 +00:00
Henrik Levkowetz 318bd0d5ea Changed regex strings to r strings.
- Legacy-Id: 16320
2019-06-28 13:32:50 +00:00
Henrik Levkowetz 2fdaa7f9c4 Changed sort() argument to use key=
- Legacy-Id: 16314
2019-06-27 18:10:13 +00:00
Henrik Levkowetz 06daf6ac65 Changed regex strings to raw strings.
- Legacy-Id: 16312
2019-06-27 18:08:02 +00:00
Henrik Levkowetz 3ec7e864be Converted leading tabs to spaces in ietf/**/*.py
- Legacy-Id: 16310
2019-06-27 14:51:02 +00:00
Henrik Levkowetz d7f5c84182 Initial 2to3 patch with added copyright statement updates.
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz db12f2b948 Fixed some name versus pk issues lingering after the Document/DocAlias primary key refactoring. Fixes issue #2729.
- Legacy-Id: 16288
2019-06-19 12:57:52 +00:00
Henrik Levkowetz 7270d5f67a Added the option to order API resource lists by primary key, for stable ordering when paging through a list.
- Legacy-Id: 16284
2019-06-18 12:40:19 +00:00
Henrik Levkowetz 426870b766 Merged in the Document and DocAlias primary key change and m2m work in ^/personal/henrik/6.96.1-docalias.
- Legacy-Id: 16261
2019-06-15 12:00:48 +00:00
Henrik Levkowetz a2cafded25 Changed DocAlias to be many-to-many, in order to be able to handle STD aliases referring to multiple RFCs.
- Legacy-Id: 16249
2019-06-14 20:38:14 +00:00
Henrik Levkowetz 815602351f This is a series of 50 migrations that changes the Document and DocAlias
primary keys from character strings to integers, and makes corresponding code
changes.

This was prompted by database limitations discovered when trying to make
DocAlias use a m2m document field; with 255 long strings as primary keys for
Document and DocAlias this violated the MySQL database limitations.

Changing the primary keys to integers should also improve efficiency.  

Due to the data migrations which create the new integer primary keys and adds
corresponding integer foreign keys matching the previous string foreign keys
in all tables having foreign keys to Document and DocAlias, some of these
migrations take a long time.  The total set of migrations are expected to have
a runtime on the order of 2 hours.
 - Legacy-Id: 16237
2019-06-10 11:32:46 +00:00
Henrik Levkowetz 3502a49cab Fixed a problem in 3 views that were accessible through URLs without meeting numbers (e.g., .../meeting/proceedings/overview/) but gave 500 errors when accessed.
- Legacy-Id: 16185
2019-05-02 20:00:07 +00:00
Henrik Levkowetz beb631c8d6 New country info from updated pytz timezone library
- Legacy-Id: 16166
2019-04-26 10:06:48 +00:00
Henrik Levkowetz 8b44e43168 Added a missing test directory cleanup action.
- Legacy-Id: 16157
2019-04-25 13:13:03 +00:00
Henrik Levkowetz 6892a55db0 Fixed a migrations conflict
- Legacy-Id: 16128
2019-04-03 10:28:49 +00:00
Henrik Levkowetz c52bec1ea7 Merged in [16103] from rjsparks@nostrum.com:
Modified the admin model for SlideSubmission to use a couple of raw_id_field widgets.
 - Legacy-Id: 16119
Note: SVN reference [16103] has been migrated to Git commit 0b3cf0a1af
2019-03-28 13:03:30 +00:00
Henrik Levkowetz d565375028 Merged in [16102] from rjsparks@nostrum.com:
Allow logged in users to propose slides for meeting sessions. Fixes #2547 and #2403.
 - Legacy-Id: 16118
Note: SVN reference [16102] has been migrated to Git commit becad91b0b
2019-03-28 13:02:29 +00:00
Robert Sparks 0b3cf0a1af Modified the admin model for SlideSubmission to use a couple of raw_id_field widgets. Commit ready for merge.
- Legacy-Id: 16103
2019-03-26 09:34:17 +00:00
Robert Sparks becad91b0b Allow logged in users to propose slides for meeting sessions. Fixes #2547 and #2403. Commit ready for merge.
- Legacy-Id: 16102
2019-03-25 16:10:00 +00:00
Henrik Levkowetz f635b2f973 Merged in [16085] from rcross@amsl.com:
Fix issue where cancelling one break session causes other breaks to get cancelled.  Fixes #2699.
 - Legacy-Id: 16090
Note: SVN reference [16085] has been migrated to Git commit 2842ad12bb
2019-03-23 16:31:17 +00:00
Henrik Levkowetz bde205b4ab Added filtering by meeting for the UrlResource admin.
- Legacy-Id: 16086
2019-03-23 15:05:05 +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 b610f0b099 Added a skipIf() decorator for a test which should not be run unless the ghostscript binary is available in the test environment.
- Legacy-Id: 16076
2019-03-23 08:38:22 +00:00
Henrik Levkowetz 682ddee8e4 Reverted earlier application of on_behalf_of() at mail sending call points, and instead did all on_behalf_of processing in condition_message(). Added insertion of Reply-To header fields in this case. Changed all use of the mail-sending 'extra' parameters to use value lists. Updated a bunch of tests accordingly.
- Legacy-Id: 16020
2019-03-11 17:01:33 +00:00
Henrik Levkowetz 435a0da12d Added on_behalf_of() calls for from addresses needing it throughout the code.
- Legacy-Id: 15992
2019-03-04 20:14:19 +00:00
Henrik Levkowetz bbb873c9d4 Merged in [15982] from rjsparks@nostrum.com:
Add session.short to the output from meeting/agenda.json when it is available.
 - Legacy-Id: 15983
Note: SVN reference [15982] has been migrated to Git commit ca8c3031ea
2019-02-26 21:07:12 +00:00
Robert Sparks ca8c3031ea Add session.short to the output from meeting/agenda.json when it is available. Commit ready for merge.
- Legacy-Id: 15982
2019-02-26 19:04:55 +00:00
Henrik Levkowetz 57a4c9f41f Added 9 new group features, and changed list-like char fields to json fields, to get better support for using the values as lists. Modified code to use the group features instead of explicit lists of group types in many places in the code.
- Legacy-Id: 15908
2019-01-22 18:11:46 +00:00
Henrik Levkowetz c4707119f4 Updated the timezone information to match the latest timezone database release (2018i)
- Legacy-Id: 15878
2019-01-14 13:54:28 +00:00
Robert Sparks 25cc00f925 Refactored DocumentInfo to address overloading the external_url field with strings that are not URLs. Commit ready for merge.
- Legacy-Id: 15864
2019-01-02 22:55:00 +00:00
Robert Sparks 590e20c00f Provide a correct link to jabber logs for plenaries in past agendas. Fixes #2641. Commit ready for merge.
- Legacy-Id: 15816
2018-12-13 19:51:18 +00:00
Henrik Levkowetz 8180716efa Added a couple of assertion to help understand test coverage percentage variations
- Legacy-Id: 15751
2018-11-11 12:19:29 +00:00
Henrik Levkowetz ddf3385f11 Merged in [15694] from rjsparks@nostrum.com:
Clearly label cancelled sessions on the week-view on the agenda page. Fixes #2619.
 - Legacy-Id: 15726
Note: SVN reference [15694] has been migrated to Git commit 5db8831b81
2018-11-06 04:52:46 +00:00
Henrik Levkowetz 07dd66e2e6 Added a guard against getting the attribute of None in api_set_session_video_url(). Fixes a server 500 for some hackathon sessions.
- Legacy-Id: 15716
2018-11-05 04:33:25 +00:00
Robert Sparks 5db8831b81 Clearly label cancelled sessions on the week-view on the agenda page. Fixes #2619. Commit ready for merge.
- Legacy-Id: 15694
2018-11-03 06:57:59 +00:00
Henrik Levkowetz 6befbfd149 Merged in [15648] from rjsparks@nostrum.com:
Use only ietf meetings for testing editing timeslots.
 - Legacy-Id: 15649
Note: SVN reference [15648] has been migrated to Git commit e981e8c7b8f0bf80c9c536c4c7288e38d0b48f95
2018-11-02 02:02:26 +00:00
Henrik Levkowetz 3508f59f52 Merged in [15596] from rjsparks@nostrum.com:
improved coverage for several tests.
 - Legacy-Id: 15600
Note: SVN reference [15596] has been migrated to Git commit 6f18ae882532433ba86322b33c34f5f1b0350cb9
2018-10-19 14:27:13 +00:00
Henrik Levkowetz 30c72d3978 Tweaked the migration order.
- Legacy-Id: 15572
2018-10-15 05:24:25 +00:00
Robert Sparks 87bda66740 Converted several secr apps to use factories for tests. Commit ready for merge.
- Legacy-Id: 15568
2018-10-12 22:08:31 +00:00
Robert Sparks d179db39d4 Added meeting.agenda_info_note. Commit ready for merge.
- Legacy-Id: 15550
2018-10-09 22:08:45 +00:00
Robert Sparks c9e1474076 Renamed meeting.agenda_note to meeting.agenda_warning_note. Commit ready for merge.
- Legacy-Id: 15549
2018-10-09 20:52:04 +00:00
Robert Sparks e351d321a6 Include area groups in the request for minutes. Do not include sessions that have been canceled. Commit ready for merge. Fixes #2568.
- Legacy-Id: 15435
2018-08-14 21:52:43 +00:00
Henrik Levkowetz fcbbe08eba Removed video url import from youtube, which is not needed any more given the /api/meeting/session/video/url API endpoint. This also prevents duplicate video URLs.
- Legacy-Id: 15424
2018-08-10 12:54:27 +00:00
Henrik Levkowetz 803b239674 Limited the document name for uploaded slides to use 128 slugified characters from the slideset title as part of the name. Fixes a possible server 500 issue.
- Legacy-Id: 15381
2018-07-18 16:10:47 +00:00
Henrik Levkowetz 7abece146c Merged in [15344] from mahoney@nostrum.com:
email confirming interim meeting request now says 'the Area Director of the <area>' instead of '<area> Area Director'. Fixes issue #2522.
 - Legacy-Id: 15378
Note: SVN reference [15344] has been migrated to Git commit 3c478e5c52
2018-07-18 13:16:02 +00:00
Henrik Levkowetz ef80b072d4 Fixed api_set_session_video_url() to update the external video url if given a new value.
- Legacy-Id: 15376
2018-07-17 21:12:49 +00:00
Henrik Levkowetz 7d1e21f629 Adjusted some timezones in test code to use permitted time zones after the previous changes in listed timezones. Added a migration for the changed timezone list.
- Legacy-Id: 15372
2018-07-17 14:28:42 +00:00
Henrik Levkowetz 17c509b19b Modified the list of timezones available when setting a meeting timezone so as to not show timezones that are links. (Also edited the 102 meeting timezone in the database to avoid this). Fixes issues #2531 and #2534.
- Legacy-Id: 15368
2018-07-16 18:38:25 +00:00
Henrik Levkowetz b5eb2bf776 Updated a test to give predictable results (no future meeting dates) for commit [15361].
- Legacy-Id: 15362
Note: SVN reference [15361] has been migrated to Git commit 7c6f139cc8
2018-07-15 19:38:41 +00:00
Henrik Levkowetz 7c6f139cc8 Fixed an issue where /meeting/ showed the materials page of an earlier meeting, rather than the current.
- Legacy-Id: 15361
2018-07-15 19:02:34 +00:00
Jean Mahoney 3c478e5c52 email confirming interim meeting request now says 'the Area Director of the <area>' instead of '<area> Area Director'. Fixes issue #2522. Commit ready to merge.
- Legacy-Id: 15344
2018-07-14 18:52:38 +00:00
Henrik Levkowetz 2daef52bea This commit replaces the code defined group features with features held
in a database table:

- Added a GroupFeatures model to the group models, and removed the old 
  features.py
- Added a agenda type for future use in showing different group types on
  different agendas.
- Renamed the group feature has_materials to has_nonsession_materials.
- Added API resources and admin support for the new tables.
- Added a Directorate (with reviews) group type as complement to
  Directorate, to distinguish between directorates with and without reviews.
- Adjusted tests as needed.
- Updated the fixtures, and fixed the generate_fixtures script to include
  the new AgendaTypeName objects.

There still exists about 70 instances of code comparing the group type
with a list of types; most of these should probably be replaced with new
features, instead, to make it possible to add new group types through the
database table, rather than having to edit the code.  That was the purpose
of this refactoring from the start, but the presence of this large number
of comparisons of group type against lists of types defeats the goal until
we add appropriate features and replace the group type list comparisons.
 - Legacy-Id: 15316
2018-07-12 10:51:48 +00:00
Henrik Levkowetz 6307e1c224 Added a test for update_important_dates()
- Legacy-Id: 15162
2018-05-24 13:41:07 +00:00
Henrik Levkowetz 700bcf31f4 Fixed some pyflakes issues.
- Legacy-Id: 15161
2018-05-24 12:04:42 +00:00
Henrik Levkowetz 4aa987488d Added a meeting helper function update_important_dates(), and a management command update_important_dates to update the important dates for a meeting if the offsets in the MeetingDateName table has been changed.
- Legacy-Id: 15160
2018-05-24 10:54:44 +00:00
Robert Sparks 345bff8850 Added a view that generates the "send minutes" email for the secretariat. Fixes #2493. Commit ready for merge.
- Legacy-Id: 15125
2018-05-04 21:44:46 +00:00
Robert Sparks 4f99fef377 Provide a __unicode__ member for ImportantDate. Commit ready for merge.
- Legacy-Id: 15124
2018-05-04 18:16:28 +00:00
Robert Sparks c75b5e9386 Use importantdates for material submisssion cutoff and revision if they exist. Fixes #2514. Commit ready for merge.
- Legacy-Id: 15123
2018-05-04 18:01:49 +00:00
Robert Sparks 2e395bde5d Missed a constraint on creating a test meeting. Commit ready for merge.
- Legacy-Id: 15077
2018-04-24 20:12:31 +00:00
Robert Sparks e6a122c9cb Added a test for meeting/requests.
- Legacy-Id: 15076
2018-04-24 19:57:31 +00:00
Henrik Levkowetz 3b3c44dae7 Merged in [15047] from rcross@amsl.com:
Reduce get_meeting buffer to handle earlier shceduling requests date.
 - Legacy-Id: 15057
Note: SVN reference [15047] has been migrated to Git commit 0a07c655e0
2018-04-19 13:15:34 +00:00
Henrik Levkowetz 21969ed9d0 Added IETF to past meetings filter pane, in order to be able to filter out interims.
- Legacy-Id: 15052
2018-04-18 13:14:00 +00:00
Ryan Cross 0a07c655e0 Reduce get_meeting buffer to handle earlier shceduling requests date. Commit ready for merge
- Legacy-Id: 15047
2018-04-17 00:06:17 +00:00
Henrik Levkowetz a9fbea113b Changed incorrect use of 404 status code in api to 400. Fixes issue #2498.
- Legacy-Id: 15044
2018-04-13 11:11:48 +00:00
Henrik Levkowetz 68cea6d523 Replaced an inline model method caching with a @memoize decorator.
- Legacy-Id: 14993
2018-04-02 11:18:55 +00:00
Henrik Levkowetz 4da044e2db Pyflakes fixes.
- Legacy-Id: 14989
2018-04-01 19:06:02 +00:00
Henrik Levkowetz 8e97669dff Added a get_active_ads() utility function that uses the cache to reduce database access. Moved some utility functions so as to reduce import loops.
- Legacy-Id: 14986
2018-04-01 18:36:36 +00:00
Henrik Levkowetz a1c79a075d Merged in ^/personal/henrik/6.76.1-meetecho-api/ which provides new API endpoint to let video urls be associated with sessions. Also added some more checks to the test_api_set_session_video_url() test.
- Legacy-Id: 14969
2018-03-29 15:25:36 +00:00
Henrik Levkowetz e8f999dc07 Added an API endpoint to let Meetech associate recording urls with sessions.
- Legacy-Id: 14967
2018-03-29 11:04:47 +00:00
Henrik Levkowetz db35af87ad Fixed an issue which could result in server 500 errors for paths like /meeting/99/session/plenary.
- Legacy-Id: 14955
2018-03-28 12:58:04 +00:00
Henrik Levkowetz 76404ceb4b Don't show links to individual meeting stats pages when there's no content (meeting 71 and earlier currently has no attendance records).
- Legacy-Id: 14948
2018-03-26 23:05:43 +00:00
Henrik Levkowetz 2b4011c34b Adjusted the meeting attendees migration to match the updated model.
- Legacy-Id: 14932
2018-03-26 13:11:56 +00:00
Henrik Levkowetz 4b05b7b88b Fixed some issues with agenda and proceedings code for meetings numbered 64 and below, actualized by the introduction of meeting records for such meetings.
- Legacy-Id: 14918
2018-03-25 11:01:37 +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 850aaa7a48 Merged in [14864] from rjsparks@nostrum.com:
Improved test coverage for ietf.meeting.views.
 - Legacy-Id: 14878
Note: SVN reference [14864] has been migrated to Git commit 95af79ce7b
2018-03-20 16:31:15 +00:00
Henrik Levkowetz 57741de718 Merged in [14855] from rjsparks@nostrum.com:
Improved test coverage for ietf.meeting.views.
 - Legacy-Id: 14870
Note: SVN reference [14855] has been migrated to Git commit 734072f572
2018-03-20 11:57:32 +00:00
Henrik Levkowetz c8961381ab Merged in [14854] from rjsparks@nostrum.com:
Improved test coverage over meeting.views.
 - Legacy-Id: 14868
Note: SVN reference [14854] has been migrated to Git commit c56cbf624b
2018-03-19 23:04:57 +00:00
Henrik Levkowetz 1744736ed0 Merged in [14850] from rjsparks@nostrum.com:
Improvements to test coverage in ietf.meeting.views
 - Legacy-Id: 14866
Note: SVN reference [14850] has been migrated to Git commit 02d975ab19
2018-03-19 19:04:04 +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 306431319a Added a couple of meeting material crawls to check that internal material links aren't broken.
- Legacy-Id: 14861
2018-03-18 16:10:14 +00:00
Henrik Levkowetz 7f0de265e9 Check attribute isn't None before accessing sub-attributes.
- Legacy-Id: 14860
2018-03-18 15:14:58 +00:00
Henrik Levkowetz 274ba90e2f Merged in [14844] from adam@nostrum.com:
Fixing 'href' field for https://datatracker.ietf.org/meeting/<meeting-num>/json.
 - Legacy-Id: 14858
Note: SVN reference [14844] has been migrated to Git commit 2e8740cca8
2018-03-18 12:49:00 +00:00
Henrik Levkowetz 72e20478a8 Added another materials docname-with-rev regexe.
- Legacy-Id: 14857
2018-03-18 12:17:11 +00:00
Henrik Levkowetz d827f7415e Fixed two materials docname-with-rev regexes that were too narrow.
- Legacy-Id: 14856
2018-03-18 10:58:29 +00:00
Robert Sparks 734072f572 Improved test coverage for ietf.meeting.views. Commit ready for merge.
- Legacy-Id: 14855
2018-03-17 22:12:51 +00:00
Robert Sparks c56cbf624b Improved test coverage over meeting.views. Commit ready for merge.
- Legacy-Id: 14854
2018-03-17 21:43:26 +00:00
Robert Sparks 02d975ab19 Improvements to test coverage in ietf.meeting.views
- Legacy-Id: 14850
2018-03-17 17:27:11 +00:00
Henrik Levkowetz e0ca40bdf2 Merged in [14842] from rcross@amsl.com:
Add check for deleted session when scheduling.  Fixes #2450.
 - Legacy-Id: 14847
Note: SVN reference [14842] has been migrated to Git commit 7211cf399b
2018-03-17 16:01:26 +00:00
Adam Roach 2e8740cca8 Fixing 'href' field for https://datatracker.ietf.org/meeting/<meeting-num>/json. Commit ready for merge.
- Legacy-Id: 14844
2018-03-17 15:21:59 +00:00
Ryan Cross 7211cf399b Add check for deleted session when scheduling. Fixes #2450. Commit ready for merge
- Legacy-Id: 14842
2018-03-17 15:10:20 +00:00
Henrik Levkowetz e29aa990a6 Tweaked a setting for better readability.
- Legacy-Id: 14840
2018-03-17 13:00:56 +00:00
Henrik Levkowetz 9341f96832 Tweaked the document sanitizer to insert a charset meta tag after sanitization.
- Legacy-Id: 14832
2018-03-16 11:13:03 +00:00
Henrik Levkowetz c3e05fd194 Fixed a mistaken change in session urls.
- Legacy-Id: 14831
2018-03-16 10:27:19 +00:00
Henrik Levkowetz e0b33fd9ca Tweaked a test case to make it easier to get at failures.
- Legacy-Id: 14829
2018-03-15 13:47:32 +00:00
Henrik Levkowetz b439c019a4 Whitespace fix.
- Legacy-Id: 14828
2018-03-15 13:46:30 +00:00
Henrik Levkowetz c2016859a8 Made the materials_document() view function more robust in handling various materials document names.
- Legacy-Id: 14827
2018-03-15 13:45:54 +00:00
Henrik Levkowetz dedf681c2d Updated the meeting materials document view to handle urls with revisions.
- Legacy-Id: 14825
2018-03-14 22:13:27 +00:00
Henrik Levkowetz 278d868d28 Added handling for when file magic doesn't return a definitive encoding for a file. Added a test case to excercise error cases.
- Legacy-Id: 14782
2018-03-13 16:45:50 +00:00
Henrik Levkowetz 8cc61e0cf7 Changed the meeting materials uploads to use the upload file encoding found by file-magic when decoding the upload content, and also return errors to the user if decoding the upload fails. Fixes issue #2469. This will also have the benefit (since we're saving with utf-8 encoding after decoding) of having meeting materials consistently stored with a consistent encoding on the server.
- Legacy-Id: 14781
2018-03-13 14:00:51 +00:00
Henrik Levkowetz c4bb28325a Feed back encoding information to the FileUploadForm when doing mime type validation, for later use in decoding.
- Legacy-Id: 14777
2018-03-13 13:51:00 +00:00
Henrik Levkowetz 5e147af541 Tweaked some icalendar urls to avoid collisions.
- Legacy-Id: 14765
2018-03-11 21:21:09 +00:00
Henrik Levkowetz 1954fc1d9f Tweaked the iCalendar urls, and added a test for interim meeting iCalendar files.
- Legacy-Id: 14764
2018-03-10 18:06:54 +00:00
Henrik Levkowetz a11cdd3b20 Expanded iCanendar generation to include interim meetings.
- Legacy-Id: 14763
2018-03-10 11:25:10 +00:00
Henrik Levkowetz cd10ba5669 Made some per-group and per-session iCalendar links show only if occurring in the future.
- Legacy-Id: 14750
2018-03-08 22:47:00 +00:00
Henrik Levkowetz b92ad2f992 Added sanitization of uploaded html content for session agendas and minutes, and did some refactoring of the upload form classes.
- Legacy-Id: 14738
2018-03-06 15:55:30 +00:00
Henrik Levkowetz 91ee536322 Renamed some datetime fields from 'time' to 'modified', to match their semantics, and changed them to use auto_now=True. This should fix an issue with outdated timestamps on some meeting-related objects.
- Legacy-Id: 14724
2018-03-03 14:44:58 +00:00
Henrik Levkowetz 578960c9f6 Tweaked some meeting-related admin classes for better search and display.
- Legacy-Id: 14721
2018-03-02 16:42:20 +00:00
Henrik Levkowetz 3564ba18fa Added a test for the per-group and per-session ical pages.
- Legacy-Id: 14719
2018-03-02 16:40:36 +00:00
Henrik Levkowetz 92864c233d Refactored ical_agenda() to be more general. Added parameters and code to permit generation of per-group and per-session ical pages. Added url entries for per-group and per-session ical pages. Changed some parameter names to better reflect their semantics ('session'->'acronym').
- Legacy-Id: 14717
2018-03-02 16:37:58 +00:00
Henrik Levkowetz 6e1d4d45d8 Added some missing migrations
- Legacy-Id: 14697
2018-02-25 20:08:37 +00:00
Henrik Levkowetz 1ed8e967e7 Merged in ^/personal/henrik/6.72.1-django-1.11@14676: Upgrade to Django 1.11
- Legacy-Id: 14695
2018-02-25 19:55:16 +00:00
Henrik Levkowetz dcbd28f048 Adjusted ordering for a number of meeting-related models to make the most relevant entries appear first in lists and drop-downs. Fixes issue #2457.
- Legacy-Id: 14694
2018-02-23 22:12:53 +00:00
Henrik Levkowetz 742ad090fc Changed the floorplan short string from 2 to 3 characters, in order to support things like London Hilton Metropole's level -3E, 3rd lower ground floor East.
- Legacy-Id: 14685
2018-02-22 22:40:56 +00:00
Henrik Levkowetz a4768bb514 Removed unused imports. Added some explicit orderings to avoid pagination issues.
- Legacy-Id: 14664
2018-02-21 23:54:31 +00:00
Henrik Levkowetz 06362ec046 Got rid of old migrations and created new initial migrations.
- Legacy-Id: 14662
2018-02-21 23:46:22 +00:00