Commit graph

439 commits

Author SHA1 Message Date
Henrik Levkowetz ba303e06c0 Removed a block quote which had snuck in and made the old and new pages look unnecessarily dissimilar.
- Legacy-Id: 571
2007-06-21 06:47:25 +00:00
Henrik Levkowetz 4b50aaf782 Make sure goodhtml has a value also if retrieval fails.
- Legacy-Id: 570
2007-06-21 01:22:12 +00:00
Henrik Levkowetz bba75bab04 Adding a local static/css/base.css, and changing the table settings a bit in the mailing list pages to make the two header images end up on the same line. Needing to do this is related to the change to serving XHTML Transitional; if I take away the xml and transitional doctype declarations, the pre-change html worked fine.
- Legacy-Id: 569
2007-06-21 00:59:59 +00:00
Bill Fenner 057503d2af Switch back to local images, especially now that
they're properly served.
 - Legacy-Id: 568
2007-06-20 22:51:22 +00:00
Bill Fenner 24800f090b Add missing slash.
- Legacy-Id: 567
2007-06-20 22:50:01 +00:00
Bill Fenner 3923233740 Add the admin media and the I-D Tracker images to static/. These
belong in the apache document root, and will be served by the
django server if it's being run in test or development mode
according to SERVER_MODE.
 - Legacy-Id: 566
2007-06-20 22:46:10 +00:00
Bill Fenner ab68651765 Make date_threshold into a function. Since it was coded as a static
assignment, it would actually happen when the mod_python thread was
initialized, so the value would drift away from being right.

Match the I-D tracker implementation by moving it to the first day of
the month in which the day that's 185 days ago lives.
 - Legacy-Id: 565
2007-06-20 22:38:04 +00:00
Bill Fenner 43ae8b85ed Fix the broken link for substate reported in #109. Also use the idinternal
object's state-number fields instead of fetching the related row and
then using the ID field.
 - Legacy-Id: 564
2007-06-20 21:57:53 +00:00
Bill Fenner 91fbd02ef6 Fix #112 : filter by RFC number if it's an RFC.
- Legacy-Id: 563
2007-06-20 21:44:36 +00:00
Michael Lee 00de9c519c Resove ticket 136, getting correct last update date from db
- Legacy-Id: 562
2007-06-20 20:37:40 +00:00
Michael Lee 56540c3d75 Resove ticket 139, move training session back to bottom of the page
- Legacy-Id: 560
2007-06-20 20:11:11 +00:00
Henrik Levkowetz e6c6526058 In the buildbot, indicate diffs for pages which have an acceptable diff which fails differently than pages without an acceptable diff.
- Legacy-Id: 557
2007-06-20 16:32:06 +00:00
Bill Fenner dc0832af51 Chase the renaming of the areadirectors model to areadirector,
and thus the renaming of the auto-generated _set attribute.

Remove the areadirectors_set() function.
 - Legacy-Id: 555
2007-06-20 14:02:32 +00:00
Bill Fenner 0e1728e2ab Remove debugging print.
- Legacy-Id: 554
2007-06-20 13:55:41 +00:00
Michael Lee 342a9fa633 Remove ztrain area name for training sessions
- Legacy-Id: 553
2007-06-20 12:59:08 +00:00
Henrik Levkowetz 7349cc3329 Reverting some additional quick-fixes.
- Legacy-Id: 552
2007-06-20 09:23:02 +00:00
Michael Lee 271e7ff6a5 Fix meeting agenda
- Legacy-Id: 551
2007-06-20 06:18:39 +00:00
Michael Lee 02cbe98a1f * Add javascripts to the first step
* Add a method areadirectors_set to idtracker/models.py
 * Edit templates to adopt same look and feel with the existing tool
 - Legacy-Id: 550
2007-06-20 05:21:48 +00:00
Henrik Levkowetz acd5129359 A tweak to the html format agenda. Plenary agendas and break information before the plenaries still missing.
- Legacy-Id: 549
2007-06-20 01:54:28 +00:00
Henrik Levkowetz 6737d9392c Template and model fixes for the agenda. The model fixes really should be fixed in the database instead -- what's the sense in having the break names in the database so you can change the if you hardcode the names in the code when you need to change them ??
- Legacy-Id: 548
2007-06-20 01:44:13 +00:00
Henrik Levkowetz 64c0a771d0 Fix 'Morning Beverages' --> 'Continental Breakafast'
- Legacy-Id: 547
2007-06-20 00:50:31 +00:00
Henrik Levkowetz bb6b3eaa1e Updating the 'text' agenda so the formatting matches the old one.
- Legacy-Id: 544
2007-06-20 00:01:55 +00:00
Henrik Levkowetz f6b1024418 Empty never have a diff. A bit too easy ,;-)
- Legacy-Id: 543
2007-06-19 23:52:06 +00:00
Henrik Levkowetz 0e2173a060 Add testing support for selectively ignoring regex patterns. First use case is to ignore datestamps for page creation. Also add ignore:date to the spec. in urltest.list for agenda and meeting pages, and add some ignore date regex patterns.
- Legacy-Id: 542
2007-06-19 23:31:02 +00:00
Henrik Levkowetz 8b859831ea Fixed the date / time format of the meeting materials page generation time.
- Legacy-Id: 541
2007-06-19 21:54:53 +00:00
Henrik Levkowetz d6a31b4f7f Provide and use an acronym_lower() method so sorting works as expected.
- Legacy-Id: 540
2007-06-19 21:05:19 +00:00
Henrik Levkowetz fe92270a0e Take out the server mode addition for now; messed up a lot of diff tests
- Legacy-Id: 539
2007-06-19 20:31:10 +00:00
Henrik Levkowetz 3f9a471d1d Tweak to the template -- removing superfluous slashes
- Legacy-Id: 538
2007-06-19 20:13:38 +00:00
Bill Fenner 7d554f2bd9 Reduce the hardcoded references to https://datatracker.ietf.org/ .
(To abstract this, we need to put is_secure and the site info
into the context.)
 - Legacy-Id: 536
