Commit graph

474 commits

Author SHA1 Message Date
Bill Fenner f1f94506f8 Don't diff view_related_docs. We've determined that the diffs are
OK, but it's silly to have a stored diff file that's basically
the whole page.
 - Legacy-Id: 611
2007-06-22 01:56:40 +00:00
Bill Fenner 87337517ab Add previous_announcement show_detail command.
- Legacy-Id: 610
2007-06-22 01:48:06 +00:00
Bill Fenner 0a3cee08a0 Skip the mailinglists/request/help redirect tests; those are only
served by the mailing list form so bookmarks to them are extremely
unlikely.

Remove trailing "?" from /idtracker/ entry; the redirect tool
strips off empty query strings.

Add ?cat=bugs to the send_email entry so the redirect will pass.

Skip the redirect test for the ballot, since there's an extra
(unused) query argument, filename=.

Add in all the query args that will get passed through the
redirect when searching for bgp-m, to make sure that they work
and to make the redirect test pass.
 - Legacy-Id: 609
2007-06-22 01:46:47 +00:00
Bill Fenner 0ed8006852 Use <td nowrap> to match the HTML of the original.
Use revision_display to get the right revision number for published RFCs.
 - Legacy-Id: 608
2007-06-22 01:43:43 +00:00
Bill Fenner edb82f5d6c Implement revision_display for RFCs.
- Legacy-Id: 607
2007-06-22 01:43:00 +00:00
Henrik Levkowetz 361ccbb9d1 A testurl tweak, and an additional acceptable diff file for /idindex/? .
- Legacy-Id: 605
2007-06-21 23:32:15 +00:00
Henrik Levkowetz 94ed5baf2b Correcting earlier elimination of duplicate <hr>
- Legacy-Id: 603
2007-06-21 22:54:28 +00:00
Henrik Levkowetz f706ac2a51 Updated the logic for emitting the 'not related to a specific IETF contribution' text in holder IPR search results.
- Legacy-Id: 602
2007-06-21 21:28:32 +00:00
Bill Fenner 3c0e569d33 Import TemplateSyntaxError
- Legacy-Id: 601
2007-06-21 20:15:17 +00:00
Henrik Levkowetz 71429f59aa Alternative review pages which shouldn't shift when new test-URLs are added. Old review URLs still work, but withouth guarantee against shifting when new test-URLs are added.
- Legacy-Id: 600
2007-06-21 20:07:24 +00:00
Bill Fenner 09c0829127 Use the "M, j" format for last call end date too.
Add the year to the date field when it's not this year, using a new template tag "thisyear" which returns a boolean.
Also implement template tag "inpast" which I think could be useful for the meeting materials page.
 - Legacy-Id: 599
2007-06-21 20:03:39 +00:00
Michael Lee c454d56ce1 Fix splited ballot on announcement pages
- Legacy-Id: 598
2007-06-21 19:46:45 +00:00
Bill Fenner 724f356bc4 Put 'req' in the context so that the summary will be correct.
Fixes the "Extraneous Information" problems in #142 and #143.
 - Legacy-Id: 597
2007-06-21 19:21:42 +00:00
Bill Fenner c6493ad8ab Match I-D tracker search results better:
* Don't sort by ballot ID.
 * dictsort by filename within 'primary_flag' sets inside the template.
 * Change myifchanged to not reset on the first cycle of a for loop.
 * Introduce cyclevalue tag, to get the current cycle color from the cycle node itself instead of the context, since the context gets reset between for loops.
 - Legacy-Id: 596
2007-06-21 19:07:40 +00:00
Michael Lee 772a2242ad Add Back to Index button
- Legacy-Id: 595
2007-06-21 19:06:38 +00:00
Bill Fenner 8749188880 Pseudo-documents need primary_flag=1 to get rendered as though
they're the primary in their document set.
 - Legacy-Id: 594
