Commit graph

3381 commits

Author SHA1 Message Date
Henrik Levkowetz ffb4581008 Fixed regression in display of IESG state; added back substate information. Fixes issue #1117.
- Legacy-Id: 6081
2013-08-30 12:21:36 +00:00
Henrik Levkowetz d85e0ae2de Added template rendering verification on dbtemplate form submission in order to catch errors in edited templates before they are committed. This should prevent server 500 errors when rendering dbtemplate pages. Fixes issue #1113.
- Legacy-Id: 6079
2013-08-28 12:50:17 +00:00
Henrik Levkowetz 84a07d7151 Selectively removed the agenda and minutes warnings from the meeting materials page, for educational sessions where agenda and minutes aren't expected. Fixes issue #1115.
- Legacy-Id: 6078
2013-08-28 11:00:38 +00:00
Henrik Levkowetz 37e69a02c6 Changed the order of the files diffed in the draft diff links on the history page. Fixes issue #1114.
- Legacy-Id: 6077
2013-08-28 10:36:32 +00:00
Ryan Cross 24ffdb2d34 changes to IPR notification email
- Legacy-Id: 6076
2013-08-22 21:35:01 +00:00
Henrik Levkowetz ed020c8b8e Add Auto-Submitted and Precedence header fields to outgoing email messages.
- Legacy-Id: 6071
2013-08-17 15:33:56 +00:00
Ole Laursen 9b65f3be79 Found two more places where an IPR update is shown even if the
updating IPR is rejected, fix those
 - Legacy-Id: 6064
2013-08-15 11:34:20 +00:00
Ole Laursen a3f39aef3c Include referrer in test crawler crash reports, format the result like
a 500
 - Legacy-Id: 6063
2013-08-15 09:58:27 +00:00
Ole Laursen 023d02feb8 Apparently the session_draft_list fix was missing a .distinct(),
rewrite slightly to add that
 - Legacy-Id: 6062
2013-08-15 09:51:13 +00:00
Ole Laursen 31dc2ea1a4 Don't link to updates on IPR that has been rejected, fixes broken link
to IPR 1252
 - Legacy-Id: 6061
2013-08-15 08:56:35 +00:00
Ole Laursen c8f173f06e Rewrite reading the draft list from a group agenda to be less weird,
fixing problem when agenda file is not found, which turns up when
running the test-crawler on a test instance
 - Legacy-Id: 6060
2013-08-15 08:44:29 +00:00
Ole Laursen 722b2321be On charter doc page only generate link to /wg/ if the group is a WG,
not if it is an AG
 - Legacy-Id: 6059
2013-08-15 07:53:22 +00:00
Ole Laursen 4d54b94dac Fix state diagram link
- Legacy-Id: 6058
2013-08-14 16:29:04 +00:00
Ole Laursen 2a85572777 Add status-change to state_help framework, remove last traces of former framework
- Legacy-Id: 6057
2013-08-14 16:16:52 +00:00
Ole Laursen 0b1aabc64d Add extra exception trap to test crawler to output URL under test for None responses
- Legacy-Id: 6056
2013-08-14 16:15:42 +00:00
Ole Laursen c182d4e5e9 Return empty string instead of None in case an agenda file isn't read
correctly, fixes annoying problem with the test crawler
 - Legacy-Id: 6055
2013-08-14 15:48:17 +00:00
Ole Laursen 99d8e69f0b Remove idrfc/templatetags/
- Legacy-Id: 6054
2013-08-14 15:14:47 +00:00
Ole Laursen d2b9adf3cb Move ietf_filters templatetag from idtracker/ to doc/
- Legacy-Id: 6053
2013-08-14 15:11:24 +00:00
Ole Laursen 6ac0920af0 Move idrfc/ templates to doc/ and subdirectories in doc/, move ported ballot_icon template tag, delete dead code
- Legacy-Id: 6052
2013-08-14 14:10:46 +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 2cf79bb04c Move update_telechat from idrfc.utils to doc.utils, port remaining
code to using log_state_changed from doc.utils, remove idrfc/utils.py
 - Legacy-Id: 6050
2013-08-13 16:44:07 +00:00
Ole Laursen a8fefd9454 Remove unused idrfc import from secr/telechat/views.py
- Legacy-Id: 6049
2013-08-13 16:28:21 +00:00
Ole Laursen 484293d190 Remove debug print
- Legacy-Id: 6048
2013-08-13 15:43:56 +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
Ole Laursen de7ae60985 Move markup_txt.py from idrfc/ to utils/
- Legacy-Id: 6046
2013-08-13 14:33:22 +00:00
Henrik Levkowetz 551f61b55a Fixed a possible KeyError bug for missing form field 'by'.
- Legacy-Id: 6045
2013-08-13 12:43:53 +00:00
Henrik Levkowetz e46220af5d Added code to expire last calls for statechg documents too (in addition to iesg drafts) with the expire-last-call script. Fixes issue #1092.
- Legacy-Id: 6044
2013-08-12 22:25:54 +00:00
Henrik Levkowetz 4376c7d279 Added missing parenthesis.
- Legacy-Id: 6043
2013-08-12 22:07:19 +00:00
Robert Sparks a593fec06e * Made reporting IPR consistant across document searches, IPR searches, AD document queues, last calls, and agendas. All these points now report on the document(s) being directly queried, and the documents those transitively replace or obsolete.
* Brought search results against WGs and document titles into consistency with results from searching for individual documents
* Added the IPR count to the link on the documents main page (when not zero)
* Built on Henrik's reimplementation of all_related_*, making the *_related_* functions return DocAlias lists consistently, and added corresponding _relations_ functions to get lists of actual RelatedDocument objects.
* Added getting the DocAlias with the same name to Document
* Added getting related IPR disclosures (as described in the first bullet) to Document
* Simplified ipr/related.py
* Removed the use of DraftLikeDocAlias and IETFWG from ipr/search.py. Retooled the various search functions and templates to use DocAlias and IprDocAlias directly.
* Removed dead code from ipr/search.py
* Removed the special handling of WG 2000 from ipr/search.py

