Commit graph

71 commits

Author SHA1 Message Date
Henrik Levkowetz fdc522fee0 Fix a redirect URL
- Legacy-Id: 439
2007-06-16 16:42:42 +00:00
Henrik Levkowetz 6d46a27d6b More testurls and one more IPR redirect
- Legacy-Id: 434
2007-06-16 16:05:46 +00:00
Henrik Levkowetz bed8e1c90b Changing the redirect for desc.cgi. The previous cgi field couldn't work; unfortunately I can't figure out a way of getting this to work at all using only the current redirect mechanism. It seems to me to either need to do repeated redirect lookups, or have an 'id' table similar to the 'command' table...
- Legacy-Id: 428
2007-06-16 12:00:56 +00:00
Henrik Levkowetz 8aa7685020 Some more redirects
- Legacy-Id: 423
2007-06-16 11:10:35 +00:00
Henrik Levkowetz c5ca2114a3 Updated IPR app redirects
- Legacy-Id: 421
2007-06-15 19:48:49 +00:00
Henrik Levkowetz 8cb5eb7f03 Updated IPR app redirects
- Legacy-Id: 420
2007-06-15 19:46:15 +00:00
Henrik Levkowetz 7a8ecef98b Updated IPR app redirects
- Legacy-Id: 419
2007-06-15 19:44:17 +00:00
Henrik Levkowetz 00735412c1 Some IPR app redirects
- Legacy-Id: 418
2007-06-15 19:34:52 +00:00
Bill Fenner 9594e1ec82 Handle a null suffix properly.
- Legacy-Id: 417
2007-06-15 18:35:56 +00:00
Bill Fenner c5f65ea060 "pretty-print" with sed instead of xmllint, because of a limitation
in python's xml deserializer (whitespace is significant when
recognizing <None/> nodes, so a general pretty-printer will cause
them to not be recognized.)

This changes empty elements to the more verbose <foo></foo> format,
but that is handled properly by the xml parser.
 - Legacy-Id: 382
2007-06-14 12:18:40 +00:00
Bill Fenner 09e951f8ed Remove the hack, now that suffix can be null. This will
require `python manage.py reset redirects` to recreate
the table before syncdb.
 - Legacy-Id: 358
2007-06-13 04:15:22 +00:00
Bill Fenner 5de4ca9004 Don't allow script to be edited in the command admin.
Add unique_together to create a constraint and create an index that I expect to use.
 - Legacy-Id: 357
2007-06-13 04:13:23 +00:00
Bill Fenner 927e07b53f Allow suffix to be NULL.
- Legacy-Id: 356
2007-06-13 03:38:32 +00:00
Bill Fenner 57ab09459f Pop command if it's found.
Only pop if the key is in the dict.  (Note: an alternate
implementation would have been pop(arg, '') except the QueryDict
doesn't implement that usage)
 - Legacy-Id: 347
2007-06-12 20:49:09 +00:00
Bill Fenner 93c3a61dbc Add several redirects to handle nearly all of the urls listed
in any testurl.list file.
 - Legacy-Id: 344
2007-06-12 19:39:25 +00:00
Bill Fenner fd0ec05be1 Use a 301 permanent redirect.
Add a trailing slash, so that we're not redirecting to a redirect.
 - Legacy-Id: 343
2007-06-12 19:01:35 +00:00
Bill Fenner 0d2bbe54e9 Pass through remaining query arguments.
- Legacy-Id: 342
2007-06-12 18:50:41 +00:00
Bill Fenner 9b4b6c5297 Remove leading slashes from existing redirects.
Point the liaison_field_help.cgi redirect at the right destination.
Add a show_nomcom_message.cgi redirect.
 - Legacy-Id: 336
2007-06-12 17:42:40 +00:00
Bill Fenner 47f60e49d1 * Add leading "/" to url.
* Remove extra "/" in case the database has extra leading or trailing slashes.
* Catch KeyError, not IndexError, since that's what gets thrown in the case I was thinking about.
 - Legacy-Id: 335
2007-06-12 17:41:15 +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
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