Commit graph

423 commits

Author SHA1 Message Date
Henrik Levkowetz e737fa747c Fixed an incorrect list of string interpolation arguments.
- Legacy-Id: 9918
2015-07-30 13:17:14 +00:00
Henrik Levkowetz cdb0d24aed Improved the error reporting for invalid xml file submissions.
- Legacy-Id: 9916
2015-07-30 11:44:54 +00:00
Henrik Levkowetz fe6aa25af5 Improved the handling of failed xml2rfc conversions when no txt document was submitted.
- Legacy-Id: 9914
2015-07-29 19:38:00 +00:00
Henrik Levkowetz ea26114076 Merged in [9875] from rjsparks@nostrum.com:
Improve the form validation for the submission replaces form.
 - Legacy-Id: 9877
Note: SVN reference [9875] has been migrated to Git commit 766270a344
2015-07-25 15:29:30 +00:00
Robert Sparks 766270a344 Improve the form validation for the submission replaces form. Commit ready for merge.
- Legacy-Id: 9875
2015-07-23 14:24:59 +00:00
Henrik Levkowetz a7179d5e03 Merged in [9862] from rjsparks@nostrum.com:
Ignore suggestions that a draft replaces itself.
 - Legacy-Id: 9874
Note: SVN reference [9862] has been migrated to Git commit 6ccd96fb31
2015-07-23 12:42:49 +00:00
Robert Sparks 6ccd96fb31 Ignore suggestions that a draft replaces itself. Commit ready for merge.
- Legacy-Id: 9862
2015-07-23 08:02:26 +00:00
Henrik Levkowetz da893dad1c Merged in support of xml-source only drafts submissions from personal/henrik/submitxml/.
- Legacy-Id: 9859
2015-07-22 21:53:23 +00:00
Henrik Levkowetz d5f36911cf Added support of xml-source only drafts submissions.
- Legacy-Id: 9858
2015-07-22 21:35:44 +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 1d4dd91ca2 Merged in [9821] from rcross@amsl.com:
Allow Secretariat to submit drafts during blackout period.   Fixes #1755.
 - Legacy-Id: 9826
Note: SVN reference [9821] has been migrated to Git commit 007d7d22b4
2015-07-20 13:32:10 +00:00
Ryan Cross 007d7d22b4 Allow Secretariat to submit drafts during blackout period. Fixes #1755. Commit ready for merge.
- Legacy-Id: 9821
2015-07-20 09:56:19 +00:00
Henrik Levkowetz a55f0a1194 Merged in [9796] from suresh.krishnan@ericsson.com:
Don't allow submission for drafts that have been replaced. Fixed #1619.
 - Legacy-Id: 9815
Note: SVN reference [9796] has been migrated to Git commit 5b96bbc162
2015-07-19 12:26:13 +00:00
Adam Roach 5cb7c82e39 Check that email is sent to chairs of both replaced and replacing document
- Legacy-Id: 9808
2015-07-18 16:07:26 +00:00
Suresh Krishnan 5b96bbc162 Don't allow submission for drafts that have been replaced. Fixed #1619. Commit ready for merge
- Legacy-Id: 9796
2015-07-18 14:23:40 +00:00
Henrik Levkowetz 942352c50b Merged in [9766] from lars@netapp.com:
More HTML fixes.
 - Legacy-Id: 9787
Note: SVN reference [9766] has been migrated to Git commit 77f555bdbdfa653e4b5a0589ead9eda6632f10d7
2015-07-18 12:42:38 +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 aa702c1a93 Merged in [9619] from rjsparks@nostrum.com:
Copy the RFC Editor on new version messages for drafts in any stream if the RFC Editor is already working on the draft. Fixes bug #1700.
 - Legacy-Id: 9623
