Commit graph

4479 commits

Author SHA1 Message Date
Ole Laursen 97e6cebe91 Don't show charter for group types without chartering processes
- Legacy-Id: 7795
2014-05-28 15:58:03 +00:00
Ole Laursen 252db0dffb Fix some bugs, add correct document events in materials upload
- Legacy-Id: 7780
2014-05-26 15:40:51 +00:00
Ole Laursen 47c9ccf0e1 Handle the case of asking for get_state() on an unsaved document
- Legacy-Id: 7779
2014-05-26 15:40:07 +00:00
Ole Laursen 3c88dc127b Add the template for the material upload page
- Legacy-Id: 7777
2014-05-23 16:27:24 +00:00
Ole Laursen 3bfb6dcd43 Added support data for a tentative new material document type, add a upload/edit/revise page for uploading and revising group materials, still missing a couple of details and tests
- Legacy-Id: 7776
2014-05-23 16:26:56 +00:00
Robert Sparks a3437c0a21 Checks that an email address will survive encoding as part of validating a liaison form. Fixes bug 1410. Commit ready for merge.
- Legacy-Id: 7772
2014-05-22 18:45:59 +00:00
Ole Laursen 17cf1095c7 Fix cosmetic problem with label_suffix and the delete labels on the milestones page
- Legacy-Id: 7770
2014-05-22 16:10:37 +00:00
Ole Laursen 0bd82434c8 Fix problem with milestones editing claiming that all resolved
milestones have been changed when you click the review changes button
(by removing work-around for bug in previous version of Django)
 - Legacy-Id: 7769
2014-05-22 15:55:15 +00:00
Ole Laursen 9579525ca4 Add simple materials page, tie up some of the loose ends in group generalization work
- Legacy-Id: 7768
2014-05-22 15:53:20 +00:00
Ole Laursen d16bdb3723 Add support for editing Group.description in Secretariat tools
- Legacy-Id: 7767
2014-05-22 15:08:37 +00:00
Robert Sparks 393422b36b Improves the robustness of the SMTP error handling utilities. Fixes bug #1409. Commit ready for merge.
- Legacy-Id: 7766
2014-05-22 01:28:33 +00:00
Henrik Levkowetz c1d75dab55 Merged [7748] from rjsparks@nostrum.com: Adjust when publication request button appears for documents in non-ietf streams. Fixes bug #1402.
- Legacy-Id: 7765
Note: SVN reference [7748] has been migrated to Git commit e9984b957b
2014-05-20 20:33:12 +00:00
Henrik Levkowetz 58cc1f33b4 Merged [7740] from rjsparks@nostrum.com: Fixed a crash when requesting sessions for groups that do not have ADs. Applied to production as 2014-05-13-sreq-rg.patch .
- Legacy-Id: 7764
Note: SVN reference [7740] has been migrated to Git commit c64243ba31
2014-05-20 20:29:24 +00:00
Henrik Levkowetz 0baf1899d8 Merged [7734] from rcross@amsl.com: changes to support IAB group types, including requesting a session and uploading materials.
- Legacy-Id: 7762
Note: SVN reference [7734] has been migrated to Git commit ed53dfdf78
2014-05-20 20:21:42 +00:00
Ole Laursen 0144ef366b Add description field on group, enable most group info page views to
work without a group type to pave the way for /group/<acronym>/ URLs,
make charter page more generic, enable it to handle descriptions and
walk over all personnel instead of picking out specific types
of roles, add a redirect view on /group/<acronym>/ to lead to either
documents/ or charter/, add simple group.features() class to be able
to condition on group features rather than specific group types,
adjust group pages menu accordingly
 - Legacy-Id: 7758
2014-05-20 10:19:26 +00:00
Robert Sparks e9984b957b Adjust when publication request button appears for documents in non-ietf streams. Fixes bug #1402. Commit ready for merge.
- Legacy-Id: 7748
2014-05-14 17:31:00 +00:00
Robert Sparks c64243ba31 Fixed a crash when requesting sessions for groups that do not have ADs. Applied to production as 2014-05-13-sreq-rg.patch . Commit ready for merge.
- Legacy-Id: 7740
2014-05-13 19:23:45 +00:00
Ryan Cross ed53dfdf78 changes to support IAB group types, including requesting a session and uploading materials. Commit ready for merge
- Legacy-Id: 7734
2014-05-12 20:54:33 +00:00
Henrik Levkowetz 2a8fbb4063 Added validation of successful draft title extraction on draft submission upload, to avoid a later exception when trying to store draft information for a draft with a null title.
- Legacy-Id: 7730
2014-05-10 10:39:33 +00:00
Henrik Levkowetz 4c03bc73d8 Merged in [7726] from rcross@amsl.com:
Fix secauth middleware to grant access to WG Secretary, RG Chair and Area Director.
 - Legacy-Id: 7729
Note: SVN reference [7726] has been migrated to Git commit 90c9e3e256
2014-05-10 10:28:20 +00:00
Ryan Cross 90c9e3e256 Fix secauth middleware to grant access to WG Secretary, RG Chair and Area Director. Commit ready for merge.
- Legacy-Id: 7726
2014-05-08 22:26:50 +00:00
Henrik Levkowetz 076770bccc Merged [7705] from rjsparks@nostrum.com: Corrected Document vs DocHistory mismatch when working with status-change documents. Corrected creation of BallotDocEvent timestamps. Fixes bug #1396.
- Legacy-Id: 7724
Note: SVN reference [7705] has been migrated to Git commit 18bfe663d5
2014-05-08 20:03:54 +00:00
Henrik Levkowetz 93cf098bf7 Merged [7678] from rcross@amsl.com: Show correct group type and ommit link to tools.ietf.org on BOF proceedings.
- Legacy-Id: 7722
Note: SVN reference [7678] has been migrated to Git commit e838ca78c5
2014-05-08 19:11:31 +00:00
Henrik Levkowetz 5bb6c50c66 Merged [7677] from rjsparks@nostrum.com: Protect against cases where add_state_change_event can return None. Fixes bug # 1383.
- Legacy-Id: 7721
Note: SVN reference [7677] has been migrated to Git commit cb458b1689
2014-05-08 18:58:00 +00:00
Henrik Levkowetz 6b0949ee43 Fixed a typo (missing space) in a template. Fixes issue #1398.
- Legacy-Id: 7715
2014-05-08 13:46:55 +00:00
Robert Sparks 18bfe663d5 Corrected Document vs DocHistory mismatch when working with status-change documents. Corrected creation of BallotDocEvent timestamps. Fixes bug #1396. Commit ready for merge
- Legacy-Id: 7705
2014-05-06 20:32:27 +00:00
Henrik Levkowetz 794a823581 Corrected an URL pattern that returned something intended to be a named parameter as a numbered arg instead.
- Legacy-Id: 7702
2014-05-06 19:17:19 +00:00
Henrik Levkowetz 50ecb29a8d Added a link to browse the release version in the repository to /release/.
- Legacy-Id: 7701
2014-05-06 19:15:21 +00:00
Henrik Levkowetz ed97ce5a21 Added changeset and ticket links to the release notes under /release/
- Legacy-Id: 7684
2014-05-02 00:30:25 +00:00
Henrik Levkowetz 9c12b28ba2 Changed a bunch of URLs from http:// to https://, and stripped instances of http.?://datatracker.ietf.org/ from some URLs to make them work better in test and development deployments.
- Legacy-Id: 7683
2014-05-01 19:43:13 +00:00
Henrik Levkowetz 83c7f3af91 Set version info and settings back to development mode
- Legacy-Id: 7682
2014-05-01 00:14:32 +00:00
Henrik Levkowetz a2fd7f19ad Set version info to release version 5.4.2 before branching.
- Legacy-Id: 7680
2014-05-01 00:14:29 +00:00
Ryan Cross e838ca78c5 Show correct group type and ommit link to tools.ietf.org on BOF proceedings. Commit ready for merge
- Legacy-Id: 7678
2014-04-30 23:14:56 +00:00
Robert Sparks cb458b1689 Protect against cases where add_state_change_event can return None. Fixes bug # 1383. Commit ready for merge.
- Legacy-Id: 7677
2014-04-30 22:17:01 +00:00
Henrik Levkowetz f241de20f3 Merged [7673] from rjsparks@nostrum.com: Made several changes to better handle non-ascii UTF-8 in email messages.
Used multipart mime when including the original message in an error message to the secretariat.
Modified the way IANA review email is parsed.
Added non-ascii UTF-8 tests to the IANA review email parser and to the SMTP Exception handling code.
 - Legacy-Id: 7676
Note: SVN reference [7673] has been migrated to Git commit bf4f3ad75f
2014-04-30 20:51:25 +00:00
Robert Sparks bf4f3ad75f Made several changes to better handle non-ascii UTF-8 in email messages.
Used multipart mime when including the original message in an error message to the secretariat.
Modified the way IANA review email is parsed.
Added non-ascii UTF-8 tests to the IANA review email parser and to the SMTP Exception handling code.

Commit ready for merge.
 - Legacy-Id: 7673
2014-04-29 18:45:37 +00:00
Henrik Levkowetz 3e0e10377c Changed how edit_mtg() is called, in order to propagate kwargs as kwargs. Removed repeated @check_permissions.
- Legacy-Id: 7664
2014-04-28 16:34:09 +00:00
Henrik Levkowetz 666d67eec3 Merged [7653] from rcross@amsl.com: fix two issues with proceedings generation.
- Legacy-Id: 7654
Note: SVN reference [7653] has been migrated to Git commit a886f9ddcd
2014-04-25 19:19:09 +00:00
Ryan Cross a886f9ddcd fix two issues with proceedings generation. Commit ready for merge.
- Legacy-Id: 7653
2014-04-25 18:06:07 +00:00
Henrik Levkowetz 3ac1856d09 Merged in [7644] from rjsparks@nostrum.com:
From rjsparks@nostrum.com:
  -  Fixed layout issue on schedule editing page in Chrome
  -  Fixed errant display of text in unscheduled group bar
     on the schedule editing page
  -  Changed the instruction text on the special requests
     field of the session request form
From rcross@amsl.com:
  - Improved scheduling of non-session items
  - Fixed issue with layout of the new notifications page
  - Fixed crash on notifications page
 - Legacy-Id: 7651
Note: SVN reference [7644] has been migrated to Git commit b8cfbf18e5
2014-04-25 15:45:54 +00:00
Henrik Levkowetz c50d05302b Set version info and settings back to development mode
- Legacy-Id: 7649
2014-04-25 15:11:38 +00:00
Henrik Levkowetz d220932332 Set version info to release version 5.4.1 before branching.
- Legacy-Id: 7647
2014-04-25 15:11:34 +00:00
Henrik Levkowetz 618e01f870 Tweaked the test-crawler output.
- Legacy-Id: 7645
2014-04-25 15:11:14 +00:00
Robert Sparks b8cfbf18e5 From rjsparks@nostrum.com:
-  Fixed layout issue on schedule editing page in Chrome
  -  Fixed errant display of text in unscheduled group bar
     on the schedule editing page
  -  Changed the instruction text on the special requests
     field of the session request form

From rcross@amsl.com:
  - Improved scheduling of non-session items
  - Fixed issue with layout of the new notifications page
  - Fixed crash on notifications page
 - Legacy-Id: 7644
2014-04-25 14:44:40 +00:00
Henrik Levkowetz 0076f1133a Added a no-agenda template for the iPhone agenda, too.
- Legacy-Id: 7643
2014-04-25 14:03:52 +00:00
Henrik Levkowetz e11180e073 Changed the get_meeting import in ietf.secr.drafts.views to get it from where it's actually located.
- Legacy-Id: 7642
2014-04-25 13:28:48 +00:00
Henrik Levkowetz f86c59209f Changed the logic for what is the 'current' ietf meeting to disregard whether there's an agenda for the meeting or not. This lets people see the correct session request page for the current meeting. However, it also makes the /meeting/agenda.html page fail because there's no schedule associated with the meeting; so alternative pages saying 'No agenda available' has been added, too.
- Legacy-Id: 7641
2014-04-25 13:14:53 +00:00
Henrik Levkowetz d013cbf326 Adjust the python attribute name .domid to .dom_id in templates, to match the change in the python code.
- Legacy-Id: 7639
2014-04-24 22:38:59 +00:00
Henrik Levkowetz 4b6ca22ff7 Merged in [7635] from rjsparks@nostrum.com:
Replumbed how SMTP Exceptions are handled, which involved refactoring several mail functions
 - Legacy-Id: 7637
