Commit graph

768 commits

Author SHA1 Message Date
Henrik Levkowetz 8a78c9c81a Don't redirect to the latest version of a document when given a specific revision. Fixes issue #1730.
- Legacy-Id: 9712
2015-07-09 14:37:39 +00:00
Henrik Levkowetz 3fe2f85ff0 Make sure the default user preference settings for expires_soon and new_enough are integers.
- Legacy-Id: 9693
2015-06-24 08:30:54 +00:00
Henrik Levkowetz f70b2d93c5 Added preference editing support for the left_menu preference setting, and refactored the preference handling code substantially. Related to issues #1659 and #1663.
- Legacy-Id: 9673
2015-06-22 18:47:28 +00:00
Henrik Levkowetz 2690ac4df4 Removed a number of action buttons which aren't relevant for RFCs. Fixes issue #1698.
- Legacy-Id: 9614
2015-05-11 20:05:39 +00:00
Henrik Levkowetz 33f58d7001 Fixed a wrong row count for stream meta-info when displaying RFCs. Also fixed a 'missing columns' html warning. Fixes issue #1697.
- Legacy-Id: 9613
2015-05-11 19:53:15 +00:00
Henrik Levkowetz 1ba8996fd2 Merged in [9603] from rjsparks@nostrum.com:
Added functionality which allows the secretariat to manage more meeting types, including leadership meetings.
Backfilled those types of meetings from IETF91 and IETF92.
Addressed several facelift issues in the meeting application.
 - Legacy-Id: 9606
Note: SVN reference [9603] has been migrated to Git commit a85424ad23
2015-05-06 18:07:18 +00:00
Henrik Levkowetz 8365a36c2f Fixed an issue where the https: schema inadvertently had been included in RFCDIFF_PREFIX, causing duplicate schema specifications in some places. Changed name to RFCDIFF_BASE_URL and cleaned out the duplicate schema specifiers.
- Legacy-Id: 9593
2015-04-30 22:00:49 +00:00
Robert Sparks 1e30120710 checkpoint. Model changes done and UI tweaked to match.
- Legacy-Id: 9588
2015-04-30 15:57:48 +00:00
Henrik Levkowetz 91739277f4 Merged in [9541] and [9542] from rjsparks@nostrum.com:
Quit putting the group email list address in the initially generated Notify field.
Updated the tests accordingly.
 - Legacy-Id: 9565
Note: SVN reference [9541] has been migrated to Git commit ecd69a1bcb

Note: SVN reference [9542] has been migrated to Git commit 99e351fe1c
2015-04-26 20:42:03 +00:00
Henrik Levkowetz acc2c59920 Updated a bunch of links from http: to https: based on a patch from lars@netapp.com.
- Legacy-Id: 9556
2015-04-24 21:47:12 +00:00
Henrik Levkowetz 2099048ac1 Fixed format_snippet to produce valid html (the previous filter order resulted in broken html entities and bad email addresses)
- Legacy-Id: 9553
2015-04-24 20:42:33 +00:00
Robert Sparks 99e351fe1c Update tests to match r9541. Commit ready for merge.
- Legacy-Id: 9542
2015-04-22 13:52:52 +00:00
Robert Sparks ecd69a1bcb Quit putting the group email list address in the initially generated Notify field
- Legacy-Id: 9541
2015-04-22 13:19:29 +00:00
Robert Sparks 635b700306 Allow an AD to jump straight to the ballot editing page by right-clicking any ballot grid. Fixes #1669. Commit ready for merge.
- Legacy-Id: 9518
2015-04-16 21:33:02 +00:00
Henrik Levkowetz f18e0694fa Merged in [9505] from rjsparks@nostrum.com:
Add a checkbox to cc the group list address on ballot positions if a document belongs to a group. Add better tests of the checkboxes on that form.
 - Legacy-Id: 9506
Note: SVN reference [9505] has been migrated to Git commit b84d4d3a20
2015-04-15 15:49:35 +00:00
Robert Sparks b84d4d3a20 Add a checkbox to cc the group list address on ballot positions if a document belongs to a group. Add better tests of the checkboxes on that form. Commit ready for merge.
- Legacy-Id: 9505
2015-04-15 14:53:42 +00:00
Henrik Levkowetz cd14d95484 Added a filter which lets an email address break before the at-sign.
- Legacy-Id: 9493
2015-04-14 18:20:52 +00:00
Henrik Levkowetz b59db9a6cc Provide DocHistory entries with a docalias_set property (that of the associated document).
- Legacy-Id: 9473
2015-04-13 16:47:53 +00:00
Henrik Levkowetz 2aa28d3f88 Make the document revision view work for revisions other than the current one if doc.group has changed during the document's history.
- Legacy-Id: 9472
2015-04-13 16:40:05 +00:00
Henrik Levkowetz d52d916dd0 Changed the ballot-position to bootstrap label-type translation.
- Legacy-Id: 9470
2015-04-13 16:35:17 +00:00
Henrik Levkowetz f3d4f3e474 Updated a test to match the 'Document Search' change.
- Legacy-Id: 9462
2015-04-12 13:30:34 +00:00
Henrik Levkowetz 02cd366ff0 Merged in trunk@9440, containing the changes for version 5.13.1; and updated tests which look at HTML content to work with the facelift changes.
- Legacy-Id: 9446
2015-04-11 18:24:20 +00:00
Henrik Levkowetz c417c5720a Merged in [9428] from rjsparks@nostrum.com:
Properly mark (and test) older ballot comment and discuss text after a new revision is submitted . Fixes bug #1656.
 - Legacy-Id: 9434
Note: SVN reference [9428] has been migrated to Git commit 0ff9747092
2015-04-09 21:00:07 +00:00
Henrik Levkowetz b8f84dc8d7 Merged in [9375] from rjsparks@nostrum.com:
Put old style slides directly into archived. Migrate IETF92 materials to match.
 - Legacy-Id: 9432
Note: SVN reference [9375] has been migrated to Git commit d46035003e
2015-04-09 20:22:03 +00:00
Henrik Levkowetz 443e9bf6bf Merged in [9373] from rjsparks@nostrum.com:
Add missing migration.
 - Legacy-Id: 9431
Note: SVN reference [9373] has been migrated to Git commit 284f78e137
2015-04-09 20:13:36 +00:00
Henrik Levkowetz 2cf0c74561 Merged in [9351] from rjsparks@nostrum.com:
Remove sessonly, replacing the idea with a separate State. Add tests checking how materials show on agenda views.
 - Legacy-Id: 9430
