Commit graph

1766 commits

Author SHA1 Message Date
Adam Roach ec1516548a Fix for bug 676
- Legacy-Id: 3181
2011-06-27 19:59:38 +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
Robert Sparks eef5028182 Simple changes to EditInfoForm field initialization
- Legacy-Id: 3166
2011-06-01 03:17:41 +00:00
Henrik Levkowetz 4b06d7ec5e Set version info and settings back to development mode
- Legacy-Id: 3150
2011-05-24 20:59:32 +00:00
Henrik Levkowetz b5115d0d6c Set version info to release version 3.55 before branching.
- Legacy-Id: 3148
2011-05-24 20:59:04 +00:00
Henrik Levkowetz 4560cd6636 Update a queryset filter to match the changed model for WgMeetingSession.
- Legacy-Id: 3146
2011-05-24 20:58:37 +00:00
Henrik Levkowetz ddd0a7494b Change the default initial state for a WG document to 'WG Document', instead of 'Call for Adoption ...'.
- Legacy-Id: 3143
2011-05-23 21:57:14 +00:00
Henrik Levkowetz ed91fddd0c Label the link to edit a document's WG state 'Change WG State', in order to not confuse it with changing the IESG state.
- Legacy-Id: 3142
2011-05-23 21:54:34 +00:00
Henrik Levkowetz 454da29c0a Reorder the state information for a document into related groups, separated by rulers. Add some indentation to the template code to make it a bit easier to read in some places.
- Legacy-Id: 3141
2011-05-23 21:53:30 +00:00
Henrik Levkowetz 34128e79b5 Make the document status information table use the full width of the status pane, so dividing rulers also will stretch the full width of the pane.
- Legacy-Id: 3140
2011-05-23 21:51:36 +00:00
Henrik Levkowetz 0a662c2e1d Be more consistent in the use of State vs. Status.
- Legacy-Id: 3139
2011-05-23 21:49:58 +00:00
Henrik Levkowetz c485d5b527 Make the WG a draft belongs link to the WG page.
- Legacy-Id: 3138
2011-05-23 21:49:04 +00:00
Henrik Levkowetz b9b17625ea Correct an inappropriate use of the idsubmission repository location instead of the ID repository. Reported by Robert Sparks.
- Legacy-Id: 3137
2011-05-23 21:47:07 +00:00
Henrik Levkowetz 8d79c73685 Correct the text (add an omitted word 'press').
- Legacy-Id: 3136
2011-05-23 21:45:09 +00:00
Henrik Levkowetz 494b3c77fd Fix a problem with author extraction when a given name is the same as the surname.
- Legacy-Id: 3135
2011-05-23 21:42:34 +00:00
Emilio A. Sánchez López 532b3ebe1f Add wgchair management links into document view. Fixes #665
- Legacy-Id: 3133
2011-05-18 06:48:24 +00:00
Emilio A. Sánchez López 3628f5d501 Fix workflow migration. See #665
- Legacy-Id: 3132
2011-05-18 06:46:52 +00:00
Henrik Levkowetz 3ece259476 Set svn:ignore *.pyc in new directories.
- Legacy-Id: 3124
2011-05-12 14:29:37 +00:00
Henrik Levkowetz b6840f065c Only try to return a shepherd for a document if one has been assigned to the document.
- Legacy-Id: 3123
2011-05-12 14:27:48 +00:00
Henrik Levkowetz 9e24d26529 Add needed import.
- Legacy-Id: 3122
2011-05-12 14:25:16 +00:00
Henrik Levkowetz a142e89a87 Merged in branch branch/yaco/wgchairs from esanchez@yaco.es. This provides the WG Chair Tracker functionality.
- Legacy-Id: 3120
2011-05-11 20:27:12 +00:00
Henrik Levkowetz 3a2185f8e7 Merged in changes from esanchez@yaco.es, changeset [3067]. Makes Liaisons' Date field editable.
- Legacy-Id: 3118
Note: SVN reference [3067] has been migrated to Git commit ee52775458
2011-05-11 18:40:13 +00:00
Henrik Levkowetz 36c251b314 Add a bit of admin goodness for MeetingSessions.
- Legacy-Id: 3117
2011-05-11 18:32:52 +00:00
Henrik Levkowetz 02b5c4e392 Set version info and settings back to development mode
- Legacy-Id: 3115
2011-05-10 12:58:01 +00:00
Henrik Levkowetz 6d10e6ca4a Set version info to release version 3.54 before branching.
- Legacy-Id: 3113
2011-05-10 12:57:41 +00:00
Henrik Levkowetz e904041ea9 Don't try to do string join on None, in case any address in an address list given to the mail sending routines is missing and represented by None.
- Legacy-Id: 3111
2011-05-10 12:13:40 +00:00
Henrik Levkowetz cf10bc0fd0 Catch exceptions from cancelled uploads.
- Legacy-Id: 3110
2011-05-10 12:11:32 +00:00
Henrik Levkowetz 1d6cca7255 Merged in changes from rjsparks@nostrum.com, changeset [3107]. Fixes issues #659, #660, #661, #662 and #663.
- Legacy-Id: 3109
Note: SVN reference [3107] has been migrated to Git commit 6484874ca2
2011-05-09 21:34:09 +00:00
Henrik Levkowetz ccf046368d Add an admin interface to the submit app.
- Legacy-Id: 3108
2011-05-09 21:17:16 +00:00
Robert Sparks 6484874ca2 1) Restructured the position editing page to better integrate the defer button.
Fixes bug #659

