Commit graph

13622 commits

Author SHA1 Message Date
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
Henrik Levkowetz 0e1bda0997 Adding diff capability to the URL tests.
If you list a second url or file on a line in an urltest.list file, the
second url will be downloaded, both urls will be converted to text, and
then compared.  If there are differences, a unified diff will be output.
 - Legacy-Id: 278
2007-06-10 11:30:23 +00:00
Henrik Levkowetz 10ce0e07dd 'soup2text' is a html-to-text converter which uses the BeautifulSoup.py module. It converts html to plain paragraph-filled readable text.
- Legacy-Id: 277
2007-06-10 11:27:02 +00:00
Bill Fenner 100f24baef Add help popup to MailingListForm.
- Legacy-Id: 276
2007-06-10 03:02:01 +00:00
Bill Fenner 20334bc8aa If the data is None, use an empty string in the hash instead.
- Legacy-Id: 275
2007-06-10 02:59:17 +00:00
Bill Fenner fdca154e75 Implement custom form rendering for step 0.
Implement javascript to disable form elements that aren't used
when wg or non-wg items are selected.

Implement javascript to reload the page with the right set of
non-wg mailing lists to close.
 - Legacy-Id: 274
2007-06-10 02:00:51 +00:00
Bill Fenner ebe29bc1af Add javascript to display/clear the requestor's address in
the textbox at the top of the list administrators multifield.
 - Legacy-Id: 273
2007-06-09 03:45:35 +00:00
Bill Fenner f8dbed4884 Fix preview by creating a MailingList object and using the
existing list_summary.html.
 - Legacy-Id: 272
2007-06-08 20:45:41 +00:00
Bill Fenner 48a4219a32 Use the main form's domain_name, not the initial domain_name, to
pick the approver, since the main form's version has been changed
to ietf.org if appropriate.

Don't try to look up the main_form -- since we're currently processing
the main_form, it's just 'form'!
 - Legacy-Id: 271
2007-06-08 20:04:52 +00:00
Bill Fenner 89a8834177 Rename "initial" to "initial_members" so that it doesn't shadow
the form attribute "initial" (as in initial data)

Render the form field-by-field for MailingListForm, so that
we can render the mailing list name conditionally as a text input
box or as a hidden field with the value in the page.  We can also
insert the domain name here too.  (Note that this means that
hidden fields in this form other than domain name have to be
treated specially!)
 - Legacy-Id: 270
2007-06-08 19:54:59 +00:00
Michael Lee 415e274dde IESG Announcment list page only lists announcements with ballog_id
- Legacy-Id: 269
2007-06-08 19:21:03 +00:00
Bill Fenner b16a65966e I committed the middleware that uses this but forgot to commit
the template.
 - Legacy-Id: 268
2007-06-08 18:25:13 +00:00