Henrik Levkowetz
e113f13590
Changed the text emitted during testing to have less noice at the beginning of the line -- only 'OK', 'Fail', and the initial line of coverage reports now starts at the beginning of the line, without whitespace. This makes it easier to scan a test run visually to find reported failures.
...
- Legacy-Id: 2259
2010-05-12 12:13:48 +00:00
Henrik Levkowetz
b1793edefb
Catch an additional exception which can occur during generation of all_id2.txt
...
- Legacy-Id: 2239
2010-05-06 13:40:26 +00:00
Henrik Levkowetz
0038a3a559
If replaced-by information exists, display it, even if the document state seems to be incorrect (something else than 'Replaced').
...
- Legacy-Id: 2224
2010-04-26 09:15:20 +00:00
Pasi Eronen
381117c742
New script to generate all_id2.txt
...
- Legacy-Id: 2202
2010-03-23 02:03:36 +00:00
Pasi Eronen
cddd505752
Fix /doc/(rfc,dead,current)/ redirects
...
- Legacy-Id: 2073
2010-03-12 19:00:20 +00:00
Pasi Eronen
f760caa421
Cleaned away unused code
...
- Legacy-Id: 2065
2010-03-12 07:39:36 +00:00
Pasi Eronen
bc0d157ac1
Replaced /drafts/* with redirects
...
- Legacy-Id: 2052
2010-03-09 07:18:22 +00:00
Pasi Eronen
0cd1d1d0c0
Removed /drafts/other/X/
...
- Legacy-Id: 2008
2010-02-23 09:28:56 +00:00
Pasi Eronen
25845dd6b2
Added /doc/current/; replaced /drafts/(all,current,dead,rfc)/ with redirects
...
- Legacy-Id: 2007
2010-02-22 15:58:52 +00:00
Pasi Eronen
c1629517f1
Removed /drafts/ind/X/ pages
...
- Legacy-Id: 2005
2010-02-22 14:48:47 +00:00
Pasi Eronen
6e38ab8088
Avoid exceptions from MySQL when searching for non-ASCII draft names/WG acronyms/etc.
...
- Legacy-Id: 1991
2010-02-17 19:30:33 +00:00
Pasi Eronen
5d386552c0
Change /drafts/12345/ and /idtracker/12345/ redirects to /doc/
...
- Legacy-Id: 1984
2010-02-16 20:03:36 +00:00
Pasi Eronen
98d6db084e
Replaced /drafts/all_id.html with redirect (there are no links to it, and according to logs nobody is using it)
...
- Legacy-Id: 1965
2010-01-27 17:04:57 +00:00
Pasi Eronen
0de840c601
Run convert-096.py
...
- Legacy-Id: 1851
2009-11-09 09:11:44 +00:00
Pasi Eronen
80ecf63284
Option to skip the heaviest tests when running test suite
...
- Legacy-Id: 1843
2009-11-08 07:59:50 +00:00
Pasi Eronen
4fd33bfda1
Removed some unused code
...
- Legacy-Id: 1827
2009-11-07 13:59:58 +00:00
Pasi Eronen
888db3bbd2
Fixed Unicode bug on Django 1.x
...
- Legacy-Id: 1763
2009-11-03 11:30:37 +00:00
Pasi Eronen
af208ecec7
Handle non-ASCII characters correct on both Django 0.96 and 1.x
...
- Legacy-Id: 1757
2009-10-29 05:33:50 +00:00
Pasi Eronen
58fb1ee15d
Stricter test case for all_id.txt
...
- Legacy-Id: 1754
2009-10-29 05:23:39 +00:00
Pasi Eronen
d6399ec26c
Added better test case for all_id.txt generation
...
- Legacy-Id: 1736
2009-10-21 09:14:46 +00:00
Pasi Eronen
445bb44e30
Refactored all_id.txt/1id-index.txt/1id-abstracts.txt code (abstracts HTML page generation still missing)
...
- Legacy-Id: 1735
2009-10-19 20:14:55 +00:00
Pasi Eronen
4077ea88ab
Refactored testing code
...
- Legacy-Id: 1724
2009-10-14 18:33:26 +00:00
Henrik Levkowetz
58e716c2cd
Django failed resolving reverse url lookup in some cases, which could lead to 500 errors. Narrow the scope looked at appropriately for these cases.
...
- Legacy-Id: 1715
2009-10-08 13:24:59 +00:00
Pasi Eronen
c95d258605
Fixed couple of order_by clauses so they work with both Django 0.96 and 1.0
...
- Legacy-Id: 1646
2009-08-13 19:46:05 +00:00
Pasi Eronen
3ac56c047a
Updated test cases for /drafts/*
...
- Legacy-Id: 1641
2009-08-13 17:54:52 +00:00
Pasi Eronen
b2bc0c790d
Improve test coverage (uncomment/add URLs to */testurl.list)
...
- Legacy-Id: 1635
2009-08-07 12:43:35 +00:00
Pasi Eronen
60d0b1c4a4
Commented out all testurl.list lines (will add some back later)
...
- Legacy-Id: 1624
2009-08-05 19:48:11 +00:00
Henrik Levkowetz
75d8ad1b6a
Tweaked testurl file, adding a new ignore filter for 2.07 changes
...
- Legacy-Id: 1165
2008-04-26 17:59:46 +00:00
Bill Fenner
e7d0d71420
Add redirects and tests for filename=foo for pidtracker's view_id
...
and idindex's id_detail.
- Legacy-Id: 900
2007-07-24 23:24:55 +00:00
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
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
9754abc304
Create redirects from URLs with document-ID to filename based ones.
...
- Legacy-Id: 815
2007-07-02 16:18:27 +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
6e123500bb
Bah. Added 'pass' to have a function body.
...
- Legacy-Id: 794
2007-06-30 14:52:07 +00:00
Henrik Levkowetz
8b950aef61
Updated testurl.list. /drafts/wgid/<id>/ now redirects (to /drafts/wg/<acronym>)
...
- Legacy-Id: 753
2007-06-28 21:24:08 +00:00
Henrik Levkowetz
c5f27ab9a2
More testurl.list updates
...
- Legacy-Id: 749
2007-06-28 18:31:49 +00:00
Henrik Levkowetz
27ac3eed8b
Update testurl.list to match the improvements in [747].
...
- Legacy-Id: 748
Note: SVN reference [747] has been migrated to Git commit 2609be9190
2007-06-28 18:11:04 +00:00
Bill Fenner
2609be9190
Changes due to #168 :
...
* Move wg number redirect to /drafts/wgid/___/
* Redirect from /drafts/wgid/___/ to /drafts/wg/wgname/
While testing and reading code, I decided to fix:
* Copy base_extra when assigning it, since this was what was initially intended
* Pass the search string to the wglist template to give a nice error message if there are no matching working groups.
- Legacy-Id: 747
2007-06-28 17:10:26 +00:00
Henrik Levkowetz
80db78883f
Merged r744 from trunk to branch/2.00
...
- Legacy-Id: 746
2007-06-28 14:05:27 +00:00
Henrik Levkowetz
57c8c4c87a
Removing some of the heaviest test URLs
...
- Legacy-Id: 745
2007-06-28 13:34:17 +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