2) Copied the jquery-1.5.1.min.js library into /static/js/lib (from /static/js)
    because that's where the main document template was looking for it. There have
    probably been several problems since the change that left this dangling that
    showed up as things not behaving, but not as errors. The one that clued me in
    was the discuss text-box not being hidden when the position wasn't DISCUSS.
    They should all behave better now.

3) Added a django form validator to the discuss text field to not allow actions
   when the position is Discuss, but the discuss-text is empty.
   2 and 3 together fix bug #660 

4) Added logic to the undefer fuction to put the document back on the previous
   telechat (if that hasn't already passed). That is, date1 from telechat dates,
   and not date2.
   Fixes bug #661

5) Changed the last_call_announcement generation function's template to include
   the abstracts from the document sets (which with modern usage means the abstract
   of the document) reflecting the IESGs decision of a few months back.
   Fixes bug #662

6) Removed the old tracker link from the document's main page
   Fixes bug #663 

_M   .
M    ietf/idrfc/views_ballot.py
M    ietf/templates/idrfc/last_call_announcement.txt
M    ietf/templates/idrfc/undefer_ballot.html
M    ietf/templates/idrfc/doc_tab_document.html
M    ietf/templates/idrfc/edit_position.html
_M   ietf/utils/draft.py
_M   static/media
A  + static/js/lib/jquery-1.5.1.min.js
 - Legacy-Id: 3107
2011-05-09 20:16:32 +00:00
Henrik Levkowetz 86f42b4702 Apply 'autoescape off' to all email templates which don'have it but might need it.
- Legacy-Id: 3102
2011-05-07 20:29:43 +00:00
Robert Sparks 024a74a562 1) Restructured the position editing page to better integrate the defer button.
2) Copied the jquery-1.5.1.min.js library into /static/js/lib (from /static/js)
   because that's where the main document template was looking for it. There have
   probably been several problems since the change that left this dangling that
   showed up as things not behaving, but not as errors. The one that clued me in
   was the discuss text-box not being hidden when the position wasn't DISCUSS.
   They should all behave better now.

3) Added a django form validator to the discuss text field to not allow actions
   when the position is Discuss, but the discuss-text is empty.

