Henrik Levkowetz
a22d35877c
Layout tweak
...
- Legacy-Id: 440
2007-06-16 16:47:59 +00:00
Henrik Levkowetz
fdc522fee0
Fix a redirect URL
...
- Legacy-Id: 439
2007-06-16 16:42:42 +00:00
Henrik Levkowetz
6c8ade30a4
Layout tweak
...
- Legacy-Id: 438
2007-06-16 16:27:32 +00:00
Henrik Levkowetz
d89e4b909a
Place redirect failure information on consecutive lines for better overview.
...
- Legacy-Id: 437
2007-06-16 16:25:59 +00:00
Henrik Levkowetz
6f9bca3b0d
Add test URL for top page
...
- Legacy-Id: 436
2007-06-16 16:22:57 +00:00
Henrik Levkowetz
1eafc820c1
Add a separation line between NoTest lines and the following in the test output
...
- Legacy-Id: 435
2007-06-16 16:21:18 +00:00
Henrik Levkowetz
6d46a27d6b
More testurls and one more IPR redirect
...
- Legacy-Id: 434
2007-06-16 16:05:46 +00:00
Henrik Levkowetz
054d04443f
Commenting out some noisy debug print statements.
...
- Legacy-Id: 433
2007-06-16 15:05:30 +00:00
Henrik Levkowetz
df6836e301
Changing test classification for No test URL and redirect test comparison failures. The first for clarity, the latter temporarily in order not to continuously run the buildbot on the highest error level. Change back when cleaner.
...
- Legacy-Id: 432
2007-06-16 15:04:29 +00:00
Henrik Levkowetz
70f85c60aa
Don't require test URLs for admin and account apps now.
...
- Legacy-Id: 429
2007-06-16 13:14:54 +00:00
Henrik Levkowetz
bed8e1c90b
Changing the redirect for desc.cgi. The previous cgi field couldn't work; unfortunately I can't figure out a way of getting this to work at all using only the current redirect mechanism. It seems to me to either need to do repeated redirect lookups, or have an 'id' table similar to the 'command' table...
...
- Legacy-Id: 428
2007-06-16 12:00:56 +00:00
Henrik Levkowetz
73f8620a96
Removing unused imports
...
- Legacy-Id: 427
2007-06-16 11:24:28 +00:00
Henrik Levkowetz
dab68d8d69
Run syncdb before running tests on the populated database, to apply any new fixtures which are part of the svn checkout we're testing
...
- Legacy-Id: 426
2007-06-16 11:20:15 +00:00
Henrik Levkowetz
8aa7685020
Some more redirects
...
- Legacy-Id: 423
2007-06-16 11:10:35 +00:00
Henrik Levkowetz
855e4b0398
Updated IPR test URLs
...
- Legacy-Id: 422
2007-06-15 19:49:15 +00:00
Henrik Levkowetz
c5ca2114a3
Updated IPR app redirects
...
- Legacy-Id: 421
2007-06-15 19:48:49 +00:00
Henrik Levkowetz
8cb5eb7f03
Updated IPR app redirects
...
- Legacy-Id: 420
2007-06-15 19:46:15 +00:00
Henrik Levkowetz
7a8ecef98b
Updated IPR app redirects
...
- Legacy-Id: 419
2007-06-15 19:44:17 +00:00
Henrik Levkowetz
00735412c1
Some IPR app redirects
...
- Legacy-Id: 418
2007-06-15 19:34:52 +00:00
Bill Fenner
9594e1ec82
Handle a null suffix properly.
...
- Legacy-Id: 417
2007-06-15 18:35:56 +00:00
Bill Fenner
16b718c917
Add some URLs for the idindex tool.
...
- Legacy-Id: 416
2007-06-15 18:35:15 +00:00
Bill Fenner
07ba4c0132
Skip any url query segment that doesn't contain an "=", so
...
that a query like "?&ipr_id=657" can be parsed.
- Legacy-Id: 415
2007-06-15 18:25:19 +00:00
Henrik Levkowetz
bc1981a07a
Tweaking beautiful soup to get rid of some exceptions.
...
- Legacy-Id: 414
2007-06-15 17:29:24 +00:00
Bill Fenner
ac8b6ee6af
Test redirects if there's a right-hand URL in testurl.list.
...
Strip off a static "https://datatracker.ietf.org " and then
fetch it locally, and make sure it returns a 301 redirect
to the left-hand URL.
- Legacy-Id: 408
2007-06-15 16:47:40 +00:00
Bill Fenner
451b2039d4
Add some liaison test urls.
...
- Legacy-Id: 407
2007-06-15 16:15:17 +00:00
Bill Fenner
63d325b0eb
This is obsoleted by test/sql_fixup.sql.
...
- Legacy-Id: 406
2007-06-15 15:28:52 +00:00
Henrik Levkowetz
b04b50bd63
Refined the handling of sorted comparison tests
...
- Legacy-Id: 405
2007-06-15 13:29:50 +00:00
Henrik Levkowetz
bf60fe103d
Added leading-zero RFC number normalization to another field
...
- Legacy-Id: 404
2007-06-15 13:29:17 +00:00
Henrik Levkowetz
de9a7ddbc4
Added the ability to give fill and pre(formatted) switches to the soup2text command
...
- Legacy-Id: 403
2007-06-15 13:28:12 +00:00
Henrik Levkowetz
e044b6e228
Fixed broken report of untested URLs in tests.py
...
- Legacy-Id: 401
2007-06-15 12:02:05 +00:00
Henrik Levkowetz
6a2c3ab85f
Added IPR search by RFC number.
...
- Legacy-Id: 400
2007-06-15 11:52:26 +00:00
Henrik Levkowetz
025178a514
Additional testing functionality. It's now possible to add 'sort' to the result codes in testurl.list, and the lines of the pages returned will be sorted before they are compared.
...
- Legacy-Id: 397
2007-06-15 11:48:12 +00:00
Henrik Levkowetz
de55978562
New filters to strip leading zeroes, and change rendering of RFCs to be without space between 'RFC' and number
...
- Legacy-Id: 396
2007-06-15 11:46:36 +00:00
Henrik Levkowetz
8a3936dfa5
Acceptable diff: changed order of related drafts in IPR search result. Also a tweak to tests.py regarding test-url to diff filename mangling.
...
- Legacy-Id: 395
2007-06-15 00:41:38 +00:00
Henrik Levkowetz
76378ade5d
Another tweak to the URL text comparisons in tests.py
...
- Legacy-Id: 394
2007-06-15 00:16:05 +00:00
Henrik Levkowetz
1a9fa6fda6
Fixing accidental breakage of /ipr/ list
...
- Legacy-Id: 393
2007-06-15 00:05:54 +00:00
Henrik Levkowetz
c8c15b7809
Search support for search-by-draft-name and for presenting the final search result. Also test URLS for the new pages.
...
- Legacy-Id: 392
2007-06-14 23:49:55 +00:00
Henrik Levkowetz
a8ee5fdbf6
Two new templates for the IPR search function
...
- Legacy-Id: 391
2007-06-14 23:47:02 +00:00
Henrik Levkowetz
56b33c8dec
Backing out the previous change so I can commit it with proper comments...(4)
...
- Legacy-Id: 390
2007-06-14 23:45:48 +00:00
Henrik Levkowetz
84b9a959a8
Backing out the previous change so I can commit it with proper comments...(3)
...
- Legacy-Id: 389
2007-06-14 23:45:15 +00:00
Henrik Levkowetz
d17dc96f3c
Backing out the previous change so I can commit it with proper comments...(2)
...
- Legacy-Id: 388
2007-06-14 23:44:30 +00:00
Henrik Levkowetz
c1ea7e35ae
Backing out the previous change so I can commit it with proper comments...
...
- Legacy-Id: 387
2007-06-14 23:43:06 +00:00
Henrik Levkowetz
d989d0aa21
A little filter to add a space to strings like 'RFC1234' to get 'RFC 1234'
...
- Legacy-Id: 386
2007-06-14 23:38:51 +00:00
Henrik Levkowetz
90a414fb10
IPR search form. Search results not implemented yet.
...
- Legacy-Id: 383
2007-06-14 14:06:26 +00:00
Bill Fenner
c5f65ea060
"pretty-print" with sed instead of xmllint, because of a limitation
...
in python's xml deserializer (whitespace is significant when
recognizing <None/> nodes, so a general pretty-printer will cause
them to not be recognized.)
This changes empty elements to the more verbose <foo></foo> format,
but that is handled properly by the xml parser.
- Legacy-Id: 382
2007-06-14 12:18:40 +00:00
Bill Fenner
a74d09d172
A debugging print crept into my commit, oops!
...
- Legacy-Id: 381
2007-06-13 19:47:45 +00:00
Bill Fenner
2bf510f43b
Add "myifchanged" tag, which is different from the standard ifchanged
...
in two ways:
* It permits an "else" clause. This code is from http://code.djangoproject.com/ticket/4534
* It doesn't push the context while rendering, so context changes can be performed (like the change that cycle makes: putting the current value into the context)
Use this new tag to cycle the row color if the ballot_id has changed, or
if it's a synthetic document.
- Legacy-Id: 380
2007-06-13 18:43:56 +00:00
Bill Fenner
62b82e5ed1
Sort the primary document on a ballot set to the top.
...
- Legacy-Id: 379
2007-06-13 18:35:11 +00:00
Henrik Levkowetz
754ba193ca
A small script to run a diff against the master for one single django URL specified in any of the testurl.list files. Uses environment variable DJANGO_SERVER if set, or http://merlot.tools.ietf.org:31415/ otherwise.
...
- Legacy-Id: 375
2007-06-13 17:26:04 +00:00
Bill Fenner
ada5521a9f
Sort states and substates by their ID in the model.
...
Use the right number of hyphens to separate the current ADs from
old ADs in the I-D Search form.
- Legacy-Id: 374
2007-06-13 17:23:38 +00:00
Bill Fenner
2ad2219895
Implement DocumentWrapper class, which isn't a model but has enough
...
of the same API as IDInternal to allow the template to render it.
When fetching lists of document IDs, use values() to fetch only the
ID to reduce database overhead (and model object creation overhead)
- Legacy-Id: 373
2007-06-13 17:21:22 +00:00
Henrik Levkowetz
fc67fd376c
Instead of compensating for the 'Did you find a bug...' footer on pages where it isn't present in the original, take it out from the idtracker base.html and remove the compensation. Later add a less intrusive generic footer on all pages and and add diff compensation for the absense of the 'Did you find a bug...' footer.
...
- Legacy-Id: 371
2007-06-13 17:03:28 +00:00
Henrik Levkowetz
5fae7d56b2
Fixing some template changes needed after the model surgery in changeset [186], and extending the attribute alignment to IprRfc and IprDraft models.
...
- Legacy-Id: 363
Note: SVN reference [186] has been migrated to Git commit 5f4d99a36a
2007-06-13 14:05:26 +00:00
Henrik Levkowetz
37552fe91f
Corrected IPR Updates.. fix
...
- Legacy-Id: 362
2007-06-13 13:30:58 +00:00
Henrik Levkowetz
59413c7344
* Don't show 'Updates...' information for withdrawn IPR Disclosures.
...
* Add missing table header fields.
- Legacy-Id: 361
2007-06-13 13:22:19 +00:00
Henrik Levkowetz
e714734a58
Adding individual app testurl lists for /my/ and /ietfauth/
...
- Legacy-Id: 360
2007-06-13 12:35:49 +00:00
Henrik Levkowetz
c6c5bde213
Clearing the top-level testurl.list file. All test URls should be specified in the application level testurl.list files.
...
- Legacy-Id: 359
2007-06-13 11:41:06 +00:00
Bill Fenner
09e951f8ed
Remove the hack, now that suffix can be null. This will
...
require `python manage.py reset redirects` to recreate
the table before syncdb.
- Legacy-Id: 358
2007-06-13 04:15:22 +00:00
Bill Fenner
5de4ca9004
Don't allow script to be edited in the command admin.
...
Add unique_together to create a constraint and create an index that I expect to use.
- Legacy-Id: 357
2007-06-13 04:13:23 +00:00
Bill Fenner
927e07b53f
Allow suffix to be NULL.
...
- Legacy-Id: 356
2007-06-13 03:38:32 +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
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
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
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
b15c02c830
soup2html() tweak to handle table cells.
...
- Legacy-Id: 326
2007-06-12 00:25:45 +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
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
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
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
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
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
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
aa3924e102
Testing a specific IPR declaration
...
- Legacy-Id: 281
2007-06-10 11:33:24 +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
Bill Fenner
e08772430a
Create "allononeline" filter and use it for list_wizard_done_email.
...
Use the Site to get the URL in list_wizard_done_email.
Set req for list_wizard_done_email as it is for approval email.
Only use domain-based extra approvers for non-WG requests.
Supply hidden fields for mlist_name and domain_name for deletion.
(These should be visible but uneditable, but passing them
through is a start)
- Legacy-Id: 267
2007-06-08 18:21:44 +00:00
Bill Fenner
4e3769c963
Turn post_admin and archive_private into IntegerField instead of
...
BooleanField. They are used as booleans, but represented in the
database as integers, so pretending they're boolean causes trouble
when saving empty values.
- Legacy-Id: 266
2007-06-08 18:12:23 +00:00
Bill Fenner
804f669e45
Actually include the template. Don't use titlecase since
...
It Looks Weird To Say I Want To Move The Wg Email List For
Eap To Ietf.Org
- Legacy-Id: 263
2007-06-08 17:07:51 +00:00
Henrik Levkowetz
f55e0b00f9
* Adding a SERVER_EMAIL setting in settings.py and settings_local_test.py
...
* Adding the ability to take trailing comments in testurl.list files
* Listing skipped (not tested) urls in the URL test
- Legacy-Id: 262
2007-06-08 17:01:07 +00:00
Henrik Levkowetz
027d471dd0
Changing the default email-from address used whentesting, and tweaking the test output
...
- Legacy-Id: 261
2007-06-08 16:01:52 +00:00
Bill Fenner
2d9cc036a6
If we're passed in None, don't try to get the domain name out of it.
...
- Legacy-Id: 260
2007-06-08 15:48:09 +00:00
Bill Fenner
3cd72bc1fe
Great leaps towards completing the mailing list request tool.
...
- Legacy-Id: 259
2007-06-08 15:30:34 +00:00
Henrik Levkowetz
a99d598cc0
* Minor refactoring in ietf/tests.py
...
* Added correct dates for two entries in ipr_detail which had 0000-00-00,
in the sql_fixup.sql file
* Fixed test/run so it can be run from any directory
- Legacy-Id: 258
2007-06-08 12:06:15 +00:00
Henrik Levkowetz
88666eac59
Some bugfixes after refactoring
...
- Legacy-Id: 257
2007-06-07 20:40:50 +00:00
Henrik Levkowetz
73bd413e07
A bit of refactoring in ietf/tests.py
...
- Legacy-Id: 256
2007-06-07 20:12:52 +00:00
Bill Fenner
e851dbac27
Create mailing list domains table and idtracker Roles model.
...
Add fixtures to populate IAD into Roles and existing domains
and authorizers into mailinglists_domains. (The Roles fixture
will become wrong when we get a new IAD so should be removed
after the production database has this value.)
- Legacy-Id: 255
2007-06-07 17:58:06 +00:00
Henrik Levkowetz
b93c34d7bb
Removing 200-response non-parameter url from the testurl.list; they are better handled by the fallback test.
...
- Legacy-Id: 254
2007-06-07 17:40:06 +00:00
Henrik Levkowetz
742737251f
Adding a placeholder HTTP 500 error page template
...
- Legacy-Id: 251
2007-06-07 14:17:09 +00:00
Henrik Levkowetz
7962e722d3
Adding HTTP 404 error page template
...
- Legacy-Id: 250
2007-06-07 14:11:43 +00:00
Henrik Levkowetz
8b17a99d22
Removing explicit listing of URLs caught by the fallback URL test.
...
- Legacy-Id: 248
2007-06-06 19:34:16 +00:00
Michael Lee
ac82271bcb
Update IESG Announcement scripts to work with latest models and template changes.
...
- Legacy-Id: 247
2007-06-06 05:11:06 +00:00
Bill Fenner
7fec55b633
Initial implementation of view_related. The related_docs() function
...
is still a work in progress. I've been using
draft-ietf-dnsext-dnssec-protocol as a test case; related_docs()
returns the same 137 documents as the cgi code but some of the
relationships are different. Right now, the skip argument is
ignored.
- Legacy-Id: 246
2007-06-06 02:14:29 +00:00
Henrik Levkowetz
f5027059b3
Corrected some test URLs. (should be changed later to not use underscore -- or we should change all dashes to underscore...)
...
- Legacy-Id: 245
2007-06-05 19:02:27 +00:00
Henrik Levkowetz
cf878dc7a5
Some more permitted codes
...
- Legacy-Id: 244
2007-06-05 18:57:17 +00:00
Henrik Levkowetz
5e6a346ddc
Should not compare apples and oranges
...
- Legacy-Id: 243
2007-06-05 18:48:14 +00:00
Henrik Levkowetz
49f8de31b4
Permitting both 404 and 200 responses for some URLs, for now; till we can run tests with a populated database
...
- Legacy-Id: 242
2007-06-05 18:43:48 +00:00
Henrik Levkowetz
24400ff103
Adding handler404 and handler 500 in the right place ,;-)
...
- Legacy-Id: 241
2007-06-05 18:18:40 +00:00
Bill Fenner
3754c0c6b4
Initial list wizard templates.
...
- Legacy-Id: 240
2007-06-05 18:05:57 +00:00
Henrik Levkowetz
1523f859af
Adding 'handler404, hadler500' to apps needing them
...
- Legacy-Id: 239
2007-06-05 17:54:43 +00:00
Henrik Levkowetz
e0a30980fa
Can't use the mysql XML dump as fixture -- too optimistic! ;-)
...
- Legacy-Id: 238
2007-06-05 17:40:06 +00:00
Henrik Levkowetz
2f8f7742a4
Improved fix to the first undefined symbol problem in proceedings/models.py (Bills original fix in [213] reinstated)
...
- Legacy-Id: 237
Note: SVN reference [213] has been migrated to Git commit 01f0baaf56
2007-06-05 17:30:22 +00:00
Henrik Levkowetz
888418a14f
Fixed two instances of undefined symbols in proceedings/models.py
...
- Legacy-Id: 236
2007-06-05 17:06:31 +00:00
Henrik Levkowetz
03c18bd33d
Fixing a bunch of nits pyflakes were complaining about, in order to get a clean run. There are still at least 2 cases of using undefined values which needs scrutiny.
...
- Legacy-Id: 235
2007-06-05 16:58:58 +00:00
Bill Fenner
595c656afc
Require a login instead of throwing an exception when an anonymous
...
user visits.
Handle a lack of UserMap or an incorrect PersonOrOrgInfo by
passing None to the template.
- Legacy-Id: 234
2007-06-05 15:10:15 +00:00
Henrik Levkowetz
5c9e46027b
Try to make the utils/listop functions return something sensible with empty input.
...
- Legacy-Id: 233
2007-06-05 15:05:31 +00:00
Henrik Levkowetz
47a88da313
Separate response count listing and assertions
...
- Legacy-Id: 232
2007-06-05 10:16:17 +00:00
Henrik Levkowetz
fbcd9eddf3
Added test assertions requiring no non-200 responses and no exceptions for URLs not listed in the testurls.list
...
- Legacy-Id: 231
2007-06-05 10:14:24 +00:00
Henrik Levkowetz
b7c816cf4e
Added test functionality to extract all URLs in the apps and access those that
...
doesn't seem to take parameters.
- Legacy-Id: 230
2007-06-05 10:11:18 +00:00
Henrik Levkowetz
745ae10965
Added some more internal IPs
...
- Legacy-Id: 229
2007-06-05 10:09:24 +00:00
comimom
b73efa811a
Complete Meeting Materials page
...
* Tested with IETF 67 and 68 data.
* For testing, c_sub_cut_off_date should set to future date, otherwise a Closed page will show.
- Legacy-Id: 228
2007-06-04 19:52:52 +00:00
Henrik Levkowetz
8ff20e3127
Expanded the test code which finds urlpatterns to extract all URLs
...
specified in the various Django apps of the site. Also fixed the
documentation of the TemplatedForm factory to be more correct.
- Legacy-Id: 227
2007-06-04 19:26:16 +00:00
Bill Fenner
4e25407e25
Use python module instead of file path to settings file.
...
Switch back to using a temp file, since unflatten/gvpr don't
like taking input straight from the while loop.
- Legacy-Id: 226
2007-06-04 13:54:29 +00:00
Bill Fenner
688b4fdd43
Use revision_display to decrease the version number appropriately
...
- Legacy-Id: 225
2007-06-04 13:53:17 +00:00
Bill Fenner
cae902a373
Add two middleware classes:
...
- SQLLogMiddleware. This logs any INSERT or UPDATE performed by
a request.
- SMTPExceptionMiddleware. This renders a "please try again"
(template email_failed.html) message when an attempt to send
email failed. This uses a bit of a hack, in that the middleware
looks explicitly for smtplib.SMTPException, and smtplib can
raise other exceptions (particularly socket errors). utils/mail/send_smtp
catches all exceptions and reraises non-smtplib exceptions as
fake smtplib exceptions, and the middleware undoes the wrapping.
- Legacy-Id: 224
2007-06-04 13:52:34 +00:00
Henrik Levkowetz
600002f1f8
Cleaning out miscellaneous non-functional stuff from ietf/meeting/models.py
...
- Legacy-Id: 223
2007-06-04 00:50:48 +00:00
Henrik Levkowetz
d5c66de1a1
Removing superfluous import
...
- Legacy-Id: 222
2007-06-04 00:46:40 +00:00
Henrik Levkowetz
ae323e9181
Removing ietf/query.py which isn't being used
...
- Legacy-Id: 221
2007-06-04 00:43:21 +00:00
Henrik Levkowetz
8953e1a647
Turning off the test error for missing test URLs for now
...
- Legacy-Id: 220
2007-06-04 00:32:20 +00:00
Henrik Levkowetz
eedd6a8e8c
Made URL check code accept comment lines and empty lines in URL file.
...
Commented out broken URLs in the testurl.list
Fixed a missing import in ipr/views.py
- Legacy-Id: 219
2007-06-03 23:39:02 +00:00
Henrik Levkowetz
3d4e9286c2
Minor tweaks to test output
...
- Legacy-Id: 218
2007-06-03 22:43:43 +00:00
Henrik Levkowetz
c7230247b1
Making the url test more verbose. Adding an initial list of urls to test.
...
- Legacy-Id: 217
2007-06-03 21:21:29 +00:00
Henrik Levkowetz
9bced60e2f
Added a top-level test module which will run through django URLs in any
...
committed file named 'testurl.list' in any directory in the ietf/ tree.
There is also a test for URL coverage -- if there isn't declared test
URLs for all the url patterns in ietf/urls.py this coverage test will
fail.
- Legacy-Id: 215
2007-06-03 19:52:06 +00:00
Bill Fenner
1d54ad36c9
Use a known exception when there are too many path arguments (in bits)
...
- Legacy-Id: 214
2007-06-02 01:15:59 +00:00
Bill Fenner
01f0baaf56
Fix some undefined names reported by pyflakes
...
- Legacy-Id: 213
2007-06-02 01:12:41 +00:00
Bill Fenner
faf885aabd
MailingList model updates:
...
- Add domain helper function to default domain name to ietf.org
- Use correct values for post_who
Template updates:
- Use the domain helper function
- Use the post_who_display helper function
- Move some of the items that could wrap to the next line
- Legacy-Id: 212
2007-06-01 20:40:21 +00:00
Bill Fenner
8628844700
Remove CRs from subject that comes from a template.
...
- Legacy-Id: 211
2007-06-01 20:40:02 +00:00
Bill Fenner
ac853962e2
Reduce repetition in the templates by moving "add/delete" logic to
...
view.
Fix up logic in templates, mailing list closing emails look
correct (both approval and denial, with and without messages
from the approver).
- Legacy-Id: 210
2007-06-01 19:13:21 +00:00
Bill Fenner
4e426dec4c
Implement [most of] the approval side of mailing list requests.
...
Have to check the templates for deletion.
- Legacy-Id: 209
2007-06-01 18:34:57 +00:00
Bill Fenner
949bc0cbb8
Oops, a unique_together of the first two fields is wrong, since
...
there are two ADs per area, and of the three fields doesn't add
anything real, so just don't try to make it unique.
- Legacy-Id: 207
2007-06-01 18:10:50 +00:00
Bill Fenner
e452d4b89d
IESGHistory needs to have a single primary key. Will add to
...
[wiki:Models] page.
- Legacy-Id: 206
2007-06-01 18:04:35 +00:00
Michael Lee
27edcb2b3e
* Add meeting materials list page
...
* For testing, the page lists meeting materials regardless the submission cut off date.
* Need to add Training sessions, IRTF RGs, and Interim WGs
- Legacy-Id: 203
2007-06-01 04:10:39 +00:00
Bill Fenner
11714d1a0d
Admin interface changes, a little field reshuffling, and
...
a new permissions system for announced_from values.
- Legacy-Id: 202
2007-06-01 02:14:31 +00:00
Bill Fenner
6072945ba4
Handle, log, and reraise an smtplib exception.
...
- Legacy-Id: 201
2007-06-01 02:10:26 +00:00
Bill Fenner
4a5c6b5c57
Create I-D Search form, with field names matching the old search
...
form, to allow bookmarked searches to continue to work.
- Legacy-Id: 200
2007-06-01 02:05:00 +00:00
Bill Fenner
0ecb3e5e8f
Change from id to class designators for "largefont", etc.
...
- Legacy-Id: 195
2007-05-31 20:14:34 +00:00
Bill Fenner
c8cc298c5d
Add links to state description pages.
...
- Legacy-Id: 194
2007-05-31 20:14:02 +00:00
Bill Fenner
2b46e031e2
Use .count to gain a smidge of efficiency when checking for
...
a ballot set, and use the right comment syntax.
- Legacy-Id: 193
2007-05-31 20:13:41 +00:00
Bill Fenner
b5ce6e375c
Extensive updates of idtracker.
...
ballot sets are now (hopefully) treated properly, except for the
row coloring. They're also included in the "view_id" view.
Search is re-done, it turns out that using draft__<anything> means
that RFCs won't be matched, so build lists of possibly-matching
RFCs and I-Ds and pass them through. This applies to filename,
group and rfc number.
- Legacy-Id: 190
2007-05-31 19:24:26 +00:00
Henrik Levkowetz
0f64cde6c6
More minor cleanup based on pyflakes feedback
...
- Legacy-Id: 189
2007-05-31 09:46:56 +00:00
Henrik Levkowetz
4a289b821f
Minor cleanup based on pyflakes feedback
...
- Legacy-Id: 188
2007-05-31 09:44:12 +00:00
Henrik Levkowetz
186f3f3043
Minor tweak: Make the links produced by the top index page end in '/'.
...
- Legacy-Id: 187
2007-05-31 09:14:49 +00:00
Bill Fenner
5f4d99a36a
Implement status_of_items and last_call.
...
(Oddly, this status_of_items shows more than the cgi one; I can't
explain why. Also, the cgi one showed the wrong intended status
for RFCs, and the wrong area for several documents.)
- Legacy-Id: 186
2007-05-30 21:09:17 +00:00
Bill Fenner
7d52fffdcd
Implement form for sending email feedback and the actual email sending.
...
- Legacy-Id: 185
2007-05-30 17:11:48 +00:00