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