Commit graph

13622 commits

Author SHA1 Message Date
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 50910c7904 This diff was a conscious change: don't display "0" as the
state before/after change.  Two identical diff files because
of two different renderings of the same comment.
 - Legacy-Id: 413
2007-06-15 17:01:29 +00:00
Bill Fenner ff5b460783 These diffs have two sources:
* The missing </li> in the original, making the spacing come out oddly
* The replaced database row in sql_udpate.sql
 - Legacy-Id: 412
2007-06-15 16:58:12 +00:00
Bill Fenner 2c26d31933 It was a conscious decision to add spaces between the commas,
to allow wrapping in case there are a lot of addresses.
 - Legacy-Id: 411
2007-06-15 16:56:00 +00:00
Bill Fenner 0a918ad210 This is the same as _idtracker_draft-ietf-isis-link-attr_ -
line wrapping and truncation
 - Legacy-Id: 410
2007-06-15 16:54:58 +00:00
Bill Fenner 419dde701b These diffs are all due to different line-wrapping
and long-comment-truncation algorithms.
 - Legacy-Id: 409
2007-06-15 16:53:20 +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 d8866a4495 Fix empty else clause in shell script
- Legacy-Id: 402
2007-06-15 12:13:55 +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 a746d9099a Use the right lock directory everywhere, not only most places.
- Legacy-Id: 399
2007-06-15 11:51:35 +00:00
Henrik Levkowetz 6f04c420b5 Use the right lock directory everywhere, not only most places.
- Legacy-Id: 398
2007-06-15 11:50:31 +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 109b1b4fdc Make the check_url script say 'No difference' when there is no difference found.
- Legacy-Id: 385
2007-06-14 17:14:24 +00:00
Henrik Levkowetz 44da4d5f7c Tweaking the output of update-db to better see what's being done.
- Legacy-Id: 384
2007-06-14 14:09:40 +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 33794966e3 Updated generic diff
- Legacy-Id: 378
2007-06-13 18:28:11 +00:00
Henrik Levkowetz 5ad4c9fc3a Only run the database update if there is a new dump
- Legacy-Id: 377
2007-06-13 18:27:50 +00:00
Henrik Levkowetz 95a629020f New generic diff ignore chunk for 'This page produced by...' stanza.
- Legacy-Id: 376
2007-06-13 18:08:29 +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 18f7fd0c4e 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: 372
2007-06-13 17:04:07 +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 aac2076b23 Acceptable diff: Layout differences, in particular the handling and placement of colons.
- Legacy-Id: 370
2007-06-13 15:35:44 +00:00
Henrik Levkowetz e62f349ce3 ... and don't include the Diff: tag line, only the diff in the diff file...
- Legacy-Id: 369
2007-06-13 14:42:46 +00:00
Henrik Levkowetz b92b155ee3 Acceptable diff: Whitespace
- Legacy-Id: 368
2007-06-13 14:36:44 +00:00