Note: SVN reference [9619] has been migrated to Git commit 8218a59e6f
2015-05-12 09:34:04 +00:00
Robert Sparks 8218a59e6f Copy the RFC Editor on new version messages for drafts in any stream if the RFC Editor is already working on the draft. Fixes bug #1700. Commit ready for merge.
- Legacy-Id: 9619
2015-05-12 02:08:32 +00:00
Henrik Levkowetz 1bced6e46b Tweaked the missing id submission revision message to work also with non-ascii characters in the draft name. Changed the disallowed character error message to be more useful by providing the found document name and byte codes for the disallowed characters.
- Legacy-Id: 9610
2015-05-11 11:23:56 +00:00
Henrik Levkowetz 4966e17158 Added 5 migrations for changes in model field help-text strings which changed in the facelift. Also fixed the expression of the help text for NomCom.reminder_interval so the text itself doesn't contain quite as much whitespace.
- Legacy-Id: 9589
2015-04-30 16:18:25 +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 3d2517dc1f Fixed a very confusing template variable naming.
- Legacy-Id: 9400
2015-04-04 16:43:52 +00:00
Henrik Levkowetz 625347cd2f Merged trunk@9354 to facelift copy
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Henrik Levkowetz 58810b327d Don't set email addresses created for submitted drafts to active any more.
- Legacy-Id: 9167
2015-03-08 13:22:29 +00:00
Henrik Levkowetz acff585098 Added submission tool cutoff text and logic for the case when there is only one cutoff date (in other words, the -00 and -01 cutoffs are the same).
- Legacy-Id: 9130
2015-02-25 20:54:39 +00:00
Henrik Levkowetz 298adf3e20 Added 4 new fields to the meeting class, to hold draft submission cutoff information for the meeting. On request, changed the presentation of the cutoff times to show the last submission time, rather than the beginning of the cutoff time. Changed the cutoff hour format to support full timedelta information, not just a given hour (this was necessary in order to be able to set the requested 23:59:59 submission stop time).
- Legacy-Id: 9107
2015-02-21 20:48:29 +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
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
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 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 0db48f3db0 Merged in [8840] from rjsparks@nostrum.com:\n Automatically ensure Alias records exists when Person records are changed, relieving multiple code locations of that responsibility. Fixes bug #1550.
- Legacy-Id: 8873
Note: SVN reference [8840] has been migrated to Git commit b0b3a31b10bb35eb00d29f27d75d21c3cc4edc4e
2015-01-20 22:32:01 +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 770b36d575 Added generated (and sometimes manually tweaked) resources.py files.
- Legacy-Id: 8744
2014-12-14 20:33:25 +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
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
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 4cc4f5080c Merged in [8254] from rjsparks@nostrum.com:\n Don't send mail to unknown-email-* addresses. Fixes bug #1471.
- Legacy-Id: 8365
Note: SVN reference [8254] has been migrated to Git commit f7f29a62588eac9b2aaf26cd0401a910fa48403f
2014-09-28 18:51:21 +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
Henrik Levkowetz 1c439cda48 Merged in [8236] from rjsparks@nostrum.com:\n Log what rebuild_reference_relations returns to diagnose #1467.
- Legacy-Id: 8360
Note: SVN reference [8236] has been migrated to Git commit b95b769267907f2ac8430893b153a7c82756265b
2014-09-28 17:53:02 +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 2a8fbb4063 Added validation of successful draft title extraction on draft submission upload, to avoid a later exception when trying to store draft information for a draft with a null title.
- Legacy-Id: 7730
2014-05-10 10:39:33 +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
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 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
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 5bef5d11ae Made doc/ pyflakes-clean.
- Legacy-Id: 7462
2014-03-15 16:09:47 +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
Henrik Levkowetz 2f274bdad8 Changed the use of non-existing variable 'ascii' to 'person.ascii'. Fixes a server failure for person alias creation during draft submissions.
- Legacy-Id: 7277
2014-02-20 12:39:34 +00:00
Henrik Levkowetz e593d9d640 Added a warning to the draft submission page about upcoming submission cut-offs. Added a value in settings.py for the number of days before the first cut-off to display the waring.
- Legacy-Id: 7233
2014-02-11 19:28:59 +00:00
Ole Laursen 09859b9e6a Implement missing submit tests as spotted by the coverage check
- Legacy-Id: 7081
2014-01-08 17:47:39 +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 d1207bf000 Delete some dead code from submission form
- Legacy-Id: 6892
2013-12-12 12:08:58 +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 9457669310 Merge in changes from the old shimfree branch
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Ole Laursen 12722a68fa Remove backtrace email code from submit __init__.py, after the submit revamp I think I am responsible for all remaining bugs and not esanchez@yaco.es, and the code sometimes annoyingly interferes (through a bug in admin) with loading the submit module in the shell
- Legacy-Id: 6722
2013-11-19 16:14:27 +00:00
Ole Laursen ce316c0adb assertEquals -> assertEqual in submit/tests.py (the former is apparently deprecated)
- Legacy-Id: 6719
2013-11-15 16:24:38 +00:00
Ole Laursen 9f1f7790e2 Add bin/expire-submissions script for making sure old submissions are canceled automatically
- Legacy-Id: 6718
2013-11-15 16:22:29 +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 422a20fe3d Add replaces field which is apparently in the database, but not in
models.py which confuses South
 - Legacy-Id: 6658