Note: SVN reference [9351] has been migrated to Git commit a6c64d2b12
2015-04-09 19:46:04 +00:00
Robert Sparks 0ff9747092 Properly mark (and test) older ballot comment and discuss text after a new revision is submitted . Fixes bug #1656. Commit ready for merge.
- Legacy-Id: 9428
2015-04-08 20:55:04 +00:00
Henrik Levkowetz 31e4f1fec7 Made the revision list at the top of document pages take up less room. Added a warning above the document meta-information for old revisions. Made the background in the cell of the revision being shown have warning colour when showing old revisions. Gave the document meta-information tables the same sectioned look as the WG meta-information tables, as requested by a reviewer.
- Legacy-Id: 9421
2015-04-08 14:59:39 +00:00
Henrik Levkowetz bf9d668c3e Changed from using an otherwise unused css class as content container selector in tests, to instead using an explicit css id as selector.
- Legacy-Id: 9394
2015-04-04 08:57:39 +00:00
Robert Sparks d46035003e Put old style slides directly into archived. Migrate IETF92 materials to match. Commit ready for merge.
- Legacy-Id: 9375
2015-04-03 20:53:13 +00:00
Robert Sparks 284f78e137 Add missing migration. Commit ready for merge
- Legacy-Id: 9373
2015-04-03 19:28:06 +00:00
Henrik Levkowetz b1662da4f6 Factored out the doc_is_tracked logic, for use on group document list pages.
- Legacy-Id: 9366
2015-04-03 13:27:29 +00:00
Henrik Levkowetz ca728d9b48 Updated a set of doc tests to account for changed 'show full text' wording in the facelift document page.
- Legacy-Id: 9360
2015-04-02 19:47:55 +00:00
Henrik Levkowetz 625347cd2f Merged trunk@9354 to facelift copy
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Robert Sparks a6c64d2b12 Remove sessonly, replacing the idea with a separate State. Add tests checking how materials show on agenda views. Commit ready for merge.
- Legacy-Id: 9351
2015-04-01 16:00:05 +00:00
Henrik Levkowetz 2f54511763 Changed all explicitly set HttpResponse content_types to specify charset.
Django sets charset if you don't specify a content_type; if you specify
one you also must add a charset specification (if you want one).  
Fixes issue #1647.
 - Legacy-Id: 9348
2015-03-26 21:35:21 +00:00
Henrik Levkowetz 73664a484b Reverted to [9345], the fixed fix of a typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9347
Note: SVN reference [9345] has been migrated to Git commit 249bcf6e33
2015-03-26 19:35:14 +00:00
Henrik Levkowetz d7a28fe146 Alternative fix from rcross@amsl.com for a typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9346
2015-03-26 17:56:40 +00:00
Henrik Levkowetz 249bcf6e33 Fixed the fix of a typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9345
2015-03-26 17:39:38 +00:00
Henrik Levkowetz c36fc19663 Fixed typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9344
2015-03-26 17:38:00 +00:00
Henrik Levkowetz 10f32d850b Merged in [9330] from rcross@amsl.com:
Fixes Ticket #1626.  Cleanup legacy IPR models.
 - Legacy-Id: 9332
Note: SVN reference [9330] has been migrated to Git commit 415d0ad7c7
2015-03-25 17:34:55 +00:00
Henrik Levkowetz 469d69362c Merged in [9326] from rjsparks@nostrum.com:
Test coverage improvement for group material management.
 - Legacy-Id: 9331
Note: SVN reference [9326] has been migrated to Git commit effa1e2b68
2015-03-25 17:25:42 +00:00
Ryan Cross 415d0ad7c7 Fixes Ticket #1626. Cleanup legacy IPR models. Commit ready for merge.
- Legacy-Id: 9330
2015-03-25 16:17:45 +00:00
Henrik Levkowetz edb7a5cb3a Fixed a problem in Document.meeting_related(), and fixed a number of tests which broke when slide objects started to return True to meeting_related() without being related to a session.
- Legacy-Id: 9329
2015-03-25 16:04:57 +00:00
Henrik Levkowetz f833518a03 Workaround for incomplete transition from labelling regular meeting materials as 'active' to labelling as 'sessonly'.
- Legacy-Id: 9328
2015-03-24 21:05:38 +00:00
Robert Sparks effa1e2b68 Test coverage improvement for group material management. Commit ready for merge.
- Legacy-Id: 9326
2015-03-23 17:56:42 +00:00
Henrik Levkowetz ba90fe03ef Merged in [9319] from kivinen@iki.fi:
Added test cases for cookie code. This will test all the cookie setting code, and also adds test for draft for include_text and full_draft cookie checking.
 - Legacy-Id: 9325
Note: SVN reference [9319] has been migrated to Git commit 79b4688f8e
2015-03-22 19:35:04 +00:00
Tero Kivinen 79b4688f8e Added test cases for cookie code. This will test all the cookie setting code, and also adds test for draft for include_text and full_draft cookie checking. Commit ready for merge.
- Legacy-Id: 9319
2015-03-21 23:06:13 +00:00
Robert Sparks 02d807581a Restores add-to-community-list functionality to several pages. Fixes #1601. Commit ready for merge.
- Legacy-Id: 9242
2015-03-17 20:24:42 +00:00
Henrik Levkowetz 6f285a12f4 Changed the handling of some test directory creation and removal code, to be more consistent. Fixed a problem where a test didn't create and remove a test directory it used.
- Legacy-Id: 9203
2015-03-15 16:01:15 +00:00
Henrik Levkowetz 381d37986c Python's pathlib is now available for both 2.x and 3.x, and is well established. Removed the ietf/utils/path.py fallback, and added pathlib to requirements.txt
- Legacy-Id: 9161
2015-03-07 17:17:50 +00:00
Henrik Levkowetz 9ee16e778e Added a login requirement for the full document and group email alias pages, but kept the individual group and document email-alias pages visible without login. Added testing of login redirects for the full email alias lists, and reordered the test sequence within the test methods appropriately.
- Legacy-Id: 9160
2015-03-07 15:55:18 +00:00
Henrik Levkowetz 01ade795d3 Merged in [9083] from rjsparks@nostrum.com:
Added dealing with /wg/foo/email-aliases, /wg/email-aliases, and similar for /rg. Added an initial test suite for all invocations of the email_alias views.
 - Legacy-Id: 9106
Note: SVN reference [9083] has been migrated to Git commit a208803e82
2015-02-20 22:53:46 +00:00
Henrik Levkowetz e7007a6c3c Merged in [9070] from rjsparks@nostrum.com:
Adds pages to view the draft and group email aliases, either as a whole, or per document or group.
 - Legacy-Id: 9105
Note: SVN reference [9070] has been migrated to Git commit 79dda88337
2015-02-20 22:38:20 +00:00
Ole Laursen a589115ff4 Summary: Reindent all HTML files to follow the previous convention (no
tabs) and kill the scripts block in favour of just using a js block with
a script tag (which is easier to understand for context-sensitive
modes such as web-mode in Emacs). Also fix a couple of details, e.g.
missing semicolons in JS snippets.
 - Legacy-Id: 9096
2015-02-17 18:01:04 +00:00
Robert Sparks a208803e82 Added dealing with /wg/foo/email-aliases, /wg/email-aliases, and similar for /rg. Added an initial test suite for all invocations of the email_alias views. Commit ready for merge.
- Legacy-Id: 9083
2015-02-13 04:18:47 +00:00
Ole Laursen 9760cd9c8e Summary: Load the groups in the group menu with AJAX and delete the
jump to group modal. This cuts page rendering speed in more than half
for simple pages and similarly shrinks them by a factor 3-4, while
keeping the user experience the same. Fallbacks are in place for
non-JS clients.

There's still some overhead in the menu generation compared to just
rendering the page content, but the group menu was definitely a major
culprit.
 - Legacy-Id: 9077