2007-06-19 18:27:40 +00:00
Bill Fenner 46afc19198 Point to our version of the nonwg list submitter.
- Legacy-Id: 535
2007-06-19 18:11:46 +00:00
Michael Lee 81ed8b20db Fix buildbot errors, 28, 29, 30
- Legacy-Id: 534
2007-06-19 17:54:09 +00:00
Bill Fenner 58c0a9f052 Switch to inline css, like the original pages have,
instead of a misplaced <link>.

Fix a typo in independent_doc.
 - Legacy-Id: 533
2007-06-19 17:46:12 +00:00
Bill Fenner a3e2da7380 select_related() on IDInternal eliminates most of the relevant rows
due to missing data in other tables, so instead, select on 
InternetDrafts.  This is a little confusing, since the two halves
of the page have different types of objects.

Also add the intended_status, which was also missing in this
template.
 - Legacy-Id: 532
2007-06-19 17:19:19 +00:00
Bill Fenner 2ab8c030f9 Add the intended status to match the cgi version of the page.
- Legacy-Id: 531
2007-06-19 16:44:03 +00:00
Henrik Levkowetz 96b1f822ab Added an overview page for the review pages
- Legacy-Id: 529
2007-06-19 14:54:19 +00:00
Henrik Levkowetz 53f3be5ca0 It's better to test for retrieval of review pages than to just skip them.
- Legacy-Id: 527
2007-06-19 08:25:15 +00:00
Bill Fenner cd32b69099 Oops, missed the uppercasing of the day names.
- Legacy-Id: 524
2007-06-18 23:01:44 +00:00
Bill Fenner 94373f2915 Use humanize for the "th" suffix for the IETF meeting number.
Capitalize day names.

Don't repeat the month unless necessary and the year at all of
the meeting dates.

Still missing: group type (e.g., "WG" or "BOF")
 - Legacy-Id: 522
2007-06-18 22:54:15 +00:00
Bill Fenner 02933825ef Tweak ordering to be like the cgi version.
Remove debugging and leftover bits from related_docs function.

Handle unexpected exceptions in related_docs related to schema
oddities described in #98:
* There might not be a row in the RFC table for a given rfc_number of an I-D
* There might be multiple documents published as the same RFC

Don't skip anything when recursing from our equivalents of
get_rfcs_obsoleted and get_rfcs_obsoleted_by.
 - Legacy-Id: 521
2007-06-18 22:37:24 +00:00
Bill Fenner c85c6a59b8 Reduce diffs with meeting_materials.cgi
- Legacy-Id: 520
2007-06-18 22:23:16 +00:00
Bill Fenner bd0bb1e749 Chase model change: area_acronym -> area
- Legacy-Id: 519
2007-06-18 22:20:02 +00:00
Bill Fenner e407114073 Add "please send problem reports to" footer.
- Legacy-Id: 518
2007-06-18 22:16:28 +00:00
Bill Fenner c03da11ec5 Use the exact same "no selection" wording.
- Legacy-Id: 516
2007-06-18 22:12:56 +00:00
Bill Fenner 63d3325b07 welcome_new can be NULL, so use "" instead of rendering "None".
- Legacy-Id: 514
2007-06-18 22:08:39 +00:00
Bill Fenner 178748f282 rfc.status.status (e.g., "Informational") conflicted with
internetdraft.status.status (e.g., "Active", "Dead", ...).
I assumed when I wrote {{ ..document.status.status }} that it
would throw an exception and so be ignored for RFCs.  Mea culpa.
 - Legacy-Id: 513
2007-06-18 22:02:17 +00:00
Bill Fenner b251c287bc Remove extra <hr> and fix case.
- Legacy-Id: 509
2007-06-18 21:43:40 +00:00
Bill Fenner f7578e627b Use a regular ChoiceField for substate to allow "None" as an
option.
 - Legacy-Id: 508
2007-06-18 21:18:55 +00:00
Bill Fenner e454f1e4db Filter IETFWG.choices() on type='WG'.
- Legacy-Id: 507
2007-06-18 21:18:21 +00:00
Henrik Levkowetz 42013f2c35 Fix added <hr>
- Legacy-Id: 506
2007-06-18 20:01:16 +00:00
Henrik Levkowetz 862645e52d Fix case difference.
- Legacy-Id: 505
2007-06-18 19:59:14 +00:00
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