Commit graph

52 commits

Author SHA1 Message Date
Jennifer Richards 32057f335a
feat: allow blanket IPR disclosures (#7934)
* refactor: avoid shadowing type()

* style: Black

* feat: is_blanket_disclosure field

* feat: add field to form

* feat: js to mark field required/not required

* feat: blanket disclosure = royalty-free license

* feat: manage licensing radio buttons

* fix: adjust wording/format of disclosure page

* fix: point at RFC 8179 in checkbox label

* test: test blanket disclosure licensing restrictions

* fix: conditionally render is_blanket_disclosure

* test: refactor test case

* test: patent details optional for blanket ipr
2024-09-18 16:37:02 -05:00
Jennifer Richards 00d6143293
fix: guard against missing ipr revisions (#7826)
* fix: guard against missing "revisions"

* test: add tests for DraftForm

Only testing the part relevant to this issue.

* test: clarify intentions

* chore: "document" -> "draft" in comments
2024-08-14 11:43:21 -05:00
Jennifer Richards e3ba021e1d
feat: Teach ajax_select2_search about subseries (#6709)
* feat: Teach ajax_select2_search about subseries

* refactor: "draft,rfc" -> "all" in a missed spot
2023-11-30 11:22:32 -04:00
Robert Sparks 2137dd8491
fix: teach ajax_select2_search_docs about rfcs (#6679) 2023-11-21 15:33:44 -06:00
Robert Sparks ab931f0510
chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
Robert Sparks a97f306555
fix: improve handling malformed new specific ipr submissions (#6420) 2023-10-04 16:41:24 -05:00
Robert Sparks f9c9644263
chore: merge main and fix conflicts 2023-08-30 16:35:20 -05:00
Robert Sparks 53be2c3793
feat: require draft revisions in ipr disclosures. Explain missing ones. (#6160)
* feat: require draft revisions in ipr disclosures. Explain missing ones.

* chore: update copyrights

* chore: address review comments

* fix: draft should be Internet-Draft

* test: cover single revision case
2023-08-18 07:47:12 -05:00
Robert Sparks 4946430159
chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
Lars Eggert f8b48f4c43
fix: use Internet-Draft more consistently across the UI (#5104)
* s/Internet Draft/Internet-Draft/i

* s/draft/Internet-Draft/i or s/draft/I-D/i

* s/ID/I-D/

* Fix tests

* a -> an

* Undo case-change to ASCII

* Address code review comments

* Add migrations

* Add merged migration

* fix: straighten out migrations

* fix: finish straightening out migrations

---------

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2023-02-11 10:09:28 -06:00
Lars Eggert c68446ae93 More select2 and test fixes.
- Legacy-Id: 19781
2021-12-14 18:19:12 +00:00
Robert Sparks 550c1233fe Change ipr pages to say General rather than Generic, and to change the text to note email submissions are not accepted. Fixes #3209. Commit ready for merge.
- Legacy-Id: 18886
2021-03-03 20:15:57 +00:00
Robert Sparks a6e614d8ad Increase length-limit on the notes field of the Generic IPR disclosure form. Additional fix for #3104. Commit ready for merge.
- Legacy-Id: 18622
2020-10-19 17:56:26 +00:00
Robert Sparks 02718dc447 Increase length-limit on the notes field of the base IPR disclosure form. Fixes #3104. Commit ready for merge.
- Legacy-Id: 18620
2020-10-19 14:55:43 +00:00
Henrik Levkowetz 02bb72d585 Merged in [18425] from olau@iola.dk:
Make the IPR search form initialize the state field upon form
initialization instead of evaluating the queryset upon importing the
module. This is probably never a problem in practice in this case in
the live environment, but it's a confusing practice, and when running
the tests sometimes a bug seems to throw Django off and the error is
then shadowed by Django crashing when trying to access the
(non-existing) database.
 - Legacy-Id: 18454
Note: SVN reference [18425] has been migrated to Git commit 0aa0f7d4e2
2020-09-01 10:30:55 +00:00
Henrik Levkowetz f10ddadc0e Merged in changes from trunk up to r17584.
- Legacy-Id: 17593
2020-04-07 16:02:52 +00:00
Henrik Levkowetz 5ec243e14f Changed the IPR patent number regex to permit space between country code and serial number, and expanded on the help text for the IPR patent number field.
- Legacy-Id: 17573
2020-04-01 16:50:01 +00:00
Henrik Levkowetz 726fcbf27d Removed all __future__ imports.
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz 5d2a22e052 Added textual information about patent aplication formats according, as input to future extension of the regex set.
- Legacy-Id: 16641
2019-08-10 16:42:10 +00:00
Henrik Levkowetz 8f53f44953 Added some new formats to the regex validator for patent numbers and patent application numbers. This is still not comprehensive.
- Legacy-Id: 16638
2019-08-09 20:10:06 +00:00
Henrik Levkowetz e03784132d Merged changes from current trunk to Py3 branch.
- Legacy-Id: 16468
2019-07-16 15:36:16 +00:00
Henrik Levkowetz 831fb18f8a Python2/3 compatibility: Added force_str or force_bytes in some places, to ensure the argument right type
- Legacy-Id: 16450
2019-07-15 15:49:35 +00:00
Henrik Levkowetz b7690fbdcd Changed additional regexes to r strings.
- Legacy-Id: 16377
2019-07-04 15:54:23 +00:00
Henrik Levkowetz 8fd2fe4bf8 Corrected a copyright year
- Legacy-Id: 16307
2019-06-26 15:30:05 +00:00
Henrik Levkowetz 41e9299949 Changed permitted length of patent_title from 127 to 255
- Legacy-Id: 16306
2019-06-26 15:28:43 +00:00
Henrik Levkowetz 2c290ce663 Merged in [16022] from rcross@amsl.com:
Modify IPR Patent number regex to allow Italian format, XX[15 digits]. Fixes #2694.
 - Legacy-Id: 16023
Note: SVN reference [16022] has been migrated to Git commit c3688872fd
2019-03-13 14:31:25 +00:00
Ryan Cross c3688872fd Modify IPR Patent number regex to allow Italian format, XX[15 digits]. Fixes #2694. Commit ready for merge
- Legacy-Id: 16022
2019-03-12 21:52:20 +00:00
Henrik Levkowetz 35deea3391 Added support for kind codes as part of patent numbers.
- Legacy-Id: 15285
2018-07-05 17:22:48 +00:00
Henrik Levkowetz bc18be21a7 Increased the length of the patent title in IPR forms
- Legacy-Id: 15062
2018-04-21 17:42:06 +00:00
Henrik Levkowetz f9cdaee9c0 Increased the size of the patent_notes form field, and tweaked the validate_patent_number validator to accept US application numbers containing a series number and forward slash.
- Legacy-Id: 15059
2018-04-20 12:30:07 +00:00
Henrik Levkowetz 534b8898e9 The IPR disclosure form field for statement is too small to hold some of the existing statements. Incresed from 255 to 2000.
- Legacy-Id: 14637
2018-02-10 22:35:58 +00:00
Henrik Levkowetz 717868cae2 Rewrote text_to_dict() and dict_to_text() to support unicode without RFC2822 encoding issues. Added initial values in IPR update forms, from the original disclosure, in order to make updates easier. Addresses issue #2413.
- Legacy-Id: 14531
2018-01-17 00:21:34 +00:00
Henrik Levkowetz 5a1f3eaf36 Changed the patent information text fields to individual fields for patent number, inventor, title, date and notes, with validation. Fixes issue #2411.
- Legacy-Id: 14499
2018-01-10 14:22:10 +00:00
Henrik Levkowetz 6de7be6953 Specified strip=False for another bunch of CharField form fields with Textarea widgets.
- Legacy-Id: 12711
2017-01-23 17:38:56 +00:00
Henrik Levkowetz ec684e1b4e Added a pylint rc-file, and fixed or silenced a number of issues found by pylint using the settings .pylintrc (which enable only error checking).
- Legacy-Id: 11941
2016-09-08 14:48:59 +00:00
Ryan Cross 6c0f4b3b4d Resolved issue where partially entered IPR related document info causes 500 error. Commit ready for merge.
- Legacy-Id: 10078
2015-09-14 21:22:53 +00:00
Ole Laursen a225fd5069 Make new branch from trunk and merge facelift-r9007 into it, fixing a few merge conflicts
- Legacy-Id: 9072
2015-02-12 10:43:52 +00:00
Henrik Levkowetz 7ecfac6308 Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
- Legacy-Id: 9028
2015-02-08 21:16:44 +00:00
Henrik Levkowetz 028b7e315a Reverted to [9025] because commit [9026] failed (it was incomplete with a broken working dir).
- Legacy-Id: 9027
Note: SVN reference [9026] has been migrated to Git commit 4a3749a66b
2015-02-08 20:03:16 +00:00
Henrik Levkowetz 4a3749a66b Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
- Legacy-Id: 9026
2015-02-08 19:16:46 +00:00
Ole Laursen eccd8d27c4 Make new branch from trunk (r9007) and merge facelift-r8876 into it, fixing a few merge conflicts
- Legacy-Id: 9014
2015-02-06 14:08:34 +00:00
Ole Laursen 4087a9837f End help_texts with period consistently - the default error rendering in the bootstrap3 library depends on it
- Legacy-Id: 8940
2015-01-28 13:25:21 +00:00
Ole Laursen b675c06b44 Summary: Facelift IPR details and history pages, and fix a couple of IPR glitches
- Legacy-Id: 8920
2015-01-26 16:34:25 +00:00
Ole Laursen 86b97c7573 Summary: Facelift IPR add comment page
- Legacy-Id: 8915
2015-01-26 11:37:14 +00:00
Ole Laursen 34dae91ab2 Summary: Facelift IPR change state page
- Legacy-Id: 8911
2015-01-26 11:11:03 +00:00
Ole Laursen 2ac96942b3 Summary: Port the remaining JS parts of IPR tool, still missing some
templates though
 - Legacy-Id: 8901
2015-01-23 17:09:53 +00:00
Ole Laursen 1124d6d018 Summary: Port the remaining parts of the IPR form to Bootstrap, and fix
some bugs in the port
 - Legacy-Id: 8900
2015-01-23 16:47:22 +00:00
Ole Laursen d0999c8b5e Merge facelift-r8510 branch with trunk. The IPR tool still has some non-facelifted parts and ideosyncracies. Fix a couple of minor bugs (including infamous empty licensing choice) in the IPR code, and port the IPR views to use the render shortcut.
- Legacy-Id: 8896
2015-01-22 17:38:05 +00:00
Henrik Levkowetz af8cd51409 Merged in [8845] from rcross@amsl.com:\n allow editing of legacy disclosures which don't have required fields (set required=False).
- Legacy-Id: 8877
Note: SVN reference [8845] has been migrated to Git commit c957f3383b
2015-01-21 18:44:33 +00:00
Ryan Cross c957f3383b allow editing of legacy disclosures which don't have required fields (set required=False). Commit ready for merge.
- Legacy-Id: 8845
2015-01-06 23:32:23 +00:00