2015-02-12 16:01:05 +00:00
Ole Laursen a225fd5069 Make new branch from trunk and merge facelift-r9007 into it, fixing a few merge conflicts
- Legacy-Id: 9072
2015-02-12 10:43:52 +00:00
Robert Sparks 79dda88337 Adds pages to view the draft and group email aliases, either as a whole, or per document or group. Commit ready for merge.
- Legacy-Id: 9070
2015-02-11 21:50:34 +00:00
Henrik Levkowetz 7ecfac6308 Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
- Legacy-Id: 9028
2015-02-08 21:16:44 +00:00
Henrik Levkowetz 028b7e315a Reverted to [9025] because commit [9026] failed (it was incomplete with a broken working dir).
- Legacy-Id: 9027
Note: SVN reference [9026] has been migrated to Git commit 4a3749a66b
2015-02-08 20:03:16 +00:00
Henrik Levkowetz 4a3749a66b Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
- Legacy-Id: 9026
2015-02-08 19:16:46 +00:00
Henrik Levkowetz f3fcf1623d Made the cookie handling for the 'expires_soon' cookie insensitive to nonnumeric values.
- Legacy-Id: 9018
2015-02-08 10:05:24 +00:00
Ole Laursen eccd8d27c4 Make new branch from trunk (r9007) and merge facelift-r8876 into it, fixing a few merge conflicts
- Legacy-Id: 9014
2015-02-06 14:08:34 +00:00
Henrik Levkowetz 05a617d3b2 Made the cookie handling for the 'new_enough' cookie insensitive to nonnumeric values.
- Legacy-Id: 9009
2015-02-06 10:57:17 +00:00
Henrik Levkowetz 58cc1e431f When draft email aliases are generated, the content of the doc.notify field is used to generate the .notify alias, and is also included in the .all alias. If the notify field contains either the .notify alias or the .all alias, this can create a mail loop. Changed the alias generation code to expand (or ignore, for .notify) aliases found in the notify field, and changed the code which fills in the notify field with a default value to insert the author, ad, and shepherd aliases instead of the .all alias.
- Legacy-Id: 8994
2015-02-05 15:38:01 +00:00
Ole Laursen 78e3a620ce Summary: Fix unused import
- Legacy-Id: 8991
2015-02-05 14:14:57 +00:00
Ole Laursen d61ed824cd Summary: Replace old-style wordwrap custom tag with {% filter wordwrap %}
- Legacy-Id: 8965
2015-02-04 12:48:47 +00:00
Ole Laursen b5458c29d3 Summary: Clean up some of the FACELIFT comments
- Legacy-Id: 8959
2015-02-03 16:18:42 +00:00
Ole Laursen 8c8ec56df2 Summary: Remove now unused old base templates
- Legacy-Id: 8953
2015-02-02 17:14:10 +00:00
Ole Laursen fba359d2e0 Summary: Fix test failures due to recent facelifting
- Legacy-Id: 8941
2015-01-28 13:48:51 +00:00
Ole Laursen 4087a9837f End help_texts with period consistently - the default error rendering in the bootstrap3 library depends on it
- Legacy-Id: 8940
2015-01-28 13:25:21 +00:00
Ole Laursen f63a99be1c Facelift remaining materials pages
- Legacy-Id: 8938
2015-01-28 12:50:09 +00:00
Ole Laursen 88c9f84664 Summary: Facelift material document page
- Legacy-Id: 8937
2015-01-28 12:04:40 +00:00
Ole Laursen 7561ce463d Summary: Fix extraneous add column in search
- Legacy-Id: 8936
2015-01-28 10:33:05 +00:00
Ole Laursen d7b4ef6ac4 Summary: Facelift change charter title page
- Legacy-Id: 8932
2015-01-28 09:04:41 +00:00
Robert Sparks 786fc38235 Improve the approval mail contents concerning IESG contact members. Fixes #1588. Commit ready for merge.
- Legacy-Id: 8923
2015-01-26 22:25:38 +00:00
Robert Sparks 7e188d2d81 Fix needed-to-pas calculation to use new representation of area directors. Fixes #1587. Commit ready to merge
- Legacy-Id: 8922
2015-01-26 21:10:52 +00:00
Ole Laursen 1124d6d018 Summary: Port the remaining parts of the IPR form to Bootstrap, and fix
some bugs in the port
 - Legacy-Id: 8900
2015-01-23 16:47:22 +00:00
Ole Laursen 543ac4ecb7 Summary: Add simple utility for turning rfc1234 doc alias names into RFC1234
- Legacy-Id: 8899
2015-01-23 16:45:26 +00:00
Ole Laursen d0999c8b5e Merge facelift-r8510 branch with trunk. The IPR tool still has some non-facelifted parts and ideosyncracies. Fix a couple of minor bugs (including infamous empty licensing choice) in the IPR code, and port the IPR views to use the render shortcut.
- Legacy-Id: 8896
2015-01-22 17:38:05 +00:00
Henrik Levkowetz 49d86d691b Merged in [8861] from rcross@amsl.com:
Changes to allow upload of bluesheets in materials upload page.  Primarily for use with Interim meetings.
 - Legacy-Id: 8891
Note: SVN reference [8861] has been migrated to Git commit 40efbf4f57
2015-01-21 20:32:18 +00:00
Henrik Levkowetz be1c255be1 Merged in [8854] from rjsparks@nostrum.com:
This is the second step towards ADs out of GroupInfo into Role.
The use of group.ad has been scrubbed from the code and templates.
  - Those places that set group.ad have been directly manipulate Role objects instead
  - Most places that read group.ad now use a new group.ad_role() that returns a Role object, simplifing some views.
Related to #1555 and #1557.
 - Legacy-Id: 8888
Note: SVN reference [8854] has been migrated to Git commit 65804be683
2015-01-21 19:56:57 +00:00
Henrik Levkowetz edc4cba1bd Merged in [8851] from rjsparks@nostrum.com:\n This is the first step towards using Role to represent Area directors. It
- Migrates the information captured in GroupInfo.ad to Role objects.
- Renames GroupInfo.ad to GroupInfo._ad (retaining the current column name) to prepare for deletion of that field.
- Provides ad property accessor and setter methods implemented using the group's role_set (so that the existing view code continues to work with minimal changes)
- Improved selection in many querysets that assumed only groups of type 'area' would have area directors.
Related to #1557 and #1555.
 - Legacy-Id: 8884
Note: SVN reference [8851] has been migrated to Git commit 4c9db8f250
2015-01-21 19:33:19 +00:00
Henrik Levkowetz 4dc24cdd30 Merged in [8850] from rjsparks@nostrum.com:\n Change the permission guards on edit_notify to reflect the policy that #1517 tried to establish. Fixes #1517 and #1575.
- Legacy-Id: 8883
Note: SVN reference [8850] has been migrated to Git commit 6f8f1956de
2015-01-21 19:18:26 +00:00
Henrik Levkowetz f15ba3346b Merged in [8846] from rjsparks@nostrum.com:
Added tests for document urls that provide a revision for all the document types the view code currently handles. Refactored parts of Document and DocHistory into DocumentInfo to get the tests to pass.  (but careful review is probably warranted).
 - Legacy-Id: 8880
Note: SVN reference [8846] has been migrated to Git commit ce5bda1835b32640d17136d09262f654fade94d4
2015-01-21 19:01:47 +00:00
Henrik Levkowetz c3ff43db6a Merged in [8843] from rjsparks@nostrum.com:\n Reworked the definition of future_presentations and last_presented. Fixes #1571.
- Legacy-Id: 8876
Note: SVN reference [8843] has been migrated to Git commit 80379135318ffd08eb3934547b62660a789483f2
2015-01-20 23:05:14 +00:00
Henrik Levkowetz ff9ae1ad04 Merged in [8801] from rjsparks@nostrum.com:
Verify that add_state_change_event returned something before trying to use attributes of the return value. Fixes bug #1566.
 - Legacy-Id: 8871