2013-11-06 15:24:22 +00:00
Ole Laursen 4635c1ce0f Move helpers for the admin on IdSubmissionDetail to admin.py
- Legacy-Id: 6657
2013-11-06 15:23:08 +00:00
Ole Laursen b46f0ba733 Get rid of submit/error_manager.py which is apparently unused
- Legacy-Id: 6656
2013-11-06 15:21:19 +00:00
Ole Laursen 2daff23f02 Remove shim layer from submit code
- Legacy-Id: 6654
2013-11-05 16:59:13 +00:00
Henrik Levkowetz dcc61a7eee Merged [6638] from jmh@joelhalpern.com:
Include confirmation addresses in ID-Submission success notice.
Fixes issue #1097.
 - Legacy-Id: 6653
Note: SVN reference [6638] has been migrated to Git commit 72885f4524
2013-11-05 15:03:25 +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
Robert Sparks b18249222b Refines Bill Fenner's regex based search through documents for references.
Populates RelatedDocument with relations for references for each type draft Document.
Replaces these reference relationships with updated copies on draft submission.
Note to deployer: This migration takes around 10 minutes to complete on a fast development laptop.
 - Legacy-Id: 6572
2013-10-30 20:51:11 +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
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
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 867f7a8149 Get rid of some pre-redesign dead code in submit to get rid of idrfc import
- Legacy-Id: 6047
2013-08-13 14:47:49 +00:00
Henrik Levkowetz 6baea429aa Merged in the nomcom app from ejimenez@yaco.es and esanchez@yaco.es, and accompanying dbtemplate app and the (standard) docutils module. Added some tweaks to get all tests to pass and migrations to run.
- Legacy-Id: 5948
2013-08-06 10:09:29 +00:00
Henrik Levkowetz 1e03a04eca Changed the mimetype detection code to only read first 4k block of file, not the whole file.
- Legacy-Id: 5878
2013-07-25 18:28:18 +00:00
Henrik Levkowetz a8c2bc80e9 Fixed bug in the rewritten mime-magic code.
- Legacy-Id: 5877
2013-07-25 15:20:21 +00:00
Henrik Levkowetz 4ed0337cae Made the code which uses the 'magic' module to determine file type and encoding work with both the old and new interface to python-magic.
- Legacy-Id: 5876
2013-07-25 14:45:01 +00:00
Henrik Levkowetz e678659b56 Merged in a lot of shim-layer removals from olau@iola.dk
(-r5194:5465 from branch/iola/shimfree).  Copying relevant
commit messages here:

  - Removed .related many to many relationship, it's not really useful
    since we always have to restrict on the relationship type anyway,
    instead add two helpers for doing the necessary queries (in both
    directions)

  - Added migration for transforming the .desc on the new_revision events
    into something more akin to what is actually shown in the history page

  - Added migration for blanking IESG notes that just consist of "RFC
    XXXX", these have been superfluous for some time

  - Grant stream chairs access to changing the stream on a draft

  - Hacked the format_history_text filter to be less weird, using the same
    formatting for snippets and full text, also link up legacy ballot set
    events

  - Moved the decoraters + utilities to new ietfauth/utils.py file

  - Added simple helper to Email to identify invalid email addresses (from
    legacy author entries)

  - Used new new_revision .desc format for when drafts are submitted

  - Improved the looks of the button class by adding extra contrast and a
    linear gradient. Currently the gradient is only visible in fairly
    recent browsers.

  - Rewrote draft and RFC tabs in terms of the new schema, porting
    write-up and history tabs as well

  - Fixed two bugs in RFC Editor syncing: make sure documents we don't know
    beforehand get a "draft" type and make sure individually submitted
    drafts get the type="individ" group instead of NULL

  - Made the CSS-styled button feel a bit nicer to use by flattening the
    active state, also introduce some temporary styles until browsers
    catch up with the standard syntax

  - Added migrations for fixing 1) a dummy RFC entry, 2) three stand-alone
    RFCs that didn't get their doc.type set, 3) a big bunch of historic
    stand-alone RFCs that have doc.group=None - set these to the
    individual submission "none" group for the time being so the view code
    doesn't have to deal with a special case.

    In some cases this is wrong since there actually was a WG associated
    but unfortunately fixing them properly requires detective work
    (probably parsing the RFCs) and in at least some cases recreating
    historic WGs. In case someone ends up doing this, the documents to
    check can still be found with

    Document.objects.filter(name__startswith="rfc", group__type="individ")
    since there are almost no new RFCs that didn't went through the I-D
    process.

  - Merged the I-D and RFC views by showing I-D information on RFCs too.
    I-Ds that have been published as RFCs redirect to the RFC URL. Also
    support alias URLs so e.g. /doc/bcpXXXX redirects to /doc/rfcXXXX.

  - Fixed revision augmentation so events after RFC publication gets a "RFC"
    designation

  - Fixed a bug with tabs not using provided name but rather doc.name

  - Displaying draft-iesg state rather than doc.friendly_state as IESG state,
    also show a notice that the IESG state refers to post-RFC processing
    if it does, like the old separate RFC page did

  - Fixed the RFC number doc.note migration to catch combined "RFC XXX; BCP
    XXX" notes too, use the opportunity to remove inserted HTML tags from
    notes and rely on linebreaksbr filter instead (the other thing was a
    left-over from the Perl days), update the various uses of the note to
    reflect that

  - Refactored slightly to make views_doc.py independent of other idrfc code

  - Moveed idrfc/views_doc.py to doc/ with associated templates, replace the
    somewhat fragile simple URL tests for views_doc.py with ordinary unit
    tests. The new tests are still fairly basic but at least test more
    than the URL tests did.

  - Made sure RFC's (and BCP/STD/FYI) are stored as RFC123 instead of
    RFC0123 in the alias table with a new migration and a change to the
    RFC Editor sync, this in turn makes /doc/std1/ do the right thing

  - Now /doc/std1/ works, we can actually do a local link in
    urlize_ietf_docs rather than linking to the tools.ietf.org server

  - Fixed history text formatter: sanitize HTML before adding linebreaks and
    non-breaking spaces, this cuts the time to render a history page with
    long comments in half

  - Added a test crawler that walks through the crawlable part of the site,
    reporting errors and slow pages

  - Got rid of initial "No record" positions when showing old positions,
    it's just noise

  - Added a .select_related() to the document main tab to reduce the number
    of DB queries, unfortunately it seems it doesn't really help with
    Django 1.2.x due to a bug (Document inherits from DocumentInfo which
    makes things a bit more complicated)

  - Introduced a simple cache in doc.get_state so repeated reads don't
    cause a DB query

  - Cleaned up the search code in preparation for removal of the shim-layer;
    use a static button and don't send extraneous GET parameters

  - Removed dead code in several places
 - Legacy-Id: 5830
