Commit graph

87 commits

Author SHA1 Message Date
Pasi Eronen 711240499f Get IPR forms working without TemplatedForm; removed TemplatedForm; new IPR test cases
- Legacy-Id: 1654
2009-08-27 21:03:48 +00:00
Pasi Eronen 636688d1d4 Use different template for IPR editing form; removed editing-specific parts from view-only template
- Legacy-Id: 1653
2009-08-20 19:55:12 +00:00
Pasi Eronen 3af4f775d0 Removed unused 'index' entry for IPR section_table
- Legacy-Id: 1652
2009-08-20 19:34:40 +00:00
Pasi Eronen 9b64a11dfc Further improvements in test coverage (*/testurl.list)
- Legacy-Id: 1637
2009-08-10 20:03:39 +00:00
Pasi Eronen b2bc0c790d Improve test coverage (uncomment/add URLs to */testurl.list)
- Legacy-Id: 1635
2009-08-07 12:43:35 +00:00
Pasi Eronen 60d0b1c4a4 Commented out all testurl.list lines (will add some back later)
- Legacy-Id: 1624
2009-08-05 19:48:11 +00:00
Henrik Levkowetz 65b4f738ae Fix feed problem for non-ascii names. From Pasi Eronen.
- Legacy-Id: 1449
2009-04-21 13:36:18 +00:00
Henrik Levkowetz 293898ef3f Add a machine-readable view listing IPR declarations per draft/rfc
- Legacy-Id: 1321
2009-02-18 10:39:27 +00:00
Bill Fenner ba0cfd8224 Add an explicit "This IPR disclosure was removed" message via the
ipr/removed.html template.  Add a mechanism, currently disabled,
to allow viewing removed IPR by including /removed/ in the path,
e.g., /ipr/removed/1060/.  This functionality can be enabled simply
by uncommenting the line in urls.py with the updated regexp, and
deleting the redundant line.
 - Legacy-Id: 1301
2009-02-02 22:57:41 +00:00
Henrik Levkowetz 0458c69c8f Adding IETF Trust copyright to source files missing it.
- Legacy-Id: 1064
2008-03-04 18:47:46 +00:00
Henrik Levkowetz f3e6a30b97 Pulled out hardcoded IPR notification email receiver addresses from code and placed them in settings.py instead.
- Legacy-Id: 1062
2008-02-29 23:48:09 +00:00
Bill Fenner 431c4cfa62 Improve admin interface slightly for contacts.
- Legacy-Id: 908
2007-07-30 20:18:39 +00:00
Bill Fenner 11d4f1581b Get ipr feed limping (at least it doesn't throw an exception any more)
- Legacy-Id: 862
2007-07-09 03:53:29 +00:00
Bill Fenner f784bb02ad Create individual sitemaps for idtracker, drafts, nomcom-announcements,
iesg minutes, ipr and liaisons.

Omitting some class of data from the sitemap will not prevent it from
being indexed, so forgetting something from this list is not critical.
 - Legacy-Id: 861
2007-07-09 02:32:39 +00:00
Bill Fenner b3b0c7d964 Add the header to the contact info request screen:
type and title of IPR being updated.  Also, use get_object_or_404
to avoid exceptions.
 - Legacy-Id: 821
2007-07-02 17:10:53 +00:00
Bill Fenner 0f08671eb6 * Switch to /ipr/<ipr-id>/ and /ipr/y/<year>/ urls
* Add update URLs for each type of disclosure and redirects to match
 - Legacy-Id: 813
2007-07-02 16:12:41 +00:00
Bill Fenner 6a3660925c Don't forget to assign the variable!
- Legacy-Id: 812
2007-07-02 16:10:59 +00:00
Bill Fenner be51a990af Use get_object_or_404 in show() to avoid raising an exception
with a handcrafted URL pointing to an incorrect ID.
 - Legacy-Id: 811
2007-07-02 15:58:21 +00:00
Henrik Levkowetz 79124036a3 Another minimal refactoring...
- Legacy-Id: 784
2007-06-29 23:38:03 +00:00
Henrik Levkowetz d28bf58891 Refactoring out draft_search(), and tweaking the IPR doc result template.
- Legacy-Id: 782
2007-06-29 23:22:58 +00:00
Henrik Levkowetz 941c984142 Umm, another small change
- Legacy-Id: 781
2007-06-29 22:17:36 +00:00
Henrik Levkowetz f51fa5523c Tweaks to the empty IPR doc search result text
- Legacy-Id: 780
2007-06-29 22:15:48 +00:00
Henrik Levkowetz 758ee35423 Ooops. Committed a version of ipr/search.py used to generate 500 errors for testing. Corrected here.
- Legacy-Id: 763
2007-06-29 15:12:56 +00:00
Henrik Levkowetz 22d18f5d20 Fix ticket #156. Adding a number of missing image files, and changing all <image src='...'/> tags to use local images.
- Legacy-Id: 761
2007-06-29 14:45:18 +00:00
Henrik Levkowetz 1d7ee35c99 Test cases for #175 and [754]
- Legacy-Id: 757
Note: SVN reference [754] has been migrated to Git commit 36470774d6
2007-06-29 11:56:01 +00:00
Henrik Levkowetz 36470774d6 Fix for #175. The code didn't handle the case of no match on a draft name. (Neither did the legacy code!). Added display of 'no documents found' and also added code to strip '.txt' and draft version number if found, to facilitate the search.
- Legacy-Id: 754
2007-06-29 11:22:15 +00:00
Henrik Levkowetz 57c8c4c87a Removing some of the heaviest test URLs
- Legacy-Id: 745
2007-06-28 13:34:17 +00:00
Henrik Levkowetz cfd445d034 Fixing broken links in /ipr/about/
- Legacy-Id: 735
2007-06-28 07:48:21 +00:00
Henrik Levkowetz 4443ba8f83 Fix pyflakes nit
- Legacy-Id: 724
2007-06-28 00:07:33 +00:00
Henrik Levkowetz d159cae75c Adding a test case for /ipr/update/<num>/
- Legacy-Id: 723
2007-06-28 00:04:49 +00:00
Henrik Levkowetz 24c320f763 Restrict all found IPRs to status 1 and 3. Only show links to, and display details of, IPRs with status 1.
- Legacy-Id: 720
2007-06-27 22:24:24 +00:00
Henrik Levkowetz cd030d3b43 Adding copyright notices to all python files
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00
Bill Fenner 1163bcb2b9 When updating a 3rd-party disclosure, the updater is the ietf participant,
otherwise the updater is the submitter.
 - Legacy-Id: 708
2007-06-27 17:42:35 +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
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 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 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
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 9074e9555c Additional IPR searches: WG search and holder (legal name) search.
- Legacy-Id: 644
2007-06-25 21:03:34 +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 3ba8f23dfe Added IPR search for IPR holder name
- Legacy-Id: 580
2007-06-21 14:56:05 +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 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 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