Commit graph

3890 commits

Author SHA1 Message Date
Ryan Cross 7d6d324c81 add new section to proceedings, 6
- Legacy-Id: 5924
2013-07-31 07:12:31 +00:00
Ryan Cross 744e302159 fix bug with upload form validation
- Legacy-Id: 5922
2013-07-30 14:57:37 +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 3cb184ec12 Tweaked changelog for rst compliance.
- Legacy-Id: 5851
2013-07-23 22:27:12 +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 a13a476d89 Changelog entry for 4.60
- Legacy-Id: 5847
2013-07-23 16:32:53 +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 b31c781603 Reverted changes to document ballot colours -- the colours that came in with
the shimfree merge [5836] don't work as well for some kinds of
colour-blindness.
 - Legacy-Id: 5839
Note: SVN reference [5836] has been migrated to Git commit cbfe489ff5
2013-07-17 21:59:53 +00:00
Henrik Levkowetz b42703ef7a Changelog entry for 4.60
- Legacy-Id: 5838
2013-07-17 21:19:45 +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 c9cfc8fa77 Cleaned up the changelog formatting to conform to rst.
- Legacy-Id: 5828
2013-07-15 12:44:33 +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