Ole Laursen
42ade6273c
Turn on CSRF protection - all forms must from now on have a {% csrf_token %}
...
- Legacy-Id: 6963
2013-12-17 12:50:24 +00:00
Ole Laursen
d66ac15fc2
Rewrite a bunch of HttpResponseRedirect + url reverse calls to instead
...
take advantage of the redirect shortcut (introduced in Django 1.1)
- Legacy-Id: 6960
2013-12-17 10:23:42 +00:00
Ole Laursen
84a9f49053
mimetype -> content_type (mimetype is deprecated)
...
- Legacy-Id: 6945
2013-12-16 16:53:47 +00:00
Ole Laursen
5021ed5629
Port feed setup to new feed API where each feed is a class-based view
...
- Legacy-Id: 6939
2013-12-16 16:29:22 +00:00
Ole Laursen
6a98fec2c3
Use built-in json module in Python instead of simplejson bundled with Django
...
- Legacy-Id: 6883
2013-12-11 16:59:19 +00:00
Ole Laursen
c15063f3c2
Adjust the import path for feeds
...
- Legacy-Id: 6879
2013-12-11 16:40:49 +00:00
Ole Laursen
cfa0d47ca0
Port to new class-based generic redirect and simple template views, remove utils.lazy.reverse_lazy, it's now included in Django
...
- Legacy-Id: 6878
2013-12-11 16:36:09 +00:00
Ole Laursen
371c4bb344
Fix computing meeting updated timestamp when there's either a timeslot
...
or a session but not both
- Legacy-Id: 6855
2013-12-09 10:52:31 +00:00
Ole Laursen
1c60f55fff
Fix some includes in meeting test
...
- Legacy-Id: 6842
2013-12-07 19:28:56 +00:00
Ole Laursen
1606890567
Trim some unused imports in the meeting tests
...
- Legacy-Id: 6840
2013-12-07 16:15:36 +00:00
Ole Laursen
48f14b8eda
Remove now unused proceedings/ and meeting/proxy.py
...
- Legacy-Id: 6819
2013-12-06 17:40:41 +00:00
Ole Laursen
5ef84cd7df
Move proceedings feed to meeting/ and remove traces of shim layer from it
...
- Legacy-Id: 6818
2013-12-06 16:31:02 +00:00
Ole Laursen
ad9503f1ed
Removing remaining traces of shim layer usage in meeting
...
- Legacy-Id: 6817
2013-12-06 16:10:10 +00:00
Ole Laursen
e63ac36b8f
Remove shim layer from ietfauth, delete some dead code and migrate
...
remaining importers of ietfauth.decorators to ietfauth.utils
- Legacy-Id: 6797
2013-12-05 16:24:03 +00:00
Ole Laursen
2cf72aa9e5
Remove references to names.xml in perma_fixtures, they are not needed anyway
...
- Legacy-Id: 6766
2013-11-27 13:19:58 +00:00
Ole Laursen
9457669310
Merge in changes from the old shimfree branch
...
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Henrik Levkowetz
239b526d57
Fixed a bug in the materials urls in agenda.ics.
...
- Legacy-Id: 6666
2013-11-06 17:03:30 +00:00
Henrik Levkowetz
58685d93e1
Updated known-good test file to match commit [6655].
...
- Legacy-Id: 6661
Note: SVN reference [6655] has been migrated to Git commit 89904c9bb3
2013-11-06 16:00:25 +00:00
Henrik Levkowetz
6d8b178074
Include IAOC update sessions in the training section.
...
- Legacy-Id: 6647
2013-11-04 15:12:21 +00:00
Henrik Levkowetz
7925223ef8
Merged [6622] from rjsparks@nostrum.com:
...
Refines Bill Fenner's regex based search through documents for references.
Populates RelatedDocument with relations for references for each type draft Document.
Replaces these reference relationships with updated copies on draft submission.
Note to deployer: There is a script to run in patches/fill_in_references.py that does the work of bringing the database up to date. It takes around 10 minutes to complete on a fast development laptop.
fixes bug #1173
- Legacy-Id: 6633
Note: SVN reference [6622] has been migrated to Git commit a677a70df3
2013-11-02 23:04:28 +00:00
Henrik Levkowetz
0aba8663a5
Updated known-good agenda.csv master to match blankline elimination from template.
...
- Legacy-Id: 6628
2013-11-02 22:13:51 +00:00
Henrik Levkowetz
43c1b096dd
Updated known-good files.
...
- Legacy-Id: 6617
2013-11-02 20:21:22 +00:00
Henrik Levkowetz
13b6c7a983
Updated template and support functions for iPhone agenda page.
...
- Legacy-Id: 6582
2013-10-31 17:58:59 +00:00
Robert Sparks
7a84ffe197
Reverted materials.html and the view that drives it to before the 4.70 merge.
...
Tweaked the view to get (I hope) the right things.
- Legacy-Id: 6580
2013-10-31 17:16:53 +00:00
Henrik Levkowetz
45b9b45f28
Removed a lot of dead code and unused imports.
...
- Legacy-Id: 6578
2013-10-30 21:51:13 +00:00
Henrik Levkowetz
1208ae708b
Removed 2 tests which tested dead code.
...
- Legacy-Id: 6577
2013-10-30 21:33:10 +00:00
Henrik Levkowetz
dc6d96797b
Removed unused imports. Marked some instances of code which used variables that don't exist. Removed dependency on the logging module, we use syslog by default. Replaced some log.debug() calls with debug.log().
...
- Legacy-Id: 6576
2013-10-30 21:27:40 +00:00
Henrik Levkowetz
6c8802a3cc
Needlessly fixed a naming error in meeting.proxy.
...
- Legacy-Id: 6575
2013-10-30 21:23:22 +00:00
Henrik Levkowetz
adc5b130dc
Fixed incorrect except statement syntax.
...
- Legacy-Id: 6574
2013-10-30 21:21:28 +00:00
Henrik Levkowetz
c8e7a4a5d4
Updated test masters to match the changed (and now more predictable) order
...
of some entries.
- Legacy-Id: 6538
2013-10-29 22:45:29 +00:00
Henrik Levkowetz
951670e9df
New view code and templates for agenda pages, updating all agenda templates
...
to take schedule-specific information so that they will work with arbitrary
schedules, not just the official schedule for a meeting.
- Legacy-Id: 6537
2013-10-29 22:44:13 +00:00
Henrik Levkowetz
c61d1d1c2f
Provided new methods Meeting.vtimezone() which return a vtimezone stanza for
...
ical files, based on the timezone setting for a meeting, fetched from a pre-
generated file; and Session.ical_status(), which provides a string appropriate
for use in ical STATUS: entries.
- Legacy-Id: 6536
2013-10-29 22:30:38 +00:00
Henrik Levkowetz
93826ae094
Fixed the case where the urlpattern regexp match gives us an ext which is None.
...
- Legacy-Id: 6502
2013-10-27 23:04:02 +00:00
Henrik Levkowetz
16ae35ae19
Rewrote html and text agenda templates to take schedule as data.
...
- Legacy-Id: 6495
2013-10-27 12:16:37 +00:00
Henrik Levkowetz
2dcb9bc39d
Removed the ams_filters template tag file from the meeting app -- it was a copy of the ams_filters under secr/, and masked it.
...
- Legacy-Id: 6481
2013-10-22 19:01:18 +00:00
Henrik Levkowetz
e3eeee53fb
Renumbered unapplied migration.
...
- Legacy-Id: 6475
2013-10-21 21:51:21 +00:00
Henrik Levkowetz
11230a8448
Let Timeslot.session() Return the first session, rather than none, for
...
timeslots with multiple associated sessions for the public schedule.
- Legacy-Id: 6464
2013-10-18 12:15:46 +00:00
Henrik Levkowetz
819b4c6087
Made the timeslots returned from meeting.proxy.MeetingTimeProxy.sessions()
...
distinct, to avoid duplicate agenda entries.
- Legacy-Id: 6463
2013-10-18 12:14:26 +00:00
Henrik Levkowetz
e9980b483f
Made the timeslots sent to the agenda.ics template distinct, to avoid
...
duplicate agenda items. Fixes issue #1155 .
- Legacy-Id: 6462
2013-10-18 11:59:15 +00:00
Henrik Levkowetz
ee1ae839d9
Added caching for the somewhat costly TimeSlot.session() method/property.
...
This speeds up text agenda generation using the legacy template substantially.
- Legacy-Id: 6461
2013-10-17 11:32:27 +00:00
Henrik Levkowetz
a23d31677f
Tweaked the strings displayed when a plenary agenda cannot be shown.
...
- Legacy-Id: 6460
2013-10-17 11:28:29 +00:00
Henrik Levkowetz
5807ad2108
Changed the select statement in MeetingProxy.sessions() to produce correct
...
results for the official agenda, and filter out timeslot entries without
scheduled sessions.
- Legacy-Id: 6459
2013-10-17 11:27:45 +00:00
Henrik Levkowetz
d2d532a015
Removed ADs from known-good master to match template change.
...
- Legacy-Id: 6457
2013-10-17 11:22:40 +00:00
Henrik Levkowetz
e33fe28a2c
Reverted to release 4.72 versions of several functions and methods, starting
...
with agenda_info() and the view functions that use it. Also changed
meeting/tests/agenda.py to accept matching return values. Reverted old
supporting models and proxy models to 4.72 versions, too, in meeting/proxy.py
and proceedings/models.py. Updated the proxy models which rely on TimeSlot
to work properly with the m2m sessions field, and adjusted some other
functions, such as session_agenda() to also understand the m2m sessions
field (and its reverse). Added an understanding of the "bof-conc" state
to the code which returns 'BOF' or 'WG' for agenda templates.
- Legacy-Id: 6452
2013-10-15 17:54:42 +00:00
Henrik Levkowetz
6a9e9dac55
Changed 'WG' to 'BOF' for some sessions that actually were BOF sessions
...
in the csv agenda test master.
- Legacy-Id: 6449
2013-10-15 17:34:54 +00:00
Henrik Levkowetz
6f6f1d65e6
Added known-good tests for agenda.ics and agenda.csv
...
- Legacy-Id: 6445
2013-10-14 18:34:36 +00:00
Henrik Levkowetz
b5ac288167
Removed a test with duplicated name. Invoked timeslot method as method, to align with removed @property decorator.
...
- Legacy-Id: 6443
2013-10-13 21:14:46 +00:00
Henrik Levkowetz
036f31a397
Removed the agenda=83.txt test for real this time.
...
- Legacy-Id: 6442
2013-10-13 21:13:14 +00:00
Henrik Levkowetz
6d28eb180e
Replaced the handcoded agenda-83.txt test with one using the testurl
...
framework, moving the known-good master to a name matching the others
mentioned in testurl.list.
- Legacy-Id: 6438
2013-10-13 20:41:12 +00:00
Henrik Levkowetz
e516dc7925
Reinstated the release 4.72 get_agenda_info() as legacy_get_agenda_info(),
...
and tweaked it to work with the new Timeslot model's sessions field.
Reverted the html agenda view code to use legacy_get_agenda_info(), based
on the release 4.72 code. This is a fix to display the html agenda for
now, and will need more cleanup, but this should be done without introducing
scheduledsession instances to the template.
- Legacy-Id: 6437
2013-10-13 17:59:42 +00:00