Commit Graph

2604 Commits

Author SHA1 Message Date
Roberto Rosario
c753d74e46 More clear exception handling 2014-07-10 01:28:21 -04:00
Roberto Rosario
4e5c4c50f4 Move documents app api view back into their own module 2014-07-10 01:27:39 -04:00
Roberto Rosario
5212d84090 Remove common app's Singleton model and use django-solo's SingletonModel instead 2014-07-10 01:26:51 -04:00
Roberto Rosario
1e56ea4dcb Update requirements versions 2014-07-10 00:12:44 -04:00
Roberto Rosario
fca8f51168 Update required version of APScheduler 2014-07-09 20:19:59 -04:00
Roberto Rosario
0e8fa18b1c Add config folder and example.py settings file 2014-07-09 19:41:06 -04:00
Roberto Rosario
fe1397408c Merge remote-tracking branch 'origin/master' 2014-07-09 19:14:58 -04:00
Roberto Rosario
6eada315ce Add tag app API endpoints 2014-07-09 19:12:12 -04:00
Roberto Rosario
db15e0f85d Add related name accesor to the tag properties model 2014-07-09 19:11:47 -04:00
Mathias Behrle
bf854ebd30 Fixing typo in documents/view.py. 2014-07-10 00:55:26 +02:00
Roberto Rosario
59b88de5cd Code cleanups 2014-07-09 18:39:15 -04:00
Roberto Rosario
e4130bea97 Add missing PermissionDenied import 2014-07-09 18:13:44 -04:00
Roberto Rosario
358a8e3549 Move API code to the views modules 2014-07-09 18:13:16 -04:00
Roberto Rosario
1b1fb87eac Enable custom permission checking and api result filering 2014-07-09 16:46:55 -04:00
Roberto Rosario
021369d0db Add custom api filtering and permission checking 2014-07-09 16:46:38 -04:00
Roberto Rosario
d40931ad5b Add basic authentification 2014-07-09 16:45:42 -04:00
Roberto Rosario
12ab3854f9 Add a link to the REST API documentation app 2014-07-09 14:42:07 -04:00
Roberto Rosario
c7a3afc35a Add serializers, document api endpoints, rename url parameter for clarity 2014-07-09 14:24:32 -04:00
Roberto Rosario
e60d5fedfa Add django rest swagger to the requirements 2014-07-09 14:23:45 -04:00
Roberto Rosario
2202799431 Add app endpoints descriptions 2014-07-09 14:23:13 -04:00
Roberto Rosario
08661401f7 Simplify transformation choices label (evaluation of ugettext_lazy during model import was causing strange unrelated test failures) 2014-07-09 00:51:12 -04:00
Roberto Rosario
88de6cfec9 Simplify translation string (was causing misterious test failure) 2014-07-09 00:21:32 -04:00
Roberto Rosario
1c80d3327e Use Python's json library 2014-07-08 23:55:04 -04:00
Roberto Rosario
a4a443ab6d Cleanups 2014-07-08 23:50:29 -04:00
Roberto Rosario
a40fe3719b Rename the resources.py module to serializers.py 2014-07-08 23:47:52 -04:00
Roberto Rosario
29eca11c50 Enable API pagination 2014-07-08 23:42:18 -04:00
Roberto Rosario
494559cdaa Break the DocumentPage and DocumentPageTransformation circular dependecy 2014-07-08 23:33:06 -04:00
Roberto Rosario
410731cea6 Removed 3rd party installation methods 2014-07-08 23:25:44 -04:00
Roberto Rosario
a62e8a3001 Simplified installation instructions 2014-07-08 23:17:30 -04:00
Roberto Rosario
308099c0c2 Prepend API to the API views 2014-07-08 19:51:12 -04:00
Roberto Rosario
2396d7dae9 Update the documents app to use the new way of registering API endpoints 2014-07-08 18:52:35 -04:00
Roberto Rosario
909dd582df Update the app API class methods, register the sources app main endpoint, add API doc strings 2014-07-08 18:51:39 -04:00
Roberto Rosario
c4174f8020 Change the definitions of the per app API properties 2014-07-08 18:50:37 -04:00
Roberto Rosario
0d0f7be532 Change the way API endpoints are registered 2014-07-08 17:11:55 -04:00
Roberto Rosario
85255207cb Cleanups 2014-07-08 16:35:27 -04:00
Roberto Rosario
fc88db50f5 Fix url field of source api endpoints not returning a FQDN 2014-07-08 16:16:37 -04:00
Roberto Rosario
3ff484a263 Source app API URL minor but important tweak 2014-07-08 16:02:24 -04:00
Roberto Rosario
9385629393 Move REST API app icon to the tools section 2014-07-08 16:02:02 -04:00
Roberto Rosario
14977ed860 Return an empty list for files in case of a staging folder exception 2014-07-08 16:01:16 -04:00
Roberto Rosario
5d46405800 Fix uploading of staging files 2014-07-08 15:55:05 -04:00
Roberto Rosario
b0783e5816 Add support for returning a staging file as a file like object 2014-07-08 15:54:33 -04:00
Roberto Rosario
d10aa1e47e Enabled deletion of staging files 2014-07-08 15:43:00 -04:00
Roberto Rosario
f911d06823 Add the option to suppress or not exceptions during deletion 2014-07-08 15:42:24 -04:00
Roberto Rosario
b430f08509 Use URL safe encoded filename 2014-07-08 15:32:42 -04:00
Roberto Rosario
0dee7f3640 Make sure no file handler remain open 2014-07-08 12:36:26 -04:00
Roberto Rosario
429d8c07ee Initial commit to modernize staging file handling including preview generation 2014-07-08 12:35:53 -04:00
Roberto Rosario
be5525496e Fix document version serialization 2014-07-07 02:47:03 -04:00
Roberto Rosario
a42df480e9 Remove remarked code 2014-07-07 02:41:27 -04:00
Roberto Rosario
ef577e5c77 Remove unused URL configs 2014-07-07 02:41:02 -04:00
Roberto Rosario
95ce732f20 Expand the document app API to include document version and document pages 2014-07-06 12:59:43 -04:00