Commit graph

16633 commits

Author SHA1 Message Date
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
Henrik Levkowetz 6d5afa514a Adding diff file for an IPR url, and some ipr/tests.py tweaks.
- Legacy-Id: 294
2007-06-10 18:19:42 +00:00
Henrik Levkowetz 9bb6d08ed2 Now using a refined buildbot plugin which counts and separates the different types of URL failures and displays them in the waterfall status box.
- Legacy-Id: 293
2007-06-10 17:23:13 +00:00
Henrik Levkowetz c89000f253 A new buildbot plugin, with better reporting from the URL tests
- Legacy-Id: 292
2007-06-10 16:42:27 +00:00
Henrik Levkowetz b6c7aed469 Adding a recognizable tag for the diffs, for use by the buildbot
- Legacy-Id: 291
2007-06-10 16:40:55 +00:00
Henrik Levkowetz 341811e84e Patched a bug in BeautifulSoup (discovered by PyFlakes) and quietened the remaining nonconsequential comments from PyFlakes regarding BeautifulSoup
- Legacy-Id: 290
2007-06-10 14:14:16 +00:00
Henrik Levkowetz 7c60b321cd Add BeautifulSoup.py to the ietf/contrib/ directory so it doesn't have to be installed separately
- Legacy-Id: 289
2007-06-10 14:02:11 +00:00
Bill Fenner 78cbaf497b A remnant of an inadvisable sweeping change that I made and (incompletely)
un-made snuck in.
 - Legacy-Id: 288
2007-06-10 13:54:48 +00:00
Bill Fenner e8f9c0c771 Add primary key for chairs table.
Update FK values in id_internal, area_directors, groups_ietf

Update none_wg_mailing_list
 - Legacy-Id: 287
2007-06-10 13:44:50 +00:00
Bill Fenner 3811dcf8ac Don't import Acronym, since we don't use it.
Filter by active groups when creating the list of groups.
 - Legacy-Id: 286
2007-06-10 13:37:14 +00:00
Bill Fenner 4fd0113345 Minor model tweaks:
* set null=True for AreaDirector.area and IETFWG.area_director.
* add filters, ordering, choices etc. for admin interface.
* add constant for "ACTIVE" in IETFWG.
 - Legacy-Id: 285
2007-06-10 13:36:01 +00:00
Henrik Levkowetz 1d9b2b2b8d Tweaked run-pyflakes (again) to be less sensitive to line position of excluded comments
- Legacy-Id: 284
2007-06-10 11:59:09 +00:00
Henrik Levkowetz 06eae09af4 Removing unused imports from ietf/tests.py. Using the right Exception type in soup2html.
- Legacy-Id: 283
2007-06-10 11:43:19 +00:00
Henrik Levkowetz 0786a6b852 More updated excludes
- Legacy-Id: 282
2007-06-10 11:42:03 +00:00
Henrik Levkowetz aa3924e102 Testing a specific IPR declaration
- Legacy-Id: 281
2007-06-10 11:33:24 +00:00
Henrik Levkowetz 740a23be87 Updated excludes, and test/run without verbosity
- Legacy-Id: 280
2007-06-10 11:32:27 +00:00
Henrik Levkowetz 76f759c19c Minor fixes to the ipr details template
- Legacy-Id: 279
2007-06-10 11:31:29 +00:00