Commit graph

926 commits

Author SHA1 Message Date
Bill Fenner 566fba6601 Use normalize_draftname to strip version number and .txt from
I-D names entered in search box.
 - Legacy-Id: 832
2007-07-02 19:41:40 +00:00
Bill Fenner 64df22977c Add an <hr> to separate header and results.
- Legacy-Id: 831
2007-07-02 19:28:17 +00:00
Bill Fenner e97ff8208a Acceptable diffs for the newly-added update pages.
- Legacy-Id: 830
2007-07-02 19:14:56 +00:00
Bill Fenner 633525a5bb Heading is now produced by django pages, so don't need to ignore
that diff.
 - Legacy-Id: 829
2007-07-02 19:13:31 +00:00
Bill Fenner 100bd11222 Update diffs to handle the document name to document comment display
- Legacy-Id: 828
2007-07-02 19:08:35 +00:00
Bill Fenner af9236fb58 Use IDInternal as the primary object, since RFCs can have comments.
- Legacy-Id: 827
2007-07-02 18:10:20 +00:00
Bill Fenner e272dda681 Update page titles to mention the filename of the document
being looked at.
 - Legacy-Id: 826
2007-07-02 17:40:38 +00:00
Bill Fenner d1cf8094d2 The review pages are called via strings, so no need to import
their view either.
 - Legacy-Id: 824
2007-07-02 17:23:54 +00:00
Bill Fenner 28e3c45146 Use proper path to link to minutes.
- Legacy-Id: 823
2007-07-02 17:19:14 +00:00
Bill Fenner a66822d15c Use get_absolute_url() to point to the document.
Only include public comments in the feed.
 - Legacy-Id: 822
2007-07-02 17:18:55 +00:00
Bill Fenner b3b0c7d964 Add the header to the contact info request screen:
type and title of IPR being updated.  Also, use get_object_or_404
to avoid exceptions.
 - Legacy-Id: 821
2007-07-02 17:10:53 +00:00
Bill Fenner 23372a784d We don't use the top-level view any more, so silence pyflakes by
not importing it.
 - Legacy-Id: 820
2007-07-02 16:58:00 +00:00
Bill Fenner 282eebef86 Fix ipr-%(ipr_id)s redirect. (I did this once, but apparently I overwrote
it before committing it)
 - Legacy-Id: 819
2007-07-02 16:43:49 +00:00
Bill Fenner 8ab1439969 Chase renamed URLs
- Legacy-Id: 818
2007-07-02 16:41:46 +00:00
Bill Fenner cb30cc8008 Factor out the dump-rewrite sed script since creating pretty-printed
xml fixtures in general is a useful thing to do.
 - Legacy-Id: 817
2007-07-02 16:27:21 +00:00
Bill Fenner 63c532a175 Switch back to trying to give / to the redirects app.
Since the production site has an Apache rewrite, this will not
affect production, but will give us a chance to try it in more
controlled environments.
 - Legacy-Id: 816
2007-07-02 16:24:56 +00:00
Bill Fenner 9754abc304 Create redirects from URLs with document-ID to filename based ones.
- Legacy-Id: 815
2007-07-02 16:18:27 +00:00
Bill Fenner 8868274c58 Create a redirect for the document-ID numeric URL to the filename one.
- Legacy-Id: 814
2007-07-02 16:17:10 +00:00
Bill Fenner 0f08671eb6 * Switch to /ipr/<ipr-id>/ and /ipr/y/<year>/ urls
* Add update URLs for each type of disclosure and redirects to match
 - Legacy-Id: 813
2007-07-02 16:12:41 +00:00
Bill Fenner 6a3660925c Don't forget to assign the variable!
- Legacy-Id: 812
2007-07-02 16:10:59 +00:00
Bill Fenner be51a990af Use get_object_or_404 in show() to avoid raising an exception
with a handcrafted URL pointing to an incorrect ID.
 - Legacy-Id: 811
2007-07-02 15:58:21 +00:00
Bill Fenner e58a0e9e68 Fix #179 by catching all exceptions when looking for a
matching command in the database.  This is usually not a
great idea, but in this case it's better to redirect to
the "base url" of the tool than to throw an exception.
 - Legacy-Id: 810
2007-07-02 13:34:13 +00:00
Bill Fenner f5e69feec8 Remove the fixture that introduced the IAD role into the Roles table.
It's now in the "real" database, so keeping it here will only cause
confusion.
 - Legacy-Id: 809
2007-07-02 12:55:08 +00:00
Bill Fenner 92520ce1ad Use the alternate "pretty-printer" that handles <None> better for
django's fixture loader.
 - Legacy-Id: 808
2007-07-02 12:49:59 +00:00
Henrik Levkowetz 6cf5e624ed Test case for google verification url.
- Legacy-Id: 807
2007-07-02 12:38:13 +00:00
Bill Fenner d1ac49155a Fix role() group name lookups. Add a unit test and a fixture to go
with it to try to prevent future regressions.

(I assume this was a regression from my gaily model renaming fiasco.)
 - Legacy-Id: 806