Note: SVN reference [7635] has been migrated to Git commit 73b0831b57
2014-04-24 22:14:57 +00:00
Henrik Levkowetz bfa77959e5 We're now showing the login link with a http:// scheme instead of https:// when in debug mode, in order to be able to log in when using 'python manage.py runserver', which only supports http.
- Legacy-Id: 7636
2014-04-24 22:04:52 +00:00
Robert Sparks 73b0831b57 Replumbed how SMTP Exceptions are handled, which involved refactoring several mail functions
- Legacy-Id: 7635
2014-04-24 18:29:01 +00:00
Henrik Levkowetz 94123b37e0 Set version info and settings back to development mode
- Legacy-Id: 7633
2014-04-22 21:58:32 +00:00
Henrik Levkowetz f0fcc5075e Set version info to release version 5.4.0 before branching.
- Legacy-Id: 7631
2014-04-22 21:58:29 +00:00
Henrik Levkowetz 53b49d7777 Link the name of a logged-in user to his profile page. Application of patch from production.
- Legacy-Id: 7629
2014-04-22 21:38:43 +00:00
Henrik Levkowetz bf1e44864d Merged in [7561] from rjsparks@nostrum.com:
Updates and bugfixes to the agenda editing features
* Removes the pattern of using ScheduledSession m2m objects with one of the relationships left as None
* Improves scheduled session state handling
* Simplifies sending email to scheduled session requestors
* Improved timeslot purpose and room editing
* Improved access controls to editing forms
* Better test coverage for the meeting views
* Improvements to the javascript driven by prototyping automated tests
* Better initialization of a new meeting
On the session request form:
  - Allows specifiying room resources (projectors, meetecho)
  - Allows specifying what people must be present
On the schedule editing page:
  - correctly calculates conflict levels
  - displays conflicts in and out of each session separately
  - italicizes BoFs
  - shows resource and people conflicts
Adds automated placement as a management command
 - Legacy-Id: 7628
Note: SVN reference [7561] has been migrated to Git commit 1221f79af9
2014-04-22 21:34:23 +00:00
Henrik Levkowetz da4f9dc258 Print a message at the end of a test crawl also when there's no FAILs.
- Legacy-Id: 7626
2014-04-22 21:31:53 +00:00
Ryan Cross 029b477180 resolve several bugs with scheduling code
- Legacy-Id: 7618
2014-04-17 17:05:36 +00:00
Henrik Levkowetz 2f142bb918 Set version info and settings back to development mode
- Legacy-Id: 7617
2014-04-16 21:22:55 +00:00
Henrik Levkowetz 02b8e919fe Set version info to release version 5.3.1 before branching.
- Legacy-Id: 7615
2014-04-16 21:22:49 +00:00
Henrik Levkowetz fe5d53fc40 Merged in [7591] from rjsparks@nostrum.com:
Adds a real (if simple) SMTP server to the test framework and tests handling of exceptions and rejected addresses. Fixes ticket #1314.
 - Legacy-Id: 7613
Note: SVN reference [7591] has been migrated to Git commit 54919f01343995ab154d27dcfaf7a60b15dd5eee
2014-04-16 19:40:57 +00:00
Henrik Levkowetz fc0c605f5b Merged [7590] from rjsparks@nostrum.com: Change when the consensus field is displayed and who can edit it for IETF stream documents. Fixes bug #1380.
- Legacy-Id: 7612
Note: SVN reference [7590] has been migrated to Git commit 85458abee3a1474ba9fc476c087e08e24a62cb2e
2014-04-16 19:02:25 +00:00
Henrik Levkowetz 1d9e9e7745 Merged [7589] from rjsparks@nostrum.com: Functional changes allowing consensus to be set back to Unknown. Fixes ticket #1150.
- Legacy-Id: 7611
Note: SVN reference [7589] has been migrated to Git commit 7fb3e913e5377aa4e38c369aeefe2449e07e3c4e
2014-04-16 18:45:55 +00:00
Henrik Levkowetz 1070a42c87 Merged [7588] from rjsparks@nostrum.com: Schema migration to allow consensus to be set back to unknown. Related to ticket #1150.
- Legacy-Id: 7610
Note: SVN reference [7588] has been migrated to Git commit df1455485a03fbd391c8c6dfa5a85c6471003ec8
2014-04-14 15:53:37 +00:00
Henrik Levkowetz b5df5c836e Merged in [7587] from rjsparks@nostrum.com:
Anyone with a role in a group could preapprove drafts. Changed that to an explicit subset of roles. Fixes ticket 998.
 - Legacy-Id: 7609
Note: SVN reference [7587] has been migrated to Git commit 5ba0a274933e61e242ebcbf72b2f37e27d1da60d
2014-04-13 20:42:26 +00:00
Henrik Levkowetz 5f0c22d1e7 Fixed a pyflakes issue with previous commit.
- Legacy-Id: 7608
2014-04-13 20:35:24 +00:00
Henrik Levkowetz 06ff160c73 Merged in [7586] from rjsparks@nostrum.com:
Fixed calculation of needed ballots for status-change documents. Added needed ballots tests for drafts and status-change docs. Fixes bug 1116.
 - Legacy-Id: 7607
Note: SVN reference [7586] has been migrated to Git commit e30ba32c78cf324f5875fcce3f89ff7e27f8453c
2014-04-13 20:10:21 +00:00
Henrik Levkowetz c50fccdb7e Merged in [7586] from rjsparks@nostrum.com:
Fixed calculation of needed ballots for status-change documents. Added needed ballots tests for drafts and status-change docs. Fixes bug 1116.
 - Legacy-Id: 7606
Note: SVN reference [7586] has been migrated to Git commit e30ba32c78cf324f5875fcce3f89ff7e27f8453c
2014-04-13 19:36:06 +00:00
Henrik Levkowetz b448ac4da0 When we changed auth to use basic http auth, we also changed the session timeout time to 12 hours, from the default 2 weeks. I see no need to use a non-default setting; changing this back.
- Legacy-Id: 7605
2014-04-12 20:40:31 +00:00
Henrik Levkowetz 2c27eb481d Merged in [7519] from olau@iola.dk:
Remove uses of gzip middleware - the decorator thing breaks the ETags for some reason, as noted in issue #518, and it seems consensus is that we should do this in Apache instead for the whole site
 - Legacy-Id: 7602
Note: SVN reference [7519] has been migrated to Git commit 9ddecc1970
2014-04-12 18:50:01 +00:00
Henrik Levkowetz 45ed4e6da3 Merged [7421] from olau@iola.dk: Fix a crash bug in the redirection logic that occurs when someone
posts a draft without an access token from the email confirmation step
 - Legacy-Id: 7600
