Commit graph

5146 commits

Author SHA1 Message Date
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 9545e620b8 Summary: Add migration for renaming x3s3.3 to x3s3dot3
- Legacy-Id: 10113
2015-10-01 12:05:48 +00:00
Ole Laursen 51e96e3c12 Summary: Add rel="nofollow" to logout link in Secretariat tools
- Legacy-Id: 10110
2015-09-30 12:34:06 +00:00
Ole Laursen e91c97e7ff Summary: Save doc state in history in delete_material
- Legacy-Id: 10106
2015-09-29 12:55:54 +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 fd87b22030 Summary: Fix missing u in front of a format string (causes Unicode woes)
- Legacy-Id: 10104
2015-09-29 08:51:42 +00:00
Ole Laursen c39c4ae5cc Summary: Use double-quotes " instead of ' in src attrs to not confuse
the test crawler (which is slightly dumb)
 - Legacy-Id: 10103
2015-09-29 07:58:28 +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
Ole Laursen 99a9cb5569 Summary: Switch to a much faster password hasher when running unit
tests, the default, more secure one took ~20% of the test time
 - Legacy-Id: 10097
2015-09-23 09:49:48 +00:00
Henrik Levkowetz 58e116cc0a Made some submission form validation errors apply to all uploads, not only to .txt uploads. Tweaked som validation error wordings.
- Legacy-Id: 10076
2015-09-10 08:39:56 +00:00
Henrik Levkowetz cd0a482cb9 Log and re-raise the initial exception, rather than raising one later because submission is undefined.
- Legacy-Id: 10073
2015-09-03 15:14:44 +00:00
Henrik Levkowetz a4c49e09df Merged in [10062] from olau@iola.dk:
Summary: Fixed problem with timeslot.location = None in agenda_csv.
 - Legacy-Id: 10070
Note: SVN reference [10062] has been migrated to Git commit 129cccb88f
2015-08-30 09:32:18 +00:00
Ole Laursen 129cccb88f Summary: Fixed problem with timeslot.location = None in agenda_csv.
Commit ready for merge.
 - Legacy-Id: 10062
2015-08-26 07:52:05 +00:00
Henrik Levkowetz cb0e6b41a7 Set version info and settings back to development mode
- Legacy-Id: 10052
2015-08-23 19:41:36 +00:00
Henrik Levkowetz 64cdd2e95d Set version info to release version 6.4.1 before branching.
- Legacy-Id: 10050
2015-08-23 19:41:30 +00:00
Henrik Levkowetz 8ad020edd2 Removed an unused import.
- Legacy-Id: 10047
2015-08-23 19:31:28 +00:00
Henrik Levkowetz 8d43d9144f Template tweak.
- Legacy-Id: 10046
2015-08-23 19:28:28 +00:00
Henrik Levkowetz 3af7309179 Conditionally added the release note title to the release page log block.
- Legacy-Id: 10045
2015-08-23 19:25:51 +00:00
Henrik Levkowetz 83c48840ce Undid unwanted escaping of release log entries.
- Legacy-Id: 10044
2015-08-23 19:18:48 +00:00
Henrik Levkowetz ab1f80ec3e Removed the agenda.csv template, which isn't used any more.
- Legacy-Id: 10041
2015-08-23 19:04:56 +00:00
Henrik Levkowetz cb75c7d908 Added a migration for the Nomination.share_nominator field.
- Legacy-Id: 10039
2015-08-23 09:15:20 +00:00
Henrik Levkowetz 2c2c6a878a Merged in [10026] from rcross@amsl.com:
Fix issue with select2-field.js path in templates.
 - Legacy-Id: 10038
Note: SVN reference [10026] has been migrated to Git commit 1617a2d25c
2015-08-22 18:25:47 +00:00
Henrik Levkowetz f6c78bcecb Merged in [10004] from rjsparks@nostrum.com:
Return new forms instead of validated forms for nomcom nominations and feedback. Fixes #1703.
 - Legacy-Id: 10037
Note: SVN reference [10004] has been migrated to Git commit 1517efaba2
2015-08-22 18:00:16 +00:00
Ryan Cross 1617a2d25c Fix issue with select2-field.js path in templates. Commit ready for merge.
- Legacy-Id: 10026
2015-08-18 17:10:12 +00:00
Henrik Levkowetz 474986b3a2 Merged in [9996] from olau@iola.dk:
Summary: Fix missing save button when deleting milestones. Fixes #1762.
 - Legacy-Id: 10024
Note: SVN reference [9996] has been migrated to Git commit 3e76aa1f43
2015-08-18 16:01:16 +00:00
Henrik Levkowetz 0449ebcdfa Merged in [10002] from rjsparks@nostrum.com:
Add a checkbox to the nomination form to indicate permission to nomcom to share the nominator's name with the nominee.
 - Legacy-Id: 10023
Note: SVN reference [10002] has been migrated to Git commit bcc14cb0d1
2015-08-18 15:39:12 +00:00
Henrik Levkowetz 0712276737 Merged in [9989] from rjsparks@nostrum.com:
Restore color bands to the email-alias page.
 - Legacy-Id: 10022
