Henrik Levkowetz
2d7c9629aa
Added 'from __future__' imports all over the place, to bring code behaviour into closer alignment between python2 and python3
...
- Legacy-Id: 16446
2019-07-15 15:40:51 +00:00
Henrik Levkowetz
9d5641da64
Removed unnecessary asserts on r.status_code; this will be checked by assertContains().
...
- Legacy-Id: 16416
2019-07-07 12:58:01 +00:00
Henrik Levkowetz
ec571401fe
Fixed a base64 bytes/str issue.
...
- Legacy-Id: 16415
2019-07-07 12:51:58 +00:00
Henrik Levkowetz
0679eaa8d4
Removed unused imports.
...
- Legacy-Id: 16402
2019-07-04 21:06:57 +00:00
Henrik Levkowetz
f480799af9
Undid unintentional bulk commit
...
- Legacy-Id: 16401
2019-07-04 21:04:46 +00:00
Henrik Levkowetz
fc09a59950
Added decode() of command pipe output.
...
- Legacy-Id: 16400
2019-07-04 21:01:39 +00:00
Henrik Levkowetz
81fa6dc962
Fixed some issues with bulk changes related to assertContains()
...
- Legacy-Id: 16379
2019-07-04 16:04:39 +00:00
Henrik Levkowetz
b7690fbdcd
Changed additional regexes to r strings.
...
- Legacy-Id: 16377
2019-07-04 15:54:23 +00:00
Henrik Levkowetz
97a555936d
Changed a large number of test assertions to use assertContains() and removed separate, now unnecessary,status_code checks. Also changed many assertTrue(... in ...) to use assertIn().
...
- Legacy-Id: 16346
2019-06-30 21:03:34 +00:00
Henrik Levkowetz
15e74e89cb
Converted instances of assertTrue(text in response.content) to the recommended assertContains(response, text), and similar for assertFalse(... in ...)
...
- Legacy-Id: 16336
2019-06-29 13:43:31 +00:00
Henrik Levkowetz
484dcece5f
Changed all model __unicode__() methods to __str__()
...
- Legacy-Id: 16330
2019-06-28 21:07:08 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
db12f2b948
Fixed some name versus pk issues lingering after the Document/DocAlias primary key refactoring. Fixes issue #2729 .
...
- Legacy-Id: 16288
2019-06-19 12:57:52 +00:00
Henrik Levkowetz
7270d5f67a
Added the option to order API resource lists by primary key, for stable ordering when paging through a list.
...
- Legacy-Id: 16284
2019-06-18 12:40:19 +00:00
Henrik Levkowetz
426870b766
Merged in the Document and DocAlias primary key change and m2m work in ^/personal/henrik/6.96.1-docalias.
...
- Legacy-Id: 16261
2019-06-15 12:00:48 +00:00
Henrik Levkowetz
a2cafded25
Changed DocAlias to be many-to-many, in order to be able to handle STD aliases referring to multiple RFCs.
...
- Legacy-Id: 16249
2019-06-14 20:38:14 +00:00
Henrik Levkowetz
815602351f
This is a series of 50 migrations that changes the Document and DocAlias
...
primary keys from character strings to integers, and makes corresponding code
changes.
This was prompted by database limitations discovered when trying to make
DocAlias use a m2m document field; with 255 long strings as primary keys for
Document and DocAlias this violated the MySQL database limitations.
Changing the primary keys to integers should also improve efficiency.
Due to the data migrations which create the new integer primary keys and adds
corresponding integer foreign keys matching the previous string foreign keys
in all tables having foreign keys to Document and DocAlias, some of these
migrations take a long time. The total set of migrations are expected to have
a runtime on the order of 2 hours.
- Legacy-Id: 16237
2019-06-10 11:32:46 +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
f6461d531c
Added html escaping of initial text-area content in a view function to avoid mangling.
...
- Legacy-Id: 15989
2019-03-04 20:10:16 +00:00
Robert Sparks
775addc616
Use factories for ipr tests. Commit ready for merge.
...
- Legacy-Id: 15492
2018-09-28 23:16:46 +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
b1b8f43ee6
Tweaked the IPR factory to be less likely to produce invalid patent info.
...
- Legacy-Id: 15085
2018-04-25 21:01:12 +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
ea7728b501
Changed calls to .related_that*() and .relations_that*() to use tuples rather than lists (a slight optimization).
...
- Legacy-Id: 15029
2018-04-07 10:47:16 +00:00
Henrik Levkowetz
5446ae642a
Changed the signature of some document methods to not accept lists (but still accept tuples) in order to make caching possible. Added @memoize to some methods.
...
- Legacy-Id: 15024
2018-04-06 21:25:56 +00:00
Robert Sparks
ce8f73fd9c
Factories for the ipr app. Coverage of ietf.ipr.views.ajax_search, and a factory-driven test of ietf.ipr.views.edit. Commit ready for merge.
...
- Legacy-Id: 14970
2018-03-29 15:29:55 +00:00
Henrik Levkowetz
9547646f81
Added a test for IPR edit.
...
- Legacy-Id: 14951
2018-03-27 17:55:11 +00:00
Henrik Levkowetz
e830f0f976
Fill in the IPR edit form, section V, with patent information derived from the patent_info field, the same way we do for the IPR update form.
...
- Legacy-Id: 14950
2018-03-27 10:40:59 +00:00
Henrik Levkowetz
27914a0a90
Limited the lenght of the ipr document summary to 128, in order to not produce overlong message subjects. Fixes a server 500 from 5 Mar 2018.
...
- Legacy-Id: 14737
2018-03-06 12:22:03 +00:00
Henrik Levkowetz
6e1d4d45d8
Added some missing migrations
...
- Legacy-Id: 14697
2018-02-25 20:08:37 +00:00
Henrik Levkowetz
1ed8e967e7
Merged in ^/personal/henrik/6.72.1-django-1.11@14676: Upgrade to Django 1.11
...
- Legacy-Id: 14695
2018-02-25 19:55:16 +00:00
Henrik Levkowetz
dc90fa3940
Changed user.is_authenticated and .is_anonymous from method calls to attribute access.
...
- Legacy-Id: 14668
2018-02-22 00:03:30 +00:00
Henrik Levkowetz
a4768bb514
Removed unused imports. Added some explicit orderings to avoid pagination issues.
...
- Legacy-Id: 14664
2018-02-21 23:54:31 +00:00
Henrik Levkowetz
06362ec046
Got rid of old migrations and created new initial migrations.
...
- Legacy-Id: 14662
2018-02-21 23:46:22 +00:00
Henrik Levkowetz
5638cf3da3
Changed all usage of ForeignKey and OneToOneFiled in model.py files to the compatibility versions from ietf.utils.models.
...
- Legacy-Id: 14661
2018-02-20 15:36:05 +00:00
Henrik Levkowetz
d07411c62f
Fixed an issue which could arise when updating IPR declarations with no value for patent_info.
...
- Legacy-Id: 14638
2018-02-10 22:37:16 +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
46472401ad
Changed the IPR disclosure page for IPR disclosure updates to show both the previous and current disclosure details side-by-side. Fixes issue #2414 .
...
- Legacy-Id: 14581
2018-01-27 21:34:52 +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
d7e1d258e5
Added a new section for IPR disclosures on related documents to the IPR document search result page. Fixes issue #2412 .
...
- Legacy-Id: 14514
2018-01-11 18:03:29 +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
f8581f7fc7
Merged in [14062] from housley@vigilsec.com:
...
Show which RFC was in force when the IPR disclosure was submitted. Fixes #2309 .
- Legacy-Id: 14070
Note: SVN reference [14062] has been migrated to Git commit 6d616855bc
2017-08-24 09:41:37 +00:00
Russ Housley
6d616855bc
Show which RFC was in force when the IPR disclosure was submitted. Fixes #2309 .
...
- Legacy-Id: 14062
2017-08-21 14:30:20 +00:00
Henrik Levkowetz
4dad8cdf9a
Added a test to check for missing admin models, and added the admin models that were currently missing.
...
- Legacy-Id: 14021
2017-08-01 14:00:29 +00:00
Ole Laursen
5b677dc6ba
Merge author stats branch into new branch from trunk
...
- Legacy-Id: 13159
2017-03-28 14:36:40 +00:00
Henrik Levkowetz
d2c2d80341
Merged in [13112] from lars@netapp.com:
...
Fix various \'RemovedInDjango20Warning\' warnings.
- Legacy-Id: 13141
Note: SVN reference [13112] has been migrated to Git commit 8a70e9773d
2017-03-26 22:06:47 +00:00
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz
5f053ad21a
Cleaned up the remaining explicit url names, using dotted-paths to view
...
functions instead. In all almost 700 changes.
- Legacy-Id: 12923
2017-02-26 23:21:49 +00:00