Note: SVN reference [8801] has been migrated to Git commit 601575a3d5
2015-01-20 22:18:33 +00:00
Henrik Levkowetz c79f367d66 Merged in [8718] from rjsparks@nostrum.com:\n Copy the secretariat on the message sent to the RFC Editor and IANA when a draft is pulled from the RFC Editor queue. Fixes ticket #1549.
- Legacy-Id: 8866
Note: SVN reference [8718] has been migrated to Git commit 1d7d5dd32e
2015-01-15 19:29:20 +00:00
Ryan Cross 40efbf4f57 Changes to allow upload of bluesheets in materials upload page. Primarily for use with Interim meetings. Commit ready for merge.
- Legacy-Id: 8861
2015-01-12 18:45:50 +00:00
Ryan Cross e686c5c7f5 Allow upload of bluesheets via materials upload interface
- Legacy-Id: 8857
2015-01-09 21:29:57 +00:00
Robert Sparks 65804be683 This is the second step towards ADs out of GroupInfo into Role.
The use of group.ad has been scrubbed from the code and templates.
  - Those places that set group.ad have been directly manipulate Role objects instead
  - Most places that read group.ad now use a new group.ad_role() that returns a Role object, simplifing some views.

Related to #1555 and #1557.

Commit ready for merge.
 - Legacy-Id: 8854
2015-01-09 18:52:06 +00:00
Robert Sparks 4c9db8f250 This is the first step towards using Role to represent Area directors. It
- Migrates the information captured in GroupInfo.ad to Role objects.
- Renames GroupInfo.ad to GroupInfo._ad (retaining the current column name) to prepare for deletion of that field.
- Provides ad property accessor and setter methods implemented using the group's role_set (so that the existing view code continues to work with minimal changes)
- Improved selection in many querysets that assumed only groups of type 'area' would have area directors.

Related to #1557 and #1555.

Commit ready to merge.
 - Legacy-Id: 8851
2015-01-08 20:22:23 +00:00
Robert Sparks 6f8f1956de Change the permission guards on edit_notify to reflect the policy that #1517 tried to establish. Fixes #1517 and #1575. Commit ready for merge.
- Legacy-Id: 8850
2015-01-08 16:25:17 +00:00
Henrik Levkowetz 25eb00c925 New django-1.7 initial migrations. Circular references exist, requiring explicit --fake migration for doc, dbtemplate and community apps.
- Legacy-Id: 8823
2014-12-22 17:07:38 +00:00
Henrik Levkowetz dd15785936 Removing south migrations as part of the django 1.7 changeover to builtin migrations.
- Legacy-Id: 8820
2014-12-22 16:44:35 +00:00
Henrik Levkowetz 5183042d58 Merged in branch/amsl/iprtool/5.7.4@8734 from rcross@amsl.com, providing new IPR models, refactored code, and improved list, search, and management interfaces.
- Legacy-Id: 8808
2014-12-21 19:26:33 +00:00
Robert Sparks 601575a3d5 Verify that add_state_change_event returned something before trying to use attributes of the return value. Fixes bug #1566. Commit ready for merge.
- Legacy-Id: 8801
2014-12-18 20:23:57 +00:00
Henrik Levkowetz 5133e59c9b Merged in [8711] from rjsparks@nostrum.com:\n Added functionality for management of group materials,
focusing on groups of type 'team'.
* Simplifies managing the Abstract for uploaded group materials. 
  Displays the abstract on the groups materials page
* Provides SessionPresentation: a binding between 
  Document and Session objects, that tracks doc version.
* Adds helpers for finding upcoming sessions, and the 
  most recent SessionPresentations whose sessions have passed
* Generalizes the snippet concept (as a templatetage) used 
  in the history tab for use on other pages
* Adds a variant of the snippet that can be styled as an edit link
* Provides several ways to address sessions, using sequence, 
  dates, group acronyms, and day of week
* Adds a 'Materials Manager' Role
 - Legacy-Id: 8765
Note: SVN reference [8711] has been migrated to Git commit b4448a8faa
2014-12-18 18:47:14 +00:00
Henrik Levkowetz 770b36d575 Added generated (and sometimes manually tweaked) resources.py files.
- Legacy-Id: 8744
2014-12-14 20:33:25 +00:00
Robert Sparks 1d7d5dd32e Copy the secretariat on the message sent to the RFC Editor and IANA when a draft is pulled from the RFC Editor queue. Fixes ticket #1549. Commit ready for merge.
- Legacy-Id: 8718
2014-11-26 20:57:47 +00:00
Ole Laursen cebc979282 Summary: Resolve person/email/document multiselect issue by importing
select2 and switching the widgets over to using that. Port the
milestones editing page to Bootstrap.
 - Legacy-Id: 8713
2014-11-25 16:47:48 +00:00
Robert Sparks b4448a8faa Added functionality for management of group materials,
focusing on groups of type 'team'.

* Simplifies managing the Abstract for uploaded group materials. 
  Displays the abstract on the groups materials page
* Provides SessionPresentation: a binding between 
  Document and Session objects, that tracks doc version.
* Adds helpers for finding upcoming sessions, and the 
  most recent SessionPresentations whose sessions have passed
* Generalizes the snippet concept (as a templatetage) used 
  in the history tab for use on other pages
* Adds a variant of the snippet that can be styled as an edit link
* Provides several ways to address sessions, using sequence, 
  dates, group acronyms, and day of week
* Adds a 'Materials Manager' Role

Commit ready for merge.
 - Legacy-Id: 8711
2014-11-25 00:09:05 +00:00
Robert Sparks 986768bf73 Cleaned up issues with date and weekday variants of the session views
- Legacy-Id: 8707
2014-11-24 21:06:58 +00:00
Robert Sparks 2d0eb1e011 Reworked URLs to explicitly invoke edit. Build list of possible sessions using group acronym and sequence variant of urls, not just sequence alone
- Legacy-Id: 8706
2014-11-24 20:53:36 +00:00
Robert Sparks 5f1663530c Added comment docevents when changing SessionPresentation objects. Reworked group materials page to be more helpful when there are multiple SessionPresentations withing a given Meeting
- Legacy-Id: 8705
2014-11-24 19:54:25 +00:00
Ole Laursen 4bb48ac831 Cherrypick r8381 from /branch/iola/submit-replacement/ to get the document widget in, in preparation for fixing the autocomplete problems
- Legacy-Id: 8703
2014-11-21 15:32:04 +00:00
Henrik Levkowetz 6596a858af Fixed a problem with the admin interface for the ietf.doc.DocHistory class.
- Legacy-Id: 8693
2014-11-14 00:21:54 +00:00
Henrik Levkowetz ea341466ca Merged in [8609] from tterriberry@mozilla.com, with minor changes:
Allow changing the title of a charter document.
   Fixes #1334
 - Legacy-Id: 8635
Note: SVN reference [8609] has been migrated to Git commit 63d919eb52
2014-11-11 01:34:04 +00:00
Henrik Levkowetz 69a7668d2e Merged in [8622] from harald@alvestrand.no:
Adding a missing column header to search result.
 - Legacy-Id: 8628