4) Added logic to the undefer fuction to put the document back on the previous
   telechat (if that hasn't already passed). That is, date1 from telechat dates,
   and not date2.

5) Changed the last_call_announcement generation function's template to include
   the abstracts from the document sets (which with modern usage means the abstract
   of the document) reflecting the IESGs decision of a few months back.
 - Legacy-Id: 3097
2011-05-05 13:58:37 +00:00
Henrik Levkowetz dd887eabeb Expand tabs in line during text wrapping, for consistent indentation handling.
- Legacy-Id: 3096
2011-05-04 18:15:34 +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 46e169d66e Reordering entries of submission forms and notification emails to be more appropriate.
- Legacy-Id: 3094
2011-05-04 18:09:44 +00:00
Henrik Levkowetz 279679a52d Committing changes to settings.py which should have been part of version 3.53. The deployed release has been patched.
- Legacy-Id: 3092
2011-05-04 11:28:43 +00:00
Henrik Levkowetz 15a55351b9 Set version info and settings back to development mode
- Legacy-Id: 3091
2011-05-03 22:38:39 +00:00
Henrik Levkowetz 73d527ffec Set version info to release version 3.53 before branching.
- Legacy-Id: 3089
2011-05-03 22:38:14 +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
Henrik Levkowetz 663113d6fa Previous IPR information in last call announcements could be incomplete. Use a better search for IPR declarations related to a document, and include the IPR information in the last call preview.
- Legacy-Id: 3084
2011-05-03 14:12:00 +00:00
Henrik Levkowetz 101fe5f3dd When extracting meta-information from drafts, it is required that some data reside on the first page. Split unpaginated drafts into chunks so we can adhere better to this.
- Legacy-Id: 3083
2011-05-03 14:10:43 +00:00
Henrik Levkowetz fb1ee770a7 Wrap long lines in the 'save and send email' view of AD ballot comments and discusses.
- Legacy-Id: 3082
2011-05-03 14:08:49 +00:00
Henrik Levkowetz 7e42ad64df Add some documentation to this opaque code.
- Legacy-Id: 3081
2011-05-03 14:06:46 +00:00
Henrik Levkowetz 6fde32b2f5 Let development and test deployment have a robots.txt which don't permit robots.
- Legacy-Id: 3079
2011-05-03 14:05:01 +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 ee52775458 Allow to enter the submission date when sending (or editing) liaisons. Fixes #653
- Legacy-Id: 3067
2011-04-27 11:47:55 +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 14edf23ac1 Set version info and settings back to development mode
- Legacy-Id: 3058
2011-04-18 10:28:46 +00:00
Henrik Levkowetz b05ce812a7 Set version info to release version 3.52 before branching.
- Legacy-Id: 3056
2011-04-18 10:28:24 +00:00
Henrik Levkowetz 899b737685 Merged in fix from esanchez@yaco.es to fix Liaison Cc field editability and secretariat ability to post liaisons for others.
- Legacy-Id: 3053
2011-04-18 09:40:19 +00:00
Henrik Levkowetz 6ed47ed982 Set version info and settings back to development mode
- Legacy-Id: 3050
2011-04-13 14:21:50 +00:00
Henrik Levkowetz 5fa26d3c76 Set version info to release version 3.51 before branching.
- Legacy-Id: 3048
2011-04-13 14:21:15 +00:00
Henrik Levkowetz 5497fa4b8e Fix to permit secretariat staff to post liaisons on behalf of liaison managers, assuming the permissions of the person they post on behalf of for this purpose.
- Legacy-Id: 3046
2011-04-13 13:02:21 +00:00
Henrik Levkowetz 73ebccb645 Set version info and settings back to development mode
- Legacy-Id: 3045
2011-04-12 16:25:07 +00:00
Henrik Levkowetz 929b62d9e2 Set version info to release version 3.50 before branching.
- Legacy-Id: 3043
2011-04-12 16:24:38 +00:00
Henrik Levkowetz d78f5f651f Ignore *.pyc files under ietf/submit, as elsewhere.
- Legacy-Id: 3041
2011-04-12 15:57:35 +00:00
Emilio A. Sánchez López 471d3952da Check permissions using the impersonated user. Fixes #648
- Legacy-Id: 3040
2011-04-11 09:32:07 +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
Henrik Levkowetz 69a7a73388 Set version info and settings back to development mode
- Legacy-Id: 3035
2011-04-07 15:16:45 +00:00
Henrik Levkowetz 443bb54b2b Set version info to release version 3.16 before branching.
- Legacy-Id: 3033
2011-04-07 15:16:18 +00:00
Henrik Levkowetz a52e902860 Merged in [3029] from esanchez@yaco.es. Make the Cc: field of new liaisons editable.
- Legacy-Id: 3031
Note: SVN reference [3029] has been migrated to Git commit 199e469f87
2011-04-07 14:09:10 +00:00
Henrik Levkowetz 29c7211c77 Set the 'person' field of the LegacyLiaisonUser in the admin interface to be handled as a raw id field with search button, rather than as a choice list.
- Legacy-Id: 3030
2011-04-07 14:04:07 +00:00
Emilio A. Sánchez López 199e469f87 Convert the Cc: field into an editable textarea. Fixes #647
- Legacy-Id: 3029
2011-04-07 12:01:35 +00:00
Henrik Levkowetz e9ec0c8a26 New fix for empty query strings. The QUERY_STRING in request.META is not set the same way under the builtin server as under Apache; under apache there will be a QUERY_STRING entry wich is explicitly Null. Handle this.
- Legacy-Id: 3028
2011-04-07 09:06:38 +00:00
Emilio A. Sánchez López 56bd4e0ead Fix function declaration. A parameter was missing so the ajax call trying to request the cc fields fails. See #577
- Legacy-Id: 3025
2011-04-06 14:21:24 +00:00
Henrik Levkowetz 400fe65726 Set version info and settings back to development mode
- Legacy-Id: 3024
2011-04-06 13:19:28 +00:00
Henrik Levkowetz fac8c287e2 Set version info to release version 3.15 before branching.
- Legacy-Id: 3022
2011-04-06 13:18:34 +00:00
Henrik Levkowetz 3a0841cb32 A quick fix for weekday-dependent plenary information in the materials list.
- Legacy-Id: 3020
2011-04-06 12:38:20 +00:00
Emilio A. Sánchez López 39c3f6d75f Fixes for state management by secretariat. Fixes #646
- Legacy-Id: 3019
2011-04-04 11:06:21 +00:00
Henrik Levkowetz 91c2f6f2a7 Only accept wgnames which adhere to the constraints currently practiced. (Before this change, the URL patterns would match wg names containing non-ascii characters, which later would bomb due to mix of collations when accessing the database. Might as well return a 404 at once instead).
- Legacy-Id: 3018
2011-03-31 12:31:50 +00:00
Henrik Levkowetz 2fc4b1bc3c Don't return 500 if given a URL with no query part.
- Legacy-Id: 3017
2011-03-31 12:25:24 +00:00
Emilio A. Sánchez López c9241edf7b Changed the "no user with this email" warning when adding delegates/shepherds.
- Legacy-Id: 3016
2011-03-30 19:07:45 +00:00
Emilio A. Sánchez López e80062394c Add a link to the default Working Group I-D State Diagram. Fixes #644
- Legacy-Id: 3015
2011-03-30 19:00:40 +00:00
Emilio A. Sánchez López e4f9bbe1ff Added state definitions in workflow edit form.
Re-order states in workflow edit form.
See #644
 - Legacy-Id: 3014
