Commit graph

498 commits

Author SHA1 Message Date
Henrik Levkowetz 9074e9555c Additional IPR searches: WG search and holder (legal name) search.
- Legacy-Id: 644
2007-06-25 21:03:34 +00:00
Henrik Levkowetz d37b5bb9ed Templates for IPR search for holder, wg and patent searches.
- Legacy-Id: 643
2007-06-25 21:02:24 +00:00
Bill Fenner 258ab62de9 Skip the diff for the last call - #120
Diffs:
 * The django version displays "waiting for writeup" documents, and has state labels
 * The django version omits the "hit counter"
 * The django version displays dates as "Jun 29" instead of "2007-06-29"
 * The django version displays "Last Call End" date for documents in Last Call, and "Status Date" otherwise.

These are all acceptable.
 - Legacy-Id: 640
2007-06-25 18:00:33 +00:00
Michael Lee bd86570cbe Format the receipt page with table
- Legacy-Id: 639
2007-06-25 17:56:46 +00:00
Bill Fenner 245fe215c6 The agenda.txt got changed into a redirect.
- Legacy-Id: 638
2007-06-25 17:49:54 +00:00
Bill Fenner 5ed1f62f35 If the announcement hasn't been sent, then use the "old"
algorithm of displaying the current IESG with empty positions
for those that haven't been cast yet; if it has been sent
then just list the actual positions that are recorded since
the database doesn't have any record of whether the positions
were for current or old ADs.
 - Legacy-Id: 636
2007-06-25 17:41:50 +00:00
Michael Lee 6ca9b6f451 Render the receipt page with proper contents
- Legacy-Id: 635
2007-06-25 17:41:40 +00:00
Bill Fenner 9dad4b8a75 Return a space inside a bracket if the text was empty.
- Legacy-Id: 634
2007-06-25 17:39:41 +00:00
Bill Fenner 8302413637 Redirect requests for agenda.txt to the static version, as discussed
on today's call.  Relates to #130
 - Legacy-Id: 633
2007-06-25 16:52:52 +00:00
Bill Fenner 5a4e9de2f1 Remove the hardcoded " - WCF" from the title.
Export server_mode into the template context, and use it to conditionalize
the addition of the server mode into the title.
 - Legacy-Id: 632
2007-06-25 16:32:08 +00:00
Bill Fenner 4c312f87de Add "Main Menu" and "Back" buttons.
- Legacy-Id: 629
2007-06-25 15:36:39 +00:00
Bill Fenner e7f957ec02 Make the url widget boxes as wide as the cgi page has them..
- Legacy-Id: 628
2007-06-25 15:17:31 +00:00
Michael Lee 04d302a533 Disable email formating validation for admin list
- Legacy-Id: 627
2007-06-25 13:44:32 +00:00
Michael Lee 17c445e74a nwg_list_submit - restore MultiEmailField property of admin field. Defining admin in nonwg_fields causes a bug which does not pre-populate admin field when editing. Ticket will be created.
- Legacy-Id: 626
2007-06-25 05:37:34 +00:00
Michael Lee d10d8444e1 nwg_list_submit bug fix again
- Legacy-Id: 625
2007-06-25 05:28:54 +00:00
Michael Lee 34a621fe5d nwg_list_submit bug fix
- Legacy-Id: 624
2007-06-25 05:17:44 +00:00
Michael Lee 6c35c89054 * fix Delete request
* Step number is dynamically generated
 * add template for delete confirmation
 - Legacy-Id: 623
2007-06-25 04:55:29 +00:00
Henrik Levkowetz 410a69b914 Removing unused import from ietf/utils/views.py
- Legacy-Id: 620
2007-06-22 23:21:05 +00:00
Henrik Levkowetz d1f5520067 Changing to sorted diffs for recent and previous IESG announcements. Doing this shows what seems to be a flaw in the old scripts, listing some informational documents among the Protocol Announcements. Adding an acceptable diff for the remaining diff which is a result of this.
- Legacy-Id: 619
2007-06-22 23:13:11 +00:00
Henrik Levkowetz 6d0fa4f4d7 Changing the comparison of this to be sorted. The order differences will continue to change as the content changes over time, so a stored diff won't work
- Legacy-Id: 618
2007-06-22 20:56:03 +00:00
Bill Fenner f99fa39977 Make PersonOrOrgInfo unique=True again. Various things assume
that within auth_users, the email address is unique, so let's
not break those assumptions.
 - Legacy-Id: 617
2007-06-22 16:09:46 +00:00
Bill Fenner 306bece87c Import users from htpasswd file, searching IESGLogin, WgPassword,
LiaisonUser, and EmailAddresses for a mapping to a PersonOrOrgInfo.
It doesn't yet import all groups or permissions; that'll be a
separate (repeatable) process.

The goal is to eventually eliminate completely the WgPassword and
LiaisonUser tables.  IESGLogin could go too eventually, but that
requires schema changes, not just changes in the authentication
mechanisms.
 - Legacy-Id: 616
2007-06-22 16:07:23 +00:00
Bill Fenner 430c53c9a3 Spell "skipredirect" properly.
- Legacy-Id: 613
2007-06-22 11:22:42 +00:00
Henrik Levkowetz ec1b40849d Skip the diff of one of the /idindex/ entries -- the stored diff can't match both, since the diffed URLs are specified at the top of the diff.
- Legacy-Id: 612
2007-06-22 09:01:49 +00:00
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