Note: SVN reference [8622] has been migrated to Git commit de8dd26b59
2014-11-09 04:27:52 +00:00
Harald T. Alvestrand de8dd26b59 Adding a missing column header to search result. Commit ready for merge.
- Legacy-Id: 8622
2014-11-09 02:22:55 +00:00
Henrik Levkowetz 52d4ae5617 Merged in [8611] from rjsparks@nostrum.com:\n Allow chairs to edit the notification field. Fixes bug #1517.
- Legacy-Id: 8620
Note: SVN reference [8611] has been migrated to Git commit 4ab6e03729
2014-11-09 01:58:29 +00:00
Henrik Levkowetz 0f4ae8fe85 Merged in [8608] from rjsparks@nostrum.com:\n Allow chosing the initial state when beginning WG processing of a draft. Fixes bug #1406.
- Legacy-Id: 8615
Note: SVN reference [8608] has been migrated to Git commit 696e93254a
2014-11-09 01:32:41 +00:00
Henrik Levkowetz 8b93881485 Merged in [8602] from suresh.krishnan@ericsson.com:\n Fixes issue #1295.
Synchronize the currently set tags when document state is edited
 - Legacy-Id: 8613
Note: SVN reference [8602] has been migrated to Git commit 16c5e24782
2014-11-09 01:12:37 +00:00
Robert Sparks 4ab6e03729 Allow chairs to edit the notification field. Fixes bug #1517. Commit ready for merge.
- Legacy-Id: 8611
2014-11-09 00:57:31 +00:00
Timothy B. Terriberry 63d919eb52 Allow changing the title of a charter document
Fixes #1334
Commit ready for merge
 - Legacy-Id: 8609
2014-11-09 00:46:28 +00:00
Robert Sparks 696e93254a Allow chosing the initial state when beginning WG processing of a draft. Fixes bug #1406. Commit ready for merge.
- Legacy-Id: 8608
2014-11-09 00:37:47 +00:00
Suresh Krishnan 16c5e24782 Synchronize the currently set tags when document state is edited
- Legacy-Id: 8602
2014-11-08 22:46:40 +00:00
Robert Sparks c436607039 merged forward. Adjusted new proceedings code to new models. Found bug in earlier work on proceedings code exposing places that tests are not covering.
- Legacy-Id: 8589
2014-11-05 21:19:09 +00:00
Ole Laursen 460f1319a2 Fix problem in test of editing status change relations
- Legacy-Id: 8587
2014-11-05 12:42:23 +00:00
Ole Laursen 3b239fa0ff Add JS functionality to edit the relations of a status change document
- Legacy-Id: 8586
2014-11-05 11:31:33 +00:00
Robert Sparks de94d49665 Tests that a message is set when a shepherd is not changed. Related to #1508 and r8504. Commit ready for merge.
- Legacy-Id: 8585
2014-11-04 21:15:11 +00:00
Ole Laursen 87870ca954 Fix more test errors - now only two not yet fully ported views remain
- Legacy-Id: 8571
2014-11-03 16:39:41 +00:00
Henrik Levkowetz 370f9efa56 Merged in [8506] from rjsparks@nostrum.com:\n change default notify address for IRTF stream documents. Fixes bug #1489.
- Legacy-Id: 8533
Note: SVN reference [8506] has been migrated to Git commit 31da337eb2
2014-10-31 21:47:50 +00:00
Henrik Levkowetz 4fda60a42a Merged in [8505] from rjsparks@nostrum.com:\n Allow removing a document shepherd, and test that it works. Fixes bug #1509.
- Legacy-Id: 8532
Note: SVN reference [8505] has been migrated to Git commit 0496ee1b73
2014-10-31 21:38:55 +00:00
Henrik Levkowetz cea2e8e603 Merged in [8504] from rjsparks@nostrum.com:\n Added tests that would have caught bug #1508. Added message to edit_shepherd_email to match that added in edit_shepherd.
- Legacy-Id: 8531
Note: SVN reference [8504] has been migrated to Git commit 905df236c3
2014-10-31 21:34:00 +00:00
Ole Laursen 7d0e817e5d Fix a bunch of failing tests, mostly due to changes in markup
- Legacy-Id: 8529
2014-10-31 17:20:14 +00:00
Ole Laursen b5a0ab81a6 Fix some Http404() to Http404 which seems to be the preferred style in Python
- Legacy-Id: 8528
2014-10-31 17:18:01 +00:00
Henrik Levkowetz 1ef00d44b2 Removed an unused import: pyflakes fix.
- Legacy-Id: 8521
2014-10-30 15:35:27 +00:00
Ole Laursen 41cb195f52 Rebase /personal/lars/5.6.4-facelift/ on trunk
- Legacy-Id: 8520
2014-10-30 14:31:07 +00:00
Henrik Levkowetz 7635d8d11a Fixed a bug in calculating can_edit_shepherd_writeup, triggered by the change in what Document.shepherd refers to (now, Email, used to be Person).
- Legacy-Id: 8510
2014-10-29 14:23:17 +00:00
Robert Sparks 31da337eb2 change default notify address for IRTF stream documents. Fixes bug #1489. Commit ready for merge.
- Legacy-Id: 8506
2014-10-27 22:23:09 +00:00
Robert Sparks 0496ee1b73 Allow removing a document shepherd, and test that it works. Fixes bug #1509. Commit ready for merge.
- Legacy-Id: 8505
2014-10-27 21:27:49 +00:00
Robert Sparks 905df236c3 Added tests that would have caught bug #1508. Added message to edit_shepherd_email to match that added in edit_shepherd. Commit ready for merge
- Legacy-Id: 8504
2014-10-27 18:35:57 +00:00
Henrik Levkowetz 594684a185 Fixed a problem with the fill_in_shepherd_email migration, even if it has been run (and things cleaned up), just in case it might be needed or viewed as a pattern later.
- Legacy-Id: 8503
2014-10-27 18:20:35 +00:00
Robert Sparks 055202dee4 Reworked logic flow for editing shepherds. Added message to inform the user when the shepherd is not changed. Fixes bug #1508. Commit ready for merge.
- Legacy-Id: 8498
2014-10-27 15:54:08 +00:00
Henrik Levkowetz ad2777972d Reverted erroneous commit [8495] to the tags branch.
- Legacy-Id: 8496
Note: SVN reference [8495] has been migrated to Git commit c706413064
2014-10-27 13:13:35 +00:00
Lars Eggert c706413064 Merge branch 'lars/5.6.4-facelift' into lars/5.7.1-facelift
Conflicts:
	ietf/group/edit.py
	ietf/group/views_stream.py
	ietf/nomcom/forms.py
	ietf/person/forms.py
	ietf/settings.py
	ietf/templates/doc/change_shepherd.html
	ietf/templates/doc/document_draft.html
	ietf/templates/doc/search/search_result_row.html
	ietf/templates/doc/submit_to_iesg.html
	ietf/templates/nomcom/edit_position.html
	ietf/templates/nomcom/list_positions.html
 - Legacy-Id: 8495
