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
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
671ad54cc7
Work around mixed return types for get_meeting_schedule()
...
- Legacy-Id: 14643
2018-02-15 17:20:57 +00:00
Henrik Levkowetz
47e45c532b
Merged in [14634] from rjsparks@nostrum.com:
...
Simplified the view that lets the secretariat see and change timeslot types. Fixes #2313 .
- Legacy-Id: 14635
Note: SVN reference [14634] has been migrated to Git commit 012d51b63c
2018-02-09 18:15:01 +00:00
Robert Sparks
012d51b63c
Simplified the view that lets the secretariat see and change timeslot types. Fixes #2313 . Commit ready for merge.
...
- Legacy-Id: 14634
2018-02-09 17:05:11 +00:00
Henrik Levkowetz
f3d94abefe
Re-worked create_proceedings_templates() so it does not blow up if it's run a second time for a given meeting.
...
- Legacy-Id: 14621
2018-02-07 11:59:46 +00:00
Henrik Levkowetz
2687c8d839
Added a workaround for libmagic mislabelling plain text content with a line beginning with 'virtual' as text/x-c++.
...
- Legacy-Id: 14586
2018-01-30 08:29:21 +00:00
Henrik Levkowetz
ccec044511
Fixed a type issue with [14556]
...
- Legacy-Id: 14559
Note: SVN reference [14556] has been migrated to Git commit a438ff85e8
2018-01-23 22:27:49 +00:00
Henrik Levkowetz
a438ff85e8
Made the MeetingFactory produce ietf meetings with dates appropriate for the numbers. Fixes random failures in test_eligible().
...
- Legacy-Id: 14556
2018-01-23 21:41:47 +00:00
Henrik Levkowetz
07fd714c88
Refined the URL patterns and handling of alternative meeting material file formats, which were broken by an earlier refactoring (v6.57.0). Fixes issue #2436 .
...
- Legacy-Id: 14521
2018-01-14 21:09:28 +00:00
Henrik Levkowetz
c5c4bde5e6
Dead code removal.
...
- Legacy-Id: 14412
2017-12-11 18:38:56 +00:00
Henrik Levkowetz
1f976da5c1
Third part of document read refactoring, after [14406] and [14410]. This replaces all usage of the non-unicode-aware get_document_content() function with unicode-aware Document.text() or Document.text_or_error() methods. This was triggered by yet another report of unicode content not being shown properly, and should fix all instances of document (drafts, agendas, minutes, etc.) display in the datatracker not handling unicode characters properly.
...
- Legacy-Id: 14411
Note: SVN reference [14406] has been migrated to Git commit 967ece7e7d
Note: SVN reference [14410] has been migrated to Git commit 660c81c272
2017-12-11 16:23:51 +00:00
Henrik Levkowetz
660c81c272
Tweaked the file content read refactoring in [14406] to try latin-1 conversion if unicode doesn't work.
...
- Legacy-Id: 14410
Note: SVN reference [14406] has been migrated to Git commit 967ece7e7d
2017-12-10 17:48:09 +00:00
Henrik Levkowetz
967ece7e7d
Started refactoring of reading text from document files (drafts, charters, etc.) in order to normalise on one way of doing this, and making that return unicode rather than undecoded bytes. This is the first step of two, in order to gauge the possible issues and report on discrepancies.
...
- Legacy-Id: 14406
2017-12-08 21:51:11 +00:00
Henrik Levkowetz
8a43f7aedf
Added better handling for attempted (mistaken) uploads to unscheduled sessions.
...
- Legacy-Id: 14388
2017-12-04 13:55:16 +00:00
Henrik Levkowetz
98d234cd86
Refactored the handling of BallotDocEvent in tests, only creating them as needed, in preparation for stricter checks on state transitions to avoid mismatches between state and ballot.
...
- Legacy-Id: 14380
2017-11-30 16:02:31 +00:00
Henrik Levkowetz
e29218f947
Bugfix
...
- Legacy-Id: 14317
2017-11-06 23:04:58 +00:00
Henrik Levkowetz
a0d3d0b2c3
Tweaked the show-important-dates flag migration.
...
- Legacy-Id: 14316
2017-11-06 20:36:44 +00:00
Henrik Levkowetz
9369255764
In order to make it possible to enter meeting important dates and have the IESG see and approve them before they are generally visible, a flag has been added to the Meeting model, and code has been added to show the important dates as appropriate. A menu link to the important dates has also been added.
...
- Legacy-Id: 14315
2017-11-06 17:20:21 +00:00
Henrik Levkowetz
a9c6dd92b0
Reverted the changes in [14254] and [14255]
...
- Legacy-Id: 14274
Note: SVN reference [14254] has been migrated to Git commit cf6143cce7
Note: SVN reference [14255] has been migrated to Git commit d4cc828e27
2017-11-02 12:24:10 +00:00
Henrik Levkowetz
a146c22f8d
Make the API accept ordering and relations for the meeting date field.
...
- Legacy-Id: 14273
2017-11-02 12:17:17 +00:00
Henrik Levkowetz
d4cc828e27
Fixed a typo
...
- Legacy-Id: 14255
2017-11-01 10:54:50 +00:00
Henrik Levkowetz
cf6143cce7
Show 404 for meeting agendas too far in the future.
...
- Legacy-Id: 14254
2017-11-01 10:52:52 +00:00
Henrik Levkowetz
9bae22859c
Tweaked a page cache time.
...
- Legacy-Id: 14251
2017-10-31 18:44:57 +00:00
Henrik Levkowetz
bfce2d5c83
Tweaked the Meeting.days field type.
...
- Legacy-Id: 14241
2017-10-30 12:28:32 +00:00
Henrik Levkowetz
e3b7fb081a
Added a migration dependency to improve the ordering within the release.
...
- Legacy-Id: 14240
2017-10-30 12:27:50 +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
Henrik Levkowetz
9e434edda3
Added bluesheet upload permission for RG Chairs; reformatted some role_required() decorators.
...
- Legacy-Id: 14187
2017-10-05 10:41:55 +00:00
Henrik Levkowetz
cbda2679a9
Removed some unreachable code.
...
- Legacy-Id: 14150
2017-09-22 14:45:21 +00:00
Henrik Levkowetz
1e7b906535
Fixed another place where updated logic is needed to get the current
...
meeting when we have multiple future meetings. Fixes issue #2371 .
- Legacy-Id: 14120
2017-09-15 17:49:22 +00:00
Henrik Levkowetz
bc054b8cb2
Updated meeting.helpers.get_meeting() to deal with multiple future meetings the same way get_ietf_meeting() does.
...
- Legacy-Id: 14119
2017-09-13 09:16:34 +00:00
Henrik Levkowetz
dda271bd7e
Fixed another issue with the meeting materials urls, related to the href() normalisation work.
...
- Legacy-Id: 14101
2017-09-06 14:46:49 +00:00
Henrik Levkowetz
8536a7435d
Additional change related to the href() work.
...
- Legacy-Id: 14078
2017-08-25 13:11:14 +00:00
Henrik Levkowetz
0e0fd173a8
Merged in [14035] from rjsparks@nostrum.com:
...
Make it more obvious which sessions are scheduled and which are not when viewing session details and managing materials. Fixes #2084 .
- Legacy-Id: 14038
Note: SVN reference [14035] has been migrated to Git commit 661bb18f0c
2017-08-10 11:33:26 +00:00
Robert Sparks
661bb18f0c
Make it more obvious which sessions are scheduled and which are not when viewing session details and managing materials. Fixes #2084 . Commit ready for merge.
...
- Legacy-Id: 14035
2017-08-09 20:06:36 +00:00
Henrik Levkowetz
2846a2d58d
Return 404 if meeting materials not found.
...
- Legacy-Id: 14019
2017-08-01 10:56:10 +00:00
Henrik Levkowetz
926c197c14
Changed from get_meetings() to get_meeting() for meeting.views.floor_plan(), in order to raise 404 on missing meetings. Fixes a server 500 on /meeting/floor-plan/ for nonexistant meetings.
...
- Legacy-Id: 13999
2017-07-28 22:50:23 +00:00
Henrik Levkowetz
6eda346356
Added a data migration to fix recent slides names containing underscores.
...
- Legacy-Id: 13997
2017-07-28 22:47:34 +00:00
Henrik Levkowetz
3c88cf822b
Replaced some group-specific agenda and minutes urls with session-specific urls, and more consistently pointed at explicitly named meeting materilas. Related to [13964].
...
- Legacy-Id: 13968
Note: SVN reference [13964] has been migrated to Git commit a5d8cc85d3
2017-07-24 17:41:49 +00:00
Henrik Levkowetz
2de6855ccd
Fixed a time arithmetics issue in meeting cutoff date methods
...
- Legacy-Id: 13966
2017-07-23 14:47:46 +00:00
Henrik Levkowetz
8e942f44a6
Changed the display of individual item update time on the materials overview page. In practice, having a tooltip on every agenda, minutes, and slides link became intrusive and annoying. Changed to display a bell if the update is within one day of now, and to display the time tooltip when hovering over the bell. Also corrected the colspan numbers for cancelled sessions, for consistency.
...
- Legacy-Id: 13965
2017-07-22 11:39:11 +00:00
Henrik Levkowetz
a5d8cc85d3
Added urls and views for individual meeting documents, in order to be able to serve them directly from the datatracker, instead of taking them from www.ietf.org through CDN. Adjusted the patterns used for href() accordingly. This also avoid different-origin issues. Shifted the url for materials_editable_groups() to an URL more in line to those it links to. Changed the iframe urls for the agenda week view to work for groups with different agendas for different sessions by using href().
...
- Legacy-Id: 13964
2017-07-21 21:23:53 +00:00
Henrik Levkowetz
0d1feacb42
Merged in [13957] from rjsparks@nostrum.com:
...
Moves Important Dates into the datatracker. Fixes #2338 .
- Legacy-Id: 13962
Note: SVN reference [13957] has been migrated to Git commit 2e6f26af23
2017-07-21 16:30:04 +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
3b4992d2b7
Fixed a bug in a meeting number comparison.
...
- Legacy-Id: 13938
2017-07-19 11:42:26 +00:00
Henrik Levkowetz
02ae6aebd3
Merged in [13908] from alireza.mohammadi@icann.org:
...
Ticket# 1644 : add \'last updated\' timestamps on meeting materials page
Added UTC time to the tooltip of Agenda and slides and an new column of Updated. Updated column present the latest time stamp for agenda and slides.
- Legacy-Id: 13928
Note: SVN reference [13908] has been migrated to Git commit 5b0555581f
2017-07-17 12:47:26 +00:00
Henrik Levkowetz
29ef660827
Added an 'assignments' m2m field to the API sssion resource
...
- Legacy-Id: 13927
2017-07-17 11:52:05 +00:00
Henrik Levkowetz
6eb8c03eb5
Added a session status field to the /meeting/agenda.json data, to make cancelled session info available.
...
- Legacy-Id: 13925
2017-07-17 09:20:47 +00:00
Alireza Mohammadi
5b0555581f
Ticket# 1644 : add "last updated" timestamps on meeting materials page
...
Added UTC time to the tooltip of Agenda and slides and an new column of Updated. Updated column present the latest time stamp for agenda and slides.
- Legacy-Id: 13908
2017-07-15 15:23:10 +00:00
Robert Sparks
59886b9bbf
Use a better timestamp for newrevisiondocevents when uploading agendas, minutes, and slides. Fixes #2039 . Commit ready for merge.
...
- Legacy-Id: 13903
2017-07-15 13:42:25 +00:00
Robert Sparks
a235482f8a
Include drafts associated with sessions when building session pdf and tarballs. Fixes #2036 . Commit ready for merge.
...
- Legacy-Id: 13902
2017-07-15 13:03:37 +00:00
Robert Sparks
08c7a38fc8
Allow minutes to be uploaded after previous minutes had been uploaded and removed from the session. Fixes #2286 . Commit ready for merge.
...
- Legacy-Id: 13887
2017-07-15 08:39:40 +00:00
Henrik Levkowetz
86b252c90e
Some refactoring of the agenda and minutes validation work.
...
- Legacy-Id: 13850
2017-07-13 10:42:48 +00:00
Henrik Levkowetz
46fc7b77fd
Added more validation of extension, mime type, etc. for uploaded meeting agendas and minutes. Added '.md' (markdown) as an accepted file type. Html with frames is now rejected. Factored out validation code into separate functions.
...
- Legacy-Id: 13849
2017-07-12 22:45:57 +00:00
Henrik Levkowetz
fee74d3357
When proceedings have been finalized, redirect meeting/xx/materials to the finalized meeting/xx/proceedings page.
...
- Legacy-Id: 13848
2017-07-12 20:23:25 +00:00
Henrik Levkowetz
0c573f20fe
Fixed a place where doc.save() was called instead of doc.save_with_history().
...
- Legacy-Id: 13844
2017-07-12 13:02:41 +00:00
Henrik Levkowetz
3b8277d99e
Fixed a pyflakes issue.
...
- Legacy-Id: 13842
2017-07-12 12:40:48 +00:00
Henrik Levkowetz
428038b838
Added a test for interim meeting agenda and minutes urls.
...
- Legacy-Id: 13841
2017-07-12 12:38:26 +00:00
Henrik Levkowetz
0de5e350c5
A bit of optimization of the /meeting/past/ view.
...
- Legacy-Id: 13839
2017-07-12 12:33:05 +00:00
Henrik Levkowetz
ccf6b516bc
Fixed a problem with loosing the outermost html element when massaging html agendas.
...
- Legacy-Id: 13838
2017-07-12 11:05:53 +00:00
Henrik Levkowetz
2937bb0789
Added back session minutes urlpattern for interim meetings.
...
- Legacy-Id: 13837
2017-07-12 08:09:49 +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
082528134b
Merged in [13830] from rjsparks@nostrum.com:
...
Show all the sessions for area groups in the proceedings. Fixes #2265 . Should be patched into production.
- Legacy-Id: 13831
Note: SVN reference [13830] has been migrated to Git commit 68d70aaeb2
2017-07-11 18:33:56 +00:00
Robert Sparks
68d70aaeb2
Show all the sessions for area groups in the proceedings. Fixes #2265 . Commit ready for merge. Should be patched into production.
...
- Legacy-Id: 13830
2017-07-11 18:13:16 +00:00
Henrik Levkowetz
fa49287cfa
Added a mock of urllib2.urlopen for another test which uses finalize(meeting) in order to prevent external http accesses when running tests.
...
- Legacy-Id: 13824
2017-07-10 20:30:55 +00:00
Henrik Levkowetz
c69d09e29c
Reduced the number of non-functional URL patterns for interim meetings. Can easily be expanded as needed.
...
- Legacy-Id: 13784
2017-07-06 19:11:07 +00:00
Henrik Levkowetz
3fa1addde7
Removed the 'apply to all sessions' checkbox from the agenda/minutes/slides upload pages for non-session timeslots, such as plenaries etc. as it is rarely if ever correct to have it checked then.
...
- Legacy-Id: 13715
2017-06-26 18:28:34 +00:00
Henrik Levkowetz
ce1b655fa2
Code reorganization, doing away with multiple urls_* and views_ files in ietf.group. No intentional functionality changes.
...
- Legacy-Id: 13709
2017-06-22 15:18:08 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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