Commit graph

125 commits

Author SHA1 Message Date
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
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
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 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 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 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 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 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 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
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 d1782297ab assertEquals -> assertEqual in tests, the former is deprecated
- Legacy-Id: 6964
2013-12-17 12:52:24 +00:00
Ole Laursen 84a9f49053 mimetype -> content_type (mimetype is deprecated)
- Legacy-Id: 6945
2013-12-16 16:53:47 +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 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 f935577f77 Remove some unused references to SimpleUrlTestCase
- Legacy-Id: 6838
2013-12-07 13:30:41 +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 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
Ole Laursen 9457669310 Merge in changes from the old shimfree branch
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Ole Laursen e1708da2fe Cosmetic fix, insert missing space
- Legacy-Id: 6646
2013-11-04 13:49:32 +00:00
Henrik Levkowetz 7d4b1656bb Changed a test which changed a WG acronym, since this will (and should)
fail now -- we don't want to permit acronym changes.
 - Legacy-Id: 6440
2013-10-13 21:11:10 +00:00
Henrik Levkowetz 390309412f Changed the WG edit form so that once an acronym has been set, the acronym
field is read-only; also changed the form validation to not permit changes
to an existing acronym.
 - Legacy-Id: 6432
2013-10-12 15:33:54 +00:00
Henrik Levkowetz e4f4467725 Changed tests to use our own subclassed TestCase, and changed almost all fixtures to be perma_fixtures.
- Legacy-Id: 6320
2013-09-30 20:36:20 +00:00
Ole Laursen c191a691e0 Remove "names" fixture from all tests, since it's now loaded once just
after creating the test database through the global test fixture
mechanism - this speeds up multiple tests considerably
 - Legacy-Id: 6305
2013-09-29 17:35:59 +00:00
Ole Laursen 3701f2ac7d Use Role rather than Email when retrieving roles in wginfo - Role has
a link to both the email and the person (but didn't originally with
the new schema) so is better than the going through the email only, do
a couple of extra cleanups too while at it
 - Legacy-Id: 6301
2013-09-28 21:10:28 +00:00
Ole Laursen 705322f4a1 Add a select_related to role extraction in wginfo to reduce number of
DB queries a bit
 - Legacy-Id: 6247
2013-09-23 10:47:34 +00:00
Ole Laursen 2e29298d0c Move group charter actions from box and button next to header up to an
edit menu under the ordinary group menu
 - Legacy-Id: 6219
2013-09-20 14:09:30 +00:00
Ole Laursen 019ca2ae03 Merge changes from attic/shimfree into new branch to complete rebasing shimfree on trunk
- Legacy-Id: 6215
2013-09-20 09:48:58 +00:00
Ole Laursen 81ba5ef959 Move delegate handling to group edit page (like other group
personnel), show group delegates in the charter page with the other
personnel
 - Legacy-Id: 6195
2013-09-19 11:04:31 +00:00
Ole Laursen 570b757747 Move group workflow tests to wginfo
- Legacy-Id: 6147
2013-09-12 16:36:27 +00:00
Ole Laursen 5493f3c613 Fix missing import statement in for customize_workflow
- Legacy-Id: 6146
2013-09-12 16:36:10 +00:00
Ole Laursen 8657e4fd08 Redirect when POSTing on workflow customization page to prevent the
history from filling up with spam entries
 - Legacy-Id: 6138
2013-09-10 16:23:22 +00:00
Ole Laursen 9409814ada Fix missing import
- Legacy-Id: 6137
2013-09-10 16:22:11 +00:00
Ole Laursen 947345ecf2 Remove link to now obsolete shepherd pages, move manage workflow to
wginfo, fix a couple of oddities on the workflow page
 - Legacy-Id: 6136
2013-09-10 16:18:14 +00:00
Henrik Levkowetz a132e6720a Fixed 2 issues with the wg document list: Wrong heading for the related docs, and candidate wg docs listed as wg docs, rather than related docs.
- Legacy-Id: 6130
2013-09-10 15:43:17 +00:00
Ole Laursen 5a3cccce7c Fix subtle is_chair bug and construct group_documents_txt state names
directly from state instead of using search headings
 - Legacy-Id: 6113
2013-09-09 16:46:34 +00:00
Ole Laursen 3f9327eefe Fix crash bug in /wg/<bofname>/charter/ page for BOFs
- Legacy-Id: 6092
2013-09-06 22:38:57 +00:00
Ole Laursen b4feab127a Add basic tests for the information pages in wginfo
- Legacy-Id: 6089
2013-09-05 22:08:11 +00:00
Ole Laursen 6d17ab8015 Port wginfo/ to new schema, delete some dead code. Missing tests and
still a little bit of cruft left from views in other modules.
 - Legacy-Id: 6084
2013-09-03 16:51:22 +00:00
Ole Laursen 742dbace24 Move views and templatetags from idrfc/ to doc, the I-D specific views
go into views_draft.py and tests in tests_draft.py; what's left in
idrfc is wrapper code, templates and the ballot_icon templatetag
 - Legacy-Id: 6051