2014-10-27 11:08:30 +00:00
Henrik Levkowetz a18410cca5 Merged in [8438] from rjsparks@nostrum.com:\n Better evaluation of whether a document type is diffable. Fixes bug #1504.
- Legacy-Id: 8484
Note: SVN reference [8438] has been migrated to Git commit 71195b0a72
2014-10-26 20:00:29 +00:00
Henrik Levkowetz 55cef621bd Merged in [8305] from rjsparks@nostrum.com:\n Replaces the return_to_url notion with logic that uses the session object. Related to bug #1430.
- Legacy-Id: 8483
Note: SVN reference [8305] has been migrated to Git commit feb57a04f0
2014-10-26 19:35:10 +00:00
Henrik Levkowetz 5a6819832f Prevent 500 errors on file move race condition.
- Legacy-Id: 8480
2014-10-26 13:19:38 +00:00
Henrik Levkowetz df8705b187 Merged in patches from production.
- Legacy-Id: 8473
2014-10-25 21:14:00 +00:00
Henrik Levkowetz 704589b4c7 Merged in branch/iola/people-cleanup @ [8471] from olau@iola.dk, which
enhances a number of pages in the datatracker where forms contain fields
  where a person should be chosen, such as for instance when choosing the
  shepherd of a document, so that they uniformly display choices which show
  both email address and name.

  Furthermore, changes have been made so as to make the email address
  uniformly act as reference to the person record.  

  Autocompletion is now consistently provided when looking for the email
  address or name of the person to choose.  

  This solves a number of issues where it has been difficult to choose the
  correct Person/Email combination, and where the correct email address to use
  for an association has been unavailable previously.
 - Legacy-Id: 8472
Note: SVN reference [8471] has been migrated to Git commit d62f2343e8
2014-10-25 21:05:50 +00:00
Henrik Levkowetz 6e38e974f5 Merged in [8237] from rcross@amsl.com:
Changes to support video content in proceedings ('recording' document type).
 - Legacy-Id: 8462
Note: SVN reference [8237] has been migrated to Git commit 96bccc7b17
2014-10-24 12:18:25 +00:00
Robert Sparks c05d734cf3 one more tweak before refactoring
- Legacy-Id: 8455
2014-10-21 22:38:06 +00:00
Robert Sparks 2f6799ece6 Have working selectors for sessions related to a meeting and sessions related to a document, views for listing such sections that can be edited, and an edit form for changing the presented version. Checkpointing before big refactor to move the URI components around
- Legacy-Id: 8453
2014-10-21 21:16:27 +00:00
Robert Sparks 9a46f47168 fix diffable bug, improve form grooming, remove too restrictive help text from form
- Legacy-Id: 8439
2014-10-16 18:58:13 +00:00
Robert Sparks 71195b0a72 Better evaluation of whether a document type is diffable. Fixes bug #1504. Commit ready for merge.
- Legacy-Id: 8438
2014-10-16 18:36:29 +00:00
Robert Sparks 7e60f910d4 rework filters to avoid conflict in editing vs showing all
- Legacy-Id: 8436
2014-10-16 17:39:52 +00:00
Robert Sparks 31f687b343 allow editing of abstract for existing material
- Legacy-Id: 8435
2014-10-16 16:46:38 +00:00
Robert Sparks 2f56de6223 added abstract to the upload form
- Legacy-Id: 8434
2014-10-16 16:27:51 +00:00
Robert Sparks b86d5c1d09 renumber migration to resolve prefix collision after merge
- Legacy-Id: 8433
2014-10-16 16:01:16 +00:00
Robert Sparks e889177a32 merged forward
- Legacy-Id: 8432
2014-10-16 15:07:33 +00:00
Lars Eggert a4daf2630c Merge branch 'lars/5.6.3-facelift' into lars/5.6.4-facelift
Conflicts:
	ietf/doc/templatetags/ietf_filters.py
	ietf/doc/views_charter.py
	ietf/templates/doc/charter/edit_notify.html
	ietf/templates/doc/charter/edit_telechat_date.html
	ietf/templates/doc/document_ballot_content.html
	ietf/templates/doc/document_history.html
	ietf/templates/doc/edit_notify.html
	ietf/templates/doc/edit_telechat_date.html
	ietf/templates/doc/notify.html
	ietf/templates/group/concluded_groups.html
 - Legacy-Id: 8429
2014-10-14 11:48:57 +00:00
Henrik Levkowetz c1c892e3ac Merged in [8303] from rjsparks@nostrum.com:\n Only show comment/discuss document version on the ballot page when the text is for a version of the document other than the current one. Fixes bug #1482.
- Legacy-Id: 8389
Note: SVN reference [8303] has been migrated to Git commit 75f46e78e51c7312e9e31e1330f5f1f4eee58deb
2014-10-12 18:47:35 +00:00
Henrik Levkowetz 90fa82476b Merged in [8301] from rcross@amsl.com:
changes to support consensus status.
 - Legacy-Id: 8387
Note: SVN reference [8301] has been migrated to Git commit feec6899be
2014-10-12 18:31:39 +00:00
Henrik Levkowetz d4e5f070af Merged in [8293] from rjsparks@nostrum.com:\n XXX: Should what is now captured in the list of STATUSCHANGE_RELATIONS instead be captured in the database in name_docrelationshipname?
Refactored editing the notify field to remove redundant code.
Changed the default notification list to include .all for documents, and the wg list for wg documents.
Allowed recalculating the notification list for all document types.
Improved the calculated notification list value for charters, conflict-reviews, and status-changes.
Adds shepherds to the notification list when they are assigned to a document.
Adds the working group email list to the notification list when a document is adopted.
Fixes #1438
 - Legacy-Id: 8385
Note: SVN reference [8293] has been migrated to Git commit 640c5eb52ace8bb6d2c1b3ca6c14ef10ad0f324f
2014-10-12 17:32:11 +00:00
Henrik Levkowetz 320051213e Merged in [8271] and [8292] from rjsparks@nostrum.com:
Send email when a the telechat date (or returning item bit) changes for a document.
Fixes #1452
 - Legacy-Id: 8383
Note: SVN reference [8271] has been migrated to Git commit 80fc0c7caa4feac2966722324e42a53cabe67a6b

Note: SVN reference [8292] has been migrated to Git commit 7c56f8bad35b6ed06f6c6eff7436c178209d4143
2014-10-12 17:07:45 +00:00
Ole Laursen 5604914bfc Add AutocompletedDocumentsField to be used for replacements submission
and refactor milestones tool to use this field
 - Legacy-Id: 8381
2014-10-09 17:14:14 +00:00
Henrik Levkowetz ec3e247732 Merged in [8262] and [8263] from rjsparks@nostrum.com:
Changes when returning_item is automatically set to match the
    current IESGs preferences.  Removes several chunks of dead code
    related to editing telechat dates.  Improves returning item tests.

    Refactored multiple edit_telechat functions into one function in
    doc_views.  Added a helper function for determining if ballots have
    changed to isolate the implementation.  Fixed the issue with
    update_agenda setting the returning item bit even when the user
    explicitly said not to.  Added prompting to encourage proper setting
    of the returning item bit to the edit_telechat view.

    Fixes #1209
 - Legacy-Id: 8369
Note: SVN reference [8262] has been migrated to Git commit 9d8d0d63e2338d6fa81a82c553b8c6a1c3a105c1

