Commit graph

101 commits

Author SHA1 Message Date
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 9cb8f65c8e Updated templates to use the static template tag for static files.
- Legacy-Id: 9945
2015-08-01 14:53:59 +00:00
Henrik Levkowetz fb79c8a22c Updated the meta-data error message to say 'errors ... below' instead of 'errors ... above', to match the relative placement of text and error indications.
- Legacy-Id: 9921
2015-07-30 18:22:28 +00:00
Henrik Levkowetz 54aac4e12a Updated templates to use the 'static' template tag to dynamically point to the correct static files location.
- Legacy-Id: 9889
2015-07-26 18:15:24 +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 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
Henrik Levkowetz 5d8306cfc8 Merged in [9733] from lars@netapp.com:
First round of HTML fixes identified by test-crawl --vnu.
 - Legacy-Id: 9764
Note: SVN reference [9733] has been migrated to Git commit 205df716f8bf4b7dae9e2637f3aa1ba048a158f9
2015-07-18 08:55:30 +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 8365a36c2f Fixed an issue where the https: schema inadvertently had been included in RFCDIFF_PREFIX, causing duplicate schema specifications in some places. Changed name to RFCDIFF_BASE_URL and cleaned out the duplicate schema specifiers.
- Legacy-Id: 9593
2015-04-30 22:00:49 +00:00
Henrik Levkowetz 0d08fff0ac Updated a bunch of links from http: to https: based on a patch from lars@netapp.com.
- Legacy-Id: 9555
2015-04-24 21:45:04 +00:00
Henrik Levkowetz ec0321e0da Added copyright lines and template origin to the html templates. Fixed a number of instances of html that didn't validate.
- Legacy-Id: 9551
2015-04-24 20:40:01 +00:00
Henrik Levkowetz d4bd6c3775 Renamed the base template file from 'ietf.html' to 'base.html'.
- Legacy-Id: 9427
2015-04-08 19:16:48 +00:00
Henrik Levkowetz 3d2517dc1f Fixed a very confusing template variable naming.
- Legacy-Id: 9400
2015-04-04 16:43:52 +00:00
Ole Laursen a589115ff4 Summary: Reindent all HTML files to follow the previous convention (no
tabs) and kill the scripts block in favour of just using a js block with
a script tag (which is easier to understand for context-sensitive
modes such as web-mode in Emacs). Also fix a couple of details, e.g.
missing semicolons in JS snippets.
 - Legacy-Id: 9096
2015-02-17 18:01:04 +00:00
Ole Laursen c72d465438 Summary: Insert anchor-target hack to try to alleviate the problem of
the top menu covering the anchor target, also increase the width at
which content navigation menus disappear
 - Legacy-Id: 9093
2015-02-17 15:17:05 +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
Ole Laursen 1d2883a9a2 Summary: Fix some inconsistencies regarding whether to use
{% buttons %} or <div class="buttonlist"> for form buttons
 - Legacy-Id: 8992
2015-02-05 14:44:08 +00:00
Ole Laursen 8c5f79ec4b Facelift a couple of pages that has previously escaped because of inheritance from a sub-base page
- Legacy-Id: 8939
2015-01-28 13:02:22 +00:00
Ole Laursen 7462ade959 Summary: Cleanup markup for navtabs a little, use CSS to add margin
instead of empty paragraph
 - Legacy-Id: 8919
2015-01-26 16:32:56 +00:00
Henrik Levkowetz 971a631ea3 Fix django 1.7 deprecation warnings: quote arguments to the 'cycle' template tag.
- Legacy-Id: 8826
2014-12-22 17:36:09 +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 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 6b0949ee43 Fixed a typo (missing space) in a template. Fixes issue #1398.
- Legacy-Id: 7715
2014-05-08 13:46:55 +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 1c6c3835e8 Typo fixes.
- Legacy-Id: 7254
2014-02-17 12:42:43 +00:00
Ole Laursen 5200a8170b Commit patch from r7172 to make the check for whether a draft
submitter is also one of the authors of the draft more robust on
djangoport branch too so it doesn't get lost in the noise
 - Legacy-Id: 7173
2014-01-28 11:23:52 +00:00
Ole Laursen 42ade6273c Turn on CSRF protection - all forms must from now on have a {% csrf_token %}
- Legacy-Id: 6963
2013-12-17 12:50:24 +00:00
Ole Laursen 7a86afe1ab Port templates to new {% url %} syntax with quotes around the first parameter
- Legacy-Id: 6877
2013-12-11 16:33:40 +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
Henrik Levkowetz bd76041df3 On request form the secretariat, added a note to the new I-D announcement
messages about there being a couple of minutes delay between submission and
the appearance of htmlized document and diff on the tools servers.
 - Legacy-Id: 5835
2013-07-17 10:00:05 +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 153d34cfe9 Fixed an instance of old use of first_name, last_name in submission tool code.
- Legacy-Id: 4839
2012-09-11 16:42:07 +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 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 a29d4c7d16 Changed and tweaked various submission emails in order to 1) make it less likely that they would be classified as spam (better ratio of English text to hash urls) and 2) provide better consistency in formatting of key/value information.
- Legacy-Id: 4640
2012-07-27 21:36:45 +00:00
Henrik Levkowetz 225e1a8e3a Reverting previous commit, going back to rev 4633. (Commit all made in error, only one file intended).
- Legacy-Id: 4635
2012-07-27 21:16:12 +00:00
Henrik Levkowetz 3176bea4a1 Added new RFC-Editor state tag 'AUTH48-DONE' to the rfc-ed-queue mirror script.
- Legacy-Id: 4634
2012-07-27 21:08:01 +00:00