datatracker/ietf/templates
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
..
admin Port send SDO reminder admin page to new schema 2011-08-23 18:34:58 +00:00
announcements Go through the code and replace uses of Person.name with Person.plain_name() 2012-01-23 20:22:45 +00:00
community Merged [5509] from ietf@augustcellars.com: 2013-03-13 15:31:36 +00:00
cookies Merged [2676] from kivinen@iki.fi: 2010-11-11 02:31:38 +00:00
doc Merged in a lot of shim-layer removals from olau@iola.dk 2013-07-15 20:55:24 +00:00
feeds merged in from 4.20-ise 2012-06-22 20:25:17 +00:00
help Added a set of help pages for document states (at /help/state/<doctype>/<statetype>/). 2013-02-27 22:01:18 +00:00
idindex Added a new field, #16: draft AD (name and email) to all_id2.txt 2012-12-15 22:44:16 +00:00
idrfc Merged in a lot of shim-layer removals from olau@iola.dk 2013-07-15 20:55:24 +00:00
idtracker Fix the RFC number doc.note migration to catch combined "RFC XXX; BCP 2013-01-17 17:10:19 +00:00
iesg Merged in a lot of shim-layer removals from olau@iola.dk 2013-07-15 20:55:24 +00:00
ietfauth Add simple view for setting testemailcc cookie when server is in test mode 2011-11-28 17:19:45 +00:00
ietfworkflows Merged in branch/iola/milestones, which provides datatracker support for management of WG milestones. 2013-05-15 22:07:23 +00:00
ipr Cleanup the search code in preparation for removal of the shim-layer, 2013-02-25 11:50:00 +00:00
liaisons Fix attachment link to work with newly submitted attachments (those 2012-03-13 11:19:13 +00:00
mailinglists Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
meeting Fixed problem with caching of utc agenda -- use a separate cache name for this. 2013-07-14 12:46:52 +00:00
notify_expirations Add a clean_whitespace filter in some places to get rid of any newlines embedded in document titles. 2011-02-02 15:19:27 +00:00
registration Merged [5476] from rjsparks@nostrum.com: 2013-04-07 19:11:18 +00:00
release Added a list of releases below the release notes at /releases/* 2013-06-14 13:13:20 +00:00
submit Merged branch/iola/statesync up to @5118 to trunk. 2012-12-20 20:32:03 +00:00
sync Add RFC Editor undo page, missing test and dump model 2012-11-06 17:06:10 +00:00
test Merged [2639] from fenner@fenron.net: 2010-11-08 08:47:36 +00:00
wgchairs Merged [5570] from rjsparks@nostrum.com: 2013-04-07 20:40:15 +00:00
wgcharter Merge in milestones branch 2012-12-03 14:36:30 +00:00
wginfo Merged in a lot of shim-layer removals from olau@iola.dk 2013-07-15 20:55:24 +00:00
.gitignore Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
401.html Related to #817 - added a 401.html page for responding to authentication failures 2012-03-24 18:19:30 +00:00
404.html Merged [2976] from lars.eggert@nokia.com: 2011-03-26 18:04:48 +00:00
500.html Don't send error reports both to issue tracker and secretariat issue queue. 2011-10-26 13:49:40 +00:00
base.html Tweaked the changelog presentation to work irrespective of current directory, and give a sensible 404 if the changelog can't be found. 2012-10-30 22:13:37 +00:00
base_leftmenu.html Merged in branch/iola/milestones, which provides datatracker support for management of WG milestones. 2013-05-15 22:07:23 +00:00
base_wgmenu.html Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
debug.html Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
email_failed.html Prepare for email failure debugging -- make it clearer that the extra information is debug info meant for forwarding. 2012-07-03 12:04:32 +00:00
googlea30ad1dacffb5e5b.html Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
m_base.html Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00