2013-07-15 20:55:24 +00:00
Henrik Levkowetz fb68f35ca3 Remove keyword argument which isn't understood by log()
- Legacy-Id: 5757
2013-05-23 17:58:01 +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 df2a579c42 Don't use non-ascii names in the email lists (at least for now).
- Legacy-Id: 5700
2013-05-06 16:36:23 +00:00
Henrik Levkowetz 3418d3db45 Cleaning up old unused migrations for the submit app, and setting up a new
migration for a new submission field: replaces.
 - Legacy-Id: 5682
2013-04-21 21:23:39 +00:00
Henrik Levkowetz f159416157 Remove debug code.
- Legacy-Id: 5663
2013-04-18 22:14:26 +00:00
Henrik Levkowetz 90fe3989ee Changed which email addresses the submission tool uses for confirmation emails and sending out full submission status URLs from the emails found in the submitted document (which could be empty, broken, or intentionally different than the original authors) to the author emails from the previous version, where a previous version exists. This fixes breakage which can occur when no valid email addresses can be found in a broken submission, and also ensures that at least one of the authors of a previous version signs off on a new version, preventing submission hijacking.
- Legacy-Id: 5650
2013-04-15 22:12:31 +00:00
Henrik Levkowetz 2f3476690f In order that document states (which may be used by old documents) should not need to be removed when state machines change and states go out of use, all document states have a 'used' field. The code which accesses the state fields have not been requiring that used=True for the states returned, which is an error. Fixed this by adding 'used=True' to all State.objects.get() and State.objects.filter() call where it's relevant.
- Legacy-Id: 5486
2013-03-05 23:24:41 +00:00
Ole Laursen f85ce040a6 Use new new_revision .desc format for when drafts are submitted
- Legacy-Id: 5212
2013-01-16 14:37:50 +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
Henrik Levkowetz 83f7b4ca5a Got rid of some debug traces.
- Legacy-Id: 5130
2012-12-15 22:45:47 +00:00
Henrik Levkowetz 3a7480520f Merged [4999] from jmh@joelhalpern.com:
Correct test of final shepherd update flag.
 - Legacy-Id: 5014
