Commit Graph
158 Commits
Author SHA1 Message Date
Roberto Rosario 656c2e6d3c Use the document display view and not the document preview view by default now when clicking on document thumbnails 2014-07-10 04:45:53 -04:00
Roberto Rosario c7e197378c Remove unused URL pattern 2014-07-10 04:39:21 -04:00
Roberto Rosario fc71ca8f8a Update document widget parameters 2014-07-10 04:38:54 -04:00
Roberto Rosario 9194b45e91 Update document metadata accesor name 2014-07-10 04:38:33 -04:00
Roberto Rosario 3bed82fc16 PEP8 cleanup, unused imports, missing imports, style cleanups 2014-07-10 02:45:19 -04:00
Roberto Rosario beaccf7128 Create the instance if it haven't already 2014-07-10 01:49:02 -04:00
Roberto Rosario ff2b88dd35 Add missing import 2014-07-10 01:48:32 -04:00
Roberto Rosario 82934c50e7 Move sources app API views to their own module 2014-07-10 01:48:09 -04:00
Roberto Rosario ab83bac0b3 Move tags app API view to their own module 2014-07-10 01:47:45 -04:00
Roberto Rosario f2cd288574 Add anonymoususer sigleton model manager 2014-07-10 01:47:15 -04:00
Roberto Rosario 8276dd111a Cleanups 2014-07-10 01:28:46 -04:00
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 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 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