Commit graph

55 commits

Author SHA1 Message Date
Bill Fenner 42245b73b4 Chase the moved update view.
- Legacy-Id: 706
2007-06-27 17:17:32 +00:00
Bill Fenner cccf7a9ca4 * Skip 'ipr' and 'contact_type' fields in BaseContactForm
* Move update() to new.py
 * Get the update submitter in update() and overwrite the ipr submitter with it when updating.
 * Remove ? from trailing slash in about - the addslashes middleware will get there first anyway, and the ? confuses reverse()
 - Legacy-Id: 705
2007-06-27 17:11:38 +00:00
Bill Fenner 06680fba8c Output referenced document titles with their numbers/filenames.
- Legacy-Id: 704
2007-06-27 17:10:41 +00:00
Bill Fenner da2b6199f0 Link internally with {% url %} instead of hardcoded pointer
to datatracker.
 - Legacy-Id: 703
2007-06-27 16:35:14 +00:00
Henrik Levkowetz 188a562114 IPR title search with test cases and acceptable diffs
- Legacy-Id: 697
2007-06-27 14:12:54 +00:00
Bill Fenner 760c1190e7 Send email on new/update submission.
Render "ipr/submitted.html" instead of redirecting to the IPR directly.
 - Legacy-Id: 696
2007-06-27 13:45:30 +00:00
Henrik Levkowetz 648587c674 The template for the IPR search error pages
- Legacy-Id: 690
2007-06-27 11:41:31 +00:00
Henrik Levkowetz b030e37f77 * Added IPR patent info search
* Added IPR patent info search term error pages
 * Fixed empty holder search template error
 * Some refactoring to have one ipr->doc relation instead of both ->drafts and -> rfcs
 - Legacy-Id: 687
2007-06-27 11:29:43 +00:00
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 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
Henrik Levkowetz d37b5bb9ed Templates for IPR search for holder, wg and patent searches.
- Legacy-Id: 643
2007-06-25 21:02:24 +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
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 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 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 f051f64977 Fixing some renaming breakage.
- Legacy-Id: 479
2007-06-17 16:13:14 +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
Henrik Levkowetz 3f8ac442e0 Fixed missing and buggy text in the template.
- Legacy-Id: 458
2007-06-17 01:36:16 +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 6a2c3ab85f Added IPR search by RFC number.
- Legacy-Id: 400
2007-06-15 11:52:26 +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 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 90a414fb10 IPR search form. Search results not implemented yet.
- Legacy-Id: 383
2007-06-14 14:06:26 +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 e1e375e269 IPR presentation tweaks
- Legacy-Id: 352
2007-06-12 22:46:54 +00:00
Henrik Levkowetz 76f759c19c Minor fixes to the ipr details template
- Legacy-Id: 279
2007-06-10 11:31:29 +00:00
Henrik Levkowetz a9fb0f7de1 Cleaned away unnecessary hidden fields in IPR form
- Legacy-Id: 169
2007-05-28 09:18:43 +00:00
Henrik Levkowetz fb5013e849 IPR disclosure form submission now works.
Closing the ipr_generic.cgi ticket, but leaving ipr.cgi and notify.cgi open
till further testing has been done.  Also adding a new task for the IPR
update form.

There may still be some dead code to clean out, but I'm committing what
I have now since it provides working form submission :-)
 - Legacy-Id: 158
2007-05-23 20:11:34 +00:00
Henrik Levkowetz 65f15c77bf Reverting to revision [151] -- committed way too much by mistake
- Legacy-Id: 153
Note: SVN reference [151] has been migrated to Git commit fca8b30b51
2007-05-22 22:29:28 +00:00
Henrik Levkowetz d981d5a617 Template formatting changes, to more easily see what's going on. And sorting on area within the timeslot.
- Legacy-Id: 152
2007-05-22 22:15:13 +00:00
Henrik Levkowetz 255e2e5a1a IPR Form stuff:
* Added validation code for RFCs and Drafts.
 * Some stylesheet tweaks.
 - Legacy-Id: 144
2007-05-21 20:36:21 +00:00
Henrik Levkowetz d7b47093a7 * Added alternating colours for the entry rows in the form tables
* Fixed yes/no radio button layout
 * Fixed submitter contact information copying for generic form
 - Legacy-Id: 143
2007-05-21 19:07:13 +00:00
Henrik Levkowetz f9c6c5c7d3 * Added IPR form fields for listing rfcs and drafts
* Some style tweaks
 - Legacy-Id: 142
2007-05-21 16:49:26 +00:00
Henrik Levkowetz 64dc0f83c6 * Some code reorganization, moving the large new-disclosure functiality
into view_new.py
 * Added error indication of the top of the page, in case there are any
   errors further down.
 * Set more fields to required, matching the old perl code
 * Various other tweaks.
 - Legacy-Id: 140
2007-05-20 23:42:39 +00:00
Henrik Levkowetz b0f1f5d845 More ipr form stuff.
- Legacy-Id: 139
2007-05-18 18:46:55 +00:00
Henrik Levkowetz 8d7053fc5c * Removed InternationalPhoneNumber class, instead using the form creation
callback to provide a RegexpField class.
 * Added checkbox for submitter contact information being the same as
   IETF contact information; with javascript support and validation
   support.
 * Cleaned out the old split_form() and mk_formatting_form() functions from
   ietf.utils.
 - Legacy-Id: 138
2007-05-18 15:50:30 +00:00
Henrik Levkowetz 8e16dd2aea Template Cleanup - get rid of unused IPR templates
- Legacy-Id: 118
2007-05-10 15:08:08 +00:00
Henrik Levkowetz f1e70cbbe4 Some ipr/model.py field re-arranging to make the admin interface come out nicer
- Legacy-Id: 110
2007-05-09 06:16:50 +00:00
Henrik Levkowetz c915c5f7e6 * Added automatic 'required-field' indicator to the form rendering
* Made 'Legal Name' field in the IprDetails model required
 - Legacy-Id: 107
2007-05-06 23:29:10 +00:00