Commit graph

546 commits

Author SHA1 Message Date
Ole Laursen 32a4a95b47 Summary: Fix bug with uploading new materials with new save API
- Legacy-Id: 10188
2015-10-12 13:20:43 +00:00
Ole Laursen 43445307b1 Summary: Be more careful with generating announcements for charters so
they are not saved unless we're in a POST
 - Legacy-Id: 10141
2015-10-07 10:42:31 +00:00
Ole Laursen d70a1601a6 Summary: Split charter names with acronyms containing hyphen correctly
- Legacy-Id: 10139
2015-10-07 09:15:37 +00:00
Ole Laursen ec54a59cc6 Summary: Be more careful when generating writeups so that we wait with
saving newly generated writeups until we see a POST (problem found by
the test crawler)
 - Legacy-Id: 10137
2015-10-06 16:20:12 +00:00
Ole Laursen 63d96e0354 Summary: Get rid of submit_initial_charter hack, only create a charter
when a first revision has actually been submitted.
 - Legacy-Id: 10136
2015-10-06 15:14:31 +00:00
Ole Laursen e93a7830bc Summary: Enable ISE and IAB stream state help
- Legacy-Id: 10133
2015-10-05 08:28:11 +00:00
Ole Laursen 08500ec743 Summary: Don't show edit buttons on snapshots of previous document revisions
- Legacy-Id: 10121
2015-10-02 08:24:02 +00:00
Ole Laursen b1fee9c139 Summary: Only show ballot approval text in case a draft has an IESG
state - the linked view has this restriction, so previously would
result in a 404
 - Legacy-Id: 10116
2015-10-01 14:53:00 +00:00
Ole Laursen 6f044eea08 Summary: Move definition of document names and group acronyms to
settings.URL_REGEXPS, partly to cleanup the urls.py files, partly to
make sure that all URL patterns agree on what constitutes a name
 - Legacy-Id: 10114
2015-10-01 14:16:16 +00:00
Ole Laursen 07f867e622 Summary: Enable the state help page for IRTF stream states (was
causing 404s)
 - Legacy-Id: 10105
2015-09-29 10:00:53 +00:00
Ole Laursen e1f0917659 Summary: Add new document saving API, Document.save_with_history(events).
The new API requires at least one event and will automatically save a
snapshot of the document and related state. Document.save() will now
throw an exception if called directly, as the new API is intended to
ensure that documents are saved with both an appropriate snapsnot and
relevant history log, both of which are easily defeated by just
calling .save() directly.

To simplify things, the snapshot is generated after the changes to a
document have been made (in anticipation of coming changes), instead
of before as was usual.

While revising the existing code to work with this API, a couple of
missing events was discovered:

- In draft expiry, a "Document has expired" event was only generated
  in case an IESG process had started on the document - now it's
  always generated, as the document changes its state in any case

- Synchronization updates like title and abstract amendmends from the
  RFC Editor were silently (except for RFC publication) applied and
  not accompanied by a descriptive event - they now are

- do_replace in the Secretariat tools now adds an event

- Proceedings post_process in the Secretariat tools now adds an event

- do_withdraw in the Secretariat tools now adds an event

A migration is needed for snapshotting all documents, takes a while to
run. It turns out that a single document had a bad foreign key so the
migration fixes that too.
 - Legacy-Id: 10101
2015-09-28 14:01:03 +00:00
Henrik Levkowetz 2fe8dcb4c2 Added a very simple html version of the json API, to make it easier to explore the api manually.
- Legacy-Id: 9991
2015-08-09 16:28:55 +00:00
Henrik Levkowetz 11411d2c30 Merged in an update from trunk@9942.
- Legacy-Id: 9961
2015-08-03 14:12:38 +00:00
Henrik Levkowetz fae9066c9d Merged in [9925] from rjsparks@nostrum.com:
Changed several email alias references from tools.ietf.org to ietf.org. Fixes #1759.
 - Legacy-Id: 9931
