Commit graph

154 commits

Author SHA1 Message Date
Henrik Levkowetz a3c8adfdf6 Merged in the contents of commit [6337] from mcr@sandelman.ca, with some changes to take out dead code that inadvertently came back in.
- Legacy-Id: 6344
Note: SVN reference [6337] has been migrated to Git commit d0d1d949a9328da6c4e30d8f5e0d14ffb204e678
2013-10-02 21:53:28 +00:00
Henrik Levkowetz fada6fdfc9 Provide the site_base_url to the template without a trailing slash, for easier use in javascript.
- Legacy-Id: 6339
2013-10-02 14:11:30 +00:00
Henrik Levkowetz 983785d63c Fixed a typo.
- Legacy-Id: 6326
2013-09-30 21:00:12 +00:00
Henrik Levkowetz 87898cb006 Updated the text agenda comparison copy to match the ADs present in the fixtures.
- Legacy-Id: 6325
2013-09-30 20:50:32 +00:00
Henrik Levkowetz c6739bbb4f Modified testurl.list for meetings; there were some URLs that could not succeed with the current database content (the URL tests are running against database content taken from the production database, so this is not a case of missing fixtures).
- Legacy-Id: 6322
2013-09-30 20:40:02 +00:00
Henrik Levkowetz e4f4467725 Changed tests to use our own subclassed TestCase, and changed almost all fixtures to be perma_fixtures.
- Legacy-Id: 6320
2013-09-30 20:36:20 +00:00
Henrik Levkowetz 4395949b85 Fixed up to use perma_fixtures instead of fixtures. Changed diff of html-agenda so it disregards the changing datatracker version information embedded in the html file. Changed dumping of agenda page results to file to not use a code constant, but instead happen if the test fails. Added an announcement of this to the test exception string.
- Legacy-Id: 6319
2013-09-30 20:29:11 +00:00
Henrik Levkowetz 083f60dd93 Renamed model .url() methods to .json_url() or .base_url(), depending on function. Replaced the use of custom django method request.get_host_protocol() with standard request.build_absolute_uri(). Removed an uncaught Http403 exception. Fixed a typo /venus_addr/venue_addr/. Removed relurl() methods; no longer needed. Removed some debug functions.
- Legacy-Id: 6309
2013-09-29 21:14:07 +00:00
Henrik Levkowetz 127deda3c7 The supposedly known-good agenda-utc.html file was filled with '****** SOMETHING WENT WRONG ******', which is clearly wrong. This one is a bit better.
- Legacy-Id: 6308
2013-09-29 20:57:46 +00:00
Henrik Levkowetz 92b9da1d4f Moved read_agenda_file() and session_draft_list() back to views.py. The move almost masked a code change in trunk during the merge.
- Legacy-Id: 6294
2013-09-28 05:42:49 +00:00
Henrik Levkowetz 26688aa2ec Changed back to standard TestCase to ensure confidence in tests. Removed duplicate tests. Adapted tests to new json_url() method signature. Corrected the /people/ urls to /person/.
- Legacy-Id: 6293
2013-09-28 05:35:17 +00:00
Henrik Levkowetz 72a19e2ab2 Fixed the on-and-off failing test_agenda83txt(), which gave inconsistent results because the datetime object given to the template to render had no timezone setting. Added a PRODUCTION_TIMEZONE setting, and used it to provide a consistent timezone to the agenda.txt template.
- Legacy-Id: 6292
2013-09-27 20:07:42 +00:00
Henrik Levkowetz 7876340a44 Undid gratuitous whitespace changes.
- Legacy-Id: 6283
2013-09-26 21:27:21 +00:00
Henrik Levkowetz ea9d075801 Undid gratuitous whitespace changes.
- Legacy-Id: 6282
2013-09-26 21:26:56 +00:00
Henrik Levkowetz 2f1edc3d68 Undid gratuitous whitespace changes.
- Legacy-Id: 6281
2013-09-26 21:20:41 +00:00
Henrik Levkowetz 321744b0b9 Undid gratuitous whitespace and quoting changes. This code is taken verbatim from an external source, as indicated at the beginning of the file, and should not be messed with unless we fix bugs.
- Legacy-Id: 6280
2013-09-26 21:10:41 +00:00
Henrik Levkowetz 6154b9922d This commit isn't tested. It captures the state after merging in branch/ssw/agenda/v4.70.
- Legacy-Id: 6273
2013-09-26 19:56:17 +00:00
Henrik Levkowetz db7106a70c Fixed legacy document fieldname.
- Legacy-Id: 6126
2013-09-09 20:54:56 +00:00
Ole Laursen 023d02feb8 Apparently the session_draft_list fix was missing a .distinct(),
rewrite slightly to add that
 - Legacy-Id: 6062