2007-07-02 12:22:47 +00:00
Henrik Levkowetz b280998d33 Added a verification page for Google's Webmasters' Tools (https://www.google.com/webmasters/tools/siteoverview)
- Legacy-Id: 805
2007-07-02 11:55:19 +00:00
Henrik Levkowetz c071818c59 Updated the 500 and 404 error pages to contain the error message text used by Apache 2. Updated 404 style to match the new 500 page.
- Legacy-Id: 804
2007-07-01 12:14:13 +00:00
Henrik Levkowetz 7e5139211c More exact date regex'es
- Legacy-Id: 803
2007-07-01 09:08:46 +00:00
Henrik Levkowetz 7f60dd960a Updated the mkrelease script to take a --dry-run switch, and to make less assumptions about the working copy (don't assume it's checked out as 'trunk' or 'branch/N.NN').
- Legacy-Id: 802
2007-07-01 09:06:30 +00:00
Henrik Levkowetz 2a42892c4d Adjusted date format regex's
- Legacy-Id: 801
2007-06-30 22:08:19 +00:00
Henrik Levkowetz d93339f8c4 Utility script to extract times from buildbot runs.
- Legacy-Id: 800
2007-06-30 21:06:08 +00:00
Bill Fenner 9059da0ba3 Fix the second half of #185 : remember to convert "0" to an int before
testing its truthiness.
 - Legacy-Id: 799
2007-06-30 19:09:00 +00:00
Henrik Levkowetz dec8f8ebbb New acceptable diff
- Legacy-Id: 798
2007-06-30 16:36:11 +00:00
Henrik Levkowetz 54b98ef863 With the mysql cache changes for the datatracker server, we don't need to exclude URLs because of extreme slowness.
- Legacy-Id: 797
2007-06-30 16:14:14 +00:00
Henrik Levkowetz de62198bcc Updated test run scripts; working on improving the lock handling.
- Legacy-Id: 796
2007-06-30 15:02:50 +00:00
Henrik Levkowetz d29ca07753 Reverting these files to r792; commit [793] was unintentional.
- Legacy-Id: 795
Note: SVN reference [793] has been migrated to Git commit 4cb27f5607
2007-06-30 14:58:24 +00:00
Henrik Levkowetz 6e123500bb Bah. Added 'pass' to have a function body.
- Legacy-Id: 794
2007-06-30 14:52:07 +00:00
Henrik Levkowetz 4cb27f5607 Bah. Added 'pass' to have a function body.
- Legacy-Id: 793
2007-06-30 14:51:59 +00:00
Henrik Levkowetz 060f938273 The comment in [790] was clearly wrong, the buildbot shows exceptions. [789] didn't solve the 'str object is not callable exception'. Removing the doctest invocation again.
- Legacy-Id: 792
Note: SVN reference [789] has been migrated to Git commit 8c6de10375

Note: SVN reference [790] has been migrated to Git commit cb14a7e3da
2007-06-30 14:50:35 +00:00
Henrik Levkowetz f74392b5c1 Make the test database setup less verbose.
- Legacy-Id: 791
2007-06-30 14:21:30 +00:00
Henrik Levkowetz cb14a7e3da Enable the templatetag doctests. The cause of the (cryptic) failures after [787] is fixed with [789].
- Legacy-Id: 790
Note: SVN reference [787] has been migrated to Git commit d6f28962ff

Note: SVN reference [789] has been migrated to Git commit 8c6de10375
2007-06-30 14:21:04 +00:00
Henrik Levkowetz 8c6de10375 Fixed a bug in two IPR templates, where a reverse url lookup was lacking a parameter.
- Legacy-Id: 789
2007-06-30 14:18:40 +00:00
Henrik Levkowetz 3a31a527e8 Hmm. The code in testDoctest somehow causes exceptions when running the test framework, but not when fetching the pages normally. Commenting out while investigating further.
- Legacy-Id: 788
2007-06-30 10:02:27 +00:00
Henrik Levkowetz d6f28962ff Fix for #182.
* Added pass-through of non-string values for parse_email_list()
   and make_one_per_line().
 * Added doctests for the filter changes
 * Added testurl for the failing /liaison/337/
 - Legacy-Id: 787
2007-06-30 09:15:55 +00:00
Henrik Levkowetz ec56ec02e9 Fix pyflakes issue and a pyflakes exclude.
- Legacy-Id: 786
2007-06-29 23:46:22 +00:00
Henrik Levkowetz 5c59213ca5 And an import fix...
- Legacy-Id: 785
2007-06-29 23:40:45 +00:00
Henrik Levkowetz 79124036a3 Another minimal refactoring...
- Legacy-Id: 784
2007-06-29 23:38:03 +00:00
Henrik Levkowetz ee50e92759 Another minimal refactoring.
- Legacy-Id: 783
2007-06-29 23:32:07 +00:00
Henrik Levkowetz d28bf58891 Refactoring out draft_search(), and tweaking the IPR doc result template.
- Legacy-Id: 782
2007-06-29 23:22:58 +00:00