Note: SVN reference [9989] has been migrated to Git commit 7fef69daa5
2015-08-18 15:25:04 +00:00
Henrik Levkowetz e58db5bf59 Merged in [9969] from lars@netapp.com:
Fix HTML error.
 - Legacy-Id: 10021
Note: SVN reference [9969] has been migrated to Git commit 39da058d7682b1940e30be38c6eb9020ad446b73
2015-08-18 14:36:27 +00:00
Henrik Levkowetz 766e367aca Merged in [9968] from lars@netapp.com:
Fix HTML nit.
 - Legacy-Id: 10015
Note: SVN reference [9968] has been migrated to Git commit 93c38844109d07415684ece41740d377e694aa9c
2015-08-13 09:05:24 +00:00
Henrik Levkowetz ed8ece2155 Merged in [9967] from lars@netapp.com:
Fix HTML bug.
 - Legacy-Id: 10014
Note: SVN reference [9967] has been migrated to Git commit d58ecd61c91e2bddbcb6bd9dcbde436ab92b8628
2015-08-13 08:27:25 +00:00
Henrik Levkowetz 127f4069d0 Merged in [9966] from lars@netapp.com:
Fix HTML bug.
 - Legacy-Id: 10013
Note: SVN reference [9966] has been migrated to Git commit 01ffcd458271e6af3da706bd7db55053c439624b
2015-08-12 20:30:50 +00:00
Henrik Levkowetz 09cecfdab3 Fixed the day-of-week agenda links to not pull the agenda up so high that the start of the day is obscured by the top navbar.
- Legacy-Id: 10006
2015-08-10 19:47:42 +00:00
Henrik Levkowetz fb66c1856f Merged in [9669] from olau@iola.dk:
Summary: Make the meeting agenda code use the historic info available
for groups. In the process, added some select_related/prefetch_related
code to cut the number of database queries in the agenda down from
4000-5000 to about 50. Rewritten agenda CSV code to use Python arrays
rather than a template for improved readability/reuse. Rewritten week
view to assemble its data in Python. Plus a few other minor cleanups,
e.g. lame_description is now gone.
Fixes #1088. Branch
 - Legacy-Id: 10005
Note: SVN reference [9669] has been migrated to Git commit acda84208d
2015-08-10 19:46:11 +00:00
Robert Sparks 1517efaba2 Return new forms instead of validated forms for nomcom nominations and feedback. Fixes #1703. Commit ready for merge.
- Legacy-Id: 10004
2015-08-10 18:28:08 +00:00
Robert Sparks 71a198c112 Remove spurious parenthesis from the template for viewing nomcom feedback. Commit ready for merge.
- Legacy-Id: 10003
2015-08-10 17:59:04 +00:00
Robert Sparks bcc14cb0d1 Add a checkbox to the nomination form to indicate permission to nomcom to share the nominator's name with the nominee. Commit ready for merge.
- Legacy-Id: 10002
2015-08-10 17:57:38 +00:00
Ole Laursen 3e76aa1f43 Summary: Fix missing save button when deleting milestones. Fixes #1762. Commit ready for merge.
- Legacy-Id: 9996
2015-08-10 11:36:20 +00:00
Henrik Levkowetz 47c9792ea5 Added a very simple html version of the json API, to make it easier to explore the api manually.
- Legacy-Id: 9992
2015-08-09 16:30:20 +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 24bc3a3e85 Make the selenium tests work with statifiles.
- Legacy-Id: 9990
2015-08-08 21:08:03 +00:00
Robert Sparks 7fef69daa5 Restore color bands to the email-alias page. Commit ready for merge.
- Legacy-Id: 9989
2015-08-07 20:35:43 +00:00
Henrik Levkowetz 6c253ee48b Improved the verification of submitted file extensions and mimetype.
- Legacy-Id: 9986
2015-08-07 12:10:26 +00:00
Henrik Levkowetz 6ebe1faf1a Set version info and settings back to development mode
- Legacy-Id: 9982
2015-08-06 18:34:46 +00:00
Henrik Levkowetz 94626536f5 Set version info to release version 6.4.0 before branching.
- Legacy-Id: 9980
2015-08-06 18:34:40 +00:00
Henrik Levkowetz 16d7f8e031 Merged in changes which make CDN serving of static files easy, adds bower management of external static files, and transitions the datatracker to use django's staticfiles framework.
- Legacy-Id: 9976
2015-08-06 09:54:43 +00:00
Henrik Levkowetz b26efc82f5 Merged in [9962] from rjsparks@nostrum.com:
Include some missing css and javascript for the submit/edit page. Fixes #1760 (though a more thourogh fix for when javascript is disabled is desirable).
 - Legacy-Id: 9963
Note: SVN reference [9962] has been migrated to Git commit 56f31cf083
2015-08-03 18:22:10 +00:00
Robert Sparks 56f31cf083 Include some missing css and javascript for the submit/edit page. Fixes #1760 (though a more thourogh fix for when javascript is disabled is desirable). Commit ready for merge.
- Legacy-Id: 9962
2015-08-03 15:56:42 +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 5fe1d43db2 Fixed some additional static file references.
- Legacy-Id: 9958
2015-08-01 22:02:14 +00:00