2013-08-15 09:51:13 +00:00
Ole Laursen c8f173f06e Rewrite reading the draft list from a group agenda to be less weird,
fixing problem when agenda file is not found, which turns up when
running the test-crawler on a test instance
 - Legacy-Id: 6060
2013-08-15 08:44:29 +00:00
Ole Laursen c182d4e5e9 Return empty string instead of None in case an agenda file isn't read
correctly, fixes annoying problem with the test crawler
 - Legacy-Id: 6055
2013-08-14 15:48:17 +00:00
Henrik Levkowetz bd0c07290a Merged in branch/iola/milestones, which provides datatracker support for management of WG milestones.
- Legacy-Id: 5739
2013-05-15 22:07:23 +00:00
Henrik Levkowetz ee420423a0 Added a section to the meeting materials page for IAB sessions. Added a link bar at the top to make it easier to find sections like Training and IAB.
- Legacy-Id: 5636
2013-04-11 09:21:12 +00:00
Henrik Levkowetz f85881dc61 Make agenda views with timezone information work also for earlier meetings without timezone data set.
- Legacy-Id: 5568
2013-03-14 14:56:28 +00:00
Henrik Levkowetz 9ac6cdc581 Fixed refactoring bug.
- Legacy-Id: 5485
2013-03-05 23:21:51 +00:00
Henrik Levkowetz fc369a6e30 Provide html agendas with local and UTC timezone indications.
- Legacy-Id: 5484
2013-03-05 22:46:16 +00:00
Henrik Levkowetz 274812c5b9 Modified the set of permissible parents for session groups, in order to permit an IAB-sponsored BoF to appear on the agenda.
- Legacy-Id: 5451
2013-02-24 20:11:29 +00:00
Ole Laursen b19f6d8060 Merge in milestones branch
- Legacy-Id: 5091
2012-12-03 14:36:30 +00:00
Henrik Levkowetz cfcce2f03e Merged [5000] from rjsparks@nostrum.com:
Made it more obvious when an intended status or shepherding AD is not set
Removed an unused template
Show reset approval text immediately.

Fixes bug #900
 - Legacy-Id: 5015
Note: SVN reference [5000] has been migrated to Git commit 2470ad77dd
2012-11-07 13:01:34 +00:00
Henrik Levkowetz 3a7480520f Merged [4999] from jmh@joelhalpern.com:
Correct test of final shepherd update flag.
 - Legacy-Id: 5014
Note: SVN reference [4999] has been migrated to Git commit aba18e8f38364ad17d451d0ed7e33aa01dfbeb52
2012-11-07 12:50:38 +00:00
Adam Roach ca1ff2fa0c Implementation of ticket 893
- Legacy-Id: 5003
2012-11-03 21:01:40 +00:00
Adam Roach 15ff245c0a Fixed "%2C" bug introducted (exposed?) by Apple's iCloud handling of URLs
- Legacy-Id: 4992
2012-11-03 14:57:55 +00:00
Henrik Levkowetz 9d042badf2 Merged [4904] from adam@nostrum.com:
Fixing conflict list; adding AD column.
 - Legacy-Id: 4961
Note: SVN reference [4904] has been migrated to Git commit 3cb42b7b0c
2012-10-30 12:06:53 +00:00
Henrik Levkowetz 5a60a3c3d4 Improved the handling of iCalendar timezone information -- instead of simplified VTIMEZONE information generated from a template, the VTIMEZONE information for a meeting's timezone is read from file (where it presumably has been generated from the Olson timezone database, for instance using vzic.
- Legacy-Id: 4956
2012-10-25 21:28:08 +00:00
Henrik Levkowetz 09f89a0852 Added an 'agenda_note' field to meeting.models.Meeting, and added display of content (if any) in html and txt agendas. Added a migration, but the production system has already been patched and migrated.
- Legacy-Id: 4947
2012-10-22 21:05:19 +00:00
Adam Roach 3cb42b7b0c Fixing conflict list; adding AD column.
- Legacy-Id: 4904
2012-10-09 20:59:58 +00:00
Henrik Levkowetz 25f3f94c21 Applied fix from adam@nostrum.com: Display meeting materials with correct ordering.
- Legacy-Id: 4754
2012-08-10 11:58:55 +00:00
Henrik Levkowetz 9ff6d889aa Rewrote the view and template code for the meeting materials list, which was showing nothing. Better to do the rewrite for the new models than trying to dig into why the proxy models doesn't work any more.
- Legacy-Id: 4622
2012-07-20 11:33:15 +00:00
Henrik Levkowetz cddec8fc48 Merged in [4604] from adam@nostrum.com, which fixes problems with the html agenda code related to the schema transition.
- Legacy-Id: 4611
Note: SVN reference [4604] has been migrated to Git commit 3e5e16371f2c0319d1c0bb738860a1f793038365
2012-07-10 09:55:34 +00:00
Ole Laursen 419f387bce Make find_history_active_at return the original object if it is
currently active, otherwise we can't see from the return value whether
a given time predates the history set. The downside is that the caller
may now need to check whether it got a history object or the same
object back.
 - Legacy-Id: 4560
