Commit graph

2768 commits

Author SHA1 Message Date
Ole Laursen 7998371ace Make 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
 - Legacy-Id: 5296
2013-01-18 13:47:31 +00:00
Ole Laursen accf6d4470 Move 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.
 - Legacy-Id: 5295
2013-01-18 13:17:00 +00:00
Ole Laursen 1a3aa3b443 Refactor slightly to make views_doc.py independent of other idrfc code
- Legacy-Id: 5294
2013-01-18 10:32:05 +00:00
Ole Laursen 3e8de2a43f Rename REDESIGN tests.py file
- Legacy-Id: 5293
2013-01-18 09:52:15 +00:00
Ole Laursen 0c0a912941 Remove obsolete tests.py file
- Legacy-Id: 5292
2013-01-18 09:51:34 +00:00
Ole Laursen b881c64abf Fix bug in test of doc.note
- Legacy-Id: 5291
2013-01-18 09:51:18 +00:00
Ole Laursen 024e98d9a8 Delete unused code
- Legacy-Id: 5290
2013-01-18 09:38:29 +00:00
Ole Laursen ce081cb31d Fix 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
 - Legacy-Id: 5289
2013-01-17 17:10:19 +00:00
Ole Laursen 188c619635 Display 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
 - Legacy-Id: 5288
2013-01-17 16:02:50 +00:00
Ole Laursen b8724d84f4 Fix bug with tabs not using provided name but rather doc.name
- Legacy-Id: 5287
2013-01-17 16:00:36 +00:00
Ole Laursen 5efcc5fbef Fix revision augmentation so events after RFC publication gets a "RFC"
designation
 - Legacy-Id: 5286
2013-01-17 15:39:57 +00:00
Ole Laursen c0ecb78761 Merge 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.
 - Legacy-Id: 5285
2013-01-17 13:28:42 +00:00
Ole Laursen a6a0596be6 Add migration 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.
 - Legacy-Id: 5284
2013-01-17 13:00:36 +00:00
Ole Laursen 9ca9eb350d Fix 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
 - Legacy-Id: 5282
2013-01-17 11:19:53 +00:00
Ole Laursen aa70cffe73 Rewrite draft and RFC tabs in terms of the new schema, porting
write-up and history tabs as well
 - Legacy-Id: 5214
2013-01-16 14:57:01 +00:00
Ole Laursen f85ce040a6 Use new new_revision .desc format for when drafts are submitted
- Legacy-Id: 5212
2013-01-16 14:37:50 +00:00
Ole Laursen 9e3891791a Add simple helper to Email to identify invalid email addresses (from
legacy author entries)
 - Legacy-Id: 5211
2013-01-16 14:36:49 +00:00
Ole Laursen 99a14b3ede Move the decoraters + utilities to new ietfauth/utils.py file
- Legacy-Id: 5210
2013-01-16 14:36:02 +00:00
Ole Laursen 8f6a26ba22 Hack 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
 - Legacy-Id: 5209
2013-01-16 14:35:13 +00:00
Ole Laursen d56c6753ef Grant stream chairs access to changing the stream on a draft
- Legacy-Id: 5208
2013-01-16 14:32:59 +00:00
Ole Laursen 4624f4a31c Add migration for blanking IESG notes that just consist of "RFC
XXXX", these have been superfluous for some time
 - Legacy-Id: 5207
2013-01-16 14:20:20 +00:00
Ole Laursen e8daf2fbdf Add migration for transforming the .desc on the new_revision events
into something more akin to what is actually shown in the history page
 - Legacy-Id: 5206
2013-01-16 14:17:07 +00:00
Ole Laursen 6e45e5e17b Remove .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)
 - Legacy-Id: 5205
2013-01-16 14:15:18 +00:00
Ole Laursen 6e89f3b606 Merge changes from old milestones branch
- Legacy-Id: 5198
2013-01-15 16:45:19 +00:00
Ole Laursen bbe51020d4 Move milestones branch out of the way to prepare for merge with trunk
[[Split portion of a mixed commit.]]
 - Legacy-Id: 5185.1
