Commit graph

59 commits

Author SHA1 Message Date
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 bd6d0775e1 Require posting confirmation for some particular draft name prefixes.
- Legacy-Id: 8591
2014-11-08 03:15:20 +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
Henrik Levkowetz b5df5c836e Merged in [7587] from rjsparks@nostrum.com:
Anyone with a role in a group could preapprove drafts. Changed that to an explicit subset of roles. Fixes ticket 998.
 - Legacy-Id: 7609
Note: SVN reference [7587] has been migrated to Git commit 5ba0a274933e61e242ebcbf72b2f37e27d1da60d
2014-04-13 20:42:26 +00:00
Henrik Levkowetz 45ed4e6da3 Merged [7421] from olau@iola.dk: Fix a crash bug in the redirection logic that occurs when someone
posts a draft without an access token from the email confirmation step
 - Legacy-Id: 7600
Note: SVN reference [7421] has been migrated to Git commit c0e34dbcad
2014-04-12 18:32:20 +00:00
Ole Laursen 25625a0241 Add support for RG Chairs for pre-approving draft submissions. Also fixup the preapproval JS so it auto-focuses the draft name text input when you click one of the prefilled names.
- Legacy-Id: 7542
2014-03-25 12:14:41 +00:00
Henrik Levkowetz 870be71f79 Made ietf/submit pyflakes-clean.
- Legacy-Id: 7499
2014-03-16 08:03:15 +00:00
Ole Laursen c0e34dbcad Fix a crash bug in the redirection logic that occurs when someone
posts a draft without an access token from the email confirmation step
 - Legacy-Id: 7421
2014-03-06 11:27:50 +00:00
Ole Laursen 5e7d8c6c08 Fix auth check for editing the metadata of a submission - the path
without an access token would not allow a Secretariat user but instead
always throw an exception
 - Legacy-Id: 7079
2014-01-08 17:40:22 +00:00
Ole Laursen 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 d66ac15fc2 Rewrite a bunch of HttpResponseRedirect + url reverse calls to instead
take advantage of the redirect shortcut (introduced in Django 1.1)
 - Legacy-Id: 6960
2013-12-17 10:23:42 +00:00
Ole Laursen 9457669310 Merge in changes from the old shimfree branch
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Ole Laursen 650d8316eb Make the submit tool use the access token framework with a bit of backwards compatibility glue
- Legacy-Id: 6717
2013-11-15 16:09:05 +00:00
Ole Laursen ecf68dbb05 Revamp and clean up submit models:
- Rename IdSubmissionDetail to Submission
- Rename various submission fields to correspond to the conventions in
  the new schema
- Use a name model for the states instead of IdSubmissionStatus
- Drop the TempIdAuthor model which is based on splitting up author
  names
- Add a simple textual SubmissionEvent for tracking events in the
  lifetime of a submission
- Delete a bunch of obsolete fields
- Make sure all submission have an access key so we can depend on it
- Add state for when approval is needed from previous authors

A couple of migrations take care of transforming the
IdSubmissionDetail and moving data over/cleaning it up.

Also revamp the submit view code:

- Make form code do validation/cleaning only so there's a clear
  separation of concerns
- Reduce uses of inheritance that made the code hard to follow -
  forms now don't inherit from each other, views don't call each other
  but instead reuse common utilities, templates share CSS/utilities
  instead of relying on inheritance
- Move email rendering/sending to separate file
- Drop the in-grown terminology use (auto post vs. manual posts)
- Make the status page explain who is emailed for what purpose
- Add history table with recorded events
- Make the status page handle its post actions by itself instead of
  duplicating most of the setup logic in a number of simple views
- Fix a couple of minor bugs and handle some edge cases better
- Expand tests with a couple of more cases

Possibly the submit tool could still use more help text added to
explain the process, ideally what's explained in the tool instructions
page should be inlined or self-evident.
 - Legacy-Id: 6714
