Commit graph

351 commits

Author SHA1 Message Date
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 c85c6a59b8 Reduce diffs with meeting_materials.cgi
- Legacy-Id: 520
2007-06-18 22:23:16 +00:00
Bill Fenner bd0bb1e749 Chase model change: area_acronym -> area
- Legacy-Id: 519
2007-06-18 22:20:02 +00:00
Bill Fenner e407114073 Add "please send problem reports to" footer.
- Legacy-Id: 518
2007-06-18 22:16:28 +00:00
Bill Fenner c03da11ec5 Use the exact same "no selection" wording.
- Legacy-Id: 516
2007-06-18 22:12:56 +00:00
Bill Fenner 63d3325b07 welcome_new can be NULL, so use "" instead of rendering "None".
- Legacy-Id: 514
2007-06-18 22:08:39 +00:00
Bill Fenner 178748f282 rfc.status.status (e.g., "Informational") conflicted with
internetdraft.status.status (e.g., "Active", "Dead", ...).
I assumed when I wrote {{ ..document.status.status }} that it
would throw an exception and so be ignored for RFCs.  Mea culpa.
 - Legacy-Id: 513
2007-06-18 22:02:17 +00:00
Bill Fenner b251c287bc Remove extra <hr> and fix case.
- Legacy-Id: 509
2007-06-18 21:43:40 +00:00
Bill Fenner f7578e627b Use a regular ChoiceField for substate to allow "None" as an
option.
 - Legacy-Id: 508
2007-06-18 21:18:55 +00:00
Bill Fenner e454f1e4db Filter IETFWG.choices() on type='WG'.
- Legacy-Id: 507
2007-06-18 21:18:21 +00:00
Henrik Levkowetz 42013f2c35 Fix added <hr>
- Legacy-Id: 506
2007-06-18 20:01:16 +00:00
Henrik Levkowetz 862645e52d Fix case difference.
- Legacy-Id: 505
2007-06-18 19:59:14 +00:00
Henrik Levkowetz bcc361359d Test urls for /review/
- Legacy-Id: 503
2007-06-18 19:30:58 +00:00
Michael Lee 819d8352c7 meeting/urls.py has been restored with .html and .txt url
- Legacy-Id: 502
2007-06-18 19:14:26 +00:00
Henrik Levkowetz 814c18c41f Missed restoring .html on the meeting materials page.
- Legacy-Id: 501
2007-06-18 19:11:42 +00:00
Henrik Levkowetz 314ff9e722 Undoing overwrite of changes in [497] done by [499], and fix back the dots in .html and .txt
- Legacy-Id: 500
Note: SVN reference [497] has been migrated to Git commit ac5ae6d949

Note: SVN reference [499] has been migrated to Git commit a03c5c5ebc
2007-06-18 18:45:28 +00:00
Michael Lee a03c5c5ebc Update redirect fixture.
- Legacy-Id: 499
2007-06-18 18:18:41 +00:00
Michael Lee 48032496a2 Update urls.py of meeting to fix redirect for meeting materials page and agenda page.
- Legacy-Id: 498
2007-06-18 18:15:14 +00:00
Henrik Levkowetz ac5ae6d949 Update the redirects to match the URL change in changeset [492].
- Legacy-Id: 497
Note: SVN reference [492] has been migrated to Git commit fdbf36f5d3
2007-06-18 18:13:47 +00:00
Bill Fenner 89ad0b9112 This debugging keeps creeping into commits.
- Legacy-Id: 496
2007-06-18 16:49:47 +00:00
Bill Fenner b5e944ceaa previous_announcement.cgi has a show_detail mode too.
Also, use an actually recent ballot ID for the recent_announcement test.
 - Legacy-Id: 495
2007-06-18 16:48:59 +00:00
Bill Fenner 0aa1161f2a Supply form0 to the templates, and use that in ListReqAuthorized.html
to display the right approval text (or a fallback if it's something
else for some reason)
 - Legacy-Id: 494
2007-06-18 16:39:47 +00:00
Henrik Levkowetz 801f3e74f2 Make the review page work both when invoked as /review/ and /review/<num>/
- Legacy-Id: 493
2007-06-18 16:13:49 +00:00
Henrik Levkowetz fdbf36f5d3 Seems the datatracker URL was wrong here.
- Legacy-Id: 492
2007-06-18 16:12:47 +00:00
Bill Fenner 91fe8ea9c2 Update compatability with bookmarked searches
- Legacy-Id: 491
2007-06-18 15:53:01 +00:00
Bill Fenner a93b927f7a A spare "<" crept in. Oops!
- Legacy-Id: 490
2007-06-18 15:16:23 +00:00
Bill Fenner 646bc5f894 Match look'n'feel by including the base css file.
- Legacy-Id: 489
2007-06-18 15:14:19 +00:00
Bill Fenner 0e2d7be442 Implement ^flag^command syntax and use it for sub_state=1 and
rfc_flag=1

