Commit graph

27 commits

Author SHA1 Message Date
Henrik Levkowetz 356552dac9 Fixed id_abstracts to include drafts assigned directly to areas, not only individual and WG drafts.
- Legacy-Id: 4620
2012-07-19 14:03:21 +00:00
Henrik Levkowetz 0e8ab0dbfd In all_id2.txt, set the WG field as empty for AD-sponsored documents which have group set to an area. Fixes a problem with draft alias generation.
- Legacy-Id: 4066
2012-03-07 10:36:39 +00:00
Ole Laursen 6afceb835e Port idindex to new schema, fixes #770.
- Legacy-Id: 3985
2012-02-27 18:46:27 +00:00
Ole Laursen 980d4e6444 Move new schema models from redesign/ to ietf/
- Legacy-Id: 3855
2012-01-24 17:17:24 +00:00
Ole Laursen 03bed41630 Merged in changes from the conversion branch
- Legacy-Id: 3187
2011-06-28 18:20:20 +00:00
Henrik Levkowetz 0af05ca7fd Catch bad or missing area when generating the all_id2 file.
- Legacy-Id: 2487
2010-08-19 13:52:28 +00:00
Henrik Levkowetz 266b7820d0 Merged from log:branch/2.00@2363: Current release branch head to trunk.
- Legacy-Id: 2365
2010-07-21 12:48:05 +00:00
Henrik Levkowetz fa77ac30d5 Merged r840 from branch/2.00 to trunk, and updated version information in ietf/__init__.py
- Legacy-Id: 841
2007-07-04 21:17:57 +00:00
Bill Fenner 0a7b45a9f4 Fix exception when given a bad numeric ID for a WG (return 404 instead).
Add a testurl for the case that was failing on datatracker.
 - Legacy-Id: 744
2007-06-28 12:02:12 +00:00
Henrik Levkowetz cd030d3b43 Adding copyright notices to all python files
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00
Henrik Levkowetz 6b80966beb Adding some missing tests. The /drafts/dead/ diff need to be checked up.
- Legacy-Id: 673
2007-06-26 23:31:24 +00:00
Henrik Levkowetz e80bb3b76f Add sort to the the name sorted rfc list -- .cgi and .django sort may be different.
- Legacy-Id: 660
2007-06-26 19:18:58 +00:00
Bill Fenner 8d6b0bae97 Moves:
* announcements -> ann
 * liaisons -> liaison
 * idindex -> drafts
 * mailinglists -> list

I checked the tests and used a link checker locally, so hopefully
the fallout will be minimal.
 - Legacy-Id: 657
2007-06-26 18:29:55 +00:00
Henrik Levkowetz ec1b40849d Skip the diff of one of the /idindex/ entries -- the stored diff can't match both, since the diffed URLs are specified at the top of the diff.
- Legacy-Id: 612
2007-06-22 09:01:49 +00:00
Bill Fenner f1f94506f8 Don't diff view_related_docs. We've determined that the diffs are
OK, but it's silly to have a stored diff file that's basically
the whole page.
 - Legacy-Id: 611
2007-06-22 01:56:40 +00:00
Bill Fenner 0a3cee08a0 Skip the mailinglists/request/help redirect tests; those are only
served by the mailing list form so bookmarks to them are extremely
unlikely.

Remove trailing "?" from /idtracker/ entry; the redirect tool
strips off empty query strings.

Add ?cat=bugs to the send_email entry so the redirect will pass.

Skip the redirect test for the ballot, since there's an extra
(unused) query argument, filename=.

Add in all the query args that will get passed through the
redirect when searching for bgp-m, to make sure that they work
and to make the redirect test pass.
 - Legacy-Id: 609
2007-06-22 01:46:47 +00:00
Henrik Levkowetz 361ccbb9d1 A testurl tweak, and an additional acceptable diff file for /idindex/? .
- Legacy-Id: 605
2007-06-21 23:32:15 +00:00
Bill Fenner 61dbe770e2 Other than the 5 documents listed in #147, all_id.txt and all_id.html
are the same as their cgi counterparts.  Differences:

 * The sections are ordered differently; the cgi has Active, Published, Expired, Withdrawn; the django has Active, Expired, Published, Withdrawn by IETF, Withdrawn by Submitter.  Since the explicit ordering by the cgi was why it missed the "Withdrawn by Submitter" documents, I chose to keep the database-influenced ordering.
 * The revision numbers for published documents are of the version that was published, not of the tombstone.
 - Legacy-Id: 590
2007-06-21 17:38:56 +00:00
Bill Fenner 02933825ef Tweak ordering to be like the cgi version.
Remove debugging and leftover bits from related_docs function.

Handle unexpected exceptions in related_docs related to schema
oddities described in #98:
* There might not be a row in the RFC table for a given rfc_number of an I-D
* There might be multiple documents published as the same RFC

Don't skip anything when recursing from our equivalents of
get_rfcs_obsoleted and get_rfcs_obsoleted_by.
 - Legacy-Id: 521
2007-06-18 22:37:24 +00:00
Bill Fenner 7fa51e03cd Change the idindex search to use GET to allow bookmarking searches.
Use request.REQUEST to allow backwards-compatible searching.
 - Legacy-Id: 486
2007-06-18 14:24:56 +00:00
Henrik Levkowetz 054d04443f Commenting out some noisy debug print statements.
- Legacy-Id: 433
2007-06-16 15:05:30 +00:00
Bill Fenner 16b718c917 Add some URLs for the idindex tool.
- Legacy-Id: 416
2007-06-15 18:35:15 +00:00
Bill Fenner 7fec55b633 Initial implementation of view_related. The related_docs() function
is still a work in progress.  I've been using
draft-ietf-dnsext-dnssec-protocol as a test case; related_docs()
returns the same 137 documents as the cgi code but some of the
relationships are different.  Right now, the skip argument is
ignored.
 - Legacy-Id: 246
2007-06-06 02:14:29 +00:00
Henrik Levkowetz 03c18bd33d Fixing a bunch of nits pyflakes were complaining about, in order to get a clean run. There are still at least 2 cases of using undefined values which needs scrutiny.
- Legacy-Id: 235
2007-06-05 16:58:58 +00:00
Bill Fenner 0eb450cab7 Finish the poorly-thought-through and poorly-implemented
GroupIETF->IETFWG rename.
 - Legacy-Id: 179
2007-05-29 13:39:32 +00:00
Bill Fenner 6396c8ee73 Use (some) new class functions to generate choices
Defer choice generation from database until object instantiation.
 - Legacy-Id: 124
2007-05-10 22:09:27 +00:00
Henrik Levkowetz 5872696834 Moving ietf to trunk/ietf
[[Split portion of a mixed commit.]]
 - Legacy-Id: 96.1
2007-05-04 12:37:28 +00:00