Note: SVN reference [4999] has been migrated to Git commit aba18e8f38364ad17d451d0ed7e33aa01dfbeb52
2012-11-07 12:50:38 +00:00
Henrik Levkowetz 1c12b295ef Fixed a misleading error message given when disallowed character occurs in a draft filename.
- Legacy-Id: 4946
2012-10-22 18:18:49 +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
Ole Laursen 33baa215b8 Send new draft revision notifications to iab-stream@iab.org as per
IABs request
 - Legacy-Id: 4889
2012-10-03 08:52:24 +00:00
Ole Laursen 444a57a266 Notify iab@iab.org rather than the IAB Chair on new versions of IAB
stream drafts
 - Legacy-Id: 4867
2012-09-20 10:42:55 +00:00
Ole Laursen 513c2bcf4c Handle IANA Review state intelligently upon draft submission, email
IRSG/ISE/IAB on uploads to alternate streams, email RFC Editor in case
a draft under publication has a new upload
 - Legacy-Id: 4855
2012-09-17 16:06:21 +00:00
Henrik Levkowetz 88ea94ca44 Fixed another typo.
- Legacy-Id: 4818
2012-08-28 19:59:56 +00:00
Henrik Levkowetz e1d6e5f0ee Fix typo in import.
- Legacy-Id: 4816
2012-08-28 18:13:33 +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
Robert Sparks 87ebddd0ba Simplified access to current BallotDocevent from a Document.
Added functions to BallotDocEvents to faciliate access to BallotPositionDocEvents, both for all positions, and current AD postions.
Updated the moderator package to use the Documents from _agenda_data.
Added a filter to assist with rendering the moderator package.
Fixed a bug where different functions in idrfc/views_ballot were using log_state_changed expecting different implementations (a cleanup task should reconcile the _three_ implementations in the codebase of that function).
 - Legacy-Id: 4768
2012-08-17 20:45:32 +00:00
Robert Sparks fb2b9c9e6c Removed some duplication between doc/util and doc/models by moving things into doc/models. Fixes bug #857
- Legacy-Id: 4750
2012-08-02 21:36:36 +00:00
Robert Sparks da3e916f72 Moves the prefix for the URI to use for rfcdiff into settings.py.
Fixes bug #808
 - Legacy-Id: 4701
