Commit Graph

59 Commits

Author SHA1 Message Date
Roberto Rosario
bd69ed00a5 Add missing db_index=True option, ref: 5e21b91b24 2014-07-22 02:32:39 -04:00
Roberto Rosario
e168898248 Make API writable 2014-07-22 02:32:06 -04:00
Roberto Rosario
5e21b91b24 The timestamp field is used constantly to determine the latest version of a document, index it 2014-07-22 02:17:18 -04:00
Roberto Rosario
793767f19e Fix models states in lastest migration 2014-07-22 02:12:31 -04:00
Roberto Rosario
6b169b4526 Modernize exception handling, and improves Python 3.x compatibility 2014-07-20 16:42:30 -04:00
Roberto Rosario
9e50182978 Don't write to the DB during __init__.py import 2014-07-18 13:31:11 -04:00
Roberto Rosario
f47a5eb9eb Switch tests from django.utils.unittest.TestCase to django.test.TestCase 2014-07-18 03:02:27 -04:00
Roberto Rosario
2b2cd80a18 Fix and improve the existing tests 2014-07-11 01:35:00 -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
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
3bed82fc16 PEP8 cleanup, unused imports, missing imports, style cleanups 2014-07-10 02:45:19 -04:00
Roberto Rosario
ff2b88dd35 Add missing import 2014-07-10 01:48:32 -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
fe1397408c Merge remote-tracking branch 'origin/master' 2014-07-09 19:14:58 -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
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
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
88de6cfec9 Simplify translation string (was causing misterious test failure) 2014-07-09 00:21:32 -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
2396d7dae9 Update the documents app to use the new way of registering API endpoints 2014-07-08 18:52:35 -04:00
Roberto Rosario
0dee7f3640 Make sure no file handler remain open 2014-07-08 12:36:26 -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
Roberto Rosario
f889ade7cd Cleanup documents API code and names 2014-07-06 12:28:21 -04:00
Roberto Rosario
d19f3da730 Backport statistics app, remove statistic code from the main app, convert the documents and ocr apps to use the new statictics app code 2014-07-04 01:46:16 -04:00
Roberto Rosario
74388515d9 Remove unused navigation code 2014-07-04 00:34:47 -04:00
Roberto Rosario
6e050d8390 Don't use the old STORAGE_BACKEND name but the storage_backend class 2014-07-03 23:29:34 -04:00
Roberto Rosario
78bf95f25f Update all the source string files 2014-07-03 21:38:25 -04:00
Roberto Rosario
75266c7c31 Update the documents app and the document_signatures app to use the new method of loading backends 2014-07-03 17:32:32 -04:00
Roberto Rosario
874eb33f0a Remove the document type document list view, issue #8 2014-07-03 16:41:34 -04:00
Roberto Rosario
516a0744e3 Cleanups 2014-07-02 14:38:33 -04:00
Roberto Rosario
06b4c153e3 Fix document description display in the document edit properties view 2014-07-02 14:34:46 -04:00
Roberto Rosario
b01b08f43b Use explicit fields instead of excluding fields from other apps 2014-07-02 14:34:16 -04:00
Roberto Rosario
e2b3cee69b Update API endpoint description 2014-07-02 14:11:39 -04:00
Roberto Rosario
0cda1148bb Manual merge of the new document preview code from the unstable branch 2014-07-02 02:53:53 -04:00
Roberto Rosario
6a659741af PEP8 cleanups 2014-06-30 00:57:53 -04:00
Roberto Rosario
d640eacec8 Update usage of datetime.now to Django timezone aware now() 2014-06-29 17:00:07 -04:00
Roberto Rosario
ecb6733cd4 PEP8 cleanups, unused imports cleanups 2014-06-29 14:14:27 -04:00
Roberto Rosario
eb6972d7e9 Remove use of the object_list generic function view 2014-06-26 18:19:24 -04:00