Jennifer Richards
17d37723f7
Consolidate repeated searchable field code into SearchableField class. Fix single-valued searchable fields. Make javascript test config reusable. Use Django Form.media for JS/CSS inclusion. Fixes #3196 , #3204 . Commit ready for merge.
...
- Legacy-Id: 18939
2021-04-09 15:18:11 +00:00
Robert Sparks
b16703160d
Merged in [18886] from rjsparks@nostrum.com:
...
Change ipr pages to say General rather than Generic, and to change the text to note email submissions are not accepted. Fixes #3209 .
- Legacy-Id: 18888
Note: SVN reference [18886] has been migrated to Git commit 550c1233fe
2021-03-03 20:49:11 +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
8bf32fc890
Adjust several searchable fields to match a changed interface in select2-field.js
...
- Legacy-Id: 18867
2021-02-26 16:23:04 +00:00
Robert Sparks
3697180cc1
Reverted merge of timezone-aware migration efforts.
...
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz
774e752a54
Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
...
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Henrik Levkowetz
088033d843
Added matching indexes to a number of models with ordering by multiple keys.
...
- Legacy-Id: 18664
2020-11-09 19:41:12 +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
465063d0ec
Made a template filter more robust when given unexpected input.
...
- Legacy-Id: 18417
2020-08-26 14:55:28 +00:00
Henrik Levkowetz
0c4d58a9f7
Based on feedback from the Secretariat, changed the 404 for IPR declarations in other states than 'posted' to a 403 with a login link.
...
- Legacy-Id: 18333
2020-07-31 12:36:50 +00:00
Henrik Levkowetz
bc05e7a8d0
Refactored many instances of msg.get_payload(decode=True).decode('utf-8') and similar to get_payload_text(msg), which uses msg.get_charset() to get the actual charset to do the decoding, in a consistent manner. Also removed some instances of force_str, but more remain.
...
- Legacy-Id: 17807
2020-05-16 20:20:05 +00:00
Henrik Levkowetz
9aeda11a29
Removed some Py2 compatibility decorators.
...
- Legacy-Id: 17673
2020-04-21 13:54:31 +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
ab173cb2eb
Removed further six usage: six.string_types, six.integer_types, six.moves.urllib instances.
...
- Legacy-Id: 17390
2020-03-05 20:46:58 +00:00
Henrik Levkowetz
e9a37d8ac8
Removed six.text_type(), changed six.moves.urllib to plain urllib, and removed now unused six imports.
...
- Legacy-Id: 17385
2020-03-05 14:41:41 +00:00
Henrik Levkowetz
fa4adeb374
Fixed a number of bad Message.content_type settings.
...
- Legacy-Id: 17339
2020-02-26 17:05:53 +00:00
Jennifer Richards
b02b42da81
Create DocEvent when related IprDisclosure is posted or removed. Fixes #2811 . Commit ready for merge.
...
- Legacy-Id: 17284
2020-02-07 20:41:13 +00:00
Henrik Levkowetz
b7724c43d7
Changed some # type: ignore statements to work with the latest mypy
...
- Legacy-Id: 16968
2019-11-05 22:41:18 +00:00
Henrik Levkowetz
a4e49d8ec0
Merged in [16853] from rjsparks@nostrum.com:
...
Add submitted and posted dates to several ipr notification email messages. Fixes #2807 .
- Legacy-Id: 16899
Note: SVN reference [16853] has been migrated to Git commit f39d1568f0c4a8f4b1ebd3dee887fff6b3d8049b
2019-10-22 12:23:07 +00:00
Henrik Levkowetz
33e8733b91
Fixed up mypy issues or added type:ignore comments as needed for a clean mypy run.
...
- Legacy-Id: 16772
2019-09-30 15:42:18 +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
8e313e4ed5
Adjusted migrations for Python2/3 compatibility.
...
- Legacy-Id: 16633
2019-08-08 17:11:14 +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
bdc73e771a
Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
...
- Legacy-Id: 16461
2019-07-16 13:20:05 +00:00
Henrik Levkowetz
8c6eb3a30a
Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
...
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz
ea8c84d2f6
Python2/3 compatibility: used @python_2_unicode_compatible to provide __unicode__() versions of __str__() methods.
...
- Legacy-Id: 16455
2019-07-15 18:01:26 +00:00
Henrik Levkowetz
99a7f9c263
Python2/3 compatibility: Added force_str or force_bytes in some places, to ensure the argument right type
...
- Legacy-Id: 16453
2019-07-15 17:13:46 +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
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
8a8138eb18
Added a debug import.
...
- Legacy-Id: 16434
2019-07-08 18:14:40 +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
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
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