Don't return a trailing slash if the next-to-last element has
a dot in it (the inverse of the algorithm in APPEND_SLASH in the
common middleware)
 - Legacy-Id: 488
2007-06-18 15:06:44 +00:00
Henrik Levkowetz c03019afbe Adding a page review facility under the URL /review/. This is based on frames and takes the URLs in question from the testurl.list files.
- Legacy-Id: 487
2007-06-18 14:34:00 +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 a6c5f1b805 Fixes to IPR templates, view and model, and acceptable diffs.
- Legacy-Id: 485
2007-06-17 23:19:21 +00:00
Henrik Levkowetz 56aae66b03 Template and acceptable diff update for third-party notifications
- Legacy-Id: 484
2007-06-17 21:34:11 +00:00
Henrik Levkowetz 7d33c372d1 Template and code changes for the third-party IPR disclosure page, and an acceptable diff file.
- Legacy-Id: 483
2007-06-17 21:08:36 +00:00
Henrik Levkowetz 06091fcdb4 The same name for two functions is unfortunate. Fixed.
- Legacy-Id: 482
2007-06-17 21:07:22 +00:00
Henrik Levkowetz e4deb27623 Changed query argument order in testurls to agree with the order produced by the redirects. Accompanying new acceptable diff file.
- Legacy-Id: 481
2007-06-17 21:05:29 +00:00
Henrik Levkowetz f051f64977 Fixing some renaming breakage.
- Legacy-Id: 479
2007-06-17 16:13:14 +00:00
Henrik Levkowetz 7075fe65a0 Code reorganization. Splitting up ipr search code into separate files, and renaming the ipr.view_new module to ipr.new.
- Legacy-Id: 478
2007-06-17 16:10:20 +00:00
Henrik Levkowetz 6829830b59 Name changes for IprDetail model fields.
- Legacy-Id: 477
2007-06-17 15:53:39 +00:00
Henrik Levkowetz 92968fa04e Somewhat reorganized IPR search code. Renamed IprDetails model field. New IPR search templates.
- Legacy-Id: 476
2007-06-17 15:21:48 +00:00
Bill Fenner 61983079e4 Since I've been using "skipredirect" as a keyword, make it valid.
- Legacy-Id: 475
2007-06-17 13:44:36 +00:00
Bill Fenner ad150b5a7d Add another couple of redirects to skip
- Legacy-Id: 474
2007-06-17 13:44:11 +00:00
Bill Fenner 61fffa12de Catch up with long-ago "areas"->"area" rename.
- Legacy-Id: 473
2007-06-17 13:43:49 +00:00
Bill Fenner 2a8124c002 Fix a couple redirects, add a couple more.
- Legacy-Id: 472
2007-06-17 13:42:31 +00:00
Henrik Levkowetz 795c9d0c0c Tweaking the output format.
- Legacy-Id: 471
2007-06-17 11:43:59 +00:00
Henrik Levkowetz faeb7a152a We should still check all the test URLs if no prefixes have been given.
- Legacy-Id: 470
2007-06-17 11:29:06 +00:00
Henrik Levkowetz f303d6f226 Moving some of the setup out to the module level to avoid repeating things unnecessary. In particular applying fixtures and finding patterns and testurls need only be done once.
- Legacy-Id: 469
2007-06-17 11:25:48 +00:00
Henrik Levkowetz 63754d4b2b The URL tests in tests.py can now limit the tests to be run to given URL prefixes. The test class looks for an environment variable URLPREFIX, and if it exists and is non-empty, it is expected to contain a space-separated list of URL prefix patterns for which tests should be run. test/run has been updated to place arguments given on the command line in the URLPREFIX environment variable, so you can say:
{{{
 $ test/run ipr
}}}
and only the URLs which start with /ipr will be tested.
 - Legacy-Id: 468
2007-06-17 11:09:52 +00:00
Henrik Levkowetz e40af4343f More test URLs
- Legacy-Id: 467
2007-06-17 10:03:59 +00:00
Henrik Levkowetz 9681754803 More test URLs
- Legacy-Id: 466
2007-06-17 09:30:35 +00:00
Henrik Levkowetz e317588462 Minor template tweaks to remove diffs
- Legacy-Id: 463
2007-06-17 02:03:27 +00:00