Note: SVN reference [7421] has been migrated to Git commit c0e34dbcad
2014-04-12 18:32:20 +00:00
Henrik Levkowetz f6cc509fd6 Merged [7416] from olau@iola.dk: Redo the quickfix to the "Send and Post" button bug (mentioned in
issue #1308) so that we still do the validation correctly, but just
always show the button (even if it's unusable)
 - Legacy-Id: 7599
Note: SVN reference [7416] has been migrated to Git commit 649618626e
2014-04-12 18:28:05 +00:00
Henrik Levkowetz e9fa1d60c9 Set version info and settings back to development mode
- Legacy-Id: 7598
2014-04-12 18:14:45 +00:00
Henrik Levkowetz 66edb314a5 Set version info to release version 5.3.0 before branching.
- Legacy-Id: 7596
2014-04-12 18:14:34 +00:00
Henrik Levkowetz 9ce5280229 Applied a patch from rcross@amsl.com, which fixes a problem associated with the recent Secretariat auth changes and the not-so-ideal use of sessions in the sec code.
- Legacy-Id: 7594
2014-04-12 18:05:00 +00:00
Henrik Levkowetz c2a935190e Provide fully qualified module paths to the url lookup template tag for the account profile view, to make sure they succeed.
- Legacy-Id: 7592
2014-04-12 17:53:39 +00:00
Henrik Levkowetz 454c9d83cb Fixed support for verbosity and overwrite flags for the import_htpasswd command, which was lost in [7583].
- Legacy-Id: 7585
Note: SVN reference [7583] has been migrated to Git commit 4c0d52d9ed
2014-04-09 18:34:18 +00:00
Henrik Levkowetz 303e93f65f Added a data migration for htpasswd import, to be run as part of the deployment of the django-auth release.
- Legacy-Id: 7584
2014-04-09 18:29:46 +00:00
Henrik Levkowetz 4c0d52d9ed Split out the actual htpasswd import functionality from the BaseCommand subclass, so we can call it from elsewhere.
- Legacy-Id: 7583
2014-04-09 18:28:42 +00:00
Ole Laursen 43e472b647 Remove IETFWG_DESCRIPTIONS_PATH which is no longer useful as all charter files will soon have been moved
- Legacy-Id: 7582
2014-04-08 14:15:49 +00:00
Henrik Levkowetz 156b0d4e3a Changed the code to use django's own authentication, instead of http basic auth. This will let people log out, and will also use stronger password hashing than basic auth. Added a login page, and logout links, and links from the logged in username (in the upper right corner) to the user's profile page.
- Legacy-Id: 7580
2014-04-07 18:56:44 +00:00
Henrik Levkowetz b02b0a96df All tests pass, except for some pyflakes tests which I believe are fixed in trunk.
- Legacy-Id: 7579
2014-04-06 20:04:36 +00:00
Henrik Levkowetz 3a3b386a0e A htpasswd import script, for the transition from basic http auth to Django native authentication.
- Legacy-Id: 7578
2014-04-06 17:20:31 +00:00
Henrik Levkowetz 46b31ccab3 Set version info and settings back to development mode
- Legacy-Id: 7577
2014-04-06 15:28:55 +00:00
Henrik Levkowetz 6f199806a8 Set version info to release version 5.2.1 before branching.
- Legacy-Id: 7575
2014-04-06 15:28:51 +00:00
Henrik Levkowetz 7603f4e1da Merged [7568] from rcross@amsl.com: grant ISOC CEO access to announcement tool, change announcement tool from option 'IAB Executive Director' to 'IAB Executive Administrative Manager'
- Legacy-Id: 7573
Note: SVN reference [7568] has been migrated to Git commit 2cf5f1ce25
2014-04-06 15:09:55 +00:00
Henrik Levkowetz b8cd069070 Merged [7557] from rjsparks@nostrum.com: Update reference relationships (asyncronously) for new rfcs found when syncing with the rfc index. Fixes ticket #1347.
- Legacy-Id: 7572
Note: SVN reference [7557] has been migrated to Git commit 9b43e159623ed1fb53438541b25a1605922943dd
2014-04-06 15:01:12 +00:00
Henrik Levkowetz 003691fd86 Merged in [7549] from rcross@amsl.com:
fix tests to work with secauth middleware changes
 - Legacy-Id: 7570
Note: SVN reference [7549] has been migrated to Git commit 0b5fc98290
2014-04-06 14:41:44 +00:00
Ryan Cross 2cf5f1ce25 grant ISOC CEO access to announcement tool, change announcement tool from option 'IAB Executive Director' to 'IAB Executive Administrative Manager'
- Legacy-Id: 7568
2014-04-03 17:46:27 +00:00
Ole Laursen 357f88c0d6 Add simple overview page with links to concluded groups, use that instead of the tools page for the left menu link
- Legacy-Id: 7567
2014-04-03 11:49:05 +00:00
Ole Laursen dbead00fcc Hide IESG tabs for non-WG charters. Fix spelling mistake (IEST).
- Legacy-Id: 7566
2014-04-02 12:30:00 +00:00
Ole Laursen 01461d1036 Make sure group state is set when approving charters for non-WGs
- Legacy-Id: 7565
2014-04-02 12:24:36 +00:00
Ole Laursen 25d37c04f3 Make sure BoF states don't show up for RGs
- Legacy-Id: 7564
2014-04-02 11:44:17 +00:00
Ole Laursen 8dabf4cd79 Fix bug in displaying charter new group links
- Legacy-Id: 7563
2014-04-02 11:40:20 +00:00
Ole Laursen 135a4af197 Put RGs into the menu
- Legacy-Id: 7562
2014-04-02 10:16:47 +00:00
Robert Sparks 1221f79af9 Updates and bugfixes to the agenda editing features
* Removes the pattern of using ScheduledSession m2m objects with one of the relationships left as None
* Improves scheduled session state handling
* Simplifies sending email to scheduled session requestors
* Improved timeslot purpose and room editing
* Improved access controls to editing forms
* Better test coverage for the meeting views
* Improvements to the javascript driven by prototyping automated tests
* Better initialization of a new meeting
On the session request form:
  - Allows specifiying room resources (projectors, meetecho)
  - Allows specifying what people must be present
On the schedule editing page:
  - correctly calculates conflict levels
  - displays conflicts in and out of each session separately
  - italicizes BoFs
  - shows resource and people conflicts
Adds automated placement as a management command

Commit ready for merge.
 - Legacy-Id: 7561
2014-04-01 22:17:18 +00:00
Ryan Cross 2ff7900326 fix various issues with recent changes
- Legacy-Id: 7559
2014-04-01 18:09:11 +00:00
Henrik Levkowetz 8c42989d5d Pyflakes cleanup compliant with pyflakes 0.8.1, which seems to find things 0.8.0 didn't fin.
- Legacy-Id: 7558
2014-04-01 16:25:18 +00:00
Ole Laursen f52e676793 Move chartering groups to /group/chartering/ (with a redirect from the old location), list RGs there too, and amend the previous fix to the chartering process for non-WGs so they have internal and external review states instead of just approved. Also move the code in wginfo/ to group/ as it is no longer just about info for WGs.
- Legacy-Id: 7556
2014-04-01 11:59:08 +00:00
Henrik Levkowetz f20a5d0cfb Changed URLs with explicit scheme from http to https.
- Legacy-Id: 7555
2014-03-31 00:25:08 +00:00
Ryan Cross 0fafe56381 allow edit of timeslots, changes to scheduled notifications, support non-official schedules
- Legacy-Id: 7554
2014-03-28 23:16:41 +00:00
Ole Laursen a38a53efd0 Replace WG with group in dependencies PDF so it doesn't say the wrong thing
- Legacy-Id: 7553
2014-03-28 15:39:12 +00:00
Henrik Levkowetz af4c6e253c Exclude empty email addresses from the send list.
- Legacy-Id: 7552
2014-03-27 22:09:37 +00:00
Ole Laursen d3efeb421f Introduce basic charter support for non-WG groups
- Legacy-Id: 7550
2014-03-27 17:06:56 +00:00
Ryan Cross 0b5fc98290 fix tests to work with secauth middleware changes
- Legacy-Id: 7549
2014-03-27 16:08:27 +00:00
Henrik Levkowetz 521b42436d The ietf/patches directory doesn't work out as intended, and causes some confusion with the /a/www/ietf-datatracker/patches/ directory on the production server.
- Legacy-Id: 7546
2014-03-26 14:27:36 +00:00
Henrik Levkowetz 5ff7ddcc5a Cosmetic change
- Legacy-Id: 7545
2014-03-26 14:25:39 +00:00
Robert Sparks e3d946999c Reworked add/edit of resources and people who must be there on session requests
- Legacy-Id: 7543
2014-03-25 22:29:58 +00:00
Ole Laursen 25625a0241 Add support for RG Chairs for pre-approving draft submissions. Also fixup the preapproval JS so it auto-focuses the draft name text input when you click one of the prefilled names.
- Legacy-Id: 7542
2014-03-25 12:14:41 +00:00
Ole Laursen c125ca1c64 Fix edit pages and milestones functionality to work with RGs - currently the IRTF Chair takes the same role as the AD
- Legacy-Id: 7541
2014-03-25 11:50:24 +00:00
Ole Laursen cb1e72ad21 Fix problem with related documents on the /rg/ pages
- Legacy-Id: 7540
2014-03-24 16:27:34 +00:00
Henrik Levkowetz 5549088331 With the complications caused by the TransactionMiddleware gone, we can use Django's default login() and logout() views.
- Legacy-Id: 7539
2014-03-23 23:17:15 +00:00
Henrik Levkowetz 29fe2e87ea Django's transaction handling changed in 1.6, and the TransactionMiddleware is now deprecated. It turns out (after much debugging) that if you still have it in the middleware list, the logout() view will fail. Removing it so we can go forward with Django auth.
- Legacy-Id: 7538
2014-03-23 23:15:50 +00:00
Henrik Levkowetz 721b9a5cd7 Login/logout style tweaks.
- Legacy-Id: 7537
2014-03-23 19:18:02 +00:00
Henrik Levkowetz 475bcbbd30 Working django-auth login and logout views. Password import from htpasswd file still needed.
- Legacy-Id: 7536
2014-03-23 18:27:14 +00:00
Ole Laursen ad357e0068 Parameterize the <wg> in /wg/<acronym> to allow for RGs, add simple /rg/ overview page based on similar /wg/ overview page, fix links and other WG/RG-specific details. All the basic pages under /rg/ now appear to be working for RGs. Edit pages and permissions are not adapted yet, though.
- Legacy-Id: 7535
2014-03-22 13:11:23 +00:00
Henrik Levkowetz 5a424fe2da Merged in [7153] from rjsparks@nostrum.com:
Fixed a typo in code that looks for the IRTF chair email address while adding replaces relationships.
Made that code slightly more robust.
Fixes ticket #1253
 - Legacy-Id: 7531
Note: SVN reference [7153] has been migrated to Git commit 99c01fa54a
2014-03-21 11:55:51 +00:00
Robert Sparks 73c4f694ca remove agenda from the meeting creation/edit form - that is managed elsewhere now
- Legacy-Id: 7528
2014-03-19 21:00:14 +00:00
Henrik Levkowetz 1d246b8b1f Set version info and settings back to development mode
- Legacy-Id: 7526
2014-03-19 20:41:22 +00:00
Henrik Levkowetz 56f25cb4a9 Set version info to release version 5.2.0 before branching.
- Legacy-Id: 7524
2014-03-19 20:41:19 +00:00
Henrik Levkowetz e1c543fd35 Modified the test crawler to save a log file and to provide more console output to help predict remaining runtime.
- Legacy-Id: 7522
2014-03-19 20:28:07 +00:00
Henrik Levkowetz ff0dbe0d52 Merged in source:personal/henrik/r7446-pyflakes@7463, which adds pyflakes tests to the test suite, and makes the code pyflakes-clean.
- Legacy-Id: 7521
2014-03-19 18:48:33 +00:00
Ole Laursen 9ddecc1970 Remove uses of gzip middleware - the decorator thing breaks the ETags for some reason, as noted in issue #518, and it seems consensus is that we should do this in Apache instead for the whole site
- Legacy-Id: 7519
2014-03-19 17:40:21 +00:00
Henrik Levkowetz 6f4a5bd3f7 Set version info and settings back to development mode
- Legacy-Id: 7518
2014-03-18 21:50:06 +00:00
Henrik Levkowetz 06171defff Set version info to release version 5.1.1 before branching.
- Legacy-Id: 7516
2014-03-18 21:50:01 +00:00
Henrik Levkowetz 37c18f351d Avoid duplicate materials sections for groups with multiple sessions.
- Legacy-Id: 7514
2014-03-18 21:38:28 +00:00
Henrik Levkowetz 86d8d7509f Merged [7456] from rjsparks@nostrum.com: Patched meeting/ajax to close permissions vulnerability. Tweaked tests to check the right functionality given the permissions policy currently in trunk
- Legacy-Id: 7513
Note: SVN reference [7456] has been migrated to Git commit 1a3c2ce431
2014-03-18 20:13:51 +00:00
Henrik Levkowetz ba43ac0de3 Merged [7447] from rjsparks@nostrum.com: Cache the dependency graph pdf for an hour.
- Legacy-Id: 7512
Note: SVN reference [7447] has been migrated to Git commit 1afc7ada13
2014-03-18 20:09:13 +00:00
Robert Sparks be81557611 Shifted building the edit time slices from looking at scheduledsessions to looking at timeslots
- Legacy-Id: 7511
2014-03-17 21:49:01 +00:00
Robert Sparks 0d5a940f55 Create no ScheduledSessions with session=None
- Legacy-Id: 7510
2014-03-17 18:54:11 +00:00
Henrik Levkowetz c19268f6a1 A second pass of pyflakes cleanup, removing additional bulk imports, fixing a bug in get_initial_notify(), and removing some dead (and buggy) code.
- Legacy-Id: 7509
2014-03-16 22:15:46 +00:00
Robert Sparks ad54cfe230 resolved an ambiguous URL pattern added to secr.sreq.urls and (hopefully) fixed a broken form initializer in code added to secr/sreq/forms
- Legacy-Id: 7508
2014-03-16 21:32:13 +00:00
Robert Sparks 59fe8ee3bf Valid name for initial schedule
- Legacy-Id: 7507
2014-03-16 19:07:51 +00:00
Henrik Levkowetz 87a944ff04 Changed the resolution committed in [7494] so that chairs will be Cc:ed on milestone review reminder emails.
- Legacy-Id: 7506
Note: SVN reference [7494] has been migrated to Git commit 6ca43d5c91
2014-03-16 18:32:14 +00:00
Henrik Levkowetz 0643f3c542 Added a pyflakes test.
- Legacy-Id: 7505
2014-03-16 18:24:31 +00:00
Henrik Levkowetz 70e0fbba00 Removed unnecessary coding indication.
- Legacy-Id: 7504
2014-03-16 18:21:36 +00:00
Henrik Levkowetz f0faed513e Added settings for the default pyflakes and vulture argument (top ietf/ directory).
- Legacy-Id: 7503
2014-03-16 18:17:46 +00:00
Henrik Levkowetz b9cbb236dd Renamed flakes.py to pyflakes, and fixed the import setup so it won't try to import itself. Added verbosity control.
- Legacy-Id: 7502
2014-03-16 18:16:37 +00:00
Henrik Levkowetz 613033143c Made ietf/release pyflakes-clean.
- Legacy-Id: 7500
2014-03-16 08:06:45 +00:00
Henrik Levkowetz 870be71f79 Made ietf/submit pyflakes-clean.
- Legacy-Id: 7499
2014-03-16 08:03:15 +00:00
Henrik Levkowetz 8e9f835651 Made ietf/sync pyflakes-clean.
- Legacy-Id: 7498
2014-03-16 07:49:21 +00:00
Henrik Levkowetz 6606538453 Fixed mistaken outcomment.
- Legacy-Id: 7497
2014-03-16 07:48:59 +00:00
Henrik Levkowetz 49edc7404e Made ietf/utils pyflakes-clean.
- Legacy-Id: 7496
2014-03-16 07:26:03 +00:00
Henrik Levkowetz 02031a01b9 Cleaned out some (arbitrary) submodule name imports into ietf.utils, and made the corresponding import statements import the names directly from the correct submodules.
- Legacy-Id: 7495
2014-03-16 07:09:38 +00:00
Henrik Levkowetz 6ca43d5c91 Made ietf/wginfo pyflakes-clean, and fixed some potential issues in ietf/wginfo/mails.py.
- Legacy-Id: 7494
2014-03-16 06:54:00 +00:00
Henrik Levkowetz 865f221225 Finished up making ietf/secrpyflakes-clean. Removed some dead code.
- Legacy-Id: 7493
2014-03-15 23:32:21 +00:00
Henrik Levkowetz f9b76bff13 Made ietf/secr/proceedings pyflakes-clean.
- Legacy-Id: 7492
2014-03-15 23:31:09 +00:00
Henrik Levkowetz c4c8effcde Made ietf/secr/sreq pyflakes-clean.
- Legacy-Id: 7491
2014-03-15 23:30:48 +00:00
Henrik Levkowetz 0b65b383f8 Made ietf/secr/rolodex pyflakes-clean.
- Legacy-Id: 7490
2014-03-15 23:30:31 +00:00
Henrik Levkowetz b20382729c Corrected an import bug.
- Legacy-Id: 7489
2014-03-15 23:29:45 +00:00
Henrik Levkowetz ef0c4206f5 Made ietf/secr/middleware pyflakes-clean.
- Legacy-Id: 7488
2014-03-15 23:27:10 +00:00
Henrik Levkowetz 4dd7b6963f Made ietf/secr/meetings pyflakes-clean and fixed a bug in the signature of is_combined()
- Legacy-Id: 7487
2014-03-15 23:25:59 +00:00
Henrik Levkowetz aeaf0413a6 Made ietf/secr/telechat pyflakes-clean.
- Legacy-Id: 7486
2014-03-15 23:24:19 +00:00
Henrik Levkowetz 6e9469da01 Made ietf/secr/areas pyflakes-clean.
- Legacy-Id: 7485
2014-03-15 23:22:48 +00:00
Henrik Levkowetz 3893061219 Fixed the use of a non-existing model in AddAreaForm. It does however look like this form isn't used anywhere, so I've also commented the code out for now.
- Legacy-Id: 7484
2014-03-15 23:22:03 +00:00
Henrik Levkowetz b9d6d0295e Made ietf/secr/ipradmin pyflakes-clean.
- Legacy-Id: 7483
2014-03-15 22:10:11 +00:00
Henrik Levkowetz 498777ad24 Made ietf/secr/{drafts,roles,ipradmin} pyflakes-clean.
- Legacy-Id: 7482
2014-03-15 22:06:48 +00:00
Henrik Levkowetz 5bbbe24e91 Made ietf/secr/announcement pyflakes-clean.
- Legacy-Id: 7481
2014-03-15 21:37:19 +00:00
Henrik Levkowetz 8a6c121073 Made ietf/secr/groups pyflakes-clean.
- Legacy-Id: 7480
2014-03-15 21:13:21 +00:00
Henrik Levkowetz b6f15be079 Made ietf/redirects pyflakes-clean.
- Legacy-Id: 7479
2014-03-15 20:56:28 +00:00
Robert Sparks e5fa8339f7 missed commits at top level for the merge forward - catching up on the things that were not in ietf. Made one ietf/url tweak for static tests
- Legacy-Id: 7478
2014-03-15 20:20:13 +00:00
Henrik Levkowetz df432f8888 Made ietf/person pyflakes-clean. Fixed a bug where Person.role_email() might blow up if given a group parameter.
- Legacy-Id: 7477
2014-03-15 19:37:25 +00:00
Henrik Levkowetz 563f584a9e Made ietf/nomcom pyflakes-clean. Removed some dead code.
- Legacy-Id: 7476
2014-03-15 19:26:01 +00:00
Henrik Levkowetz e9cae5f1da Made ietf/name pyflakes-clean.
- Legacy-Id: 7475
2014-03-15 19:12:22 +00:00
Henrik Levkowetz 8f224af90c Made ietf/message pyflakes-clean.
- Legacy-Id: 7474
2014-03-15 19:02:23 +00:00
Henrik Levkowetz c296cb479f Made ietf/meeting pyflakes-clean. Removed some debug-related dead code.
- Legacy-Id: 7473
2014-03-15 18:57:07 +00:00
Henrik Levkowetz c8fd0dafde Made ietf/mailinglists pyflakes-clean.
- Legacy-Id: 7472
2014-03-15 18:15:08 +00:00
Henrik Levkowetz 12f6a55dbd Made ietf/liaisons pyflakes-clean, which also fixed several places the code would crash. The IRTF chair can never have been able to use the liaison tool without getting a server 500 ...
- Legacy-Id: 7471
2014-03-15 18:10:35 +00:00
Henrik Levkowetz 3ed711336d Made ietf/ipr pyflakes-clean
- Legacy-Id: 7470
2014-03-15 17:54:37 +00:00
Henrik Levkowetz 828836239f Made ietf/ietfauth pyflakes-clean, additional commit.
- Legacy-Id: 7469
2014-03-15 17:45:03 +00:00
Henrik Levkowetz 78e0301f02 Made ietf/ietfauth pyflakes-clean.
- Legacy-Id: 7468
2014-03-15 17:43:07 +00:00
Henrik Levkowetz 8f6a21daf6 Made ietf/iesg pyflakes-clean.
- Legacy-Id: 7467
2014-03-15 17:38:56 +00:00
Henrik Levkowetz ab069c4570 Made ietf/idindex/ pyflakes-clean.
- Legacy-Id: 7466
2014-03-15 17:17:25 +00:00
Henrik Levkowetz 2a551bb35b Made ietf/group/ pyflakes-clean.
- Legacy-Id: 7465
2014-03-15 17:02:52 +00:00
Henrik Levkowetz 108fe6b03f Fixed some pyflakes issues in the merged code.
- Legacy-Id: 7464
2014-03-15 16:32:11 +00:00
Henrik Levkowetz b9c38d3c06 Merged pyflakes fixes forward to new copy of trunk.
- Legacy-Id: 7463
2014-03-15 16:27:05 +00:00
Henrik Levkowetz 5bef5d11ae Made doc/ pyflakes-clean.
- Legacy-Id: 7462
2014-03-15 16:09:47 +00:00
Robert Sparks 08ae032169 added a roomresource to the meeting test data
- Legacy-Id: 7460
2014-03-14 20:24:03 +00:00
Robert Sparks 62600beefa improved test of scheduledsessions_json, added tests for extending a session
- Legacy-Id: 7459
2014-03-14 03:39:42 +00:00
Robert Sparks 1ef73b5a76 Reworked the worst of the conflicting permissions policies
- Legacy-Id: 7458
2014-03-13 20:45:06 +00:00
Robert Sparks f4a72ffe2a cleaned up permissions on dajaxice calls, ported and expanded more tests, refactored sendEmail, made a secr filter more robust
- Legacy-Id: 7457
2014-03-13 18:47:31 +00:00
Robert Sparks 1a3c2ce431 Patched meeting/ajax to close permissions vulnerability. Tweaked tests to check the right functionality given the permissions policy currently in trunk
- Legacy-Id: 7456
2014-03-13 17:39:34 +00:00
Ryan Cross 37b758b04e changes to support django authentication
- Legacy-Id: 7454
2014-03-13 00:06:16 +00:00
Robert Sparks f292af9949 minor comments and one addition to test_save_agenda...
- Legacy-Id: 7453
2014-03-12 17:34:27 +00:00
Robert Sparks ad2784962f ported forward from personal/rjs/trunk-7174. Still one existing test failing
- Legacy-Id: 7449
2014-03-08 10:37:24 +00:00
Robert Sparks 1afc7ada13 Cache the dependency graph pdf for an hour. Commit ready for merge.
- Legacy-Id: 7447
2014-03-06 18:10:27 +00:00
Henrik Levkowetz e78931cf7c Merged [7445] from rjsparks@nostrum.com: Adds dependency graphs for drafts belonging to a group.
Removes links to Bill's dependency tools.
Fixes bug #536.
 - Legacy-Id: 7446
Note: SVN reference [7445] has been migrated to Git commit 74e4ff72e9
2014-03-06 18:03:45 +00:00
Robert Sparks 74e4ff72e9 Adds dependency graphs for drafts belonging to a group.
Removes links to Bill's dependency tools.
Fixes bug #536.
Commit ready to merge.
 - Legacy-Id: 7445
2014-03-06 16:29:35 +00:00
Ole Laursen c0e34dbcad Fix a crash bug in the redirection logic that occurs when someone
posts a draft without an access token from the email confirmation step
 - Legacy-Id: 7421
2014-03-06 11:27:50 +00:00
Ole Laursen 649618626e Redo the quickfix to the "Send and Post" button bug (mentioned in
issue #1308) so that we still do the validation correctly, but just
always show the button (even if it's unusable)
 - Legacy-Id: 7416
2014-03-05 17:39:13 +00:00
Henrik Levkowetz d4c0102537 Set version info and settings back to development mode
- Legacy-Id: 7415
2014-03-05 17:20:44 +00:00
Henrik Levkowetz a0311b7ee8 Set version info to release version 5.1.0 before branching.
- Legacy-Id: 7413
2014-03-05 17:20:35 +00:00
Henrik Levkowetz bb029db147 Merged [7400] from rcross@amsl.com: fix bugs with decorators.check_permissions() to allow upload to top level group and fix plenary check.
- Legacy-Id: 7408
Note: SVN reference [7400] has been migrated to Git commit 03643cb0344f9a04e0f0041f9c1ace6a82375da2
2014-03-04 21:44:37 +00:00
Henrik Levkowetz e1efe561da Merged [7397] from rcross@amsl.com: fix bug where build_nonsession() not creating ScheduledSession objects.
- Legacy-Id: 7406
Note: SVN reference [7397] has been migrated to Git commit 0f0bcd0da3ccf98b5449e6dd1d98a431726986eb
2014-03-04 21:21:01 +00:00
Henrik Levkowetz b945275478 Merged [7386] from tterriberry@mozilla.com: Describe needed positions in document ballot mail.
This uses doc.utils.needed_ballot_positions() to calculate what is
 needed.
Fixes #924.
 - Legacy-Id: 7405
Note: SVN reference [7386] has been migrated to Git commit d42ccbe741
2014-03-04 20:52:15 +00:00
Henrik Levkowetz 8ff8056581 Merged [7383] from jmh@joelhalpern.com: fixes ticket #924
Changes counting logic in ballots to use actual number of ADs.
Causes ballot email to use utility to generate requirements text
 - Legacy-Id: 7404
Note: SVN reference [7383] has been migrated to Git commit 271c48c9c47bf63bee2289fad9224b624c388fba
2014-03-04 18:22:29 +00:00
Henrik Levkowetz 6235fa762a Merged in part of [7375] from jmh@joelhalpern.com.
Fixed missing mailto: addresses in the meeting requests page.  Fixes issue #1126.
 - Legacy-Id: 7403
Note: SVN reference [7375] has been migrated to Git commit 5f89d9ab996c4b0519ec23accb288e02961c62bf
2014-03-04 18:15:34 +00:00
Henrik Levkowetz ebc6608387 Merged in part of [7375] from jmh@joelhalpern.com.
Now sending draft update notices to IRSG for IRTF stream drafts.  Fixes issue #1227.
 - Legacy-Id: 7402
Note: SVN reference [7375] has been migrated to Git commit 5f89d9ab996c4b0519ec23accb288e02961c62bf
2014-03-04 18:12:38 +00:00
Henrik Levkowetz b297c67765 Merged [7396] from rcross@amsl.com: updated test for clean_up_draft_files.
- Legacy-Id: 7401
Note: SVN reference [7396] has been migrated to Git commit 852509c96d983e595fa082e13b771a7f89771803
2014-03-04 17:47:26 +00:00
Timothy B. Terriberry d42ccbe741 Describe needed positions in document ballot mail.
This uses doc.utils.needed_ballot_positions() to calculate what is
 needed.
Fixes #924.
Commit ready to merge.
 - Legacy-Id: 7386
2014-03-01 19:08:09 +00:00
Henrik Levkowetz 93e161b2c6 Merged in [7380] from bartosz.balazinski@interdigital.com:
Changed the URL for some acoount settings from /cookies to /account/settings.

Fixes ticket #806,
 - Legacy-Id: 7385
Note: SVN reference [7380] has been migrated to Git commit af302582b0a9f36941ef15b39bf52c2a51fbafe1
2014-03-01 18:57:30 +00:00
Henrik Levkowetz b91524fabc Merged [7368] from rjsparks@nostrum.com: Improves the detail in the messages sent when creating tickets about failed sent email.
Changes a locally defined exception name to look less like one already defined in smtplib.
This is related to ticket #1208.
 - Legacy-Id: 7382
Note: SVN reference [7368] has been migrated to Git commit 08f13239c9beb6dcb0be978e800b82c4104b61e7
2014-03-01 18:13:43 +00:00
Henrik Levkowetz dbc82f2b22 Merged [7365] from rjsparks@nostrum.com: Improve handling of status-change relation form submission when conditions (such as not running javascript) lead to the POST missing required fields.
- Legacy-Id: 7381
Note: SVN reference [7365] has been migrated to Git commit 9a7b186616823029fbe6bac5907bad50c5203e97
2014-03-01 18:08:43 +00:00
Robert Sparks ff48d32c08 Migration to repair missing StateDocEvents from wg chairs using
the datatracker to request publication of ietf stream documents.

Incremental improvement to the request publication view to create
those StateDocEvents going forward.

This is related to bug #1312
Commit ready to merge
 - Legacy-Id: 7371
2014-02-28 17:14:18 +00:00
Henrik Levkowetz 4bb4eb779c Replaced the 40 MB of code in the fill_in_references script with an explanatory note.
- Legacy-Id: 7369
2014-02-25 22:03:34 +00:00
Henrik Levkowetz 0eefa5760c Added a management command to run pyflakes, with the added feature of being able to mark individual lines with # pyflakes:ignore, which is needed in some cases.
- Legacy-Id: 7367
2014-02-25 20:22:20 +00:00
Henrik Levkowetz 14d629afe9 Fixed another bug in the non-production setup.
- Legacy-Id: 7344
2014-02-25 18:12:14 +00:00
Henrik Levkowetz ec58068139 Fixed a bug in the check for a SECRET_KEY setting
- Legacy-Id: 7343
2014-02-25 18:01:51 +00:00
Henrik Levkowetz 2f072a90ee Set version info and settings back to development mode
- Legacy-Id: 7300
2014-02-25 15:53:59 +00:00
Henrik Levkowetz 8b049ec2d1 Set version info to release version 5.0.2 before branching.
- Legacy-Id: 7298
2014-02-25 15:53:55 +00:00
Henrik Levkowetz 3f55454724 Merged [7292] from rjsparks@nostrum.com: Allow 1-3 digit RFCs in status change documents.
Fixes bug #1321
 - Legacy-Id: 7295
Note: SVN reference [7292] has been migrated to Git commit 31808eccb2
2014-02-24 23:10:21 +00:00
Robert Sparks 31808eccb2 Allow 1-3 digit RFCs in status change documents.
Fixes bug #1321
Commit ready for merge
 - Legacy-Id: 7292
2014-02-24 15:43:32 +00:00
Henrik Levkowetz b1ae148580 Extend the set of allowed hosts slightly.
- Legacy-Id: 7291
2014-02-22 20:37:47 +00:00
Robert Sparks 7c90ea5aa3 Merged in Michael's update to newer dajaxice.
Repaired the existing tests in trunk except for one.

That one points to a real bug in the code - the access protection for the functions that change visible and public for an agenda are not right, leading to pages that can't work (see the failing test for more notes).

This should be ready to start porting the updated tests into the make_test_data framework.
 - Legacy-Id: 7283
2014-02-20 21:50:37 +00:00
Henrik Levkowetz 2f274bdad8 Changed the use of non-existing variable 'ascii' to 'person.ascii'. Fixes a server failure for person alias creation during draft submissions.
- Legacy-Id: 7277
2014-02-20 12:39:34 +00:00
Henrik Levkowetz 722a008d25 Fixed overflow error for meetings without timeslots, which gave server errors for meeting/64/agenda.html.
- Legacy-Id: 7276
2014-02-20 11:26:52 +00:00
Henrik Levkowetz 980ad98180 Merged in [7204] from rjsparks@nostrum.com:
Adds the IAB-parented sessions to the set of things returned as \'areas\'.
    Fixes bug #1288
 - Legacy-Id: 7272
Note: SVN reference [7204] has been migrated to Git commit b1e0ba3d1b
2014-02-19 21:39:49 +00:00
Henrik Levkowetz dfd9b98de8 Reapplied merge of [7209], which although listed in svn:mergeinfo on . actually doesn't seem to have made it into the repository.
- Legacy-Id: 7265
Note: SVN reference [7209] has been migrated to Git commit 8d56e458d9
2014-02-19 14:53:45 +00:00
Henrik Levkowetz bcbc22f45b Only show a link to the tools page for a group if the tools page is likely to exist, i.e., the group is a WG and it is or has been active.
- Legacy-Id: 7264
2014-02-19 14:41:29 +00:00
Henrik Levkowetz 5fd513e9cd Added a logging filter to filter out the 'Invalid HTTP_HOST' emails.
- Legacy-Id: 7263
2014-02-18 23:10:03 +00:00
Henrik Levkowetz ad1194799a Changed the SECRET_KEY setting to take account of the settings in settings_local.
- Legacy-Id: 7262
2014-02-18 23:06:53 +00:00
Henrik Levkowetz 9ea9ba1d66 Merged in [7138] from rjsparks@nostrum.com:
Reworked SMTP Exception handling, adding sending a ticket to the secretariat when there are errors handing messages off for delivery.
Added SMTP exception handling to send-scheduled-mail.
This is related to ticket #1208
 - Legacy-Id: 7256
Note: SVN reference [7138] has been migrated to Git commit 64727c1c33
2014-02-17 18:55:37 +00:00
Henrik Levkowetz 1c6c3835e8 Typo fixes.
- Legacy-Id: 7254
2014-02-17 12:42:43 +00:00
Henrik Levkowetz 49d5f1a010 Set version info and settings back to development mode
- Legacy-Id: 7252
2014-02-16 18:36:46 +00:00
Henrik Levkowetz c09bcebdb3 Set version info to release version 5.0.1 before branching.
- Legacy-Id: 7250
2014-02-16 18:36:43 +00:00
Henrik Levkowetz f59983ccd1 Merged [7236] from rcross@amsl.com: Ticket #1308: fix Liaison Add CSRF token error and missing Post and Send button.
- Legacy-Id: 7246
Note: SVN reference [7236] has been migrated to Git commit ba6d31fd27
2014-02-16 16:58:54 +00:00
Henrik Levkowetz 5d1bdde730 Added control by the --verbosity switch of the not loaded template test and not tested urls test, so they only will be run for verbosity greater than 1.
- Legacy-Id: 7244
2014-02-16 16:49:34 +00:00
Henrik Levkowetz c52d7c00fe Removed a debug statement.
- Legacy-Id: 7243
2014-02-16 16:29:29 +00:00
Henrik Levkowetz 08c0b601c3 Merged [7214] from rcross@amsl.com: change old references to pub.ietf.org, to datatracker.ietf.org/secr/.
- Legacy-Id: 7242
Note: SVN reference [7214] has been migrated to Git commit b9552a9331
2014-02-16 16:28:47 +00:00
Henrik Levkowetz 1b3bbad040 Merged [7213] from rcross@amsl.com: add missing template unauthorized.html.
- Legacy-Id: 7241
Note: SVN reference [7213] has been migrated to Git commit 913d90b90a
2014-02-16 16:26:35 +00:00
Henrik Levkowetz 057dd43c73 Fixed a probem with wrong URLs in atom feeds, caused by caching. Fixes issue #1307.
- Legacy-Id: 7239
2014-02-16 15:45:06 +00:00
Henrik Levkowetz 4abe34e34b Workaround for missing CSRF tokens in liaison edit form.
- Legacy-Id: 7238
2014-02-16 15:11:16 +00:00
Henrik Levkowetz 5afcea1670 Added a blank line before new session group in the text agenda.
- Legacy-Id: 7237
2014-02-16 15:02:34 +00:00
Ryan Cross ba6d31fd27 Ticket #1308: fix Liaison Add CSRF token error and missing Post and Send button. ready for merge
- Legacy-Id: 7236
2014-02-13 19:31:12 +00:00
Henrik Levkowetz 612085779b Added a secret key to settings.py for development use. NOT for production use; that needs to go in settings_local.py
- Legacy-Id: 7234
2014-02-11 19:37:13 +00:00
Henrik Levkowetz e593d9d640 Added a warning to the draft submission page about upcoming submission cut-offs. Added a value in settings.py for the number of days before the first cut-off to display the waring.
- Legacy-Id: 7233
2014-02-11 19:28:59 +00:00
Henrik Levkowetz 07e93b599b Updated the caching settings to use memcached in production.
- Legacy-Id: 7232
2014-02-11 19:21:36 +00:00
Henrik Levkowetz 85237c62e4 Remove spurious 'yes' in meeting requests page.
- Legacy-Id: 7231
2014-02-11 18:20:43 +00:00
Henrik Levkowetz e508fbde5b Merged [7215] from rjsparks@nostrum.com: Use idnits on www.ietf.org
Fixes ticket #1200
 - Legacy-Id: 7227
Note: SVN reference [7215] has been migrated to Git commit 036d8246fa
2014-02-09 21:08:14 +00:00
Henrik Levkowetz f9ae6883bd Merged [7212] from rjsparks@nostrum.com: Removed the "Reason for (re)chartering" line from the charter main document page.
Fixes bug #1294
 - Legacy-Id: 7226
Note: SVN reference [7212] has been migrated to Git commit bef9a2db4e
2014-02-09 21:04:26 +00:00
Henrik Levkowetz 295b484bea Merged [7210] from rjsparks@nostrum.com: Allow the IRTF Chair and the ISE to request a conflict review directly through the tracker.
Notify the Secretariat when someone other than the secretariat initiates a conflict review.
Notify IANA when anyone initiates a conflict review.
Fixes tickets #1287 and #1289
 - Legacy-Id: 7225
Note: SVN reference [7210] has been migrated to Git commit a0fd974c92
2014-02-09 21:01:29 +00:00
Henrik Levkowetz c83ef0c30b Merged [7077] from rjsparks@nostrum.com: Returns "there are no ballots to view yet" rather than 404ing when the ballot link is followed for a document that exists.
It is typical for last call to be issued (which includes a link to the ballot page) well in advance of creating any ballot for a document.
Fixes bug 1233
 - Legacy-Id: 7223
Note: SVN reference [7077] has been migrated to Git commit e93b5ec296
2014-02-09 20:36:36 +00:00
Henrik Levkowetz 3abaab1d98 Merged [7076] from rjsparks@nostrum.com:
Sets the State(type=draft) to Replaced when a document is replaced using views_draft.replaces.
Sets the state back to Active or Expired when a document is no longer replaced by another document.
Adds tests for the above functionality.
Provides a patch to repair the state of documents pointed to by RelatedDocument(relationship__slug='replaces') objects created by views_draft.replaces before this fix.
Fixes bug 1234
 - Legacy-Id: 7222
Note: SVN reference [7076] has been migrated to Git commit a3da5bbd87
2014-02-09 20:33:15 +00:00
Henrik Levkowetz 086c4290b7 Merged [6361] from rjsparks@nostrum.com:
Allow the secretariat and ads to change the title of a status change
document.  Fixes bug 1141.

Applied changes to adapt the code from Django 1.2 to 1.6: Provide a
quoted string to {% url %} and use request.user.person instead of
request.user.get_profile().
 - Legacy-Id: 7221
Note: SVN reference [6361] has been migrated to Git commit 7c4cf7002f
2014-02-09 18:46:19 +00:00
Henrik Levkowetz 3c611cd5ba Fix problem with nomcom RST templates not being rendered under Django 1.6.
- Legacy-Id: 7219
2014-02-09 17:33:39 +00:00
Robert Sparks 036d8246fa Use idnits on www.ietf.org
Fixes ticket #1200
Commit ready for merge
 - Legacy-Id: 7215
2014-02-07 21:26:47 +00:00
Ryan Cross b9552a9331 change old references to pub.ietf.org, to datatracker.ietf.org/secr/. ready for merge
- Legacy-Id: 7214
2014-02-06 21:10:08 +00:00
Ryan Cross 913d90b90a add missing template unauthorized.html. ready for merge
- Legacy-Id: 7213
2014-02-06 20:42:44 +00:00
Robert Sparks bef9a2db4e Removed the "Reason for (re)chartering" line from the charter main document page.
Fixes bug #1294
Commit ready for merge
 - Legacy-Id: 7212
2014-02-06 19:58:29 +00:00
Robert Sparks a0fd974c92 Allow the IRTF Chair and the ISE to request a conflict review directly through the tracker.
Notify the Secretariat when someone other than the secretariat initiates a conflict review.
Notify IANA when anyone initiates a conflict review.

Fixes tickets #1287 and #1289

Commit ready for merge
 - Legacy-Id: 7210
2014-02-06 04:25:33 +00:00
Ryan Cross 8d56e458d9 fix typo in drafts add(). ready for merge
- Legacy-Id: 7209
2014-02-05 21:24:59 +00:00
Henrik Levkowetz 690c36cd8a Merged [6359] from rjsparks@nostrum.com:
Send email to the secretariat when a status change document is put directly into the last-call-requested state.
Fixes bug 1139.
 - Legacy-Id: 7208
Note: SVN reference [6359] has been migrated to Git commit faabcb8328
2014-02-04 23:28:48 +00:00
Henrik Levkowetz 62e7b515a8 Added stream change and state change emails in adopt_draft() -- otherwise we wouldn't have the state change emails assumed in the previous commit. See issue #1246.
- Legacy-Id: 7207
2014-02-04 23:27:40 +00:00
Henrik Levkowetz 41c1c1a5fe Removing the extra (misleading) draft about WG adoption which is sent out in addition to the state change emails when a call for addoption (WG) or adoption (RG) is done using the 'Adopt Draft in Group' form. The state change messages should be sufficient, and are not misleading. Fixes issue #1246 (and 1290).
- Legacy-Id: 7206
2014-02-04 22:00:07 +00:00
Henrik Levkowetz 35cadc1763 Don't show deprecation warning during tests for verbosity < 2
- Legacy-Id: 7205
2014-02-04 21:35:19 +00:00
Robert Sparks b1e0ba3d1b Adds the IAB-parented sessions to the set of things returned as "areas"
Fixes bug #1288
Commit ready for merge
 - Legacy-Id: 7204
2014-02-04 15:59:34 +00:00
Robert Sparks accbf3db72 Cleaned up some exceptions that were leading to quiet 500s when setting an official agenda.
The secretariat code being reused expects querysets, not lists.
Some objects needed to be saved before other functions tried to operate on them.
 - Legacy-Id: 7201
2014-02-03 21:15:28 +00:00
Robert Sparks 91d0261c9e Django 1.4 changed how to get to request entities. See <https://docs.djangoproject.com/en/dev/releases/1.4/#httprequest-raw-post-data-renamed-to-httprequest-body>
- Legacy-Id: 7200
2014-02-03 15:43:22 +00:00
Henrik Levkowetz 908aacceff Handle the case in is_downref() where the src file doesn't have a std_level or intended_std_level set.
- Legacy-Id: 7198
2014-01-31 19:08:49 +00:00
Henrik Levkowetz 04d940534d Modified ALLOWED_HOSTS to permit some (surprising) alternative HTTP_HOST names. Are these a result of queries proxied through other ietf.org domains? The numerical address is the mail server address. We should find out why that appears, and see if it can be made to appear as mail.ietf.org instead.
- Legacy-Id: 7197
2014-01-31 19:07:37 +00:00
Robert Sparks 5cdfe6adbf reasonably complete merge, but some of the newer-style tests are failing because the js API changed
- Legacy-Id: 7188
2014-01-31 01:13:53 +00:00
Henrik Levkowetz fd5aac4583 Set version info and settings back to development mode
- Legacy-Id: 7187
2014-01-30 21:11:34 +00:00
Henrik Levkowetz 79f14d9970 Set version info to release version 5.0.0 before branching.
- Legacy-Id: 7185
2014-01-30 21:11:30 +00:00
Henrik Levkowetz e67a78bf44 Merged in [7172], an additional django-port tweak from olau@iola.dk.
- Legacy-Id: 7180
2014-01-28 21:40:08 +00:00
Henrik Levkowetz 78b09b0c4e Merged [7174] from rcross@amsl.com:
fix build_nonsession for new db schema, and path to roles ajax call
 - Legacy-Id: 7179
Note: SVN reference [7174] has been migrated to Git commit 7e38c4becd
2014-01-28 21:17:07 +00:00
Henrik Levkowetz a07e2cfbc3 Merged [7151] from rcross@amsl.com:
Ticket #1248: catch DoesNotExist errors with user.get_profile() when user does not have a corresponding Person record.
 - Legacy-Id: 7178
Note: SVN reference [7151] has been migrated to Git commit d119b33a1a
2014-01-28 21:15:41 +00:00
Henrik Levkowetz 5dd0aa075d Merged [7073] from rcross@amsl.com:
changes to official proceedings generation code to support new agenda schema
 - Legacy-Id: 7177
Note: SVN reference [7073] has been migrated to Git commit 35a94362a1
2014-01-28 21:12:49 +00:00
Robert Sparks 42e4caa5ed Attempt to bring trunk fixes and branch updates together
- Legacy-Id: 7176
2014-01-28 20:19:19 +00:00
Ryan Cross 7e38c4becd fix build_nonsession for new db schema, and path to roles ajax call
- Legacy-Id: 7174
2014-01-28 14:11:13 +00:00
Ole Laursen 5200a8170b Commit patch from r7172 to make the check for whether a draft
submitter is also one of the authors of the draft more robust on
djangoport branch too so it doesn't get lost in the noise
 - Legacy-Id: 7173
2014-01-28 11:23:52 +00:00
Henrik Levkowetz 2d420fac34 Merged additional django-port and shim-removal tweaks from olau@iola.dk: branch/iola/djangoport@7167.
- Legacy-Id: 7168
2014-01-26 16:30:52 +00:00
Ole Laursen e2554a6a0c It turns out that Django resetting the user if REMOTE_USER is not passed in is a problem on live to, so switch the whole code base to using the middleware to set REMOTE_USER from the logged in user if not passed in from the outside
- Legacy-Id: 7167
2014-01-24 14:30:00 +00:00
Ole Laursen 32874a2c89 Move draft files to archive when setting the draft state to RFC,
fixes #1254.
 - Legacy-Id: 7157
2014-01-23 11:41:22 +00:00
Ole Laursen 4525c22b54 Remove Python 2.6 compatibility hack
- Legacy-Id: 7156
2014-01-23 11:27:29 +00:00
Robert Sparks 99c01fa54a Fixed a typo in code that looks for the IRTF chair email address while adding replaces relationships.
Made that code slightly more robust.
Fixes ticket #1253
Commit ready for merge
 - Legacy-Id: 7153
2014-01-21 20:53:07 +00:00
Henrik Levkowetz 6e97c2c8da Merged in the port from Django 1.2 to Django 1.6 from olau@iola.dk: branch/iola/djangoport@7121, and fixed some merge issues.
- Legacy-Id: 7152
2014-01-18 21:02:40 +00:00
Ryan Cross d119b33a1a Ticket #1248: catch DoesNotExist errors with user.get_profile() when user does not have a corresponding Person record.
- Legacy-Id: 7151
2014-01-17 23:04:17 +00:00
Ole Laursen 1ab82bdbed Replace the somewhat fragile query for specific state descriptions
with a query for the appropriate event types, this should work now
that new events set the correct type and old events have been migrated
 - Legacy-Id: 7140
2014-01-15 23:32:17 +00:00
Ole Laursen 697f76bf84 Add migration to convert old state change events to StateDocEvents
with type changed_state from changed_document, this allows us to
easily query for them
 - Legacy-Id: 7139
2014-01-15 23:30:12 +00:00
Robert Sparks 64727c1c33 Reworked SMTP Exception handling, adding sending a ticket to the secretariat when there are errors handing messages off for delivery.
Added SMTP exception handling to send-scheduled-mail.

This is related to ticket #1208
 - Legacy-Id: 7138
2014-01-15 21:29:27 +00:00
Ole Laursen 886b6df981 Add match for "IESG state changed"
- Legacy-Id: 7130
2014-01-15 18:19:02 +00:00
Ole Laursen 87ca10d122 Remove usage of log_state_changed (and duplicate in
doc/utils_charter.py) in favour of add_state_change_event which has
slightly better API but otherwise does basically the same except it
sets an event type we can later search for. Also expand tests slightly
to exercise three more templates.
 - Legacy-Id: 7129
2014-01-15 17:52:00 +00:00
Ole Laursen 6b2d50db93 Implement missing charter tests as found by the coverage check
- Legacy-Id: 7127
2014-01-14 15:50:03 +00:00
Ole Laursen 7e00fa1424 Move the Secretariat group email utility to wginfo and the rest of the wgcharter stuff to doc/(views|urls|utils)_charter.py alongside the other document types
- Legacy-Id: 7121
2014-01-13 16:08:58 +00:00
Ole Laursen c4313a4f42 Add rel="nofollow" to a couple of the account links to prevent the
test crawler from going to /account/login/ and getting an error back,
with this change the crawler currently runs without reporting any
errors
 - Legacy-Id: 7114
2014-01-13 12:21:46 +00:00
Ole Laursen 591e90a7a0 Put a proper command-line interface on the test crawler, spit out number of errors (if any), also add wrapper script for running the test-crawler and idindex generation scripts, in the future other (safe, non-mutating) scripts operating on real data can be added too
- Legacy-Id: 7107
2014-01-12 16:55:42 +00:00
Ole Laursen be8eb96bec Get rid of a bunch of DB queries in all_id2_txt
- Legacy-Id: 7106
2014-01-12 14:16:37 +00:00
Ole Laursen fe6c2d67c4 Replace the Http404 in release/views.py if the changelog file is not
found with a simple error message, this mimicks the way the rest of the
Datatracker is handling missing files and avoids an annoying 404 when
running the test-crawler without all directories set up
 - Legacy-Id: 7105
2014-01-10 17:55:50 +00:00
Ole Laursen 5dcd140a63 Improve test-crawler regexp so it can catch and visit linked feed URLs
- Legacy-Id: 7104
2014-01-10 17:34:33 +00:00
Ole Laursen b4dfae121b Integrate old patch for warning on the request for publication page if
intended std level and consensus is not filled in for the draft before
sending it (as per discussion with Alice Russo) - the consensus check
is skipped for ISE drafts
 - Legacy-Id: 7103
2014-01-10 17:16:12 +00:00
Ole Laursen 2196e75550 Remove more Javascript left-over includes from nomcom/ and one in community/
- Legacy-Id: 7100
2014-01-10 14:57:45 +00:00
Ole Laursen 2922495e65 Fix bug in community list, the show_field templatetag is now getting
the fields already instantiated while the tag was expecting to
instantiate them
 - Legacy-Id: 7099
2014-01-10 14:50:17 +00:00
Ole Laursen ab382a726f While cleaning up the Javascript includes in the nomcom app, it turns
out nomcom.js is included in the wrong pages, and on the pages it is
actually useful in, it's obsolete, so delete it together with the
obsoleted AJAX view and the other JS left-over cruft in nomcom/, this
fixes an include 404 and removes the remaining dependency on
jquery-1.5.1 apart from the Secretariat tools
 - Legacy-Id: 7097
2014-01-10 14:06:36 +00:00
Ole Laursen f685e45ca5 Add select_related to PositionNomineeField in nomcom app to save a
bunch of database queries
 - Legacy-Id: 7095
2014-01-10 13:13:03 +00:00
Ole Laursen 1fb05041cc Fix duplicate name in recently added stream tests
- Legacy-Id: 7093
2014-01-09 18:11:12 +00:00
Ole Laursen 29c72ab386 Add missing tests for group documents in text format and an AJAX view
- Legacy-Id: 7092
2014-01-09 18:08:42 +00:00
Ole Laursen f591735b7d Fix subtle search bug found by stream pages tests, the query was
checking a StreamName against the slug, which happened to work with
MySQL because the stream name is the same as the slug, just uppercase
- but MySQL is case insensitive
 - Legacy-Id: 7091
2014-01-09 17:52:42 +00:00
Ole Laursen be475b8996 Add missing tests of stream document pages
- Legacy-Id: 7090
2014-01-09 17:51:05 +00:00
Ole Laursen 0b27ff13ec Add missing test of AJAX person search view, found by coverage check
- Legacy-Id: 7089
2014-01-09 17:19:56 +00:00
Ole Laursen 72db45734b Add missing sync notify page test, found by coverage check
- Legacy-Id: 7088
2014-01-09 17:13:10 +00:00
Ole Laursen 84136cb5ae Add missing doc page tests, found by the coverage check
- Legacy-Id: 7087
2014-01-09 17:03:59 +00:00
Ole Laursen 86f2baea0a Move group feed from wgcharter (where it historically ended up) to wginfo, add test
- Legacy-Id: 7086
2014-01-09 16:24:54 +00:00
Robert Sparks e3d9fbabb1 Moved the target date for ending the ietf-announce header changes forward since we missed the start date.
Commit ready for merge.
Ryan - could you apply this to the current production branch as a patch and start a cron job that runs this file daily until the 24th please?
 - Legacy-Id: 7085
2014-01-08 18:56:25 +00:00
Ole Laursen 7dcaed414d Add a simple test of the dajaxice.core.js hack for the time being
- Legacy-Id: 7084
2014-01-08 18:13:10 +00:00
Ole Laursen 3db6ae14a9 Add missing test of IPR details page, as found by coverage check
- Legacy-Id: 7083
2014-01-08 18:07:43 +00:00
Ole Laursen 5c63ed982a Implement missing iesg test of milestones page, as found by the
coverage check
 - Legacy-Id: 7082
2014-01-08 17:59:00 +00:00
Ole Laursen 09859b9e6a Implement missing submit tests as spotted by the coverage check
- Legacy-Id: 7081
2014-01-08 17:47:39 +00:00
Ole Laursen 954c8fcedb Fix spelling mistake in patterns that are ignored in coverage check
- Legacy-Id: 7080
2014-01-08 17:41:40 +00:00
Ole Laursen 5e7d8c6c08 Fix auth check for editing the metadata of a submission - the path
without an access token would not allow a Secretariat user but instead
always throw an exception
 - Legacy-Id: 7079
2014-01-08 17:40:22 +00:00
Ole Laursen 8dc19fd17e Improve the coverage checker, skip some trivial views (redirects and
flat templates)
 - Legacy-Id: 7078
2014-01-08 17:00:37 +00:00
Robert Sparks e93b5ec296 Returns "there are no ballots to view yet" rather than 404ing when the ballot link is followed for a document that exists.
It is typical for last call to be issued (which includes a link to the ballot page) well in advance of creating any ballot for a document.
Fixes bug 1233
Commit ready for merge
 - Legacy-Id: 7077
2014-01-07 23:16:44 +00:00
Robert Sparks a3da5bbd87 Sets the State(type=draft) to Replaced when a document is replaced using views_draft.replaces.
Sets the state back to Active or Expired when a document is no longer replaced by another document.
Adds tests for the above functionality.
Provides a patch to repair the state of documents pointed to by RelatedDocument(relationship__slug='replaces') objects created by views_draft.replaces before this fix.

Fixes bug 1234
Commit ready for merge
 - Legacy-Id: 7076
2014-01-07 22:58:52 +00:00
Ryan Cross 35a94362a1 changes to official proceedings generation code to support new agenda schema
- Legacy-Id: 7073
2014-01-04 00:38:44 +00:00
Ole Laursen c7a2c64c10 Get rid of fixtures that were added for the meeting tests previously, they are not used anymore, and incomplete so will not load with Django 1.6
- Legacy-Id: 7070
2013-12-24 16:14:05 +00:00
Ole Laursen d5b14f3fb3 Rewrite meeting tests: add fake data generator, rewrite the
SimpleUrlTest tests to work with fake data and expand them a bit (they
are still pretty basic), rewrite the agenda editing tests to work with
the small generated fake data, delete those tests that are trivial or
only testing fixture facts as opposed to actually exercising the code,
combine some of them, expand most to actually check the returned JSON
and generally clean up the copy-paste mess of incorrect comments and
incorrect POST data.

At this point, no tests are using the real data base test machinery,
so one can run the full test suite with just

  python manage.py test --settings=settings_sqlitetest

This takes about 72 seconds one a 2.4 GHz Intel Core 2. The
test-crawler and other real data tests take somewhat longer, though.
 - Legacy-Id: 7069
2013-12-24 16:09:33 +00:00
Ole Laursen 3408b73872 Use request.POST directly instead of aliasing it to update_dict, add a
FIXME on permission naming
 - Legacy-Id: 7068
2013-12-24 15:59:01 +00:00
Ole Laursen f8b1568c87 Rewrite meeting PUTs to POSTs. For no apparent reason, parts of the
meeting AJAX code is using PUT instead of POST (even if it's not
PUT'ing in the literal sense but POST'ing). Theoretical discussions
aside, Django has poor support for PUTs turned POSTs so rewriting them
removes the need for a couple of hacks, and makes it easier to test.
 - Legacy-Id: 7067
2013-12-24 15:13:33 +00:00
Ole Laursen 083b3138c6 Rename group AJAX URL parameter to acronym instead of groupname since
it is in fact the acronym, not the name of the group
 - Legacy-Id: 7064
2013-12-24 12:49:25 +00:00
Ole Laursen c098fb4f07 Regularize meeting_json to take num instead of meeting_num like the
other meeting AJAX views
 - Legacy-Id: 7060
2013-12-23 17:19:49 +00:00
Ole Laursen 77bd8772b5 Fix interesting syntax error in group_session_mapping, += was mistyped
as =+ which is legal (assignment followed by unary +)
 - Legacy-Id: 7059
2013-12-23 16:59:21 +00:00
Ole Laursen b4fa414406 Make agenda_permission use user_is_person, rewrite it to be a little
less verbose
 - Legacy-Id: 7054
2013-12-23 16:43:44 +00:00
Ole Laursen e69ba1e8c4 Fix spelling mistakes in comments for Constraint
- Legacy-Id: 7053
2013-12-23 16:08:36 +00:00
Ole Laursen b42a1165d7 Use .first() and prevent an extra .count() query in TimeSlot.session
- Legacy-Id: 7052
2013-12-23 15:40:10 +00:00
Ole Laursen 7dc534f325 Add a couple of select_related fields to edit_timeslots to reduce
number of DB queries from 400 to 13
 - Legacy-Id: 7051
2013-12-23 13:25:22 +00:00
Ole Laursen d6d80a4a77 Make a couple of the utility methods in meeting.models use .first(),
fix potential bug in slot_to_the_right, test on location_id instead of
location in build_timeslices to speed up the edit timeslots view
 - Legacy-Id: 7050
2013-12-23 13:24:40 +00:00
Henrik Levkowetz 9417351f39 Set version info and settings back to development mode
- Legacy-Id: 7035
2013-12-20 17:08:34 +00:00
Henrik Levkowetz 77ab20dd2b Set version info to release version 4.90 before branching.
- Legacy-Id: 7033
2013-12-20 17:08:18 +00:00
Henrik Levkowetz 01c9d5ad26 Fixed a minor bug, restoring iesg agenda document page functionality after shim-layer rewrite.
- Legacy-Id: 7031
2013-12-20 16:34:19 +00:00
Ole Laursen a5f5eb84d3 With the new test discovery mechanism in Django 1.6 (inherited from
unittest2 in Python 2.7), manually importing tests from files starting
with test* will run them twice, so don't do that
 - Legacy-Id: 7030
2013-12-20 13:08:38 +00:00
Ole Laursen 3fa1834986 Remove Person.objects.by_username/by_email for now - they aren't actually in use, the email one looks suspicious in that it takes the email from the User object, and the username one does not seem generally useful; also remove the unit tests of these two which was relying on an incomplete fixture
- Legacy-Id: 7029
2013-12-20 12:13:02 +00:00
Ole Laursen fa489ce37a Upgrade Dajaxice to latest version from github (0.5.5) to make meeting agenda code work with CSRF, with url conf import fix and using json instead of deprecated simplejson from Django - add a simple view to serve dajaxice.core.js which we need because we are not using the staticfiles collection step (apparently Dajaxice hooks into that through a somewhat complicated hack)
- Legacy-Id: 7028
2013-12-20 11:59:09 +00:00
Ole Laursen 88860edba4 Use user_is_person to determine whether user is schedule owner in
agenda AJAX, instead of complicated try except
 - Legacy-Id: 7027
2013-12-20 11:55:25 +00:00
Ole Laursen fdb6baf4e6 Use collections.OrderedDict instead of the SortedDict bundled with Django
- Legacy-Id: 7026
2013-12-20 11:00:07 +00:00
Henrik Levkowetz b68bedce30 Merged in [7009] from rcross@amsl.com: removed references to old models for shim removal release.
- Legacy-Id: 7020
Note: SVN reference [7009] has been migrated to Git commit cf81cce650
2013-12-19 17:17:58 +00:00
Ole Laursen 38c153c03d Remove usage of distinct(field) in meeting/helpers.py, Django
complains that it doesn't work on MySQL and the two uses appear
superfluous anyway since they only return the field being distincted
 - Legacy-Id: 7018
2013-12-19 16:06:37 +00:00
Ole Laursen 2cc2323b06 Speed up IPR list by adding a prefetch_related() call
- Legacy-Id: 7017
2013-12-19 11:53:41 +00:00
Ryan Cross cf81cce650 remove references to old models for shim removal release. ready for merge
- Legacy-Id: 7009
2013-12-19 04:52:33 +00:00
Henrik Levkowetz d416ae7977 Merged in a fix from Ole. A different fix for the same problem was already present, but by picking Ole's fix here we avoid hassle in the next (Django-upgrade) merge.
- Legacy-Id: 6993
2013-12-18 18:39:49 +00:00
Ole Laursen defb116721 Use prefetch_related to reduce the number of queries on the search page and in idindex generation, adjust a couple of members on Document slightly to not filter on relations (filtering doesn't work with prefetch_related)
- Legacy-Id: 6992
2013-12-18 16:58:34 +00:00
Ole Laursen a656cf8a8b Add .prefetch_related on liaison list page to reduce the number of DB
queries (from 571 to 28)
 - Legacy-Id: 6991
2013-12-18 16:30:18 +00:00
Ole Laursen cb4d5b7c2b Simplify make_test_data a bit by using the create_person helper for the chair and WG delegate, regularize the naming of those
- Legacy-Id: 6990
2013-12-18 16:27:02 +00:00
Ole Laursen 81e032b9e4 Remove unnecessary escapes from another bunch of templates
- Legacy-Id: 6989
2013-12-18 16:10:47 +00:00
Ole Laursen 23725f781c Port secr/drafts/report_id_activity.py away from setup_environ too
- Legacy-Id: 6988
2013-12-18 16:02:04 +00:00
Ole Laursen f02f2ccbfc Regenerate name fixtures, apparently the indentation of the JSON output has changed
- Legacy-Id: 6987
2013-12-18 15:53:15 +00:00
Ole Laursen e54bd17499 Port from django.core.management.setup_environ to DJANGO_SETTINGS_MODULE
- Legacy-Id: 6985
2013-12-18 15:51:11 +00:00
Ole Laursen f88fb5f9ac Port meeting fix from shimfree branch
- Legacy-Id: 6984
2013-12-18 14:56:37 +00:00
Ole Laursen 0945255452 Fix bug in meeting.helper.get_meeting - somehow managed to skip the
clause that makes sure that meetings that have no agenda yet are
skipped
 - Legacy-Id: 6983
2013-12-18 14:51:03 +00:00
Ole Laursen b72742764f Set ALLOWED_HOSTS (may need some tweaking), add LOGGING setting to
enable HTML exception emails to compensate for not carrying the HTML
patch that was applied to Django 1.2
 - Legacy-Id: 6982
2013-12-18 14:00:44 +00:00
Ole Laursen cf61f2b59b Remove a bunch of unnecessary |escape filter calls, auto-escaping is enabled by default so manual escape is only necessary in few cases
- Legacy-Id: 6981
2013-12-18 13:38:13 +00:00
Ole Laursen b84440b857 MEDIA_ROOT -> STATIC_ROOT - apparently we don't really use MEDIA_ROOT at the moment since all files are handled not through file fields, but through explicit management of their paths
- Legacy-Id: 6980
2013-12-18 13:18:58 +00:00
Ole Laursen 2cefdd7410 Add WSGI application to settings to make it use the same application
definition as live (it probably doesn't matter at the moment though)
 - Legacy-Id: 6979
2013-12-18 13:06:39 +00:00
Ole Laursen ce3e6c59de ._meta.module_name -> ._meta.model_name
- Legacy-Id: 6978
2013-12-18 12:07:04 +00:00
Ole Laursen 896da07311 Disable XViewMiddleware, it has been moved in Django 1.6 and it's not
clear whether it's serving a useful purpose
 - Legacy-Id: 6977
2013-12-18 12:01:24 +00:00
Ole Laursen e348600bcb raw_post_data -> body
- Legacy-Id: 6976
2013-12-18 11:52:21 +00:00
Ole Laursen 1dc860236f Delete ADMIN_MEDIA_PREFIX which is now gone in Django, add a pattern to the static serving so a debug/test server serves the admin static files
- Legacy-Id: 6975
2013-12-18 11:45:36 +00:00
Ole Laursen 8c35b3e6da Fix the send SDO reminder admin template to not rely on adminmedia which is now gone, also fix up the formatting and add a title
- Legacy-Id: 6973
2013-12-18 11:18:24 +00:00
Ole Laursen 1df2a37a9f Remove dead admin templates from when there was an SDOs model
- Legacy-Id: 6972
2013-12-18 11:07:39 +00:00
Ole Laursen 8afd3fa5b7 Rewrite wg_menu tag to use simple_tag instead of a full template Node,
also fix a bug in the cache apparently not being filled in correctly
 - Legacy-Id: 6971
2013-12-18 10:25:59 +00:00
Ole Laursen e2e6c243a1 Remove the complicated tag processing from ballot_icon, instead just
decorate the function with @simple_tag(takes_context=True)
 - Legacy-Id: 6970
2013-12-18 10:22:30 +00:00
Ole Laursen 35520c8473 Enable clickjacking prevention middleware
- Legacy-Id: 6969
2013-12-18 10:14:47 +00:00
Ole Laursen 7f277a8fbb Replace user.get_profile() with user.person, the profile stuff is deprecated since Django 1.5
- Legacy-Id: 6968
2013-12-18 10:13:40 +00:00
Ole Laursen ea24f5c3bd Import slugify from django.utils.text (introduced in Django 1.5)
- Legacy-Id: 6967
2013-12-18 10:00:58 +00:00
Henrik Levkowetz ecb5cd6526 Merged in branch/iola/shimfree@6856. This pretty much completes the shim removal. Next step is upgrading Django to 1.6, and then doing some final polishing.
- Legacy-Id: 6966
2013-12-17 21:29:05 +00:00
Ole Laursen d1782297ab assertEquals -> assertEqual in tests, the former is deprecated
- Legacy-Id: 6964
2013-12-17 12:52:24 +00:00
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 52a0825985 Take advantage of new include tag that can combine the include with a
"with foo=bar" instead of having separate "with" tags
 - Legacy-Id: 6962
2013-12-17 11:08:58 +00:00
Ole Laursen 36dd439027 Rewrite ifequal/endifequal template tags to if tags with ==/!=
- Legacy-Id: 6961
2013-12-17 10:42:34 +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 72e36bde55 Don't output coverage data if there are test failures
- Legacy-Id: 6959
2013-12-17 10:08:12 +00:00
Henrik Levkowetz a3761a0951 Set version info and settings back to development mode
- Legacy-Id: 6958
2013-12-16 22:34:42 +00:00
Henrik Levkowetz 180ad4f405 Set version info to release version 4.84 before branching.
- Legacy-Id: 6956
2013-12-16 22:34:39 +00:00
Henrik Levkowetz db5153b6e8 Merged [6859] from rcross@amsl.com:
fixed calls to reverse() to match new url names since code merge
 - Legacy-Id: 6954
Note: SVN reference [6859] has been migrated to Git commit 9b06fb9958
2013-12-16 22:33:54 +00:00
Henrik Levkowetz 9ef4b5779e Merged [6858] from rcross@amsl.com:
use correct URL in new IPR notification email
 - Legacy-Id: 6953
Note: SVN reference [6858] has been migrated to Git commit e45aec37ac
2013-12-16 22:26:22 +00:00
Henrik Levkowetz fa1075427a Merged [6857] from rjsparks@nostrum.com:
Script to run from cron to send daily messages to IETF Announce showing the email header field change.
This should be run from Jan 6 to Jan 20, after which point we need to deploy analagous changes to the code that constructs last call announcements.

This is related to bug #811

Commit ready for merge.
 - Legacy-Id: 6952
Note: SVN reference [6857] has been migrated to Git commit c500184eee
2013-12-16 22:25:16 +00:00
Henrik Levkowetz 24fb84c7de Merged [6701] from rjsparks@nostrum.com:
Adds pages to show what a given document refers to and what refers to it.
Fixes bug #1194
commit ready for merge
 - Legacy-Id: 6951
Note: SVN reference [6701] has been migrated to Git commit d19967ac93
2013-12-16 22:15:52 +00:00
Henrik Levkowetz e6af776a19 Merged [6672] from rjsparks@nostrum.com:
removed requirement to enter a phone number in various places on an IPR disclosure entry form

Fixes bug #1176
 - Legacy-Id: 6950
Note: SVN reference [6672] has been migrated to Git commit ac799a9874
2013-12-16 22:08:35 +00:00
Henrik Levkowetz 8b2730a499 Updated agenda test files. Looking forward to moving this to fixtures instead of live data.
- Legacy-Id: 6949
2013-12-16 22:08:00 +00:00
Henrik Levkowetz bf05a61fd9 Import SendQueue from the right place.
- Legacy-Id: 6946
2013-12-16 21:58:33 +00:00
Ole Laursen 84a9f49053 mimetype -> content_type (mimetype is deprecated)
- Legacy-Id: 6945
2013-12-16 16:53:47 +00:00
Ole Laursen 85ab33533f Move feed redirect for feed_urls.py
- Legacy-Id: 6944
2013-12-16 16:35:07 +00:00
Ole Laursen e6b12350d2 Port IPR and liaisons feed setup to new feed API too
- Legacy-Id: 6943
2013-12-16 16:33:18 +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 d86789608a Remove use of "groupgroup" fixture from Secretariat apps, it looks
like they don't actually depend on it, and the fixture itself is
unfortunately not complete so Django refuses to load it
 - Legacy-Id: 6938
2013-12-16 13:16:29 +00:00
Ole Laursen beda4bafcd Fix bug with coverage testing
- Legacy-Id: 6937
2013-12-16 13:06:41 +00:00
Ole Laursen 0c2c5a7573 Rewrite url tags in Secretariat templates to new syntax
- Legacy-Id: 6936
2013-12-16 13:05:38 +00:00
Ole Laursen 7aa3737c3b Reenable RemoteUserMiddleware, it turns out the Secretariat tests are
using REMOTE_USER to auth instead of logging in - instead include a
little middleware class that adds the REMOTE_USER header during
testing.

Also fix problem with the empty test_label hack not working with
double-dotted Secretariat apps.
 - Legacy-Id: 6935
2013-12-16 12:59:27 +00:00
Ole Laursen e1025e67ae Fix some oddities in secauth.py
- Legacy-Id: 6934
2013-12-16 12:48:43 +00:00
Ole Laursen 77e03c7355 Fix bugs in stream edit test
- Legacy-Id: 6933
2013-12-16 11:55:15 +00:00
Ole Laursen 3d7b349e20 Remove group/tests/, it only contains two tests (on a fixture, not
really on any IETF code) and it clashes with the tests in group/tests.py
 - Legacy-Id: 6932
2013-12-16 11:53:10 +00:00
Ole Laursen 8017c8eaf2 Fix a bunch of test errors, apparently the Textarea widget in Django
now outputs a newline in the beginning - this doesn't seem make a
difference for browsers, but it means testing with PyQuery needs to
strip the text to be able to check accurately
 - Legacy-Id: 6931
2013-12-16 11:47:32 +00:00
Ole Laursen 2eb8566d2f Remove : after label_tag in templates, the colon is now included in the label_tag itself
- Legacy-Id: 6930
2013-12-13 17:34:05 +00:00
Ole Laursen b94e110a29 Disable the caching template loader again, interesting as may be, it
turns out to be really annoying when developing as it is not clever
enough to do cache invalidation, so changing a template and retesting
requires restarting the dev server
 - Legacy-Id: 6929
2013-12-13 17:30:39 +00:00
Ole Laursen 2dc4454772 Fix problem with dbtemplate loader, it wasn't declaring itself as usable
- Legacy-Id: 6928
2013-12-13 17:27:22 +00:00
Ole Laursen 0006b9ddcc Make sure all model forms have a Meta.fields attribute
- Legacy-Id: 6927
2013-12-13 17:20:02 +00:00
Ole Laursen 1cb6e701eb Enable the caching template loader for the file based templates, as
recommended by the Django documentation
 - Legacy-Id: 6926
2013-12-13 17:00:52 +00:00
Ole Laursen e324f5551e Fix some {% url %} tags with commas between arguments, which is not valid with the new url syntax
- Legacy-Id: 6925
2013-12-13 17:00:12 +00:00
Ole Laursen 3ba9424845 Fix invalid HTML in nomcom template
- Legacy-Id: 6924
2013-12-13 16:48:56 +00:00
Ole Laursen 3febf7d216 Fix odd boolean calculation in nomcom view
- Legacy-Id: 6923
2013-12-13 16:48:37 +00:00
Ole Laursen 892c7d43ce Reuse already fetched page instead of refetching it in nomcom test
- Legacy-Id: 6922
2013-12-13 16:47:57 +00:00
Ole Laursen b302ffa814 Fix bug in nomcom test, it was sending a formset without the
corresponding management form values
 - Legacy-Id: 6921
2013-12-13 16:45:04 +00:00
Ole Laursen aea222edbc Speed up nomcom tests a bit more by also only generating one certificate for the client per run
- Legacy-Id: 6920
2013-12-13 16:28:55 +00:00
Ole Laursen 466928edc2 Only generate the test NomCom certificate once instead to speed up the
Nomcom tests a bit
 - Legacy-Id: 6919
2013-12-13 16:10:49 +00:00
Ole Laursen 652a5ca17a Rewrite NomCom test data generation slightly based on the rewritten
base test data, fix problem with form previews
 - Legacy-Id: 6918
2013-12-13 15:59:52 +00:00
Ole Laursen 7f25469c6b Drop the group/person/role global fixtures, the fixture loader in
Django 1.6 refuses to load them because they have dangling foreign
keys, and in rewriting them it turns out it is easier to do so in code
- so refactor the test data generation code to have a separate
function with the unchanging base data and call that from the global
fixture setup
 - Legacy-Id: 6917
2013-12-13 15:58:36 +00:00
Ole Laursen 81e5ced4ee Remove "nominee" from FeedbackForm.Meta.fields, it doesn't exist in Feedback
- Legacy-Id: 6916
2013-12-13 15:48:13 +00:00
Ole Laursen c9984e40fc Call base class fixture handling in perma_fixtures hack rather than
duplicating the (now incorrect) code from the base class
 - Legacy-Id: 6915
2013-12-13 15:39:34 +00:00
Ole Laursen b4706af925 Fix problem with tests and RemoteUserMiddleware - it interferes with
the tests, also fix bug in previous test runner refactor
 - Legacy-Id: 6914
2013-12-13 15:37:04 +00:00
Ole Laursen a2c13b70d1 Make sure all BooleanFields have an explicit default value (with
Django < 1.6 it used to be False implicitly)
 - Legacy-Id: 6908
2013-12-13 13:30:07 +00:00
Ole Laursen dec6862787 Make GLOBAL_TEST_FIXTURES support Python functions as fixtures
- Legacy-Id: 6906
2013-12-13 13:13:03 +00:00
Ole Laursen e32d346bc5 Fix security_hash problem in nomcom tests, it's no longer a separate function
- Legacy-Id: 6905
2013-12-13 13:10:52 +00:00
Ole Laursen 191d6f5949 Changing settings to use new test runner
- Legacy-Id: 6904
2013-12-13 11:23:33 +00:00
Ole Laursen c470e57dae Port test runner to new Django interface
- Legacy-Id: 6903
2013-12-13 11:22:40 +00:00
Ole Laursen 9b8fe8bd50 Move is_safe to parameter on template filter
- Legacy-Id: 6902
2013-12-12 12:27:33 +00:00
Ole Laursen 145079c701 Fix import path in settings_sqlitetest.py
- Legacy-Id: 6901
2013-12-12 12:24:25 +00:00
Ole Laursen 2c510adca9 Fix problem with missing label= in community form field declation
- Legacy-Id: 6900
2013-12-12 12:17:26 +00:00
Ole Laursen 950efbbae3 Fix import path of syndication framework
- Legacy-Id: 6899
2013-12-12 12:16:29 +00:00
Ole Laursen 45e7f3ee8e Fix a url pattern that managed to escape the mass fixing because it is missing a space
- Legacy-Id: 6898
2013-12-12 12:14:23 +00:00
Ole Laursen ad26ab4b37 Fix some changed Django import paths in settings.py
- Legacy-Id: 6897
2013-12-12 12:13:44 +00:00
Ole Laursen 9b720d2a70 Fix bug in Secretariat MeetingModelForm, exclude was missing a , to be a tuple
- Legacy-Id: 6896
2013-12-12 12:12:03 +00:00
Ole Laursen 12960d9204 Fix bug in Secretariat GroupMilestoneForm, exclude was missing a , to be a tuple
- Legacy-Id: 6895
2013-12-12 12:11:09 +00:00
Ole Laursen fcb2dad155 Fix bug in Secretariat EditPersonForm, exclude was missing a , to be a tuple
- Legacy-Id: 6894
2013-12-12 12:10:05 +00:00
Ole Laursen fdd03eee8c Use validate_email instead of email_re to validate email
- Legacy-Id: 6893
2013-12-12 12:09:17 +00:00
Ole Laursen d1207bf000 Delete some dead code from submission form
- Legacy-Id: 6892
2013-12-12 12:08:58 +00:00
Ole Laursen 771591f0db Remove use of obsolete generic delete view
- Legacy-Id: 6891
2013-12-12 12:06:09 +00:00
Ole Laursen d1e60e533c Fix a couple of problems in previous URL conversion commit
- Legacy-Id: 6887
2013-12-11 17:13:49 +00:00
Ole Laursen 99aa5e98f3 Import update_wrapper from functools instead of from Django
- Legacy-Id: 6886
2013-12-11 17:10:26 +00:00
Ole Laursen 46247a2ba6 Port away from django.utils.truncate_(html_)words which is now gone, use the template filter versions instead
- Legacy-Id: 6885
2013-12-11 17:07:43 +00:00
Ole Laursen b3b7154890 Port ipr/feeds.py to django.core.urlresolvers.reverse_lazy
- Legacy-Id: 6884
2013-12-11 17:06:41 +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 2c930d0f97 Get rid of remaining use of email_re, use validate_email instead
- Legacy-Id: 6882
2013-12-11 16:47:47 +00:00
Ole Laursen 119d76ae26 Get rid of unused import of old generic view
- Legacy-Id: 6881
2013-12-11 16:44:34 +00:00
Ole Laursen 883853f09c Fix bug, TemplateView takes template_name, not template as parameter
- Legacy-Id: 6880
2013-12-11 16:43:34 +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 7a86afe1ab Port templates to new {% url %} syntax with quotes around the first parameter
- Legacy-Id: 6877
2013-12-11 16:33:40 +00:00
Ole Laursen b2d69c5cbd Replace manage.py script with new script generated by Django 1.6
- Legacy-Id: 6876
2013-12-11 15:50:14 +00:00
Ole Laursen b92a49b216 Remove verify_exists=False from URLField, it is now obsolete
- Legacy-Id: 6875
2013-12-11 15:31:18 +00:00
Ole Laursen f5b2cfbc42 Make MEDIA_URL end in slash
- Legacy-Id: 6874
2013-12-11 15:29:38 +00:00
Henrik Levkowetz bafaa30fe3 Fixed a typo. Fixes issue #1216.
- Legacy-Id: 6869
2013-12-11 10:28:00 +00:00
Ryan Cross 9b06fb9958 fixed calls to reverse() to match new url names since code merge
- Legacy-Id: 6859
2013-12-09 20:41:32 +00:00
Ryan Cross e45aec37ac use correct URL in new IPR notification email
- Legacy-Id: 6858
2013-12-09 20:13:37 +00:00
Robert Sparks c500184eee Script to run from cron to send daily messages to IETF Announce showing the email header field change.
This should be run from Jan 6 to Jan 20, after which point we need to deploy analagous changes to the code that constructs last call announcements.

This is related to bug #811

Commit ready for merge.
 - Legacy-Id: 6857
2013-12-09 19:01:44 +00:00
Ole Laursen e3253b4887 Fix spelling mistake in wgcharter confirmation messages, fixes #1216
- Legacy-Id: 6856
2013-12-09 11:33:11 +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 3053bef4cc Resurrect URL coverage making it work with all tests, and move it to the test runner together with the template coverage report
- Legacy-Id: 6844
2013-12-07 19:31:32 +00:00
Ole Laursen 56f36018a2 Fix bug in secr test
- Legacy-Id: 6843
2013-12-07 19:29:32 +00:00
Ole Laursen 1c60f55fff Fix some includes in meeting test
- Legacy-Id: 6842
2013-12-07 19:28:56 +00:00
Ole Laursen 185149c46b Strip out all ADs from the working group fixtures, apparently they are not included in another permafixture so cause trouble in some tests
- Legacy-Id: 6841
2013-12-07 19:28:13 +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 449436744e Hide unapproved related liaison statement unless during approval it to prevent dead link
- Legacy-Id: 6839
2013-12-07 13:39:56 +00:00
Ole Laursen f935577f77 Remove some unused references to SimpleUrlTestCase
- Legacy-Id: 6838
2013-12-07 13:30:41 +00:00