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
Henrik Levkowetz
876d4c93a4
Removed another explicit url() name which blocked a dotted-path reverse, causing 500 for ipr// urls.
...
- Legacy-Id: 12882
2017-02-19 19:52:56 +00:00
Henrik Levkowetz
aa5e61d958
Updated all urlpatterns to use ietf.utils.urls.url() instead of django's,
...
in order to autogenerate dotted path url pattern names. Updated a number
of url reverses to use dotted path, and removed explicit url pattern names
as needed.
Changed some imports to prevent import of ietf.urls before django
initialization was complete.
Changed 3 cases of form classes being curried to functions; django 1.10
didn't accept that.
Started converting old-style middleware classes to new-style middleware
functions (incomplete).
Tweaked a nomcom decorator to preserve function names and attributes, like
a good decorator should.
Replaced the removed django templatetag 'removetags' with our own version
which uses bleach, and does sanitizing in addition to removing explicitly
mentionied html tags.
Rewrote the filename argument handling in a management command which had
broken with the upgrade.
- Legacy-Id: 12818
2017-02-11 14:43:01 +00:00
Henrik Levkowetz
19d585255a
Django 1.10 does not permit the view argument to url() to be a string any more. Changed all cases view arguments to url() which were strings to instead reference the actual imported function.
...
- Legacy-Id: 12815
2017-02-10 14:49:16 +00:00
Henrik Levkowetz
7dea44e626
Added a change password page, and linked to it from the account profile page and user menu. Added zxcvbn-based browser-side password strength estimation on the various password setting, re-setting, and changing forms. Added a change password test. Changed ietfauth/urls.py to not use the deprecated string form for views in urlpatterns.
...
- Legacy-Id: 12798
2017-02-09 17:03:44 +00:00
Henrik Levkowetz
6c3a4015c5
Tweaked the IPR Details page to show the possible a), b), and c) choices under section 'V' when licensing declaration to be provided later has been chosen.
...
- Legacy-Id: 12793
2017-02-08 18:04:34 +00:00
Henrik Levkowetz
db1cc15f1f
Undid last commit
...
- Legacy-Id: 12792
2017-02-08 18:03:29 +00:00
Henrik Levkowetz
15628c698f
Tweaked the IPR Details page to show the possible a), b), and c) choices under section 'V' when licensing declaration to be provided later has been chosen.
...
- Legacy-Id: 12791
2017-02-08 18:02:03 +00:00
Ole Laursen
9308948195
Add person, affiliation and country (through django-countries) to
...
DocumentAuthor, rename author field to email and make it optional (for
modeling old email-less submissions), remove the authors many to many
referencing field from Document as it is not really pointing the right
place.
Update the Secretariat tools to show affiliation and country.
Add migration for getting rid of the fake email addresses that the
migration script created some years ago (just set the author email
field to null).
- Legacy-Id: 12739
2017-01-26 17:10:08 +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
6eec4c2648
Converted all management commands which set up additional command-line switches to use the argparse approach instead of the deprecated optparse approach.
...
- Legacy-Id: 12645
2017-01-11 18:42:38 +00:00
Henrik Levkowetz
c2541ec04b
Django 1.9: Removed deprecated use of django.conf.urls.patterns() from all urls*.py files.
...
- Legacy-Id: 12618
2016-12-22 17:21:57 +00:00
Henrik Levkowetz
ff9b8a9bdb
Deprecation fixes: Explicitly say that redirects are permanent.
...
- Legacy-Id: 12532
2016-12-15 13:19:51 +00:00
Henrik Levkowetz
8e56935cfd
Undid commit 12527, which contained much too much.
...
- Legacy-Id: 12528
2016-12-15 10:38:54 +00:00
Henrik Levkowetz
e3c6e0ac6b
Changed the state shown in all_id.txt for drafts which have entered IESG processing, but then been replaced, to show as 'Replaced' instead of 'In IESG Processing'. This is consistent with how they are shown in all_id2.txt.
...
- Legacy-Id: 12527
2016-12-15 10:36:15 +00:00
Henrik Levkowetz
19ec458668
Added migrations for the model changes done for the Django 1.8 upgrade.
...
- Legacy-Id: 12478
2016-12-07 19:41:48 +00:00
Henrik Levkowetz
7f772641d4
Change the cache key construction to deal with query arguments containing spaces. Fixes 500 errors which would otherwise occur.
...
- Legacy-Id: 12035
2016-09-25 13:53:22 +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
Henrik Levkowetz
4b0a9360f0
Merged in ^/branch/iola/event-saving-refactor-r10291, which refactors document saving to always use doc.save_with_history(events), and requires accompanying events. This branch also provides refactoring of recurring regexes in url patterns into a dictionary. As part of the merge, also refactored new code which didn't use the save_with_history() method.
...
- Legacy-Id: 11840
2016-08-23 10:52:08 +00:00
Henrik Levkowetz
df28afe72c
Added a migration to go with the model changes in [11668]
...
- Legacy-Id: 11724
Note: SVN reference [11668] has been migrated to Git commit 0d044399e5
2016-07-20 09:24:08 +00:00
Suresh Krishnan
0d044399e5
Fixed validation of submitter name and email when they are same as the holder's info. Fixes issue #1971 . Commit ready for merge.
...
- Legacy-Id: 11668
2016-07-16 12:35:22 +00:00
Henrik Levkowetz
658a5cecbb
Add support for legacy IPR search arguments, for compatibility with old ipr search URLs.
...
- Legacy-Id: 11108
2016-04-07 18:00:08 +00:00
Henrik Levkowetz
eabc7b2c76
Merged in [11070] from housley@vigilsec.com:
...
Only the Secretariat can see the history for parked IPR statements. Fixes #1922 .
- Legacy-Id: 11086
Note: SVN reference [11070] has been migrated to Git commit 570107dbf1
2016-04-03 13:35:45 +00:00
Henrik Levkowetz
6e6a8baa13
Fixed a typo.
...
- Legacy-Id: 10931
2016-03-15 23:15:44 +00:00
Henrik Levkowetz
adb8625635
Introduced caching for the api resources.
...
- Legacy-Id: 10929
2016-03-15 23:12:04 +00:00
Henrik Levkowetz
846a02c3f9
Fixed pyflakes complaints introduced with pyflakes 1.1.0
...
- Legacy-Id: 10896
2016-03-04 21:24:26 +00:00
Henrik Levkowetz
9d0f377242
Merged in [10624] from rcross@amsl.com:
...
Fixes #1873 . ValueError at /ipr/new-specific.
- Legacy-Id: 10651
Note: SVN reference [10624] has been migrated to Git commit 57f3acb69c
2016-01-12 17:34:36 +00:00
Ryan Cross
57f3acb69c
Fixes #1873 . ValueError at /ipr/new-specific. Commit ready for merge
...
- Legacy-Id: 10624
2015-12-22 21:00:28 +00:00
Henrik Levkowetz
cf7d794b09
Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
...
- Legacy-Id: 10418
2015-11-04 07:34:56 +00:00
Ole Laursen
86c3a430d1
Merge in ^/branch/iola/event-saving-refactor-r10076, fixing a few problems
...
- Legacy-Id: 10298
2015-10-27 10:37:06 +00:00
Henrik Levkowetz
9ff8d77798
Merged in [10265] from rcross@amsl.com:
...
Fix IPR notice addresses formatting.
- Legacy-Id: 10276
Note: SVN reference [10265] has been migrated to Git commit 68ce2cd299
2015-10-23 19:32:44 +00:00
Henrik Levkowetz
f1a08564d1
Added a new machine-readable list of IPR declarations per draft, which also searches through related documents. Extended make_test_data() with a replaced document for the test draft.
...
- Legacy-Id: 10272
2015-10-23 16:34:44 +00:00
Ryan Cross
68ce2cd299
Fix IPR notice addresses formatting. Commit ready for merge
...
- Legacy-Id: 10265
2015-10-22 18:37:57 +00:00
Henrik Levkowetz
bd4cf3319a
Merged in [10111] from olau@iola.dk:
...
This fixes Javascript widgets working with DocAliases, such as the
replaces field in draft submission, to work better with Javascript
disabled. It also makes sense from a modelling perspective as the name
really is a unique key for the alias.
The actual transformation requires a series of migrations taking a
couple of minutes to complete. The actual switch to the key is done at
the end.
- Legacy-Id: 10251
Note: SVN reference [10111] has been migrated to Git commit 8bca1b4b33
2015-10-19 20:06:13 +00:00
Robert Sparks
f0f5a51eb6
(Rocky) merge forward.
...
- Legacy-Id: 10157
2015-10-09 03:16:24 +00:00
Henrik Levkowetz
1a519f26ed
In [10079], the inline template was inadvertently changed from unicode to ascii, which breaks a number of pages. Fixed this.
...
- Legacy-Id: 10119
Note: SVN reference [10079] has been migrated to Git commit 104878a622
2015-10-01 20:51:26 +00:00
Ole Laursen
8bca1b4b33
Summary: Make name the primary key for DocAlias.
...
This fixes Javascript widgets working with DocAliases, such as the
replaces field in draft submission, to work better with Javascript
disabled. It also makes sense from a modelling perspective as the name
really is a unique key for the alias.
The actual transformation requires a series of migrations taking a
couple of minutes to complete. The actual switch to the key is done at
the end.
Branch ready for merge.
- Legacy-Id: 10111
2015-09-30 13:47:33 +00:00
Ole Laursen
fd87b22030
Summary: Fix missing u in front of a format string (causes Unicode woes)
...
- Legacy-Id: 10104
2015-09-29 08:51:42 +00:00
Robert Sparks
f5b6465e81
mailtoken becomes mailtrigger
...
- Legacy-Id: 10090
2015-09-17 20:03:45 +00:00
Henrik Levkowetz
2486d70ab6
Merged in [10079] from rcross@amsl.com:
...
Fix message formatting in IPR event history.
- Legacy-Id: 10087
Note: SVN reference [10079] has been migrated to Git commit 104878a622
2015-09-17 18:10:06 +00:00
Henrik Levkowetz
9e30b410c1
Merged in [10078] from rcross@amsl.com:
...
Resolved issue where partially entered IPR related document info causes 500 error.
- Legacy-Id: 10086
Note: SVN reference [10078] has been migrated to Git commit 6c0f4b3b4d
2015-09-17 17:53:04 +00:00
Ryan Cross
104878a622
Fix message formatting in IPR event history. Commit ready for merge
...
- Legacy-Id: 10079
2015-09-14 23:26:15 +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
Robert Sparks
90c3426e2f
updated mailtoken utilities to match the model refactor. Morphed all the code using the utilities to match. Added paths to get Cc through as needed. Next up: Recipient selection form for the iesg save-and-send-email workflow
...
- Legacy-Id: 10040
2015-08-23 18:15:06 +00:00
Robert Sparks
8a74604a1b
Done with the second pass focusing on test coverage. Lots of test tweaks, some new tests, a couple of bugs fixed. The session request code views need to be redone to allow testing.
...
- Legacy-Id: 10035
2015-08-21 16:39:00 +00:00
Robert Sparks
5db9e0d6a8
checkpoint
...
- Legacy-Id: 10029
2015-08-19 19:53:09 +00:00
Robert Sparks
093ff52eac
Small things before second run at reworking IPR addressing
...
- Legacy-Id: 10028
2015-08-18 20:47:35 +00:00
Robert Sparks
23a2ada5f9
checkpoint
...
- Legacy-Id: 10027
2015-08-18 18:52:22 +00:00
Henrik Levkowetz
2fe8dcb4c2
Added a very simple html version of the json API, to make it easier to explore the api manually.
...
- Legacy-Id: 9991
2015-08-09 16:28:55 +00:00
Henrik Levkowetz
4966e17158
Added 5 migrations for changes in model field help-text strings which changed in the facelift. Also fixed the expression of the help text for NomCom.reminder_interval so the text itself doesn't contain quite as much whitespace.
...
- Legacy-Id: 9589
2015-04-30 16:18:25 +00:00
Henrik Levkowetz
2c4785adf6
Updated an IPR test to account for facelift changes.
...
- Legacy-Id: 9362
2015-04-02 19:50:00 +00:00
Henrik Levkowetz
625347cd2f
Merged trunk@9354 to facelift copy
...
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Henrik Levkowetz
2f54511763
Changed all explicitly set HttpResponse content_types to specify charset.
...
Django sets charset if you don't specify a content_type; if you specify
one you also must add a charset specification (if you want one).
Fixes issue #1647 .
- Legacy-Id: 9348
2015-03-26 21:35:21 +00:00
Ryan Cross
415d0ad7c7
Fixes Ticket #1626 . Cleanup legacy IPR models. Commit ready for merge.
...
- Legacy-Id: 9330
2015-03-25 16:17:45 +00:00
Robert Sparks
c307b1f734
Avoid creating blank line before headers on IPR notification email. Fixes #1609 . Commit ready for merge.
...
- Legacy-Id: 9142
2015-03-02 20:38:55 +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
Henrik Levkowetz
7bb3744113
Merged in [8903] from rcross@amsl.com:
...
Fix logging problem in IPR mail handling.
- Legacy-Id: 8973
Note: SVN reference [8903] has been migrated to Git commit 5a0e381985
2015-02-04 21:58:40 +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
336cc1bd14
Summary: Fix two failing IPR tests
...
- Legacy-Id: 8927
2015-01-27 16:28:02 +00:00
Ole Laursen
7e736e06ff
Summary: Port remaining IPR list pages obviating the need for ipr.css, fix some layout issues
...
- Legacy-Id: 8926
2015-01-27 16:11:55 +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
Ryan Cross
5a0e381985
Fix logging problem in IPR mail handling. Commit ready for merge.
...
- Legacy-Id: 8903
2015-01-23 21:00:13 +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
Ryan Cross
8130d244d8
Fixes #1569 . Fixes link to IPR search from doc page. Commit ready for merge.
...
- Legacy-Id: 8841
2015-01-05 23:48:48 +00:00
Henrik Levkowetz
43dbe3bfd1
Fix django 1.7 deprecation warnings: Always set fields= or exclude= in Meta for ModelForm subclasses.
...
- Legacy-Id: 8828
2014-12-22 17:46:29 +00:00
Henrik Levkowetz
25eb00c925
New django-1.7 initial migrations. Circular references exist, requiring explicit --fake migration for doc, dbtemplate and community apps.
...
- Legacy-Id: 8823
2014-12-22 17:07:38 +00:00
Henrik Levkowetz
dd15785936
Removing south migrations as part of the django 1.7 changeover to builtin migrations.
...
- Legacy-Id: 8820
2014-12-22 16:44:35 +00:00