2013-01-15 16:12:31 +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
Henrik Levkowetz 5b8a56affd Set version info and settings back to development mode
- Legacy-Id: 5138
2012-12-16 18:30:34 +00:00
Henrik Levkowetz 8bb48d0369 Set version info to release version 4.37 before branching.
- Legacy-Id: 5136
2012-12-16 18:30:32 +00:00
Henrik Levkowetz 9d9e2851e0 Test the argument list, not the tuple of argument tuple.
- Legacy-Id: 5134
2012-12-16 18:30:25 +00:00
Henrik Levkowetz 505e715fe2 Merged in a patch from housley@vigilsec.com to handle different documents better in the agenda JSON output.
- Legacy-Id: 5132
2012-12-15 22:49:11 +00:00
Henrik Levkowetz 97a7ab30db Added simple logging of test runs, to make it easier to be sure that tests has been run successfully on the latest code.
- Legacy-Id: 5131
2012-12-15 22:47:11 +00:00
Henrik Levkowetz 83f7b4ca5a Got rid of some debug traces.
- Legacy-Id: 5130
2012-12-15 22:45:47 +00:00
Henrik Levkowetz bda0cf3163 Added a new field, #16: draft AD (name and email) to all_id2.txt
- Legacy-Id: 5129
2012-12-15 22:44:16 +00:00
Henrik Levkowetz 6f5ae2edcd Added a new field, #16: draft AD (name and email) to all_id2.txt
- Legacy-Id: 5128
2012-12-15 22:43:10 +00:00
Ole Laursen 819e80f033 Fix quoting bug in AUTH48 links
- Legacy-Id: 5118
2012-12-11 15:16:31 +00:00
Ole Laursen 9c571e65ef Undo actual state when doing an RFC Editor undo, this is only relevant
if the removed entry is the latest entry
 - Legacy-Id: 5116
2012-12-11 15:10:51 +00:00
Ole Laursen 1b56a33d21 Fix bugs in abandoning chartering of a proposed/bof/unknown group,
apparently most of the problems are inherited from trunk
 - Legacy-Id: 5092
2012-12-03 15:00:07 +00:00
Ole Laursen b19f6d8060 Merge in milestones branch
- Legacy-Id: 5091
2012-12-03 14:36:30 +00:00
Henrik Levkowetz af9a442ca2 Made the IPR country field wider to accomodate IPR disclosures referencing many patent instances in many countries.
- Legacy-Id: 5089
2012-12-03 13:19:02 +00:00
Henrik Levkowetz 4946a3f694 Updated draft submission author extraction module to handle dash-separated double given names.
- Legacy-Id: 5088
2012-12-03 13:17:33 +00:00
Henrik Levkowetz 158f501653 More tweaks and fixes to the IESG scribe template templates.
- Legacy-Id: 5087
2012-12-03 13:16:10 +00:00
Henrik Levkowetz e38f738851 Fixed some s!<br/>!<br>! and s!</li>!<li>! in the scribe template templates, and also where html escaping is and isn't applied.
- Legacy-Id: 5086
2012-12-03 13:07:16 +00:00
Ole Laursen 8eeef2def4 Send out expires as "null" in JSON rather than crashing if there's no
expiry on a document
 - Legacy-Id: 5079
2012-11-27 12:08:56 +00:00
Ole Laursen 8165048f11 Add word wrap to charters for charters that aren't preformatted
- Legacy-Id: 5078
2012-11-27 12:06:32 +00:00
Henrik Levkowetz dde89d19f4 Added a filter for use in displaying document comments and discusses which unfortunately sometimes use html <br> markup, which should give line breaks, and sometimes contain <email@domain> which should *not* be interpreted as html, but rendered as &lt;...
- Legacy-Id: 5075
2012-11-25 15:56:29 +00:00
Henrik Levkowetz 9a302b63dc Limit the 1wg-summary list and friends to WGs, (excluding the 'iesg' area which lists the areas as subgroups, for instance).
- Legacy-Id: 5063
2012-11-14 11:32:33 +00:00
Henrik Levkowetz 7e226be6fb Removed debug statements.
- Legacy-Id: 5062
2012-11-13 14:52:55 +00:00
Henrik Levkowetz ebef7416d2 Resolved a naming conflict between the builtin messages framework and a variable named messages in wgcharter.views.change_state. Fixes issue #901.
- Legacy-Id: 5061
2012-11-13 14:51:50 +00:00
Henrik Levkowetz 0e67b2c758 Tweaked the handling of the syslog module not being available on windows.
- Legacy-Id: 5058
2012-11-07 21:41:02 +00:00
Henrik Levkowetz 231a1163f8 Fix what may have been a regression in the form of the anchors in the materials list page.
- Legacy-Id: 5057
2012-11-07 20:15:32 +00:00