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
Henrik Levkowetz
890b8a1ada
Fix potential exception in soup2html again.
...
- Legacy-Id: 341
2007-06-12 18:34:26 +00:00
Henrik Levkowetz
6b7137994a
Fix potential exception in soup2html.
...
- Legacy-Id: 340
2007-06-12 18:12:19 +00:00
Henrik Levkowetz
8deca3446e
A script to update the update database from a dump file
...
- Legacy-Id: 339
2007-06-12 18:05:46 +00:00
Henrik Levkowetz
6fe5717a1f
Oh, silly, silly. To work also with the buildbot, we need a global lock.
...
- Legacy-Id: 338
2007-06-12 18:04:14 +00:00
Henrik Levkowetz
dd37257c0c
Only print the first 100 lines of a long diff. New soup2html code for spacing associated with certain tags.
...
- Legacy-Id: 337
2007-06-12 17:52:07 +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
f1251ca2d6
Adding database update lock support to the test setup/teardown files
...
- Legacy-Id: 334
2007-06-12 16:21:25 +00:00
Bill Fenner
c4cee402d5
Diff reduction: AD names are "Last, First" and "Area:" is "Area Acronym:".
...
- Legacy-Id: 333
2007-06-12 16:15:40 +00:00
Henrik Levkowetz
6acb406762
Don't loose the full url when doing base-url / query-args splitting
...
- Legacy-Id: 332
2007-06-12 14:42:55 +00:00
Henrik Levkowetz
0374ea9f4e
Consistensy fix for test result lines
...
- Legacy-Id: 331
2007-06-12 09:22:31 +00:00
Henrik Levkowetz
aba06af322
Another soup2html() tweak to better avoid indentation at paragraph start.
...
- Legacy-Id: 330
2007-06-12 01:32:05 +00:00
Henrik Levkowetz
541b041cdc
soup2html() tweak to better avoid indentation at paragraph start.
...
- Legacy-Id: 329
2007-06-12 00:55:41 +00:00
Henrik Levkowetz
67eb998901
soup2html() tweak to handle html comments.
...
- Legacy-Id: 328
2007-06-12 00:37:16 +00:00
Henrik Levkowetz
9589d3f1c9
Another generic diff variation
...
- Legacy-Id: 327
2007-06-12 00:32:36 +00:00
Henrik Levkowetz
b15c02c830
soup2html() tweak to handle table cells.
...
- Legacy-Id: 326
2007-06-12 00:25:45 +00:00
Henrik Levkowetz
61cdc1e5d1
Updated diffs
...
- Legacy-Id: 325
2007-06-12 00:11:39 +00:00
Henrik Levkowetz
bfcb0e6c78
Two soup2text tweaks.
...
- Legacy-Id: 324
2007-06-11 23:52:51 +00:00
Henrik Levkowetz
24b3eeb3d3
For use with the django test client, parse test urls into a base-url / query-args-dict pair.
...
- Legacy-Id: 323
2007-06-11 21:12:50 +00:00
Henrik Levkowetz
0d69f63829
Consistency fix...
...
- Legacy-Id: 322
2007-06-11 20:29:25 +00:00
Henrik Levkowetz
1cafcf3e9d
Changed approach to space normalization in soup2text(). Plain whitespace stripping followed by reassembly caused too large information loss. Accompanying changes in generic diff files.
...
- Legacy-Id: 321
2007-06-11 20:28:19 +00:00
Bill Fenner
49ee9f8cd7
* Implement replaces and replaced_by in search_result_row and idinternal_detail. (This is almost repeating myself, except for slightly different formatting and different links.)
...
* Implement displayname_with_link() to go with filename_with_link().
* Implement idtracker backwards linkage in RFC model.
* Don't use unformat_textarea to display Note: - it hasn't been implemented, and seems to want to de-HTML stuff but we're displaying HTML
- Legacy-Id: 320
2007-06-11 20:27:14 +00:00
Henrik Levkowetz
c05bcfce8f
Announce diff success for both empty diff and diff matching stored diff.
...
- Legacy-Id: 319
2007-06-11 19:05:17 +00:00
Henrik Levkowetz
a3f93df8a4
Clear the diff when 2 ''lines'' are left, rather than 2 ''words''.
...
- Legacy-Id: 318
2007-06-11 18:56:43 +00:00
Bill Fenner
ea639f96c4
* Add filename_with_link to create links only for active documents
...
* Display document status if it's not Active
* Use revision_display in displayname()
* Check for DocumentComment.created_by flag value of 999
- Legacy-Id: 317
2007-06-11 18:47:44 +00:00
Henrik Levkowetz
e7a13bff68
* Adding 3 generic chunks, which will ignore the A-hat diffs and the
...
'produced by' diffs.
* Updating ietf/tests.py to handle diff chunks right
- Legacy-Id: 316
2007-06-11 18:44:49 +00:00
Henrik Levkowetz
8e8c3ff5e2
* ietf/tests.py: Remove filetime() again -- not using it.
...
* ietf/utils/soup2text.py: Do line ending normalization.
- Legacy-Id: 315
2007-06-11 17:26:59 +00:00
Bill Fenner
9a9f375ec3
Check that the feed returns 200.
...
- Legacy-Id: 314
2007-06-11 17:26:34 +00:00
Bill Fenner
5c674df41e
Remove non-wg wizard header that accidentally snuck in.
...
- Legacy-Id: 313
2007-06-11 17:10:34 +00:00
Bill Fenner
178c5e13e0
* search_result_row.html no longer takes care of the ballot set rendering for you; you have to pass it the entire contents of the ballot set.
...
* Model and template changes to allow documents to report their name via doctype() to allow "Draft Name:" vs. "RFC Name:"
* Add parenthesis around the submission type to match the cgi
* Pass the whole ballot set to search_result_row from idinternal_detail
* Display only public comments in idinternal_detail
* Use comment.get_absolute_url instead of a relative URL. (This fixes /idtracker/NNN/comment/YYY/ which wouldn't work)
* Add a search url to compare
* In view, when searching, don't filter for primary_flag=1, but do order by ballot and -primary_flag so that the results are grouped properly.
* Introduce public_comments() accessor which filters comments()
* Fix comments() to not use rfc_flag, to match the schema
* Order ballot_set() by -primary_flag so the results are grouped properly.
- Legacy-Id: 312
2007-06-11 16:53:25 +00:00
Henrik Levkowetz
8f81a7a7de
Adding the ability to define generic diff chunks which should be ignored. Fixing the inverted filename indication in the unified diff.
...
- Legacy-Id: 311
2007-06-11 16:41:24 +00:00
Bill Fenner
d856877885
Add a nomcom announcement to diff.
...
- Legacy-Id: 310
2007-06-11 11:21:11 +00:00
Bill Fenner
891ee4b72c
Fix long-ago broken model surgery.
...
- Legacy-Id: 309
2007-06-11 11:18:31 +00:00
Bill Fenner
2c247157a4
When searching for matching document comments, and rfc_flag is off,
...
the document_comments table can have either "0" or NULL, so the join
on comments.rfc_flag=self.rfc_flag was skipping the NULL ones.
- Legacy-Id: 308
2007-06-11 11:04:38 +00:00
Henrik Levkowetz
deecbc9da3
Don't list URLs which have explicit tests as Skipped during the fallback URL test.
...
- Legacy-Id: 307
2007-06-11 09:36:45 +00:00
Henrik Levkowetz
7f512b4889
make soup2text convert numeric character codes (e.g., "'") too.
...
- Legacy-Id: 306
2007-06-11 07:47:56 +00:00
Henrik Levkowetz
94734fab6d
PyFlakes exceptions
...
- Legacy-Id: 305
2007-06-11 06:14:10 +00:00
Henrik Levkowetz
0452fca7d2
* ietf/tests.py, in reduce(): add ad-hoc fix for pathologic case of not
...
closing <li> tags. BeautifulSoup can handle it, but the recursive text
rendering code in soup2text recurses too deeply with a sufficiently long
list...
* ietf/tests.py, in setUp(): grab the right tuple element when extracting
the URLs from the url test tuples
* ietf/tests.py, in read_testurls(): close opened file
* ietf/tests.py, in doUrlsTest(): narrower try/except clause, and a new one
* soup2text.py, in para(): undo previous change
- Legacy-Id: 304
2007-06-11 06:13:29 +00:00
Henrik Levkowetz
b42e0728c8
Accept both testurl.list and testurls.list as test url list file names. Output status for good compares, too.
...
- Legacy-Id: 303
2007-06-11 04:43:22 +00:00
Henrik Levkowetz
9b78963547
Fix occasional bad sentence end merges in ietf/utils/soup2text.py.
...
Remove some now unneded exceptions from ietf/testurl.list
- Legacy-Id: 302
2007-06-11 04:22:29 +00:00
Bill Fenner
ac288c2d09
Try to cover all the views for the I-D tracker.
...
- Legacy-Id: 301
2007-06-11 03:39:36 +00:00
Henrik Levkowetz
a7a6d956af
Adding a fix in soup2text for a common pathological case: <br><br> used instead
...
of <p /> to indicate paragraph breaks.
This changes the failed diff for /iesg/telechat/detail/354/ to show only three
differences, where two are whitespace differences and one shows a difference
between '@ietf.org . The' and '@ietf.org . The' and is an artifact of the text
extraction. Will look at fixing that next.
- Legacy-Id: 300
2007-06-11 03:36:08 +00:00
Bill Fenner
da2de838c9
A first attempt at a list of urls to test and compare.
...
- Legacy-Id: 299
2007-06-10 23:32:37 +00:00
Henrik Levkowetz
2403b0b531
Enabled the temporarily disabled fallback URL tests.
...
- Legacy-Id: 298
2007-06-10 20:30:43 +00:00
Henrik Levkowetz
adf1c4c4a7
Removing unused files
...
- Legacy-Id: 297
2007-06-10 19:36:27 +00:00
Henrik Levkowetz
04f8f1ca0d
Commenting out some diagnostic printouts. Changing the summary format so it differs from the primary result lines.
...
- Legacy-Id: 296
2007-06-10 18:37:50 +00:00
Henrik Levkowetz
d2eafc5735
Adapting the buildbot plugin to the diffing changes in ietf/tests.py
...
- Legacy-Id: 295
2007-06-10 18:21:18 +00:00