Commit graph

16561 commits

Author SHA1 Message Date
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
Henrik Levkowetz 0fde1e32b1 Acceptable diff: The current implementation is broken; showing current ADs for a ballot they were not present at. See ticket #87.
- Legacy-Id: 367
2007-06-13 14:17:45 +00:00
Henrik Levkowetz fcaca1e849 Acceptable diff: The date of this disclosure has been fixed in the Django database
- Legacy-Id: 366
2007-06-13 14:14:10 +00:00
Henrik Levkowetz 037a27ab2c Acceptable diff: Layout differences, in particular the handling and placement of colons.
- Legacy-Id: 365
2007-06-13 14:13:04 +00:00
Henrik Levkowetz 627d053488 Acceptable diff: The date of this disclosure has been fixed in the Django database
- Legacy-Id: 364
2007-06-13 14:09:55 +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