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
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
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
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
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
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
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
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
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
9457669310
Merge in changes from the old shimfree branch
...
- Legacy-Id: 6764
2013-11-27 12:55:50 +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
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
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
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
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
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
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
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
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
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
980d4e6444
Move new schema models from redesign/ to ietf/
...
- Legacy-Id: 3855
2012-01-24 17:17:24 +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
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
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
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
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
Ole Laursen
76dd5aa53b
Set the stream when submitting a document
...
- Legacy-Id: 3512
2011-10-25 14:32:03 +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