Commit graph

80 commits

Author SHA1 Message Date
Henrik Levkowetz 233aef46d5 Comment out NewIprTestCase as it writes to the production database.
- Legacy-Id: 4301
2012-04-22 16:33:44 +00:00
Ole Laursen d8c6b6bd8e Turn id field into an AutoField (by relying on the implicit primary
key definition in Django)
 - Legacy-Id: 4021
2012-03-02 13:14:42 +00:00
Ole Laursen dbf5e6ab84 Remove a bunch of old admin files, fix a couple of issues with the new ones, add admin for meeting
- Legacy-Id: 3995
2012-02-28 17:29:52 +00:00
Ole Laursen 99386413af Change TYPE_CHOICES to be integers to match the actual model type
- Legacy-Id: 3890
2012-02-01 19:14:45 +00:00
Ole Laursen 13aed82a0e More import path fixes from Henrik
- Legacy-Id: 3877
2012-01-30 19:05:27 +00:00
Ole Laursen 980d4e6444 Move new schema models from redesign/ to ietf/
- Legacy-Id: 3855
2012-01-24 17:17:24 +00:00
Ole Laursen 5e39ea2e63 Fix bug with IPR search select box
- Legacy-Id: 3826
2012-01-19 13:20:45 +00:00
Ole Laursen 612c6db6cd Fix bug in SELECT_CHOICES relying on Django not actually converting the database data to integers
- Legacy-Id: 3787
2011-12-23 16:47:38 +00:00
Ole Laursen 0dabaf96fb Split database into current and legacy, adding importer to copy reused
tables from legacy to new through Django (with minimal cleaning to
have the import go through) and removing migrations from submit and
liaisons as they interfere with the clean slate of the new database,
adjusting IPR model to add null=True on fields with nulls in the
database
 - Legacy-Id: 3778
2011-12-22 18:34:19 +00:00
Ole Laursen ca2168cbce Fix bug in test
- Legacy-Id: 3695
2011-11-24 10:50:34 +00:00
Ole Laursen ce74be89ef Use the test mode in the mail code when running automated tests instead of
reinventing the wheel in test_runner
 - Legacy-Id: 3620
2011-11-15 11:24:33 +00:00
Ole Laursen 217dbeb3dc Fix bug __unicode__ on IprDocAlias (spotted by Ryan Cross)
- Legacy-Id: 3613
2011-11-14 17:32:39 +00:00
Ole Laursen 67e317d535 Merged in changes from conversion branch fixing a couple of problems
- Legacy-Id: 3285
2011-08-04 15:09:54 +00:00
Henrik Levkowetz 818499b494 Fix a bug where the wrong text was shown for IPR declarations which specified that licensing terms would be announced later (option d).
- Legacy-Id: 3265
2011-07-27 16:44:10 +00:00
Henrik Levkowetz 9766ab39e5 Some IPR admin tweaks. Provide a __unicode__ method and show a contact even if multiple have been set for an IPR declaration.
- Legacy-Id: 3197
2011-07-23 12:01:36 +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 0ccff982bb Merged [2948] from bmheight@gmail.com:
Addresses issue #628, using reverse() and the newly created helper function 
reverse_lazy()  (found in ietf/utils/lazy.py) to DRY out the code a bit by 
decoupling the urls from being hardcoded.

With this commit idrfc, and ipr modules have been modified to take advantage 
of the reverse() and reverse_lazy() functions.
 - Legacy-Id: 2956
Note: SVN reference [2948] has been migrated to Git commit 9399a2e0e8bbfe5c5a16781fd784776cfa31fbac
2011-03-26 14:36:10 +00:00
Henrik Levkowetz 6571b50aae Only try to open a legacy url if it leads to a file; not if it leads to a directory.
- Legacy-Id: 2770
2011-01-28 09:52:14 +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 1c2bcbf356 Merged r736 from branch/2.00 to trunk
- Legacy-Id: 737
2007-06-28 08:13:09 +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
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 6d46a27d6b More testurls and one more IPR redirect
- Legacy-Id: 434
2007-06-16 16:05:46 +00:00
Henrik Levkowetz 855e4b0398 Updated IPR test URLs
- Legacy-Id: 422
2007-06-15 19:49:15 +00:00
Henrik Levkowetz 6a2c3ab85f Added IPR search by RFC number.
- Legacy-Id: 400
2007-06-15 11:52:26 +00:00
Henrik Levkowetz 1a9fa6fda6 Fixing accidental breakage of /ipr/ list
- Legacy-Id: 393
2007-06-15 00:05:54 +00:00
Henrik Levkowetz c8c15b7809 Search support for search-by-draft-name and for presenting the final search result. Also test URLS for the new pages.
- Legacy-Id: 392
2007-06-14 23:49:55 +00:00
Henrik Levkowetz d17dc96f3c Backing out the previous change so I can commit it with proper comments...(2)
- Legacy-Id: 388
2007-06-14 23:44:30 +00:00