Note: SVN reference [8263] has been migrated to Git commit 35a7436b782fc45e224ac9ea29bfb535fd3ce959
2014-09-28 19:57:01 +00:00
Henrik Levkowetz fc3773bcb4 Merged in [8256] from rjsparks@nostrum.com:\n Allow defer for status change documents. Fixes bug #1397.
- Legacy-Id: 8367
Note: SVN reference [8256] has been migrated to Git commit 1a29f28361b11bc32432be8b31e78d933a4d04d8
2014-09-28 19:13:31 +00:00
Henrik Levkowetz cea60ad8df Merged in [8255] from rjsparks@nostrum.com:\n Combined defer/undefer tests from doc/tests_ballot and iesg/tests, extending them to demonstrate current reported bugs.
Made doc.active_defer_event() look for the events that are currently being created. This remains brittle.
Added email notifying the IESG of an undefer analagous to the defer email.
Guarded against deferring an already deferred document or undeferring a document that hasn't been deferred.
Guarded against deferring a document that's not scheduled for a telechat.
Fixes bugs 1417, 1465, 1417
 - Legacy-Id: 8366
Note: SVN reference [8255] has been migrated to Git commit 0b49f402b4ec9145cb290b8a968755cc9ebdef92
2014-09-28 18:59:10 +00:00
Henrik Levkowetz 8e0200abc9 Merged in [8238] from rjsparks@nostrum.com:\n Look in the right place in the filesystem for the files bits when building reference relations during submit. Fixes bug #1467.
- Legacy-Id: 8362
Note: SVN reference [8238] has been migrated to Git commit c6e22bc429e3c77fd2d5be6d78c20a0c90cbc80b
2014-09-28 18:32:00 +00:00
Robert Sparks 754ee80016 snapshot before SIPit - have a working session presentation edit form
- Legacy-Id: 8358
2014-09-26 20:47:13 +00:00
Robert Sparks 67782ade34 merge forward complete
- Legacy-Id: 8354
2014-09-23 15:48:27 +00:00
Robert Sparks 81119d6f37 checkpoint before migrating forward to 5.6.4-dev0
- Legacy-Id: 8352
2014-09-23 15:34:10 +00:00
Robert Sparks c3f460cbe9 Refactored history snippets for general use
Moved from VersionedMaterials to SessionPresentation for the through table name
Added the abstract and most recent presentation to the documents on the group materials page
Working snapshot before building historic edu-team documents
 - Legacy-Id: 8349
2014-09-19 21:33:30 +00:00
Henrik Levkowetz 2ff2d79a7e Merged in [8210] from rjsparks@nostrum.com:\n Default the responsible AD for an initial charter or recharter document to the responsible AD for the group. Fixes ticket #1451.
- Legacy-Id: 8316
Note: SVN reference [8210] has been migrated to Git commit 77ddbbe04aedcf7ad7af35032606c1e952228a84
2014-09-16 19:52:24 +00:00
Robert Sparks feb57a04f0 Replaces the return_to_url notion with logic that uses the session object. Related to bug #1430.
- Legacy-Id: 8305
2014-09-11 20:41:59 +00:00
Ryan Cross feec6899be changes to support consensus status. Commit ready for merge
- Legacy-Id: 8301
2014-09-02 22:56:05 +00:00
Ole Laursen 5b7258ae12 Add change shepherd email page so that a document shepherd can change
the email address used for shepherding a document
 - Legacy-Id: 8297
2014-08-25 22:59:33 +00:00
Ole Laursen 92e5694ed3 Revamp the AutocompletedEmailsField API a bit to allow for an AutocompletedPersonsField
- Legacy-Id: 8282
2014-08-18 13:55:43 +00:00
Ole Laursen 7b36280070 Rename EmailsField to AutocompletedEmailsField and add a singular
AutocompletedEmailField that cleans to a single Email to make it
easier to use with ModelForms
 - Legacy-Id: 8280
2014-08-18 11:50:04 +00:00
Ole Laursen 5d714469a1 Use Role.formatted_email a couple of places we actually have the role
rather than use the one on person as the latter is guessing while the
former is not
 - Legacy-Id: 8273
2014-08-17 10:07:21 +00:00
Ole Laursen 9e9ec98206 Moved EmailsField from person.forms to person.fields
- Legacy-Id: 8269
2014-08-14 08:03:11 +00:00
Ole Laursen f291a466d7 Change Document.shepherd to point to the email address rather than the
person, add migration to fix the existing shepherds, fix wording and
max entries on change shepherd page to be more self-explanatory
 - Legacy-Id: 8268
2014-08-13 11:40:01 +00:00
Ryan Cross 96bccc7b17 changes to support video content in proceedings ('recording' document type). Commit ready for merge
- Legacy-Id: 8237
2014-08-04 17:17:52 +00:00
Ryan Cross 61668dba80 changes to support input of session recordings
- Legacy-Id: 8216
2014-07-30 21:55:42 +00:00
Robert Sparks ffa20b19ab Improves how many href urls are constructed. Updates ticket #1459. Commit ready for merge
- Legacy-Id: 8204
2014-07-24 17:31:06 +00:00
Henrik Levkowetz 73ae54d407 Merged in [8150] from rjsparks@nostrum.com:
Small cleanup refactor removing redundant configuration line in settings for charter text URLs.
 - Legacy-Id: 8162
Note: SVN reference [8150] has been migrated to Git commit 7266cda08a
2014-07-21 23:16:02 +00:00
Henrik Levkowetz 712c89f149 Merged in [8143] from tterriberry@mozilla.com:\n Allow IRTF chair to adopt a draft into any RG.
Fixes #1082.
 - Legacy-Id: 8153
Note: SVN reference [8143] has been migrated to Git commit e9c79a9e19
2014-07-20 15:04:12 +00:00
Robert Sparks 7266cda08a Small cleanup refactor removing redundant configuration line in settings for charter text URLs. Commit ready to merge.
- Legacy-Id: 8150
2014-07-20 03:50:20 +00:00
Henrik Levkowetz f50fa3a412 Merged in personal/shane/v5.6.2-dev0@8144 from shane@time-travellers.org:
Added untrack to document and search pages. Fixes #1381.
 - Legacy-Id: 8145
2014-07-19 21:44:36 +00:00
Henrik Levkowetz 6036a09dca Merged in [8136] from denghui@chinamobile.com:
add revision number for ballot input Fixes issue #911.
 - Legacy-Id: 8144
Note: SVN reference [8136] has been migrated to Git commit 9371ca969f
2014-07-19 21:33:02 +00:00
Timothy B. Terriberry e9c79a9e19 Allow IRTF chair to adopt a draft into any RG.
Fixes #1082.
Commit ready for merge.
 - Legacy-Id: 8143