2013-11-15 13:30:32 +00:00
Henrik Levkowetz 71d797bcb8 Refines Joel's fix to show clearly who receives draft submission confirmation emails, to show a more detailed warning text when the submitter isn't in the addressee list. Fixes issue #1097.
- Legacy-Id: 6659
2013-11-06 15:29:02 +00:00
Ole Laursen 2daff23f02 Remove shim layer from submit code
- Legacy-Id: 6654
2013-11-05 16:59:13 +00:00
Joel M. Halpern 72885f4524 Include confirmation addresses in ID-Submission success notice.
Fixes issue #1097.
 - Legacy-Id: 6638
2013-11-02 23:29:21 +00:00
Henrik Levkowetz 1dae75ee59 The exception string for submission upload read errors seems to have changed after we switched to wsgi, from "Client read error" to "request data read error". Now looking for just "read error".
- Legacy-Id: 6264
2013-09-26 06:29:28 +00:00
Henrik Levkowetz 08f5d1dc08 Preparatory work for adding a 'Replaces' field to the draft submission tool.
- Legacy-Id: 5719
2013-05-09 20:08:40 +00:00
Henrik Levkowetz 1fbcd783f3 Merged branch/iola/statesync up to @5118 to trunk.
- Legacy-Id: 5147
2012-12-20 20:32:03 +00:00
Ole Laursen c20a5f6bf0 Convert the submit tool to associate RGs and IAB with drafts instead
of assigning them to individual submission, this is not a complete
overhaul but at least basic support so submission works and doesn't
say WG when it means RG.
 - Legacy-Id: 4910
2012-10-10 16:15:09 +00:00
Henrik Levkowetz 40081edc27 Don't try to add a ballot's AD email addresses to a new version notification email if there's no ballot. Also did some linguistic fixes, and got rid of a wildcard import.
- Legacy-Id: 4809
2012-08-24 08:49:32 +00:00
Ole Laursen ed96cee2e4 Add listing of recently approved drafts to approval page by request
from Barry Leiba.
 - Legacy-Id: 4420
2012-05-14 18:21:34 +00:00
Ole Laursen c2b8c653fd Fix bug in submit, had forgotten I had replaced filename with name in
Preapproval model.
 - Legacy-Id: 4413
2012-05-10 18:22:03 +00:00
Ole Laursen 188c0846d0 Add approval/pre-approval page for Secretariat and WG Chairs, with
subpages for adding and canceling pre-approvals and a set of
migrations for replacing the old IdApprovedDetail with a slightly less
confusing Preapproval model.
 - Legacy-Id: 4411
2012-05-10 18:07:59 +00:00
Ole Laursen 8153a1c130 Patch up to pass request object to send mail in the instances where
it's possible (i.e. when not run in cron) in preparation for better
mail test handling
 - Legacy-Id: 3711
2011-11-25 18:24:14 +00:00
Ole Laursen 5a4c23ea92 Merge with trunk
- Legacy-Id: 3676
2011-11-21 16:41:21 +00:00
Henrik Levkowetz 35f89e0288 Improved handling of a particular IO Error that sometimes occur during draft submission.
- Legacy-Id: 3552
2011-10-28 08:47:28 +00:00
Henrik Levkowetz eae680f3ac Revert part of the change to this view -- there was a reason for catching the IOException, but it caught much more than was good...
- Legacy-Id: 3517
2011-10-25 16:12:48 +00:00
Henrik Levkowetz f3d31f0e97 Don't hide exceptions by returning a blank form when something goes wrong -- there's been temporary upload failures for some time, which have been difficult to trace and debug because the error condition has been hidden.
- Legacy-Id: 3514
2011-10-25 14:57:35 +00:00
Ole Laursen 6f10d2f3f7 Port submit to new schema, adding a set of tests and fixing some bugs
- Legacy-Id: 3436
2011-09-21 19:29:50 +00:00
Henrik Levkowetz f598e4b265 Make the cancel button available to the secretariat also when not coming in through the submission-hash URL.
- Legacy-Id: 3196
2011-07-23 11:58:33 +00:00
Henrik Levkowetz cf10bc0fd0 Catch exceptions from cancelled uploads.
- Legacy-Id: 3110
2011-05-10 12:11:32 +00:00
Henrik Levkowetz 8b1138b447 Merged in changes from esanchez@yaco.es, changesets [3063],[3064],[3065],[3075],[3076],[3078] and [3085]. Fixes submission tool issues with wrong expected version for recently expired drafts, lacking announcement emails, too narrow date tolerance, and server state changes being possible through http GET, and more; with minor tweaks to setting names in settings.py.
- Legacy-Id: 3086
Note: SVN reference [3063] has been migrated to Git commit af039fba02

