Commit graph

439 commits

Author SHA1 Message Date
Henrik Levkowetz bcc361359d Test urls for /review/
- Legacy-Id: 503
2007-06-18 19:30:58 +00:00
Michael Lee 819d8352c7 meeting/urls.py has been restored with .html and .txt url
- Legacy-Id: 502
2007-06-18 19:14:26 +00:00
Henrik Levkowetz 814c18c41f Missed restoring .html on the meeting materials page.
- Legacy-Id: 501
2007-06-18 19:11:42 +00:00
Henrik Levkowetz 314ff9e722 Undoing overwrite of changes in [497] done by [499], and fix back the dots in .html and .txt
- Legacy-Id: 500
Note: SVN reference [497] has been migrated to Git commit ac5ae6d949

Note: SVN reference [499] has been migrated to Git commit a03c5c5ebc
2007-06-18 18:45:28 +00:00
Michael Lee a03c5c5ebc Update redirect fixture.
- Legacy-Id: 499
2007-06-18 18:18:41 +00:00
Michael Lee 48032496a2 Update urls.py of meeting to fix redirect for meeting materials page and agenda page.
- Legacy-Id: 498
2007-06-18 18:15:14 +00:00
Henrik Levkowetz ac5ae6d949 Update the redirects to match the URL change in changeset [492].
- Legacy-Id: 497
Note: SVN reference [492] has been migrated to Git commit fdbf36f5d3
2007-06-18 18:13:47 +00:00
Bill Fenner 89ad0b9112 This debugging keeps creeping into commits.
- Legacy-Id: 496
2007-06-18 16:49:47 +00:00
Bill Fenner b5e944ceaa previous_announcement.cgi has a show_detail mode too.
Also, use an actually recent ballot ID for the recent_announcement test.
 - Legacy-Id: 495
2007-06-18 16:48:59 +00:00
Bill Fenner 0aa1161f2a Supply form0 to the templates, and use that in ListReqAuthorized.html
to display the right approval text (or a fallback if it's something
else for some reason)
 - Legacy-Id: 494
2007-06-18 16:39:47 +00:00
Henrik Levkowetz 801f3e74f2 Make the review page work both when invoked as /review/ and /review/<num>/
- Legacy-Id: 493
2007-06-18 16:13:49 +00:00
Henrik Levkowetz fdbf36f5d3 Seems the datatracker URL was wrong here.
- Legacy-Id: 492
2007-06-18 16:12:47 +00:00
Bill Fenner 91fe8ea9c2 Update compatability with bookmarked searches
- Legacy-Id: 491
2007-06-18 15:53:01 +00:00
Bill Fenner a93b927f7a A spare "<" crept in. Oops!
- Legacy-Id: 490
2007-06-18 15:16:23 +00:00
Bill Fenner 646bc5f894 Match look'n'feel by including the base css file.
- Legacy-Id: 489
2007-06-18 15:14:19 +00:00
Bill Fenner 0e2d7be442 Implement ^flag^command syntax and use it for sub_state=1 and
rfc_flag=1

Don't return a trailing slash if the next-to-last element has
a dot in it (the inverse of the algorithm in APPEND_SLASH in the
common middleware)
 - Legacy-Id: 488
2007-06-18 15:06:44 +00:00
Henrik Levkowetz c03019afbe Adding a page review facility under the URL /review/. This is based on frames and takes the URLs in question from the testurl.list files.
- Legacy-Id: 487
2007-06-18 14:34:00 +00:00
Bill Fenner 7fa51e03cd Change the idindex search to use GET to allow bookmarking searches.
Use request.REQUEST to allow backwards-compatible searching.
 - Legacy-Id: 486