2012-07-28 20:19:36 +00:00
Henrik Levkowetz 798f7697af Merged [4600] from rjsparks@nostrum.com:
* Adds a new document type for conflict reviews, with a ballot for the IESG 5742 response to a review request
* Integrated the new document type into the iESG agenda views (including RSS feeds)* Removed the Edit and Add buttons from the document main view.
* Replaced Add with actions appropriate for the document type, such as "Begin IESG Processing" or "Begin IETF Conflict Review", and made most data directly editable on the document's main page, depending on access permissions.
* Removed a manual editing step that the secretariat had to perform when sending conflict review messages. The view now composes the message correctly given the stream.
* Added a pencil icon motif to differentiate fields that are editable.
* Generalized several views and helper functions to use Document instead of (e.g.) IdWrapper
* Generalized reading documents from the repository
* Added a way to get from IdWrapper  to the underlying Document to facilitate migrating way from the Wrapper classes* Added many helpers to Document to assist with migrating off IdWrapper
* Minor fixes and other changes
  * Fixes to document main view to avoid (silent) template failures. 
  * Began removing some of the code that is no longer reachable post-migration  * Corrected the behavior of the undefer code and added test cases for it
  * Improved initial population of notification lists and added the ability to regenerate the initial list
* Made the test code that scans for template coverage more robust
* Deployment notes:
  * new setting: CONFLICT_REVIEW_PATH. The associated directory will need to be created

This branch fixes bugs #805, #744 and #812
 - Legacy-Id: 4652
Note: SVN reference [4600] has been migrated to Git commit 798e7a50e7
2012-07-28 16:29:28 +00:00
Henrik Levkowetz a554288faf Tweaked the I-D submission confirmation email some more, to be able to update the test suite to find the confirmation URL in the message.
- Legacy-Id: 4645
2012-07-27 22:48:56 +00:00
Henrik Levkowetz 0c49999fc9 Updated utils/draft.py and modified the submit app code accordingly.
New features (keep in mind that utils/draft.py can be run standalone
to do extraction of draft author data, too):

  * The handling of author info formatted in columns causes problems
    in the face of an author named for instance A. Author with the
    company 'Al Author and Associates', causing breakage of email
    addresses longer than 'Al Author and'.  Tweaked the recognition
    of column data to require multiple (not only one) space around
    'and'.

  * Added support for extraction of author affiliation.

  * Tweaked the meaning of -t, --timestamp and added --notimestamp; and
    made the default be to emit leading timestamps based ont the draft
    file time.

  * Added support for running author extraction on RFCs, by not bailing
    out on not finding a draft name when RFC information is available.

  * Added support for additional date formats and author name formats.

  * Improved creation date extraction -- previously, the first supported
    date format which was recognized on the first page of the draft would
    be used, rather than the first date in a supported format.  This could
    cause errors if the Status of Memo section or Abstract contained a
    date occurring at the start of a line.

  * Tweaked the honorific regex to make things work better for the case
    when the full name in the author's address section includes a first
    name which isn't part of the first-page abbreviated name.  Fixes
    problems with draft-chiappa-lisp-introduction and similar.

  * Added a special case for people who provide their email address as
    'foo&cisco.com' instead of 'foo@cisco.com'.  Bah.

  * Added an alternative, more human-readable key-value-pair attribute
    output mode with a '-a' switch.

  * Tweaded the first-name regex to capture cases where the first name
    is indicated with an alternate first letter: 'Y(J) Stein'.  Fixes
    problems with draft-anavi-tdmoip and similar.
 - Legacy-Id: 4612
