Commit Graph

2303 Commits

Author SHA1 Message Date
Roberto Rosario
2a46d6f601 Fix and improve the document_signatures test 2014-07-11 01:31:59 -04:00
Roberto Rosario
f2c351fbc7 Remove the SITE_ROOT settings variable and use Django's MEDIA_ROOT instead.
By default MEDIA_ROOT will point to a new 'media' inside Mayan's main directory.
2014-07-11 01:06:50 -04:00
Roberto Rosario
2a89e2be23 Merge pull request #13 from mbehrle/feature/lost_merges
Feature/lost merges
2014-07-10 20:42:02 -04:00
Mathias Behrle
30f73ba73c Increasing field length of page_label to 40 chars.
The german translation takes 33 chars. This breaks saving the ocr
 result.
2014-07-11 01:59:04 +02:00
Roberto Rosario
bc2a04efa2 Add document uploading and deletion functional test 2014-07-10 19:51:56 -04:00
Mathias Behrle
53ab7a23e6 Adding french cleanup file. 2014-07-11 01:08:11 +02:00
Mathias Behrle
506d65c93e Adding language correction file for Germany (deu). 2014-07-11 00:56:15 +02:00
Roberto Rosario
607050be65 Remove unused link and url pattern 2014-07-10 04:46:35 -04:00
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
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
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
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
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