2011-03-30 18:56:35 +00:00
Emilio A. Sánchez López 8527cdaf6b Freeze global WG states. See #644
- Legacy-Id: 3013
2011-03-30 18:24:33 +00:00
Emilio A. Sánchez López e681c5e3c9 Insert change shepherd and change writeup links in document view.
Insert document view link in shepherd document list.
Allow secretariat to manage shepherds and writeups.
Fixes #643
 - Legacy-Id: 3012
2011-03-30 17:05:10 +00:00
Emilio A. Sánchez López 280cbbd707 Handle draft without stream so WG chairs/delegates could raise call for adoptions. Fixes #642
- Legacy-Id: 3007
2011-03-30 15:57:38 +00:00
Henrik Levkowetz 5b418aee82 Get rid of a print statement used during testing.
- Legacy-Id: 3003
2011-03-29 16:51:50 +00:00
Henrik Levkowetz 8a265a0051 Merged [3000] from adam@nostrum.com: Fix for wrong mimetype of .pdf format agendas.
- Legacy-Id: 3002
Note: SVN reference [3000] has been migrated to Git commit 7125fd7a9975056e4571c739ee0344eb9b99a7e7
2011-03-29 16:14:28 +00:00
Henrik Levkowetz f08da46457 Fix from Brandon (updated somewhat) for a bad reverse() argument.
- Legacy-Id: 3001
2011-03-29 15:53:05 +00:00
Henrik Levkowetz abab86db1a Fix a couple of places where we have to handle potential exceptions from the URL reverse() call, because not all old draft names adhere to the current rules. For RFC 1356 the draft name was draft-ietf-iplpdn-x25_isdn (notice the underscore) for which reverse() will fail.
- Legacy-Id: 2998
2011-03-29 07:34:44 +00:00
Henrik Levkowetz 4d22f601d8 Set version info and settings back to development mode
- Legacy-Id: 2997
2011-03-28 17:44:29 +00:00
Henrik Levkowetz a4804c3d1d Set version info to release version 3.14 before branching.
- Legacy-Id: 2995
2011-03-28 17:43:54 +00:00
Henrik Levkowetz cabddc90ca Merged [2990] from adam@nostrum.com:
In response to early feedback, changed 'close' metaphor from 'click anywhere' to 'click on the red "x" icon.'
 - Legacy-Id: 2993