2007-06-18 14:24:56 +00:00
Henrik Levkowetz a6c5f1b805 Fixes to IPR templates, view and model, and acceptable diffs.
- Legacy-Id: 485
2007-06-17 23:19:21 +00:00
Henrik Levkowetz 56aae66b03 Template and acceptable diff update for third-party notifications
- Legacy-Id: 484
2007-06-17 21:34:11 +00:00
Henrik Levkowetz 7d33c372d1 Template and code changes for the third-party IPR disclosure page, and an acceptable diff file.
- Legacy-Id: 483
2007-06-17 21:08:36 +00:00
Henrik Levkowetz 06091fcdb4 The same name for two functions is unfortunate. Fixed.
- Legacy-Id: 482
2007-06-17 21:07:22 +00:00
Henrik Levkowetz e4deb27623 Changed query argument order in testurls to agree with the order produced by the redirects. Accompanying new acceptable diff file.
- Legacy-Id: 481
2007-06-17 21:05:29 +00:00
Henrik Levkowetz f051f64977 Fixing some renaming breakage.
- Legacy-Id: 479
2007-06-17 16:13:14 +00:00
Henrik Levkowetz 7075fe65a0 Code reorganization. Splitting up ipr search code into separate files, and renaming the ipr.view_new module to ipr.new.
- Legacy-Id: 478
2007-06-17 16:10:20 +00:00
Henrik Levkowetz 6829830b59 Name changes for IprDetail model fields.
- Legacy-Id: 477
2007-06-17 15:53:39 +00:00
Henrik Levkowetz 92968fa04e Somewhat reorganized IPR search code. Renamed IprDetails model field. New IPR search templates.
- Legacy-Id: 476
2007-06-17 15:21:48 +00:00
Bill Fenner 61983079e4 Since I've been using "skipredirect" as a keyword, make it valid.
- Legacy-Id: 475
2007-06-17 13:44:36 +00:00
Bill Fenner ad150b5a7d Add another couple of redirects to skip
- Legacy-Id: 474
2007-06-17 13:44:11 +00:00
Bill Fenner 61fffa12de Catch up with long-ago "areas"->"area" rename.
- Legacy-Id: 473
2007-06-17 13:43:49 +00:00
Bill Fenner 2a8124c002 Fix a couple redirects, add a couple more.
- Legacy-Id: 472
2007-06-17 13:42:31 +00:00
Henrik Levkowetz 795c9d0c0c Tweaking the output format.
- Legacy-Id: 471
2007-06-17 11:43:59 +00:00
Henrik Levkowetz faeb7a152a We should still check all the test URLs if no prefixes have been given.
- Legacy-Id: 470
2007-06-17 11:29:06 +00:00
Henrik Levkowetz f303d6f226 Moving some of the setup out to the module level to avoid repeating things unnecessary. In particular applying fixtures and finding patterns and testurls need only be done once.
- Legacy-Id: 469
2007-06-17 11:25:48 +00:00
Henrik Levkowetz 63754d4b2b The URL tests in tests.py can now limit the tests to be run to given URL prefixes. The test class looks for an environment variable URLPREFIX, and if it exists and is non-empty, it is expected to contain a space-separated list of URL prefix patterns for which tests should be run. test/run has been updated to place arguments given on the command line in the URLPREFIX environment variable, so you can say:
{{{
 $ test/run ipr
}}}
and only the URLs which start with /ipr will be tested.
 - Legacy-Id: 468
2007-06-17 11:09:52 +00:00
Henrik Levkowetz e40af4343f More test URLs
- Legacy-Id: 467
2007-06-17 10:03:59 +00:00
Henrik Levkowetz 9681754803 More test URLs
- Legacy-Id: 466
2007-06-17 09:30:35 +00:00
Henrik Levkowetz e317588462 Minor template tweaks to remove diffs
- Legacy-Id: 463
2007-06-17 02:03:27 +00:00
Henrik Levkowetz 201f9b4787 Added missing page header
- Legacy-Id: 461
2007-06-17 01:51:56 +00:00
Henrik Levkowetz dda241104e Changed 'irtf. org' ==> 'irtf.org'
- Legacy-Id: 459
2007-06-17 01:41:22 +00:00
Henrik Levkowetz 3f8ac442e0 Fixed missing and buggy text in the template.
- Legacy-Id: 458
2007-06-17 01:36:16 +00:00
Henrik Levkowetz 2e8902d8b4 Formatting tweaks.
- Legacy-Id: 455
2007-06-17 00:45:25 +00:00
Henrik Levkowetz 54f5456c25 Change timestamp placement (now after related string, and indented. Added retrieval info for comparison URLs
- Legacy-Id: 454
2007-06-17 00:09:34 +00:00
Henrik Levkowetz a8f8ace37c Added timestamps to the urltests
- Legacy-Id: 453
2007-06-16 23:17:31 +00:00
Bill Fenner fe83e207ae Use get_object_or_404, instead of just "get".
Don't catch DoesNotExist after a filter().
 - Legacy-Id: 448
2007-06-16 22:02:16 +00:00
Henrik Levkowetz c37319ccd7 Ignore trailing (and leading) newlines in diff chunks.
- Legacy-Id: 447
2007-06-16 21:41:04 +00:00
Bill Fenner 88e1ed58c5 Simplify the __init__ for ListReqStep1, by letting the parent's
__init__ parse initial and get the value from there.
 - Legacy-Id: 445
2007-06-16 21:14:38 +00:00
Bill Fenner 1e4320c2a1 Add some tests for the meeting agenda and proceedings
- Legacy-Id: 444
2007-06-16 21:12:45 +00:00
Henrik Levkowetz 0f391a1d90 More diff test normalizing
- Legacy-Id: 443
2007-06-16 19:50:06 +00:00
Henrik Levkowetz 2c6c881a3d Ignore 'RFC 1234' vs. 'RFC1234' diffs. Ignore 'ID' vs. 'I-D' diffs.
- Legacy-Id: 442
2007-06-16 18:29:36 +00:00
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