2012-07-11 12:51:33 +00:00
Henrik Levkowetz 6bc68a9a51 Behave slightly more gracefully if a submission has already been moved into place, and we're asked to do it again.
- Legacy-Id: 4548
2012-06-28 19:22:59 +00:00
Henrik Levkowetz 7474b27348 Merged in branch/iola/approval from olau@iola.dk, which provides a pre-approval page for new WG drafts.
- Legacy-Id: 4486
2012-06-21 00:24:48 +00:00
Henrik Levkowetz afe3ee71b8 Merged in fixes from Ole, from branch/charter:r4382-4407, and some changes from Henrik (removing the use of pos.blocked in views_ballot.py, and setting a ballot id in idrfc/testsREDESIGN.py) to make idrfc.EditPositionTestCase succeed.
- Legacy-Id: 4444
2012-06-10 16:22:16 +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 da3c40de49 Fix test error introduced by ballot refactor (test didn't set up
ballot position properly).
 - Legacy-Id: 4405
2012-05-07 19:21:26 +00:00
Henrik Levkowetz 29b4090bac Add an assertion in the test code to explicitly check that we have an OK idnits result.
- Legacy-Id: 4298
2012-04-22 14:17:27 +00:00
Henrik Levkowetz 896c1272c8 Indicate UTC on passed cut-off time and reopening time.
- Legacy-Id: 4155
2012-03-21 14:24:37 +00:00
Ole Laursen 0bc71c7146 Fix problem with concurrent posts as reported in #813 by preventing
accidentally submitting a post twice (with Javascript) and modifying the
move-old-files-to-archive code to not move the files away if they
belong to the same submission as the one we're accepting (this
mitigates a concurrent post to at least not end up with a non-existing
draft).
 - Legacy-Id: 4112
2012-03-16 17:22:33 +00:00
Ole Laursen e7cf907c94 Only set state "WG Document" on revision 00 documents, fixes problem
with overwriting manually set WG states when a new version is
submitted. Fixes #797.
 - Legacy-Id: 4074
2012-03-12 12:08:48 +00:00
Ole Laursen 117eac031a Be a bit more careful with handling the submitter info as well as it
turns out there are some (although apparently all old) entries with
author_order = 0
 - Legacy-Id: 4015
2012-03-01 18:06:38 +00:00
Ole Laursen 3ebee25c2a Handle users without a profile gracefully
- Legacy-Id: 4014
2012-03-01 17:47:02 +00:00
Ole Laursen 08a3ec7687 Work around problems if a document has two authors connected who's the
same person (fix the data issue rather than throwing an exception)
 - Legacy-Id: 4013
2012-03-01 17:18:37 +00:00
Ole Laursen 124b398729 Guard against None coming out of the draft parser, we need to convert
that into an empty string, fixes #775.
 - Legacy-Id: 3997