Note: SVN reference [2990] has been migrated to Git commit 04289ed0e3dd56899a7c3cfa6ee43cdcd9eb68f5
2011-03-28 17:42:56 +00:00
Henrik Levkowetz 93ef4b1ea4 Fix hardcoded meeting number in the meeting agenda template ...
- Legacy-Id: 2991
2011-03-28 16:21:28 +00:00
Henrik Levkowetz 9c567b6906 Merged [2988] from adam@nostrum.com:
Adding ability to click on items in the week view to pull up the WG agenda.
 - Legacy-Id: 2989
Note: SVN reference [2988] has been migrated to Git commit 002775145990e3316be9765a974d8cb1c0b54f73
2011-03-27 12:43:11 +00:00
Henrik Levkowetz 7cacd75429 Merged [2984] from lars.eggert@nokia.com:
Update jQuery to 1.5.1 and jQuery UI to 1.8.11.
 - Legacy-Id: 2986
Note: SVN reference [2984] has been migrated to Git commit c7c2a690e98e3541a810e6beb60b1469c4f78dd7
2011-03-26 18:52:52 +00:00
Henrik Levkowetz 6195d0ec8f Merged [2980] from kivinen@iki.fi:
Added cleaning up whitespaces in the title so it cannot contain newlines.
 - Legacy-Id: 2982
Note: SVN reference [2980] has been migrated to Git commit 502713dc4a878c6e365dec7d71f66aea9f7b3d44
2011-03-26 18:10:01 +00:00
Henrik Levkowetz e9078f31e6 Merged [2978] from adam@nostrum.com:
Fixing bug #636 -- now only displays groups that are actually meeting.
 - Legacy-Id: 2981
Note: SVN reference [2978] has been migrated to Git commit d81eb7635575f8b6f0b960211dcafe4359369209
2011-03-26 18:08:58 +00:00