Commit graph

14 commits

Author SHA1 Message Date
Ole Laursen 980d4e6444 Move new schema models from redesign/ to ietf/
- Legacy-Id: 3855
2012-01-24 17:17:24 +00:00
Ole Laursen 03bed41630 Merged in changes from the conversion branch
- Legacy-Id: 3187
2011-06-28 18:20:20 +00:00
Henrik Levkowetz 266b7820d0 Merged from log:branch/2.00@2363: Current release branch head to trunk.
- Legacy-Id: 2365
2010-07-21 12:48:05 +00:00
Henrik Levkowetz fa77ac30d5 Merged r840 from branch/2.00 to trunk, and updated version information in ietf/__init__.py
- Legacy-Id: 841
2007-07-04 21:17:57 +00:00
Henrik Levkowetz 4443ba8f83 Fix pyflakes nit
- Legacy-Id: 724
2007-06-28 00:07:33 +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
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
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 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
Renamed from ietf/ipr/view_new.py (Browse further)