Commit graph

479 commits

Author SHA1 Message Date
Henrik Levkowetz 2bb88100d0 * Added IPR search on document title
* Added test cases for this and for addtional empty test results
 * Some refactoring of IPR search code
 * Fixed bugs in multiple templates for the empty test result case
 - Legacy-Id: 685
2007-06-27 09:25:14 +00:00
Bill Fenner e5610d3f6c * Explicitly truncate a long title so that the database truncation doesn't cause problems
* Use RequestContext
 * Remove a couple of debugging prints that I left in
 * Fix parenthesis location in get_ipr_summary() which was causing it to try to concatenate a list and a string
 - Legacy-Id: 684
2007-06-27 04:31:38 +00:00
Bill Fenner 2fa81f4940 Initial work on allowing updates:
* Allow update to pass in an object to be updated.
 * Pass initial values to rfclist, draftlist, 3 ContactForms and IprForm if we have an update.
 * Pass **kwargs through ipr_detail_form_callback to get the initial values.
 * Add a row in IprUpdate if updating

Cleanups in that apply to both new and update:
 * Validate licensing_option in the clean function to allow it to be conditionally required.
 * Use a regular character field for date_applied, since it is a prose date in the database.
 * Fix typo in title setting: s/general/generic/
 * Fix typo in 3rd-party title setting: s/submitter/ietf_name/
 * Fix IprRfc object creation
 * Log the complete set of field errors
 * Move the validation of "one of the document fields must be filled in" to the form clean, since clean_data["draftlist"] isn't available in clean_rfclist()
 * Render non_field_errors since now we could have one.
 * Move the setting of the summary and title to after the form is cleaned, and use the clean version of the document names.
 - Legacy-Id: 683
2007-06-27 04:07:01 +00:00
Bill Fenner 5b00901dd6 Use defaultValue instead of "" so that if the form is populated
(such as when editing an existing submission), the javascript doesn't
empty out the submitter data because the box isn't checked.
 - Legacy-Id: 681
2007-06-27 02:24:36 +00:00
Bill Fenner cfd5b80406 Don't let missing checkboxes (because of missing sections) disable
the contact copying.
 - Legacy-Id: 679
2007-06-27 02:13:39 +00:00
Michael Lee c362d82532 Fix a missing piece in agenda.html template
- Legacy-Id: 678
2007-06-27 01:41:54 +00:00
Henrik Levkowetz 320e2549da Add another missing test URL.
- Legacy-Id: 677
2007-06-26 23:59:40 +00:00
Henrik Levkowetz a648c5d154 Hmm. Why isn't the test setup serving static files? Skip those tests for now.
- Legacy-Id: 676
2007-06-26 23:55:52 +00:00
Henrik Levkowetz 955254b53c Oops. Syntax error.
- Legacy-Id: 675
2007-06-26 23:36:11 +00:00
Henrik Levkowetz 8ecc50b0fa No need to fetch the good URL if we're going to skip the diff.
- Legacy-Id: 674
2007-06-26 23:33:48 +00:00
Henrik Levkowetz 6b80966beb Adding some missing tests. The /drafts/dead/ diff need to be checked up.
- Legacy-Id: 673
2007-06-26 23:31:24 +00:00
Henrik Levkowetz c6cd8eed3b Some fixes to ietf/tests.py, and various updated diffs.
- Legacy-Id: 671
2007-06-26 22:25:28 +00:00
Henrik Levkowetz 0ca78de484 Make the diff chunk application order predictable and update the chunks to be applied in the right order
- Legacy-Id: 670
2007-06-26 20:41:52 +00:00
Bill Fenner e9c1f3bb21 Forgot to update the redirect for previous_announcement for the
url rearrangement.
 - Legacy-Id: 669
2007-06-26 20:36:22 +00:00
Bill Fenner a53aae26f5 Fix view_related_docs -> related. I don't know how I missed exporting
this in my previous commit.
 - Legacy-Id: 668
2007-06-26 20:25:50 +00:00
Bill Fenner 6d03969bac URL shuffling in iesg, idtracker and my
- Legacy-Id: 666
2007-06-26 20:21:31 +00:00
Henrik Levkowetz 0e9c8926a6 Added logging to find out why the buildbot doesn't give clean diffs when local runs do.
- Legacy-Id: 665
2007-06-26 20:17:27 +00:00
Henrik Levkowetz 39af501171 Fix pyflakes issue.
- Legacy-Id: 664
2007-06-26 19:26:13 +00:00
Henrik Levkowetz 0f534e0242 Don't handle empty diff chunks
- Legacy-Id: 662
2007-06-26 19:22:30 +00:00
Henrik Levkowetz f245ccb875 Remove an errand debug print statement.
- Legacy-Id: 661
2007-06-26 19:19:58 +00:00
Henrik Levkowetz e80bb3b76f Add sort to the the name sorted rfc list -- .cgi and .django sort may be different.
- Legacy-Id: 660
2007-06-26 19:18:58 +00:00
Michael Lee 9d5faab01b Fix IESG announcements script to handle mixed-intended_status fleet (group of documents)
- Legacy-Id: 659
2007-06-26 19:16:58 +00:00
Bill Fenner 8d6b0bae97 Moves:
* announcements -> ann
 * liaisons -> liaison
 * idindex -> drafts
 * mailinglists -> list

I checked the tests and used a link checker locally, so hopefully
the fallout will be minimal.
 - Legacy-Id: 657
2007-06-26 18:29:55 +00:00
Henrik Levkowetz 7ba839ad01 Fix pyflakes warning
- Legacy-Id: 656
2007-06-26 18:06:13 +00:00
Michael Lee 76b254f3d8 Fix agenda.html
- Legacy-Id: 654
2007-06-26 17:40:29 +00:00
Henrik Levkowetz fadd223250 Commenting out the django logo and link in favour of the less conspicuous link in the new footer line.
- Legacy-Id: 653
2007-06-26 17:31:43 +00:00
Henrik Levkowetz 0ed0d375ee Adding a footer line with version info and webmaster link, and a context processor to transfer information to it and variables in ietf/__init__.py to hold the information.
- Legacy-Id: 652
2007-06-26 17:30:25 +00:00
Henrik Levkowetz d04166c6fe Hmm. Add the closing '$' for the keywords, too.
- Legacy-Id: 648
2007-06-26 00:32:38 +00:00
Henrik Levkowetz c8e084d0fe Add keywords to ietf/__init__.py and enable keyword expansion for it.
- Legacy-Id: 647
2007-06-26 00:26:36 +00:00
Henrik Levkowetz 5b3f352caf Handle diff in /iesg/ann/iesg-doc/recent/ with an ignore regex instead of an acceptable diff, as the diff line number will move with new entries on the page.
- Legacy-Id: 646
2007-06-25 23:22:10 +00:00
Henrik Levkowetz 1a43ca5ebd Show number of review pages on overview page.
- Legacy-Id: 645
2007-06-25 23:20:56 +00:00
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