2013-08-14 10:32:25 +00:00
Ole Laursen ed7d8f2dd5 Remove debug print
- Legacy-Id: 6004
2013-08-09 15:57:47 +00:00
Ole Laursen 214b1e0a3b Be more strict when chartering a new group, only accept [a-z][a-z0-9]+
as acronym (specifically not hyphens), closes #1080.
 - Legacy-Id: 5965
2013-08-07 15:23:37 +00:00
Ole Laursen 52cefc5909 Don't include WGs without areas in the area-based overviews of WGs
(1wg-summary.txt and 1wg-charters.txt) to prevent crashes, fixes issue
#1083
 - Legacy-Id: 5963
2013-08-07 12:49:47 +00:00
Henrik Levkowetz cbfe489ff5 Merged in more shim-layer removals from olau@iola.dk
(-r5465:HEAD from branch/iola/shimfree).  Copying relevant
commit messages here:

 - Deleted dead code in many places.

 - Renamed id-something to draft-something, make the "is
   this eligible for expiration" logic clearer

 - Added a name for IPR search URL

 - Revamped the ballot popup view

 - URL reversed the IPR search link instead of hardcoding it

 - Cleaned up search views and remove dead code, port them to the new DB
   schema, hack related views in iesg/ and wginfo/ to use the new search
   interfaces, avoid camelCase in search GET parameters (with
   backwards-compat fallback), add some simple search unit tests, remove
   caching from views_search.py index pages as they're now pretty fast to
   generate, rewrite ballot popup JS, regularize some CSS classes to use
   hyphen-notation rather than camelCase, move some of the search
   templates to doc/.

   idrfc/ now mostly contains some wrapper code still in use by other
   subdirs, some ported code not yet moved, and dead code.

 - Fixed output bug in test crawler and print referrer upon errors so it's
   easier to figure out where a link came from

 - Added /doc/in-last-call/ to crawler, report original page as referrer in
   a redirect chain rather than intermediate URL

 - Ported idindex to new schema, speed them up, add tests, refactor index
   page in views_search to share code with the text index file, get rid
   of some special-case idindex filters from ietf_filters, move
   "/drafts/" redirects to a file in /doc/

 - Ported /idtracker/status/ and /idtracker/status/last-call/ overview of
   drafts in IESG process to new schema in /doc/iesg/ and
   /doc/iesg/last-call/

 - Added redirects for all of /idtracker/*, removed all view code and other
   dead code from idtracker/

 - Removed the idtracker sitemap indexing drafts - in its current form,
   it adds nothing of value to the HTML-based /doc/all/ view, and it's
   pretty slow

 - Ported idtracker feeds to new schema, move them to doc/, cleaned up
   idtracker/ - only templatetags/ietf_filters and proxy code is left
 - Legacy-Id: 5836
2013-07-17 20:52:39 +00:00
Henrik Levkowetz 68b05b609a Various fixes due to clear up tree conflicts and other bugs resulting from
the [5830] merge.
 - Legacy-Id: 5834
Note: SVN reference [5830] has been migrated to Git commit e678659b56
2013-07-16 14:02:43 +00:00
Henrik Levkowetz 96771f7340 Updated tests to not depend on the record ids of generated test data.
- Legacy-Id: 5821
2013-07-15 07:10:27 +00:00
Henrik Levkowetz bb7fbd8cab Merged [5794] to [5800] from olau@iola.dk:
* Skip IANA - Review Needed and Version Changed - Review Needed changes from
    IANA as it turns out that the Datatracker is the authoritative source on
    these states. Also improve logging so that the raw JSON from IANA is
    dumped, the parsed JSON on imported changes is dumped and we write to
    syslog before starting a sync script in the notification view.

  * Only add charter state change link when chartering, it doesn't make sense
    for an approved charter. Fixes #861.

  * Don't display group.comments on the charter document page. Apparently
    group.comments have been used by the Secretariat in the past for
    chartering comments, but it's not possible to edit the field and the whole
    thing doesn't make sense from a modelling perspective - a feature like
    this should probably use the note field on the charter.  Fixes issue
    #1048.

  * Don't crash if an attachment has been created already, just reuse it -
    this case shouldn't actually happen, but apparently sometimes does,
    probably due to a concurrency issue

  * Add link to charter pages from the milestones editing page (besides the
    cancel button), fixes #1044.

  * Special-case proposed working groups with respect to milestones, they get
    the charter milestones on the WG charter page rather than the current set

  * Show approved milestones on /doc/charter-xyz/ page if the charter is
    approved instead of only showing proposed milestones for proposed charters
 - Legacy-Id: 5812
Note: SVN reference [5794] has been migrated to Git commit a603b8e056

Note: SVN reference [5800] has been migrated to Git commit 0f69f87a56
2013-07-14 14:00:39 +00:00