2012-02-28 18:37:22 +00:00
Ole Laursen 0144bcd05b Only set wg-doc on WG documents
- Legacy-Id: 3980
2012-02-26 21:32:24 +00:00
Ole Laursen cb1b56d912 Fix bug if we weren't able to deduce a stream
- Legacy-Id: 3979
2012-02-26 14:22:44 +00:00
Ole Laursen f05bc8cf1f Add "Assigned to area" select box to individually submitted documents
in the AD edit form, change search to define area = doc.group or
doc.group.parent (so don't take AD into account), plus a bunch of
small tweaks to make a document with an area set as group behave like
an individually submitted document, at least for the time being (they
are presented as "Individual in xyz area" on their document page)
 - Legacy-Id: 3968
2012-02-25 01:48:33 +00:00
Ole Laursen 480cb04cd6 Save announcements generated by the system as Messages, adding an
extra relation to be able to associate a draft with the message
 - Legacy-Id: 3917
2012-02-08 21:05:28 +00:00
Ole Laursen fd0b52df49 Add db_index to IdApprovedDetail.filename too
- Legacy-Id: 3871
2012-01-26 22:18:53 +00:00
Ole Laursen 172f209112 Add db_index to IdSubmissionDetail.filename
- Legacy-Id: 3870
2012-01-26 22:16:48 +00:00
Ole Laursen 980d4e6444 Move new schema models from redesign/ to ietf/
- Legacy-Id: 3855
2012-01-24 17:17:24 +00:00
Ole Laursen 819395928e Be more conservative in estimating the stream, for individual
submissions we should not set a stream but let it be decided later on
 - Legacy-Id: 3853
2012-01-24 13:19:25 +00:00
Ole Laursen 252513679d Don't assign independent IETF submission to the ISE stream
- Legacy-Id: 3845
2012-01-20 18:45:30 +00:00
Ole Laursen 923239a5dc Clean up old draft files when submitting a new draft
- Legacy-Id: 3811
2012-01-13 16:38:00 +00:00
Ole Laursen dceedbf53d Remove tombstone support from the code, importing drafts with their
version number unhacked
 - Legacy-Id: 3803
2012-01-12 16:50:26 +00:00
Ole Laursen f3685e7af1 Turn expiration into an explicit expires attribute on document, set
that on submission of new revision and resurrection
 - Legacy-Id: 3801
2012-01-12 12:03:45 +00:00
Ole Laursen 0dabaf96fb Split database into current and legacy, adding importer to copy reused
tables from legacy to new through Django (with minimal cleaning to
have the import go through) and removing migrations from submit and
liaisons as they interfere with the clean slate of the new database,
adjusting IPR model to add null=True on fields with nulls in the
database
 - Legacy-Id: 3778
2011-12-22 18:34:19 +00:00
Ole Laursen 498dc38507 Port to Django 1.2, replacing built-in patched Django with Django 1.2.7 (with patches applied on top) and replacing South with South 0.7.3
- Legacy-Id: 3773
2011-12-15 14:13:54 +00:00
Ole Laursen f74890aec4 Adjust to handle the slightly revamped email_address() on person
- Legacy-Id: 3750
2011-12-07 19:26:53 +00:00
Ole Laursen 3ed02196d7 Fix some instances where we use a non-role email for ADs in spite of them acting as ADs
- Legacy-Id: 3741
2011-12-06 14:01:44 +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 a8e219e16a Rename DocStreamName to StreamName, they're not really doc-specific
- Legacy-Id: 3707
2011-11-25 12:25:35 +00:00
Ole Laursen 5a4c23ea92 Merge with trunk
- Legacy-Id: 3676
2011-11-21 16:41:21 +00:00
Ole Laursen 5d291f222c Remove .state and .*_state on Document in favour of generic states
mapping, port the codebase to use these states
 - Legacy-Id: 3660
2011-11-16 18:18:06 +00:00
Henrik Levkowetz 945ef49db6 Be more specific about the submission startup time on meeting Monday. Indicate time and timezone for more cases on the submission form.
- Legacy-Id: 3628
2011-11-16 04:48:12 +00:00
Ole Laursen ce74be89ef Use the test mode in the mail code when running automated tests instead of
reinventing the wheel in test_runner
 - Legacy-Id: 3620
2011-11-15 11:24:33 +00:00
Ole Laursen ea7f45d56e Port ietfworkflows and wgchairs to new schema, fix missing state
setting in I-D submission, add tests
 - Legacy-Id: 3617
2011-11-14 19:40:20 +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 750f5e4ff0 Tweaked various message strings. Also made the cut-off messages use the actual hour defined in settings, rather than a hardcoded string saying '5 PM (PT)' ...
- Legacy-Id: 3515
2011-10-25 15:00:08 +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 76dd5aa53b Set the stream when submitting a document
- Legacy-Id: 3512
2011-10-25 14:32:03 +00:00
Henrik Levkowetz c89f9207b9 Fix a wrong settings variable (introduced when merging code from the yaco idsubmit branch for v3.61). Refine the error report for failures to move files from staging to repository.
- Legacy-Id: 3511
2011-10-25 14:22:51 +00:00
Henrik Levkowetz ed49393773 Refine the admin list page for submission details a bit.
- Legacy-Id: 3510
2011-10-25 14:20:26 +00:00
Henrik Levkowetz 34dfae8d23 Merged [3380] from esanchez@yaco.es:
Check for missed files on staging area. Fixes #707
 - Legacy-Id: 3447
Note: SVN reference [3380] has been migrated to Git commit 0d241bd7c0abf8942d5c121aa9dda5ee34cf75ae
2011-10-13 15:38:50 +00:00
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