2012-07-02 18:09:42 +00:00
Henrik Levkowetz 1603cdab11 Since all the tables have been created earlier, the contents forward and backward of meeting/migrations/0001_initial.py is meaningless, but we need 'pass' instead for it to run. Fixed.
- Legacy-Id: 4504
2012-06-22 20:58:05 +00:00
Henrik Levkowetz bfaf48b60f Merged in personal/adam/v4.00 from adam@nostrum.com with fixes [4436], [4438] to the /meeting/*/requests page.
- Legacy-Id: 4485
Note: SVN reference [4436] has been migrated to Git commit 9cfdb5afd7f77b161c43b9551ec3fc23575aa255

Note: SVN reference [4438] has been migrated to Git commit 961c6b83d293f465df678a943a7621b731a0acbb
2012-06-21 00:00:03 +00:00
Henrik Levkowetz 546d793e5b Try to not use explicit .html extensions in the urls. Redirect from those to .html-less urls.
- Legacy-Id: 4484
2012-06-20 23:57:27 +00:00
Henrik Levkowetz 786c56a3ac Added a new field 'short' to Session, to help produce file names for agendas, minutes and slides for groups with different named session, such as for instance 'edu'. Generating distinct filenames directly from the name field gives too long names.
- Legacy-Id: 4481
2012-06-20 21:12:26 +00:00
Henrik Levkowetz 37172f3c0b Don't include interim meetings in those considered for the default meeting number for the '/meeting/' url.
- Legacy-Id: 4407
2012-05-07 20:39:51 +00:00
Henrik Levkowetz 8972ef7917 Fix from Adam with a tweak from Henrik for empty .ics files
- Legacy-Id: 4337
2012-04-26 21:38:27 +00:00
Henrik Levkowetz d383fac853 Merged branch/iola/migration-fixes@4319, containing these changesets from olau@iola.dk:
- [4319]: Only query for regular IETF meetings when calculating cut off dates
     (reported by Ryan Cross).

   - [4311]: Fix bug in liaison form that prevents Secretariat users from posting
     statements on behalf of SDO liaison managers in some cases.


   - [4310]: Fix problem with direct replyto path in liaison form not using role
     emails (reported by Stephanie McCammon).


   - [4307]: Fix missing return in liaison proxy, fixes problem with from email
     on https://datatracker.ietf.org/liaison/1154/ as reported by Stephanie
     McCammon.


   - [4260]: Move note about IANA scraping messages, apparently I managed to
     put it in the wrong place (they're of course scraping draft approvals, not
     the ballot announcements).


   - [4253]: Move last call announcement text to last call event rather than
     stuffing it inside the state change event.


   - [4252]: Declare coding system to work around annoying problem when the
     date produced by SVN is localized.
 - Legacy-Id: 4331
Note: SVN reference [4252] has been migrated to Git commit 5858454c74

Note: SVN reference [4253] has been migrated to Git commit 25cb532348

Note: SVN reference [4260] has been migrated to Git commit 7b2963aaf0

Note: SVN reference [4307] has been migrated to Git commit b418e5d141

Note: SVN reference [4310] has been migrated to Git commit 9b4415fe51

Note: SVN reference [4311] has been migrated to Git commit bbeaa2d022

Note: SVN reference [4319] has been migrated to Git commit 7db44f8e50
2012-04-26 19:34:57 +00:00
Ole Laursen 7db44f8e50 Only query for regular IETF meetings when calculating cut off dates
(reported by Ryan Cross).
 - Legacy-Id: 4319
2012-04-25 11:00:40 +00:00
Henrik Levkowetz 6c27541354 Added a FIXME: for the read_agenda_file() function. Some serious refactoring and generalization is needed here.
- Legacy-Id: 4302
2012-04-22 18:09:52 +00:00
Henrik Levkowetz dac11633ff Revert a URL schema change made by olau@iola.dk in [4046] for a reason I can't quite see. This change breaks old URLs.
- Legacy-Id: 4299
Note: SVN reference [4046] has been migrated to Git commit d6baa38fe5
2012-04-22 15:15:38 +00:00