Henrik Levkowetz
7f772641d4
Change the cache key construction to deal with query arguments containing spaces. Fixes 500 errors which would otherwise occur.
...
- Legacy-Id: 12035
2016-09-25 13:53:22 +00:00
Henrik Levkowetz
adb8625635
Introduced caching for the api resources.
...
- Legacy-Id: 10929
2016-03-15 23:12:04 +00:00
Henrik Levkowetz
846a02c3f9
Fixed pyflakes complaints introduced with pyflakes 1.1.0
...
- Legacy-Id: 10896
2016-03-04 21:24:26 +00:00
Henrik Levkowetz
2fe8dcb4c2
Added a very simple html version of the json API, to make it easier to explore the api manually.
...
- Legacy-Id: 9991
2015-08-09 16:28:55 +00:00
Henrik Levkowetz
770b36d575
Added generated (and sometimes manually tweaked) resources.py files.
...
- Legacy-Id: 8744
2014-12-14 20:33:25 +00:00
Henrik Levkowetz
b6f15be079
Made ietf/redirects pyflakes-clean.
...
- Legacy-Id: 7479
2014-03-15 20:56:28 +00:00
Ole Laursen
cfa0d47ca0
Port to new class-based generic redirect and simple template views, remove utils.lazy.reverse_lazy, it's now included in Django
...
- Legacy-Id: 6878
2013-12-11 16:36:09 +00:00
Ole Laursen
3053bef4cc
Resurrect URL coverage making it work with all tests, and move it to the test runner together with the template coverage report
...
- Legacy-Id: 6844
2013-12-07 19:31:32 +00:00
Ole Laursen
f1a34faf08
Rewrite main url tests and redirects test to use the test database
...
- Legacy-Id: 6837
2013-12-07 13:29:48 +00:00
Robert Sparks
51ab8123d9
merged in from 4.20-ise
...
- Legacy-Id: 4502
2012-06-22 20:25:17 +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
Henrik Levkowetz
1c2bcbf356
Merged r736 from branch/2.00 to trunk
...
- Legacy-Id: 737
2007-06-28 08:13:09 +00:00
Henrik Levkowetz
cd030d3b43
Adding copyright notices to all python files
...
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00
Bill Fenner
e9c1f3bb21
Forgot to update the redirect for previous_announcement for the
...
url rearrangement.
- Legacy-Id: 669
2007-06-26 20:36:22 +00:00
Bill Fenner
a53aae26f5
Fix view_related_docs -> related. I don't know how I missed exporting
...
this in my previous commit.
- Legacy-Id: 668
2007-06-26 20:25:50 +00:00
Bill Fenner
6d03969bac
URL shuffling in iesg, idtracker and my
...
- Legacy-Id: 666
2007-06-26 20:21:31 +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
Bill Fenner
87337517ab
Add previous_announcement show_detail command.
...
- Legacy-Id: 610
2007-06-22 01:48:06 +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
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
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
Bill Fenner
2a8124c002
Fix a couple redirects, add a couple more.
...
- Legacy-Id: 472
2007-06-17 13:42:31 +00:00
Henrik Levkowetz
9681754803
More test URLs
...
- Legacy-Id: 466
2007-06-17 09:30:35 +00:00
Bill Fenner
1e4320c2a1
Add some tests for the meeting agenda and proceedings
...
- Legacy-Id: 444
2007-06-16 21:12:45 +00:00
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