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