2014-07-19 21:15:47 +00:00
Shane Kerr 5639bc79fa Added untrack to document and search pages. Implements #1381. Branch ready for merge.'
- Legacy-Id: 8140
2014-07-19 21:03:51 +00:00
Shane Kerr ea05042d12 Provide "untrack" option in the search results page.
- Legacy-Id: 8139
2014-07-19 21:00:22 +00:00
Deng Hui 9371ca969f add revision number for ballot input Fixes issue #911. commit ready for merge
- Legacy-Id: 8136
2014-07-19 20:41:06 +00:00
Shane Kerr 4d71417817 Untrack this document button added to draft document view.
- Legacy-Id: 8130
2014-07-19 19:44:30 +00:00
Henrik Levkowetz 27a5e27e20 Merged in [8122] from gnocuil@gmail.com:\n Force mailing to secretary when a charter state changed to internal or external review. Fixes ticket #1444.
- Legacy-Id: 8128
Note: SVN reference [8122] has been migrated to Git commit 8ca62eae6d
2014-07-19 18:34:21 +00:00
Cong Liu 8ca62eae6d Force mailing to secretary when a charter state changed to internal or external review. Fixes ticket #1444. Commit ready for merge.
- Legacy-Id: 8122
2014-07-19 16:12:21 +00:00
Robert Sparks 4de405e8d3 Use the name field from the materials upload form. Fixes ticket #1445. Commit ready for merge.
- Legacy-Id: 8099
2014-07-16 14:47:39 +00:00
Henrik Levkowetz f07e02b462 Merged in [8057] from olau@iola.dk:\n Change Document.get_absolute_url to handle case of non-meeting-based group materials, fixes #1440
- Legacy-Id: 8064
Note: SVN reference [8057] has been migrated to Git commit 9eba9f78d8
2014-07-13 21:40:41 +00:00
Ole Laursen 9eba9f78d8 Change Document.get_absolute_url to handle case of non-meeting-based group materials, fixes #1440
- Legacy-Id: 8057
2014-07-08 15:47:06 +00:00
Henrik Levkowetz 09f654b1f4 Merged in branch/iola/team-support from olau@iola.dk. This generalises and extends the group support for WGs and RGs so that also other groups, such as for instance the Edu Team, can have pages.
- Legacy-Id: 8013
2014-07-02 19:30:07 +00:00
Ole Laursen 20fb8ff315 Fix the now wrong comment about WG charter canonical names being able
to change
 - Legacy-Id: 7937
2014-06-26 16:31:17 +00:00
Ole Laursen e92e57acd2 Fix an instance of charter-ietf-%s that should really be charter-%s-%s
to support RG charters properly, also remove the dead code for
handling group acronym renames (it contained some instances of
charter-ietf-%s too)
 - Legacy-Id: 7936
2014-06-26 16:24:06 +00:00
Henrik Levkowetz f00f589e66 Renamed a very specialized function from email_secretariat() to email_iesg_secretary_re_charter().
- Legacy-Id: 7923
2014-06-17 16:31:12 +00:00
Henrik Levkowetz a03ee6b333 Changed the code to move drafts from the active draft repository to the draft archive so that all associated files will be moved, not just those with specifically listed extensions. This fixes the problem that .xml files associated with submitted drafts were moved to the unknown_ids subdirectory of the archive, instead of into the archive proper.
- Legacy-Id: 7922
2014-06-16 16:23:18 +00:00
Ole Laursen f9ee750afd Make it possible to adjust the name of new materials upon upload, also fix a couple of warnings from PyFlakes
- Legacy-Id: 7914
2014-06-13 12:30:42 +00:00
Henrik Levkowetz 9ff2b9ff9a Merged in support for RG pages, from branch/iola/rg-support.
- Legacy-Id: 7866
2014-06-09 20:52:14 +00:00
Ole Laursen 602feff7c9 Add tests for new material code
- Legacy-Id: 7850
2014-06-04 13:10:55 +00:00
Ole Laursen 6e83335f0f Fix a bunch of mistakes found by PyFlakes in the new materials code
- Legacy-Id: 7839
2014-06-03 11:28:27 +00:00
Ole Laursen b56b8deff9 Fix some bugs in displaying meeting-related materials in the new material
support under /doc/
 - Legacy-Id: 7838
2014-06-03 10:43:15 +00:00
Ole Laursen 2a1f902a67 Rewrite error handling in get_document_content to use a with statement
instead of finally
 - Legacy-Id: 7837
2014-06-03 10:42:33 +00:00
Ole Laursen 88cf68d43f Move group material handling code to doc/material/ now that the view of the material is integrated into /doc/, fix a bunch of bugs
- Legacy-Id: 7834
2014-06-03 09:42:16 +00:00
Ole Laursen c94757405d Add a /doc/ page for materials (slides, agendas, minutes), link to that from the group materials page
- Legacy-Id: 7825
2014-06-02 12:18:42 +00:00
Ole Laursen 544cd702bb Drop the material doc type, instead present a choice of doc types for uploading materials (currently only slides) and use that, introduce a DOCUMENT_PATH_PATTERN setting for storing the files and only look in proceedings/ for documents that are actually meeting related
- Legacy-Id: 7802
2014-05-30 14:07:16 +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 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
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
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 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
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 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 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 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 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
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
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
Ole Laursen d3efeb421f Introduce basic charter support for non-WG groups
- Legacy-Id: 7550
2014-03-27 17:06:56 +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
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 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
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 8a6c121073 Made ietf/secr/groups pyflakes-clean.
- Legacy-Id: 7480
2014-03-15 21:13:21 +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
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 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 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
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 c52d7c00fe Removed a debug statement.
- Legacy-Id: 7243
2014-02-16 16:29:29 +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 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 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 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 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
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
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
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 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 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 84136cb5ae Add missing doc page tests, found by the coverage check
- Legacy-Id: 7087
2014-01-09 17:03:59 +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
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 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 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 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 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 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
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
Ole Laursen 84a9f49053 mimetype -> content_type (mimetype is deprecated)
- Legacy-Id: 6945
2013-12-16 16:53:47 +00:00
Ole Laursen 5021ed5629 Port feed setup to new feed API where each feed is a class-based view
- Legacy-Id: 6939
2013-12-16 16:29:22 +00:00
Ole Laursen 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 0006b9ddcc Make sure all model forms have a Meta.fields attribute
- Legacy-Id: 6927
2013-12-13 17:20:02 +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 9b8fe8bd50 Move is_safe to parameter on template filter
- Legacy-Id: 6902
2013-12-12 12:27:33 +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 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 6a98fec2c3 Use built-in json module in Python instead of simplejson bundled with Django
- Legacy-Id: 6883
2013-12-11 16:59:19 +00:00
Ole Laursen c15063f3c2 Adjust the import path for feeds
- Legacy-Id: 6879
2013-12-11 16:40:49 +00:00
Ole Laursen cfa0d47ca0 Port to new class-based generic redirect and simple template views, remove utils.lazy.reverse_lazy, it's now included in Django
- Legacy-Id: 6878
2013-12-11 16:36:09 +00:00
Ole Laursen f5b2cfbc42 Make MEDIA_URL end in slash
- Legacy-Id: 6874
2013-12-11 15:29:38 +00:00
Ole Laursen 3e709e3f24 Remove proxies
- Legacy-Id: 6826
2013-12-07 12:01:57 +00:00
Ole Laursen e63ac36b8f Remove shim layer from ietfauth, delete some dead code and migrate
remaining importers of ietfauth.decorators to ietfauth.utils
 - Legacy-Id: 6797
2013-12-05 16:24:03 +00:00
Ole Laursen 5f002cf0ac Fix some test errors
- Legacy-Id: 6795
2013-12-05 15:30:17 +00:00
Ole Laursen 18743a3e96 mark_safe result from parse_email_list filter, fix an import bug
- Legacy-Id: 6792
2013-12-04 18:25:44 +00:00
Ole Laursen bbcbfc3a05 Drop the obsolete backwards-compatible email.Utils import in
ietf_filters, add strip_email filter for getting rid of the email part
of a "name <email@example.com>" string, fix spelling mistake
 - Legacy-Id: 6791
2013-12-04 17:59:25 +00:00
Ole Laursen 8a4990cb1e Remove some redundant imports from doc/proxy.py
- Legacy-Id: 6783
2013-12-03 19:00:52 +00:00
Ole Laursen bb2d070679 Redo tests for IPR to cover all views, fix some bugs and add some
finishing touches
 - Legacy-Id: 6779
2013-12-03 18:33:07 +00:00