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
f481f5c3e6
Replaced use of six with the equivalent pure python3 constructs.
...
- Legacy-Id: 16428
2019-07-08 10:43:47 +00:00
Henrik Levkowetz
b7690fbdcd
Changed additional regexes to r strings.
...
- Legacy-Id: 16377
2019-07-04 15:54:23 +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
a62e9964a5
Added a recursive object to JSON serializer and a view which will let any logged-in user download a JSON serialized copy of the datatracker information related to his person record. Added information about this, and a link, to the account page. Related to issue #2501 .
...
- Legacy-Id: 15206
2018-06-04 13:06:47 +00:00
Henrik Levkowetz
526003fd26
Added a brief REST API info page. In preparation for signing http notifications using RFC 7515, added information about API signing public/private keypair. Refactored api views to reside in api/views.py. Added jwcrypto to requirements.
...
- Legacy-Id: 14294
2017-11-03 16:17:00 +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
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +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
7b95411f58
The context_instance parameter to render_to_response() and render_to_string() is now deprecated. Fixed this, and generally changed the idiom render_to_response('template.html', {}, RequestContext(request)) to the newer and simpler render(request, 'template.html', {}). About 200 instances.
...
- Legacy-Id: 12637
2017-01-09 21:26:30 +00:00
Henrik Levkowetz
8e9858379b
Fixed some pyflakes and form initialization issues with the upgrade to DurationField.
...
- Legacy-Id: 12599
2016-12-21 17:03:39 +00:00
Henrik Levkowetz
cc333d9430
Changed method of retrieving an app's models. Also now importing import_module from importlib instead of from django.
...
- Legacy-Id: 12531
2016-12-15 13:17:07 +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
b914f46313
Merged in ^/branch/iola/review-tracker-r12128@12397, bringing in the review tool functionality described in RFC7735. This adds the ability to set up review management pages for review teams such as genart, secdir, opsdir, etc.; letting the review team secretaries manage requested and completed reviews; letting the reviewers keep track of and document their reviews, and more. See the RFC for full specification, and the branch commit log for a full commit history.
...
- Legacy-Id: 12419
2016-11-29 14:54:19 +00:00
Henrik Levkowetz
5b6ffbcbd5
Fixed a bug in the API cache key construction which could make the key longer than necessary.
...
- Legacy-Id: 12196
2016-10-21 14:27:18 +00:00
Ole Laursen
958ba5ba95
Make new branch from trunk and merge in review-tracker-r11921
...
- Legacy-Id: 12129
2016-10-13 16:38:47 +00:00
Henrik Levkowetz
c11f3b5ee7
Make pyflakes happier sorting out tastypie.resources.ModelResource.
...
- Legacy-Id: 12037
2016-09-26 10:33:22 +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
Ole Laursen
7146e88067
Remove another bit of debug code
...
- Legacy-Id: 11926
2016-09-06 10:25:34 +00:00
Ole Laursen
74a02be9bf
Create new branch from trunk@r11921, and merge review-tracker-r11360 into it
...
- Legacy-Id: 11923
2016-09-06 10:17:12 +00:00
Henrik Levkowetz
15ef1af9c5
Added object pk to the cache key. Fixes issue #1929 .
...
- Legacy-Id: 10956
2016-03-20 16:38:40 +00:00
Henrik Levkowetz
62cae36acd
Subclassed tastypie's ToOneField in order to provide caching for FK entries.
...
- Legacy-Id: 10927
2016-03-15 23:08:35 +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
86997e1e95
Turned the api.py file into a module. Moved the makeresources management command to the api module. Added some api tests. Added crawling of api files to the test-crawler. Adjusted some resource files discovered by the test suite and test-crawler. Removed a bunch of empty model files.
...
- Legacy-Id: 9144
2015-03-03 20:23:36 +00:00