Commit graph

11161 commits

Author SHA1 Message Date
Bill Fenner 927e07b53f Allow suffix to be NULL.
- Legacy-Id: 356
2007-06-13 03:38:32 +00:00
Henrik Levkowetz a71abb1da4 Fixed nonsense syntax in shell file test-setup.
- Legacy-Id: 355
2007-06-12 23:02:18 +00:00
Henrik Levkowetz 1ec697c90a Slightly better 'skip' messages from ietf/tests.py
- Legacy-Id: 354
2007-06-12 23:01:16 +00:00
Henrik Levkowetz 3b72993903 Fixing open-ended URL spec's for liaison app.
- Legacy-Id: 353
2007-06-12 23:00:23 +00:00
Henrik Levkowetz e1e375e269 IPR presentation tweaks
- Legacy-Id: 352
2007-06-12 22:46:54 +00:00
Henrik Levkowetz e2db0d869d Compact spaces after \n conversion in soup2html.
- Legacy-Id: 351
2007-06-12 22:46:30 +00:00
Henrik Levkowetz 44b76b7b4f IPR test-URLs
- Legacy-Id: 350
2007-06-12 21:58:38 +00:00
Henrik Levkowetz 810a615a6d Updated acceptable diff
- Legacy-Id: 349
2007-06-12 21:49:20 +00:00
Bill Fenner caebc11a36 Test URLs for mailing lists
- Legacy-Id: 348
2007-06-12 21:06:56 +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
Henrik Levkowetz aa68d30e85 Tweaking the paragraph filling code some more
- Legacy-Id: 346
2007-06-12 20:31:28 +00:00
Henrik Levkowetz 712cd8aa17 Tweak to again avoid space at the beginning of a paragraph.
- Legacy-Id: 345
2007-06-12 20:23: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
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