Fixes bug 1071
 - Legacy-Id: 6042
2013-08-12 21:41:57 +00:00
Henrik Levkowetz 8df981a25d Reverted commit [6032] -- it had unintended changes :-( We'll probably have to move forward instead, and fix the dependent scripts to accept RG annotations.
- Legacy-Id: 6035
Note: SVN reference [6032] has been migrated to Git commit 2b19bba4b8
2013-08-12 14:32:09 +00:00
Henrik Levkowetz 2b19bba4b8 Fixed regression in the generation of 1id-abstracts.txt -- the refactored code generated entries for all groups (including research groups) which have active drafts. That would be fine if there weren't other scripts that used the output and format of 1wg-abstracts.txt that broke when RGs where included... I hope we're getting closer to upgrading Django and after that providing a JSON interface for things that are now handled by 1id-abstracts.txt (and friends), but for now we need to stick to the conventions for these files.
- Legacy-Id: 6032
2013-08-10 21:52:38 +00:00
Henrik Levkowetz 9b04370eb6 Added secretaries to those who are authorized to edit stream info for a document.
- Legacy-Id: 6028
2013-08-09 18:21:16 +00:00
Henrik Levkowetz f5ab950fcb Added a penalty field to the ConstrantNames, for use in agenda scheduling.
- Legacy-Id: 6027
2013-08-09 18:20:15 +00:00
Henrik Levkowetz 9c42fe3e24 Tweaked the nomcom private menus.
- Legacy-Id: 6026
2013-08-09 18:19:34 +00:00
Ole Laursen 13a15b6111 Remove unused fixture generation (for old schema)
- Legacy-Id: 6005
2013-08-09 16:13:51 +00:00
Ole Laursen ed7d8f2dd5 Remove debug print
- Legacy-Id: 6004
2013-08-09 15:57:47 +00:00
Ole Laursen 154a4b6b23 Remove the now unused tombstone template text files
- Legacy-Id: 6003
2013-08-09 15:01:24 +00:00
Ole Laursen ff2c1ae3cc Remove the testurl list tests from idrfc, these are now handled
through explicit unit tests (and the test crawler which can be run
with "bin/test-crawl")
 - Legacy-Id: 6002
2013-08-09 15:00:07 +00:00
Ole Laursen ec2f0cabbf Delete dead code from idrfc, and delete some obsolete imports too
- Legacy-Id: 6001
2013-08-09 14:55:51 +00:00
Henrik Levkowetz 99a3d4772d Added missing migration. Already fixed (somehow??) in production.
- Legacy-Id: 5997
2013-08-08 13:39:25 +00:00
Henrik Levkowetz 175a9dba80 Refactored group membership code, adding advisors and liaisons to the membership list. Needed for the nomcom code.
- Legacy-Id: 5996
2013-08-08 12:29:59 +00:00
Henrik Levkowetz 676d8504f0 Reverted an unneded 'fix' for RG chair document access, which caused 1wg-summary.txt to erroneously include RGs.
- Legacy-Id: 5995
2013-08-08 12:29:00 +00:00
Henrik Levkowetz 603f8b93fe Fixed the broken WG document list template (regression caused by the shimfree merge).
- Legacy-Id: 5994
2013-08-08 12:27:12 +00:00
Henrik Levkowetz 8b6f122314 Fixed nomcom email pipe command to read from stdin if no file given, and give better error messages.
- Legacy-Id: 5992
2013-08-08 12:25:03 +00:00
Ole Laursen 214b1e0a3b Be more strict when chartering a new group, only accept [a-z][a-z0-9]+
as acronym (specifically not hyphens), closes #1080.
 - Legacy-Id: 5965
2013-08-07 15:23:37 +00:00
Ole Laursen 52cefc5909 Don't include WGs without areas in the area-based overviews of WGs
(1wg-summary.txt and 1wg-charters.txt) to prevent crashes, fixes issue
#1083
 - Legacy-Id: 5963
2013-08-07 12:49:47 +00:00
Ryan Cross 22748ac289 add warning to group edit, use datatracker to manage groups
- Legacy-Id: 5960
2013-08-06 21:53:23 +00:00
Ryan Cross 1dd59020b8 remove additional info link from RG proceedings
- Legacy-Id: 5957
2013-08-06 17:41:35 +00:00
Henrik Levkowetz c6b688e0af Added migrations which should have been part of release 4.70.
- Legacy-Id: 5954
2013-08-06 17:37:47 +00:00
Henrik Levkowetz 804542519b Added migrations which should have been part of release 4.70.
- Legacy-Id: 5953
2013-08-06 17:37:33 +00:00
Henrik Levkowetz d59b16b665 Set version info and settings back to development mode
- Legacy-Id: 5952
2013-08-06 10:16:01 +00:00
Henrik Levkowetz a32834c087 Set version info to release version 4.70 before branching.
- Legacy-Id: 5950
2013-08-06 10:15:58 +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 a84d8910a4 Re-enabled the link to document shepherd writeups for individual drafts, which regressed in the 4.60 merge. Fixes issue #1084.
- Legacy-Id: 5946
2013-08-02 12:22:33 +00:00
Henrik Levkowetz 2fa9aedf01 Set version info and settings back to development mode
- Legacy-Id: 5945
2013-08-01 16:26:30 +00:00
Henrik Levkowetz fac8b399f7 Set version info to release version 4.61 before branching.
- Legacy-Id: 5943
2013-08-01 16:26:26 +00:00
Henrik Levkowetz 17eb95c180 Tweaked code to correct access to document metadata and actions, adding RGs to the groups and group secretaries to the roles which are given access.
- Legacy-Id: 5939
2013-08-01 14:37:50 +00:00
Henrik Levkowetz 582be932d1 Tweaked agenda presentation in order to not blow up on bad character encodings in charter file.
- Legacy-Id: 5938
2013-08-01 14:35:19 +00:00
Henrik Levkowetz 8675711c27 Merged [5902],[5904] from markus.stenberg@iki.fi:
Added support and scripts for generation of wg- and draft-aliases.  Fixes issue #713.
 - Legacy-Id: 5937
Note: SVN reference [5902] has been migrated to Git commit e5b551f4ce

Note: SVN reference [5904] has been migrated to Git commit e68e51cc55
2013-08-01 12:44:49 +00:00
Henrik Levkowetz 9f998e5bbc Tweaked code to correct access to document metadata and actions, adding RGs to the groups and group secretaries to the roles which are given access.
- Legacy-Id: 5935
2013-07-31 17:11:19 +00:00
Henrik Levkowetz b02d0bdd1c Corrected reset of document group on document stream change.
- Legacy-Id: 5934
2013-07-31 17:06:12 +00:00
Henrik Levkowetz 8b1b38d57e Added group secretaries to those authorise to edit group document meta-information.
- Legacy-Id: 5933
2013-07-31 16:07:16 +00:00
Henrik Levkowetz 88bd027776 Added handling for missing association between login and Person record.
- Legacy-Id: 5932
2013-07-31 14:54:03 +00:00
Henrik Levkowetz b090f1e92c Merged [5903] from adam@nostrum.com:
Added tooltip capability to document tabs, and tooltips for disabled IESG Evaluation/Review tab.  Fixes bug #448.
 - Legacy-Id: 5931
Note: SVN reference [5903] has been migrated to Git commit d87379c177
2013-07-31 14:16:37 +00:00
Henrik Levkowetz d7879978f1 Merged [5901] from adam@nostrum.com:
Added a document link to the emails sent on discuss/comment changes.  Fixes bug #916
 - Legacy-Id: 5930
Note: SVN reference [5901] has been migrated to Git commit 30dec0ec09
2013-07-31 14:08:36 +00:00
Henrik Levkowetz 941378d201 Merged [5900] from rjsparks@nostrum.com:
Adds related documents to the set of documents checked for IPR declarations when building last call text. Partially addresses #1071.
 - Legacy-Id: 5929
Note: SVN reference [5900] has been migrated to Git commit c69a33217e
2013-07-31 14:04:12 +00:00
Henrik Levkowetz ddf45fd995 Merged [5899] from suresh.krishnan@ericsson.com:
When working group chairs added an annotation to a document, the date on the
history entry was wrong. It has now been fixed. Fixes issue #1046.
 - Legacy-Id: 5928
Note: SVN reference [5899] has been migrated to Git commit 60bab5fe50
2013-07-31 14:01:08 +00:00
Henrik Levkowetz 2cc0542666 Merged [5897] from suresh.krishnan@ericsson.com:
Fixes the last call processing code to identify the new placeholder writeup.
Fixes issue #884.
 - Legacy-Id: 5927
Note: SVN reference [5897] has been migrated to Git commit 8d4a171431
2013-07-31 13:56:35 +00:00
Henrik Levkowetz 6794113320 Merged [5898] from adam@nostrum.com, with
additional tweaks from henrik: Added the capability to search for all kinds
 of documents in the main datatracker search page.  Fixes bug #838.
 - Legacy-Id: 5926
Note: SVN reference [5898] has been migrated to Git commit b14a8d0cee
2013-07-31 12:45:32 +00:00
Ryan Cross 7d6d324c81 add new section to proceedings, 6
- Legacy-Id: 5924
2013-07-31 07:12:31 +00:00
Henrik Levkowetz 3decaf3300 Added back the 'Request Publication' action (regression loss) on draft pages for the non-ietf streams.
- Legacy-Id: 5921
2013-07-30 14:56:25 +00:00
Ryan Cross b14e3ddce9 add javascript form validation to materials upload form
- Legacy-Id: 5919
2013-07-30 13:01:38 +00:00
Henrik Levkowetz 544d252b92 Fixed a bug in rendering the AD/Shepherd column in document list pages, when no AD is associated with a document. Fixes issue #1079.
- Legacy-Id: 5916
2013-07-30 11:00:59 +00:00
Henrik Levkowetz 6d8a7afa5f Modified the doc stream-change edit form to reset doc.group to None on stream changes. Fixes issue #1078.
- Legacy-Id: 5915
2013-07-30 10:02:42 +00:00
Henrik Levkowetz 4e42c65e92 Fixed double plural 's' caused by the use of 'pluralize' in the template *and* plural forms for the group headers returned by fill_in_search_attributes(). Fixes issue #1077.
- Legacy-Id: 5914
2013-07-30 09:42:53 +00:00
Henrik Levkowetz 63b985036d Fixed the incorrect blankline placemnt in the refactored template for id-index and id-abstracts, when generating abstracts. Fixes issue #1076.
- Legacy-Id: 5913
2013-07-29 14:57:49 +00:00
Henrik Levkowetz 12bd97c7cf Added convenience methods to the Document class to recursively retrieve all forward / reverse relationship of a kind or set of kinds.
- Legacy-Id: 5912
2013-07-29 13:31:18 +00:00
Henrik Levkowetz 7a131cd777 Fixed the handling of help pages for doc states.
- Legacy-Id: 5911
2013-07-29 13:25:10 +00:00
Henrik Levkowetz 5171e331e7 Added a direct link to the cookie options in use by the datatracker to the lefthand menubar. Fixes issue #1075.
- Legacy-Id: 5908
2013-07-29 09:18:33 +00:00
Markus Stenberg e68e51cc55 Removed hardcoded rewrites - bad idea, and added default .ad's also for working group documents (.group.acronym != 'none').
- Legacy-Id: 5904
2013-07-27 14:53:31 +00:00
Adam Roach d87379c177 Fixed bug #448 -- added tooltip capability to document tabs
- Legacy-Id: 5903
2013-07-27 14:25:01 +00:00
Markus Stenberg e5b551f4ce First iteration of email alias generation for wg- and drafts ( issue #713 ).
- Legacy-Id: 5902
2013-07-27 14:11:20 +00:00
Adam Roach 30dec0ec09 Fixed bug #916
- Legacy-Id: 5901
2013-07-27 13:45:29 +00:00
Robert Sparks c69a33217e Adds related documents to the set of documents checked for IPR declarations when building last call text
- Legacy-Id: 5900
2013-07-27 13:07:00 +00:00
Suresh Krishnan 60bab5fe50 When working group chairs added an annotation to a document, the date on the history entry was wrong. It has now been fixed.
- Legacy-Id: 5899
2013-07-27 12:51:10 +00:00
Adam Roach b14a8d0cee Fixed bug #838
- Legacy-Id: 5898
2013-07-27 12:26:24 +00:00
Suresh Krishnan 8d4a171431 Fixing the last call processing code to identify the new placeholder writeup.
- Legacy-Id: 5897
2013-07-27 12:01:21 +00:00
Ryan Cross 5855140136 changes to announcements: default reply_to=ietf@ietf.org, widen body field, add back button
- Legacy-Id: 5889
2013-07-27 10:16:23 +00:00
Ryan Cross 1c60bb6b00 add zip to valid slide extensions
- Legacy-Id: 5887
2013-07-27 08:41:54 +00:00
Henrik Levkowetz e91c7144d9 Additional fix for diff regression: make the RFC part of the version list.
- Legacy-Id: 5885
2013-07-25 20:52:17 +00:00
Henrik Levkowetz 9d2db7c6e4 Additional fix for diff regression: make the RFC part of the version list.
- Legacy-Id: 5884
2013-07-25 19:44:44 +00:00
Henrik Levkowetz a055370da1 Removed debug statement.
- Legacy-Id: 5883
2013-07-25 19:29:05 +00:00
Henrik Levkowetz 75fa9bb0e4 Additional fix for diff regression: make the RFC part of the version list.
- Legacy-Id: 5882
2013-07-25 19:26:14 +00:00
Henrik Levkowetz 5eac4a86ce Additional fix for diff regression: make the RFC part of the version list.
- Legacy-Id: 5881
2013-07-25 19:24:47 +00:00
Henrik Levkowetz 6a2ae39913 Fixed a regression: restore diff pane in history page for RFCs.
- Legacy-Id: 5880
2013-07-25 18:52:24 +00:00
Henrik Levkowetz 3c4bee32e5 Fixed a regression: display of full draft/rfc text now again obeys the full_draft cookie setting.
- Legacy-Id: 5879
2013-07-25 18:29:37 +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 942efacb08 Added a guard to prevent duplicate RFC-Editor notifications for approved documents, and added logging to the notification routine.
- Legacy-Id: 5852
2013-07-23 22:28:19 +00:00
Henrik Levkowetz 4d7120ee86 Set version info and settings back to development mode
- Legacy-Id: 5850
2013-07-23 16:33:01 +00:00
Henrik Levkowetz 451043d138 Set version info to release version 4.60 before branching.
- Legacy-Id: 5848
2013-07-23 16:32:56 +00:00
Henrik Levkowetz 55d8a49b57 Refactored the new AD dashboard view to re-use code and templates the same way the refactored previous view did.
- Legacy-Id: 5846
2013-07-19 23:49:15 +00:00
Henrik Levkowetz cf3fac2959 Added back in the ad2 view lost in the shimfree merge.
- Legacy-Id: 5845
2013-07-19 20:37:52 +00:00
Henrik Levkowetz dfee10aa92 Restored the functionality of showing both AD and Shepherd for documents
shown for searches and document lists.
 - Legacy-Id: 5842
2013-07-18 15:42:30 +00:00
Henrik Levkowetz 07683cae08 Updated the doc stream auth function to permit Area Directors to edit stream
info for ietf documents.
 - Legacy-Id: 5841
2013-07-17 22:28:33 +00:00
Henrik Levkowetz 92a8ed56a8 Editing the sheperd now works for all documents, so remove the limitation
on this being a WG document, and adjust the URL name and arguements.
 - Legacy-Id: 5840
2013-07-17 22:26:43 +00:00
Henrik Levkowetz 51284a8871 Added an index page at /help/state, listing the document states that
have help information.
 - Legacy-Id: 5837
2013-07-17 20:55:35 +00:00
Henrik Levkowetz cbfe489ff5 Merged in more shim-layer removals from olau@iola.dk
(-r5465:HEAD from branch/iola/shimfree).  Copying relevant
commit messages here:

 - Deleted dead code in many places.

 - Renamed id-something to draft-something, make the "is
   this eligible for expiration" logic clearer

 - Added a name for IPR search URL

 - Revamped the ballot popup view

 - URL reversed the IPR search link instead of hardcoding it

 - Cleaned up search views and remove dead code, port them to the new DB
   schema, hack related views in iesg/ and wginfo/ to use the new search
   interfaces, avoid camelCase in search GET parameters (with
   backwards-compat fallback), add some simple search unit tests, remove
   caching from views_search.py index pages as they're now pretty fast to
   generate, rewrite ballot popup JS, regularize some CSS classes to use
   hyphen-notation rather than camelCase, move some of the search
   templates to doc/.

   idrfc/ now mostly contains some wrapper code still in use by other
   subdirs, some ported code not yet moved, and dead code.

 - Fixed output bug in test crawler and print referrer upon errors so it's
   easier to figure out where a link came from

 - Added /doc/in-last-call/ to crawler, report original page as referrer in
   a redirect chain rather than intermediate URL

 - Ported idindex to new schema, speed them up, add tests, refactor index
   page in views_search to share code with the text index file, get rid
   of some special-case idindex filters from ietf_filters, move
   "/drafts/" redirects to a file in /doc/

 - Ported /idtracker/status/ and /idtracker/status/last-call/ overview of
   drafts in IESG process to new schema in /doc/iesg/ and
   /doc/iesg/last-call/

 - Added redirects for all of /idtracker/*, removed all view code and other
   dead code from idtracker/

 - Removed the idtracker sitemap indexing drafts - in its current form,
   it adds nothing of value to the HTML-based /doc/all/ view, and it's
   pretty slow

 - Ported idtracker feeds to new schema, move them to doc/, cleaned up
   idtracker/ - only templatetags/ietf_filters and proxy code is left
 - Legacy-Id: 5836
2013-07-17 20:52:39 +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 68b05b609a Various fixes due to clear up tree conflicts and other bugs resulting from
the [5830] merge.
 - Legacy-Id: 5834
Note: SVN reference [5830] has been migrated to Git commit e678659b56
2013-07-16 14:02:43 +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 539dd58888 Set version info and settings back to development mode
- Legacy-Id: 5827
2013-07-15 07:32:23 +00:00
Henrik Levkowetz baad13bf7c Set version info to release version 4.53 before branching.
- Legacy-Id: 5825
2013-07-15 07:32:20 +00:00
Henrik Levkowetz 3105101cc5 Changed test running and test data generation to work with database rollback
(for instance with InnoDB).

Added settings.DATABASE_TEST_OPTIONS which can be used to force for instance
InnoDB use during testing.

Using this has the potential of reducing the time it takes to run the test
suite substantially; a few test runs indicate a reduction in test run time by
50% on a run-of-the-mill linux server.
 - Legacy-Id: 5823
2013-07-15 07:21:34 +00:00
Henrik Levkowetz eb10724796 Changed liaison attachment code to use the correct document type slug.
- Legacy-Id: 5822
2013-07-15 07:14:20 +00:00
Henrik Levkowetz 96771f7340 Updated tests to not depend on the record ids of generated test data.
- Legacy-Id: 5821
2013-07-15 07:10:27 +00:00
Henrik Levkowetz 1aacb9fa45 Save document before set_state, to maintain database consistency.
- Legacy-Id: 5820
2013-07-14 14:52:00 +00:00
Henrik Levkowetz 1d7218df94 Save document before set_state, to maintain database consistency.
- Legacy-Id: 5819
2013-07-14 14:41:01 +00:00
Henrik Levkowetz 5955e5eefe Set version info and settings back to development mode
- Legacy-Id: 5816
2013-07-14 14:04:24 +00:00
Henrik Levkowetz 9c5f300444 Set version info to release version 4.52 before branching.
- Legacy-Id: 5814
2013-07-14 14:04:21 +00:00
Henrik Levkowetz bb7fbd8cab Merged [5794] to [5800] from olau@iola.dk:
* Skip IANA - Review Needed and Version Changed - Review Needed changes from
    IANA as it turns out that the Datatracker is the authoritative source on
    these states. Also improve logging so that the raw JSON from IANA is
    dumped, the parsed JSON on imported changes is dumped and we write to
    syslog before starting a sync script in the notification view.

  * Only add charter state change link when chartering, it doesn't make sense
    for an approved charter. Fixes #861.

  * Don't display group.comments on the charter document page. Apparently
    group.comments have been used by the Secretariat in the past for
    chartering comments, but it's not possible to edit the field and the whole
    thing doesn't make sense from a modelling perspective - a feature like
    this should probably use the note field on the charter.  Fixes issue
    #1048.

  * Don't crash if an attachment has been created already, just reuse it -
    this case shouldn't actually happen, but apparently sometimes does,
    probably due to a concurrency issue

  * Add link to charter pages from the milestones editing page (besides the
    cancel button), fixes #1044.

  * Special-case proposed working groups with respect to milestones, they get
    the charter milestones on the WG charter page rather than the current set

  * Show approved milestones on /doc/charter-xyz/ page if the charter is
    approved instead of only showing proposed milestones for proposed charters
 - Legacy-Id: 5812
Note: SVN reference [5794] has been migrated to Git commit a603b8e056

Note: SVN reference [5800] has been migrated to Git commit 0f69f87a56
2013-07-14 14:00:39 +00:00
Henrik Levkowetz 1af953e4fb Fixed problem with caching of utc agenda -- use a separate cache name for this.
- Legacy-Id: 5810
2013-07-14 12:46:52 +00:00
Henrik Levkowetz a971124ac1 Permit unicode milestone text (using unicode() instead of str() in comparison when looking for milestone changes). Fixes issue #1065.
- Legacy-Id: 5809
2013-07-11 21:36:31 +00:00
Ryan Cross 3655dbb36e fixed 2 bugs where combined sessions aren't being handled properly in edit() and remove()
- Legacy-Id: 5807
2013-07-08 18:51:13 +00:00
Ryan Cross d19fe19ce0 add Standardization Level to drafts view/edit
- Legacy-Id: 5804
2013-06-24 23:30:30 +00:00
Ryan Cross 45ec7a97a1 TICKET:928 use correct role in session request notification email
- Legacy-Id: 5802
2013-06-24 22:52:13 +00:00
Ole Laursen 0f69f87a56 Skip IANA - Review Needed and Version Changed - Review Needed changes
from IANA as it turns out that the Datatracker is the authoritative
source on these states. Also improve logging so that the raw JSON from
IANA is dumped, the parsed JSON on imported changes is dumped and we
write to syslog before starting a sync script in the notification view.
 - Legacy-Id: 5800
2013-06-21 16:48:05 +00:00
Ole Laursen 57b0ca9cab Only add charter state change link when chartering, it doesn't make
sense for an approved charter. Fixes #861.
 - Legacy-Id: 5799
2013-06-21 15:13:46 +00:00
Ole Laursen 3c58e4743a Don't display group.comments on the charter document page. Apparently
group.comments have been used by the Secretariat in the past for
chartering comments, but it's not possible to edit the field and the
whole thing doesn't make sense from a modelling perspective - a
feature like this should probably use the note field on the charter.
Fixes issue #1048.
 - Legacy-Id: 5798
2013-06-21 14:55:53 +00:00
Ole Laursen fce33cd034 Don't crash if an attachment has been created already, just reuse it - this case shouldn't actually happen, but apparently sometimes does, probably due to a concurrency issue
- Legacy-Id: 5797
2013-06-21 14:15:30 +00:00
Ole Laursen f75100b061 Add link to charter pages from the milestones editing page (besides
the cancel button), fixes #1044.
 - Legacy-Id: 5796
2013-06-18 12:21:30 +00:00
Ole Laursen f2b4906f8b Special-case proposed working groups with respect to milestones, they
get the charter milestones on the WG charter page rather than the
current set
 - Legacy-Id: 5795
2013-06-18 11:56:48 +00:00
Ole Laursen a603b8e056 Show approved milestones on /doc/charter-xyz/ page if the charter is
approved instead of only showing proposed milestones for proposed charters
 - Legacy-Id: 5794
2013-06-18 11:23:55 +00:00
Henrik Levkowetz f50337695e Added a list of releases below the release notes at /releases/*
- Legacy-Id: 5791
2013-06-14 13:13:20 +00:00
Henrik Levkowetz 7875331805 From RjS: Added a case in the render_ballot_icon() filter for statchg documents.
- Legacy-Id: 5789
2013-06-11 15:25:22 +00:00
Henrik Levkowetz b6098566a9 Fixed missing name change when moving settings from rfceditor module to settings.py.
- Legacy-Id: 5787
2013-06-11 10:45:20 +00:00
Henrik Levkowetz c1c529f9ae Merged [5614] and [5622] from mcr@sandelman.ca: added dajaxice.
- Legacy-Id: 5786
Note: SVN reference [5614] has been migrated to Git commit 7e0e027149a37e2fac0b2809e8a18c896f660687

Note: SVN reference [5622] has been migrated to Git commit bde631c87ffd2ce5a93fe3c0559aafef04d23b1f
2013-06-10 20:47:51 +00:00
Emilio A. Sánchez López dd3948cbe7 Change date format. Removed feedback id.
See #975
 - Legacy-Id: 5784
2013-06-10 16:41:13 +00:00
Emilio A. Sánchez López 8a2931021d Wrap feedback comments to avoid wide lines.
See #975
 - Legacy-Id: 5783
2013-06-10 15:17:54 +00:00
Emilio A. Sánchez López 8638a1eca1 Remove debug code
See #975
 - Legacy-Id: 5782
2013-06-10 11:04:01 +00:00
Emilio A. Sánchez López 49117c1622 Nominations are processed first and then the rest of feedback.
Select multiple resizable when selecting a nominee.
Fixed command that gets the feedback from email to retrieve the full address on the from header.
Added a "feedback pending" link in the top bar.
Fixed escaped html tags when displaying comments from feedback.
See #975
 - Legacy-Id: 5781
2013-06-10 10:42:11 +00:00
Henrik Levkowetz 8330afa082 Set version info and settings back to development mode
- Legacy-Id: 5780
2013-06-09 20:03:35 +00:00
Henrik Levkowetz bf81451a6c Set version info to release version 4.51 before branching.
- Legacy-Id: 5778
2013-06-09 20:03:32 +00:00
Henrik Levkowetz a4d486ab26 Use argument 'draft' for document instead of 'approved_draft_name' when sending sync notifications to the RFC-Editor.
- Legacy-Id: 5776
2013-06-09 17:55:47 +00:00
Henrik Levkowetz 88e1d725c5 Moved settings for RFC-Editor sync to settings.py.
- Legacy-Id: 5775
2013-06-09 17:50:19 +00:00
Emilio A. Sánchez López c12400641a Redesign the feedback pending template. See #975
- Legacy-Id: 5774
2013-06-05 06:32:17 +00:00
Henrik Levkowetz 8eec9ccb15 Don't actually do a post to the rfc-editor's state sync interface for a publication request when not in production mode.
- Legacy-Id: 5773
2013-06-03 20:49:40 +00:00
Henrik Levkowetz 9e8f504447 Merged [5770] from rjsparks@nostrum.com:
Added editing last call messages, requesting, issuing and tracking IETF LCs to status-change documents
Added a Cancel button to the form that allows editing the relations for status-change documents
Added instructions to the agenda section 3.3

This adds states to status-change- documents and has a migration that must be applied.

This fixes bug #1039
 - Legacy-Id: 5772
Note: SVN reference [5770] has been migrated to Git commit a741642717
2013-06-01 22:30:33 +00:00
Henrik Levkowetz b7246168bf Fixed a problem with mismatched attribute names for ajax form field autocompletes. Closes issue #1049.
- Legacy-Id: 5771
2013-06-01 21:22:06 +00:00
Robert Sparks a741642717 Added editing last call messages, requesting, issuing and tracking IETF LCs to status-change documents
Added a Cancel button to the form that allows editing the relations for status-change documents
Added instructions to the agenda section 3.3

This adds states to status-change- documents and has a migration that must be applied.

This fixes bug #1039
 - Legacy-Id: 5770
2013-06-01 21:01:45 +00:00
Henrik Levkowetz 5bee7ac538 Provide the necessary message information to the user confirmation messaging. Fixes issue #1049.
- Legacy-Id: 5767
2013-05-31 16:32:25 +00:00
Ryan Cross 613746fceb changes, timeslot should always have scheduled session
- Legacy-Id: 5766
2013-05-30 20:11:47 +00:00
Ryan Cross a667b0b95f version update
- Legacy-Id: 5763
2013-05-28 17:56:28 +00:00
Ryan Cross c9e2955d75 modifications to support agenda tool db changes
- Legacy-Id: 5762
2013-05-28 17:48:07 +00:00
Henrik Levkowetz a92636fe52 Don't try to save a new doc state and a state_change_event if the new state is the same as the old state. Fixes issue #1045.
- Legacy-Id: 5759
2013-05-28 16:15:00 +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 47c25227d9 Always show IANA state (not only for certain states)
- Legacy-Id: 5756
2013-05-23 17:57:10 +00:00
Emilio Jiménez 8e2a8f2daa Fixed coding error.
See #1042
 - Legacy-Id: 5755
2013-05-22 22:46:43 +00:00
Emilio Jiménez 7c481a6c81 convert to str
See #1042
 - Legacy-Id: 5751
2013-05-22 19:30:40 +00:00
Emilio Jiménez a8c81570ca Add better functions to decode emails.
See #1042
 - Legacy-Id: 5750
2013-05-22 19:23:20 +00:00
Emilio Jiménez a41abe3054 Convert unicode to str.
See #1042
 - Legacy-Id: 5749
2013-05-22 18:34:18 +00:00
Emilio Jiménez 66c4a32c57 Add subject field to feedback model
New form to fill feedback mail via web.
Fixes #1042 #1043
 - Legacy-Id: 5748
2013-05-21 12:31:24 +00:00
Emilio Jiménez f998e0d29f Add form to change email of nominees.
Refactor merge form to avoid merge old duplicate nominees.
See #1013
 - Legacy-Id: 5747
2013-05-20 18:17:31 +00:00
Henrik Levkowetz 6b0d1b1b71 Set version info and settings back to development mode
- Legacy-Id: 5744
2013-05-15 22:34:21 +00:00
Henrik Levkowetz ab9d4a64cb Set version info to release version 4.50 before branching.
- Legacy-Id: 5742
2013-05-15 22:34:17 +00:00
Henrik Levkowetz bd0c07290a Merged in branch/iola/milestones, which provides datatracker support for management of WG milestones.
- Legacy-Id: 5739
2013-05-15 22:07:23 +00:00
Emilio A. Sánchez López ee1eec7de8 Refactored the feedback pending list. Now you can classify feedback as any type of feedback.
The feedback of a type that is not related to a nominee is classified inmediatly.
The feedback of a type that is related to a nominee must be completed with the nominee information.
Created a view to list feedback that is not related to nominees (e.g. offtopic)
Changed the command that retrieves feedback from email to add the subject inside the comment and to set the author using the from field of the email.
Fixes #1036. Fixes #1035
 - Legacy-Id: 5738
2013-05-15 16:33:01 +00:00
Emilio Jiménez 0bc7e181cd Change label "your email" and delete "your name"
Fixes #1041
 - Legacy-Id: 5737
2013-05-15 09:48:27 +00:00
Emilio Jiménez a6fdc52397 Refactor code to send reminders in a unique function
Refactor reminder command.
Fixes #1040
 - Legacy-Id: 5736
2013-05-15 09:08:49 +00:00
Emilio Jiménez 3d25fa261e now reminder form sends accept and decline links, and questionnaires.
See #1040
 - Legacy-Id: 5735
2013-05-15 07:24:32 +00:00
Henrik Levkowetz eba22a646b Set version info and settings back to development mode
- Legacy-Id: 5734
2013-05-14 19:50:15 +00:00
Henrik Levkowetz e7cb332ab2 Set version info to release version 4.45 before branching.
- Legacy-Id: 5732
2013-05-14 19:50:12 +00:00
Henrik Levkowetz 34825fc207 Fixed exception when creating log message when setting a document shepherd to None.
- Legacy-Id: 5730
2013-05-14 19:44:47 +00:00
Henrik Levkowetz 795f91a52e Added IAB Chair permission for some IESG agenda links.
- Legacy-Id: 5729
2013-05-14 18:42:08 +00:00
Henrik Levkowetz 313e676823 Added IAB Chair permission for some IESG agenda links.
- Legacy-Id: 5728
2013-05-14 18:40:35 +00:00
Henrik Levkowetz f1c274fe04 Fixed nonstandard indentation.
- Legacy-Id: 5727
2013-05-14 18:18:57 +00:00
Emilio Jiménez 7042e8896a now you can see new feedback types
See #973
 - Legacy-Id: 5726
2013-05-12 18:46:53 +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 c72ab5daa3 Added alternative names for 2 iana states which seems to have changed name since the code was originally deployed. Also added a guard against sending state change emails when the iana state hasn't actually changed.
- Legacy-Id: 5718
2013-05-09 20:07:40 +00:00
Henrik Levkowetz ab3120cee4 Revert some last_call_announcement changes, as they have caused breakage.
- Legacy-Id: 5717
2013-05-09 20:03:35 +00:00
Emilio A. Sánchez López a7af017465 Rename member_required decorator to nomcom_member_required
Rename private_key_required decorator to nomcom_private_key_required
Fixes #1038
 - Legacy-Id: 5716
2013-05-09 09:19:06 +00:00
Emilio A. Sánchez López 42fe4ccf16 Change label and help text of the secondary mail addresses in the merge form. Fixes #1037
- Legacy-Id: 5715
2013-05-09 09:15:26 +00:00
Emilio A. Sánchez López ad5c2ddae9 Add new nominations to the primary address of existing merged nominations.
Allow to enter a secondary address in the primary address of the merge form and the merge is done into the primary address of the secondary address (tongue-twister).
Fixes #1034
 - Legacy-Id: 5714
2013-05-09 09:02:34 +00:00
Emilio Jiménez 3cbdecd3c3 Show a message if there is or not a private kay in the user session
See #1033
 - Legacy-Id: 5713
2013-05-08 16:19:03 +00:00
Emilio Jiménez f3b3a21ccb Show if nomcom has a public key
Fixes #1033
 - Legacy-Id: 5712
2013-05-08 12:59:55 +00:00
Emilio A. Sánchez López 454128b165 Check valid public key. Fixes #1004
- Legacy-Id: 5711
2013-05-08 12:39:50 +00:00
Emilio Jiménez 868a82a327 Change message when public key does not exists
Refactor context views
Add new templatetags to check if the nomcom has public key
Fixes #1030
 - Legacy-Id: 5710
2013-05-08 12:37:12 +00:00
Emilio Jiménez 3d747dbcb7 Delete * of date field in remider dates
Fixes #1031
 - Legacy-Id: 5709
2013-05-08 11:00:47 +00:00
Emilio Jiménez faa62e2b4d Change button name.
Fixes #1032
 - Legacy-Id: 5708
2013-05-08 10:43:10 +00:00
Emilio Jiménez a7fed41d2c Show name of feedback provider.
Fixes #1012
 - Legacy-Id: 5707
2013-05-08 07:43:15 +00:00
Ryan Cross adb9164653 add Status Changes to telechat agenda section 2
- Legacy-Id: 5706
2013-05-07 21:31:54 +00:00
Emilio Jiménez 34ec539ff2 Show in all views the email of nominee
show the candidate phone in nomination feedback
Fixes #1011
 - Legacy-Id: 5703
2013-05-07 20:25:30 +00:00
Emilio Jiménez 424a454fbb Chage initial_text to show above of input in nominate form
Fixes #1010
 - Legacy-Id: 5702
2013-05-07 19:11:55 +00:00
Emilio Jiménez ddbfdf4b7b change merge form, accepted vs any state: accepted, pending vs declined: declined
Fixes #1016
 - Legacy-Id: 5701
2013-05-07 11:50:13 +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 a3ce05bcc7 A different fix for the shepherd writeup edit test.
- Legacy-Id: 5699
2013-05-06 16:35:36 +00:00
Henrik Levkowetz 45cd8788d1 Added the secretariat to the recipient list for publication request emails generated by the datatracker. Fixes issue #964.
- Legacy-Id: 5698
2013-05-06 16:34:37 +00:00
Emilio A. Sánchez López 38480747b4 Add an example of the format in the private key form.
Check if the private key is valid.
Fixes #1004
 - Legacy-Id: 5697
2013-05-06 12:21:31 +00:00
Henrik Levkowetz aff678bb11 Fixed a problem with checking shepherd writeup editing permissions for logged-in users with no associated person object.
- Legacy-Id: 5695
2013-05-03 09:46:25 +00:00