Note: SVN reference [9925] has been migrated to Git commit cd5b497acb
2015-08-01 10:23:58 +00:00
Henrik Levkowetz 17b100ec51 Merged in [9924] from rjsparks@nostrum.com:
Adds views of active areas, area groups, teams, and directorates.
Adds navigation to those views to the base menus.
Unifies URL patterns shared between group/urls and group/urls_info, 
exposing the same view at, e.g., /group/stir and /wg/stir/.
Improves testing, primarily of group/info.py
 - Legacy-Id: 9930
Note: SVN reference [9924] has been migrated to Git commit 461af5af19
2015-08-01 10:12:40 +00:00
Robert Sparks cd5b497acb Changed several email alias references from tools.ietf.org to ietf.org. Fixes #1759. Commit ready for merge.
- Legacy-Id: 9925
2015-07-30 22:13:59 +00:00
Robert Sparks 461af5af19 Adds views of active areas, area groups, teams, and directorates.
Adds navigation to those views to the base menus.

Unifies URL patterns shared between group/urls and group/urls_info, 
exposing the same view at, e.g., /group/stir and /wg/stir/.

Improves testing, primarily of group/info.py 

Commit ready for merge.
 - Legacy-Id: 9924
2015-07-30 21:51:38 +00:00
Henrik Levkowetz ab8d018760 Provide a document's rfc number (if any) as part of the document fields exposed in the json api.
- Legacy-Id: 9923
2015-07-30 18:57:44 +00:00
Henrik Levkowetz 69933000d0 Fixed 2 instances of missing protocol specifier in URLs, pointed out by Lars Eggert.
- Legacy-Id: 9844
2015-07-21 11:31:07 +00:00
Henrik Levkowetz e0af22a110 Added a migration to capture the new DocEvent types that came in with Ole's replaced_by code in [9829].
- Legacy-Id: 9835
Note: SVN reference [9829] has been migrated to Git commit 953d639ae3
2015-07-21 10:01:50 +00:00
Henrik Levkowetz 953d639ae3 Merged in Ole's submit-time draft replacement information work, as tested and updated by Robert and Adam.
- Legacy-Id: 9829
2015-07-20 14:53:20 +00:00
Henrik Levkowetz 72546dfe44 Merged in [9782] from lars@netapp.com:
Make title capitalization consistent with other pages.
 - Legacy-Id: 9801
Note: SVN reference [9782] has been migrated to Git commit 46cfd0b52a3982cd1e1d6a6e01a8ce03053ed345
2015-07-18 15:29:12 +00:00
Henrik Levkowetz 60b126b492 Merged in [9779] from lars@netapp.com:
Remove the code that used to calculate table_rows, now that the HTML doesn't
use it anymore.
 - Legacy-Id: 9795
Note: SVN reference [9779] has been migrated to Git commit ee1ea031452864ec1df0a92eb6d2512036d7e949
2015-07-18 14:09:28 +00:00
Adam Roach 313704f637 Now sends email to chairs of WG of 'possibly-replaced' document, if any
- Legacy-Id: 9794
2015-07-18 13:56:24 +00:00
Adam Roach 03e52126f3 Only display 'possibly replaces' information to those people who can approve it and to authors
- Legacy-Id: 9786
2015-07-18 12:18:38 +00:00
Henrik Levkowetz d8da10756d Added a guard against trying to fetch ad positions when there's no active ballot.
- Legacy-Id: 9722
2015-07-15 10:50:27 +00:00
Robert Sparks 02a9da52a1 Manually moved the concepts forward. Reworked some presentation. Working enough to bring testers in at Sprint93
- Legacy-Id: 9717
2015-07-13 21:09:39 +00:00
Henrik Levkowetz 8313f3ef08 When looking for a specific revision for a draft, which could be a quite old revision, look in the aggregate draft archive which should contain all available versions of drafts, also those which are missing in the official secretariat archive. Fixes issue #1729.
- Legacy-Id: 9713
2015-07-09 15:36:50 +00:00
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