Commit graph

117 commits

Author SHA1 Message Date
Henrik Levkowetz 1e27d3b619 Merged [3379] from esanchez@yaco.es:
Validate title extraction. Fixes #706
 - Legacy-Id: 3446
Note: SVN reference [3379] has been migrated to Git commit ac8dff7b56440d730d0e18ff61007ebb7d87ef68
2011-10-13 15:35:31 +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
Ole Laursen 5c5d534104 Add person foreign key on Role to link the role and person directly instead of through Email, this will allow us to use non-personal emails on roles
- Legacy-Id: 3418
2011-09-14 14:01:17 +00:00
Ole Laursen 7f5fd62a3d Add simple test for ID submission, needs more extensive checking
- Legacy-Id: 3416
2011-09-05 17:14:47 +00:00
Henrik Levkowetz b4592baeab Change the cutoff-settings to match what's desired. Move CUTOFF_HOUR to settings. Change the submission page template to not show the form during the down period.
- Legacy-Id: 3206
2011-07-23 13:07:40 +00:00
Henrik Levkowetz 413bcdabbd Set up app-specific email addresses so the respective developers will be notified about failures in code they have worked with.
- Legacy-Id: 3205
2011-07-23 12:49:56 +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 95898de070 Since we're marking the two-page extract as safe, we need to escape html-significant characters in the draft text explicitly.
- Legacy-Id: 3172
2011-06-08 19:25:34 +00:00
Henrik Levkowetz d98d27dfa6 Return an early error if we can't extract enough information from the draft to fill in the metainformation that lets the user return to this submission later. Tweak an error message.
- Legacy-Id: 3171
2011-06-08 19:24:15 +00:00
Henrik Levkowetz 010e924e74 Use the actual author email address rather than the method to recover email addresses when sending email.
- Legacy-Id: 3170
2011-06-08 19:21:41 +00:00
Henrik Levkowetz 9e24d26529 Add needed import.
- Legacy-Id: 3122
2011-05-12 14:25:16 +00:00
Henrik Levkowetz cf10bc0fd0 Catch exceptions from cancelled uploads.
- Legacy-Id: 3110
2011-05-10 12:11:32 +00:00
Henrik Levkowetz ccf046368d Add an admin interface to the submit app.
- Legacy-Id: 3108
2011-05-09 21:17:16 +00:00
Henrik Levkowetz 906484a327 We cannot currently assume that BallotInfo entries matching IDInternal.ballot exists. It seems ballot may be set to a value before the actual ballot entry is created, possibly by some old secretariat tool. Very broken, but we need to survive it :-(
- Legacy-Id: 3095
2011-05-04 18:13:53 +00:00
Henrik Levkowetz 9ce212f3eb Only add document comment 'New version available' if draft.idinternal exists. Add comment about substate change from 'Revised ID Needed' after the comment about 'New version available'.
- Legacy-Id: 3087
2011-05-03 22:05:33 +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 7fb27754f7 Send announcements when posting new version of a draft. Fixes #649
- Legacy-Id: 3085
2011-05-03 16:08:40 +00:00
Emilio A. Sánchez López fe699f7062 Fix expected revision for expired drafts. Fixes #656
- Legacy-Id: 3078
2011-05-03 07:32:25 +00:00
Emilio A. Sánchez López ccfd8b5eed Check if idinternal exists. See #654
- Legacy-Id: 3076
2011-05-02 00:21:21 +00:00
Emilio A. Sánchez López e0f4185c54 Change substate if needed. Fixes #654
- Legacy-Id: 3075
2011-05-01 23:49:13 +00:00
Emilio A. Sánchez López be0f5e4962 Allow creation dates that are 3 days after or 3 days before the current date. Fixes #652
- Legacy-Id: 3065
2011-04-26 15:10:48 +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 af039fba02 Do not assume that the two_pages_field field is not None. Fixes #651
- Legacy-Id: 3063
2011-04-26 14:43:08 +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 d78f5f651f Ignore *.pyc files under ietf/submit, as elsewhere.
- Legacy-Id: 3041
2011-04-12 15:57:35 +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
Henrik Levkowetz 842b8f428f Merged branch/yaco/idsubmit@2903 from esanches@yaco.es to trunk: The Rewritten I-D Submission Tool.
- Legacy-Id: 3036
2011-04-07 20:29:45 +00:00
Emilio A. Sánchez López 153cdc72fe Include middle initial and name suffix into authors information if presented.
Fix author update when auto posting. Fixes #626
 - Legacy-Id: 2903
2011-03-23 18:14:12 +00:00
Emilio A. Sánchez López 1dbe9bf3ed Add fields to store middle initial and name suffix of incoming authors. See #626
- Legacy-Id: 2902
2011-03-23 18:12:49 +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 2c2655a564 Fix form to not crash on invalid author extraction. Fixes #621
- Legacy-Id: 2893
2011-03-17 17:11:47 +00:00
Emilio A. Sánchez López 3bb83a6e23 Fix bug calling a self method. See #618
- Legacy-Id: 2891
2011-03-17 14:37:49 +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 be8fb661d5 Added submission_hash field. See #618
- Legacy-Id: 2888
2011-03-17 09:57:23 +00:00
Emilio A. Sánchez López 0dde7786cd Decorate two pages with revision errors. Fixes #616
- Legacy-Id: 2886
2011-03-12 17:26:29 +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 d95d089bc4 Use the correct filename when calling idnits. Fixes #611
- Legacy-Id: 2879
2011-03-12 12:44:08 +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 8756407eaf Fix the 'no txt file' bug. Fixes #603
- Legacy-Id: 2866
2011-03-01 08:34:32 +00:00
Emilio A. Sánchez López 4cb2f082d5 Link to a previous active submission. See #603
- Legacy-Id: 2864
2011-03-01 08:33:40 +00:00
Emilio A. Sánchez López 7181ca75b1 Fix bug if the submission has no idnits message. See #603
- Legacy-Id: 2863
2011-03-01 08:33:03 +00:00
Emilio A. Sánchez López 617469405a Show link to files in staging area. Fixes #599
- Legacy-Id: 2858
2011-02-14 19:11:44 +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 dbde6b7116 Fix bug when no txt was sent. Fixes #592
- Legacy-Id: 2856
2011-02-14 11:50:16 +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
Emilio A. Sánchez López 3942d63733 Recover confirmation url and fix draft_status template. Fixes #591
- Legacy-Id: 2847
2011-02-10 20:01:49 +00:00
Jacobo Tarragón 04c4043e25 allowing submissions to be canceled. Closes #591.
- Legacy-Id: 2846
2011-02-10 19:08:29 +00:00
Emilio A. Sánchez López 7c79a4d707 Edit of metadata and request manual post. See #595
- Legacy-Id: 2845
2011-02-10 18:29:37 +00:00
Emilio A. Sánchez López 2f68029530 Do not allow 00 revisions if we are in first cut off. Fixes #580
- Legacy-Id: 2838
2011-02-09 20:13:14 +00:00
Emilio A. Sánchez López 63d78edc0d DoS Tresholds. Retrieve WG in a previous stage. Fixes #592
- Legacy-Id: 2837
2011-02-09 20:12:12 +00:00
Emilio A. Sánchez López 6aa16f2762 Show state of a previous submission. Fixes #590
- Legacy-Id: 2836
2011-02-09 17:14:50 +00:00
Emilio A. Sánchez López 86229aa478 Saving files in staging area.
Saving information of upload in database.
Executing idnits.
Fixes #589
 - Legacy-Id: 2835
2011-02-09 10:42:37 +00:00
Emilio A. Sánchez López 37458917e0 Make critical parsing explicit. See #584
- Legacy-Id: 2828
2011-02-08 15:40:45 +00:00
Jacobo Tarragón 5dd4ef6742 make plain parser pep8 compliant. See #585.
- Legacy-Id: 2827
2011-02-08 15:25:59 +00:00
Emilio A. Sánchez López da78082080 Extract metadata from plain ascii file. Fixes #586
- Legacy-Id: 2821
2011-02-08 10:55:37 +00:00
Jacobo Tarragón 020e7f89ff merging author parsing in plain parser. Closes #585.
- Legacy-Id: 2820
2011-02-08 10:42:09 +00:00
Emilio A. Sánchez López c0f0d2c237 Two levels of parsing. Fixes #584
- Legacy-Id: 2819
2011-02-08 08:26:12 +00:00
Jacobo Tarragón c0e1084a20 fixing cutoff logic on submission. Closes #583.
- Legacy-Id: 2817
2011-02-07 17:08:33 +00:00
Emilio A. Sánchez López 4bc95f6436 Cutoff dates and basic checkings over the plain file. See #580
- Legacy-Id: 2806
2011-02-03 11:46:04 +00:00
Emilio A. Sánchez López 8c5ffce3eb Submit application skel, some direct templates and a very basic form. Fixes #575
- Legacy-Id: 2766
2011-01-27 19:35:59 +00:00