2007-06-21 18:54:12 +00:00
Bill Fenner dab52a0993 Add "(EST)" for diff reduction.
- Legacy-Id: 593
2007-06-21 18:43:50 +00:00
Michael Lee c8eaf1e741 add missing </h2>
- Legacy-Id: 592
2007-06-21 18:43:12 +00:00
Bill Fenner d43dd881a4 For the "I-D Exists" search, only search active documents - ignore
the supplied status in the pulldown.
 - Legacy-Id: 591
2007-06-21 17:51:30 +00:00
Bill Fenner 61dbe770e2 Other than the 5 documents listed in #147, all_id.txt and all_id.html
are the same as their cgi counterparts.  Differences:

 * The sections are ordered differently; the cgi has Active, Published, Expired, Withdrawn; the django has Active, Expired, Published, Withdrawn by IETF, Withdrawn by Submitter.  Since the explicit ordering by the cgi was why it missed the "Withdrawn by Submitter" documents, I chose to keep the database-influenced ordering.
 * The revision numbers for published documents are of the version that was published, not of the tombstone.
 - Legacy-Id: 590
2007-06-21 17:38:56 +00:00
Bill Fenner 21c00de37f The status of items page isn't good to diff for two reasons:
* It changes all the time, so database update lag will cause differences
 * It changes all the time, so any diff file will be quickly outdated.

I've done extensive review of the whole set of differences between
the django code and perl code running on the same database and am
confident in the correctness of the django code.
 - Legacy-Id: 589
2007-06-21 17:02:44 +00:00
Bill Fenner 8e85393b03 Delete debugging output.
- Legacy-Id: 587
2007-06-21 16:38:06 +00:00
Bill Fenner b7bf0621ea Fix "Adding a new entry" for request type.
- Legacy-Id: 586
2007-06-21 16:34:03 +00:00
Bill Fenner 2239b494d2 Use MultiEmailField for the admin's email address, to get validation.
- Legacy-Id: 585
2007-06-21 16:21:38 +00:00
Bill Fenner d3e4dc6064 Omit 'RFC Ed Queue' and 'RFC Published' states.
- Legacy-Id: 584
2007-06-21 15:35:04 +00:00
Henrik Levkowetz cf2c8e38ae Bah. Managed to introduce space before comma in [582]. Fixed.
- Legacy-Id: 583
Note: SVN reference [582] has been migrated to Git commit 23802f4987
2007-06-21 15:24:15 +00:00
Henrik Levkowetz 23802f4987 Fixed order of query arguments, for redirect test
- Legacy-Id: 582
2007-06-21 15:12:00 +00:00
Henrik Levkowetz c90d0e78f8 Added different handling for specific and generic disclosures.
- Legacy-Id: 581
2007-06-21 15:10:01 +00:00
Henrik Levkowetz 3ba8f23dfe Added IPR search for IPR holder name
- Legacy-Id: 580
2007-06-21 14:56:05 +00:00
Henrik Levkowetz ca041c9c33 Fix issue 5 of ticket #141, Font change.
- Legacy-Id: 579
2007-06-21 12:08:23 +00:00
Henrik Levkowetz ec8a75dfb5 Revised search templates, now extending the base template.
- Legacy-Id: 578
2007-06-21 11:41:20 +00:00
Henrik Levkowetz 6dbe4eda4d Added a block for the doctype declaration in the base template. (The IPR pages need surgery before they will render well with the XHTML/Transitional doctype.)
- Legacy-Id: 577
2007-06-21 11:40:11 +00:00
Henrik Levkowetz fd524413ef Fix duplicate number in list on announcement detail page by converting explicit list numbering and <br> into an ordered list.
- Legacy-Id: 575
2007-06-21 08:34:42 +00:00
Henrik Levkowetz 0484e8371c Fix ticket #138. Adding header to the IESG announcement page. The header added is not identical to that of the legacy page, as that is inappropriate (it belongs to the recent announcement list page).
- Legacy-Id: 574
2007-06-21 08:21:57 +00:00
Henrik Levkowetz 63d71da178 Fixed some more look-and-feel dissimilarities in the mailinglist forms; most of them caused by non-compliant or non-consistent old html copied over and inpreteded more strictly when served as XHTML.
- Legacy-Id: 573
2007-06-21 07:15:24 +00:00
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