Note: SVN reference [3064] has been migrated to Git commit fe466900e1

Note: SVN reference [3065] has been migrated to Git commit be0f5e4962

Note: SVN reference [3075] has been migrated to Git commit e0f4185c54

Note: SVN reference [3076] has been migrated to Git commit ccfd8b5eed

Note: SVN reference [3078] has been migrated to Git commit fe699f7062

Note: SVN reference [3085] has been migrated to Git commit 7fb27754f7
2011-05-03 21:41:53 +00:00
Emilio A. Sánchez López fe466900e1 Insert a button to perform the last step of autopost via POST request. Fixes #650
- Legacy-Id: 3064
2011-04-26 14:54:16 +00:00
Emilio A. Sánchez López 23d0ddf7e4 Ensure that 'get full url', 'approve' and 'force' views are called via POST request. See #650
- Legacy-Id: 3062
2011-04-26 14:35:07 +00:00
Emilio A. Sánchez López 8239d6bb80 Do not allow cancel submissions with GET requests. See #650
- Legacy-Id: 3061
2011-04-26 14:28:10 +00:00
Henrik Levkowetz fe10dfd20c Tweaked a number of setting value names and adjusted one value.
- Legacy-Id: 3037
2011-04-09 22:13:45 +00:00
Emilio A. Sánchez López 6f6d720daa Get author information from the tuple of draft.py. Do not mark as error if some author has no email. Fixes #626
- Legacy-Id: 2900
2011-03-23 09:53:25 +00:00
Emilio A. Sánchez López 883ec1d1d1 Do not require approval for individual submissions. Fixes #623
- Legacy-Id: 2895
2011-03-17 17:26:29 +00:00
Emilio A. Sánchez López 8db45b0bb9 Fixed grammar nit. Fixes #620
- Legacy-Id: 2894
2011-03-17 17:13:35 +00:00
Emilio A. Sánchez López 917d287182 Button to request the full access url of a submission. Fixes #618
- Legacy-Id: 2890
2011-03-17 12:14:53 +00:00
Emilio A. Sánchez López cc6af53359 Require submission hash in the url to perfom edit/post/cancel actions as a non secretariat user. See #618
- Legacy-Id: 2889
2011-03-17 10:38:32 +00:00
Emilio A. Sánchez López e20afe45e8 Do not allow to cancel already posted submissions. See #614
- Legacy-Id: 2884
2011-03-12 16:35:05 +00:00
Emilio A. Sánchez López d08c515e78 Fixed 'post first-click' bug.
Added domain into email with authorization key.
Extend the type of submission that secretariat can cancel or autopost. Fixes #614
 - Legacy-Id: 2882
2011-03-12 16:22:44 +00:00
Emilio A. Sánchez López cf455f5be2 Add a warning when submitting a draft that belongs to a non active WG. Fixes #607
- Legacy-Id: 2877
2011-03-03 18:03:47 +00:00
Emilio A. Sánchez López 3bd2097171 Customize mail sent to WG chairs requesting submission approval.
Added the domain of the tool to the url.
Save the submitter info.
Fixes #606
 - Legacy-Id: 2876
2011-03-03 17:27:06 +00:00
Emilio A. Sánchez López cd03c2109a Remove docs when canceling submission. Fixes #598
- Legacy-Id: 2857
2011-02-14 18:51:36 +00:00
Emilio A. Sánchez López cfaed84ba5 Authenticated post actions. Fixes #597
- Legacy-Id: 2850
2011-02-11 13:12:37 +00:00
Jacobo Tarragón 512f179a45 Check for WG approval before posting. Closes #596.
- Legacy-Id: 2848
2011-02-11 11:21:42 +00:00