Commit Graph

2926 Commits

Author SHA1 Message Date
Roberto Rosario
f434720617 Don't silence OCR errors at the API high level, at this layer we don't know what really happened in the backend.
Move exception handling to the backend.
2014-09-30 15:39:36 -04:00
Roberto Rosario
3effc58ab0 Fix the way we try for missing binary dependencies in the installations app
Issue #50. Thanks to Ford Guo (@fordguo) for the reporting.
2014-09-30 15:21:21 -04:00
Mathias Behrle
1cbd54dad7 Do not fail, when ocr backend is missing (#50).
- Since tesseract (i.e. an ocr backend) is an optional requiremnt of mayan, we
  shouldn't fail, if it is not found.
- S.a https://github.com/mayan-edms/mayan-edms/issues/50
2014-09-30 15:14:38 -04:00
Roberto Rosario
b70611de90 Merge pull request #52 from mbehrle/feature/unfail_ocr_backend
Do not fail, when ocr backend is missing (#50).
2014-09-30 15:10:36 -04:00
Roberto Rosario
c95b088cd8 Merge branch 'hotfix/test_for_issue_46' into development
Conflicts:
	mayan/apps/documents/tests.py
2014-09-30 14:47:17 -04:00
Roberto Rosario
07dd6a87ef Add test to make sure the page issue is fixed, issue #46 2014-09-30 14:45:22 -04:00
Roberto Rosario
03e5c7732a Ignore the 'page' key when recreating the advanced search string 2014-09-30 14:43:46 -04:00
Mathias Behrle
0b153f0c7e Skip page key in advanced search (#46). 2014-09-30 13:57:21 -04:00
Roberto Rosario
36990ec818 Add document accesor method to display a document folders 2014-09-30 09:58:42 -04:00
Ford Guo
306c528665 update zh_CN po mo 2014-09-30 12:07:57 +08:00
Ford Guo
fa78a30413 change zh_CN po mo 2014-09-30 11:00:39 +08:00
Ford Guo
5d10eab278 update zh_CN 2014-09-29 14:28:50 +08:00
Ford Guo
930ae94856 update zh_CN po,mo 2014-09-28 12:06:34 +08:00
Ford Guo
bc31899d9e update zh_CN po,mo 2014-09-28 11:41:36 +08:00
Ford Guo
e4cdc69ca1 add zh_CN mo files 2014-09-26 13:54:49 +08:00
Ford Guo
b15100c2ea add zh_CN language 2014-09-26 11:43:53 +08:00
Mathias Behrle
034875a88a Do not fail, when ocr backend is missing (#50).
- Since tesseract (i.e. an ocr backend) is an optional requiremnt of mayan, we
  shouldn't fail, if it is not found.
- S.a https://github.com/mayan-edms/mayan-edms/issues/50
2014-09-25 19:31:46 +02:00
Roberto Rosario
389143a8b7 Merge pull request #48 from mbehrle/feature/fix_advanced_search
Skip page key in advanced search (#46).
2014-09-23 01:57:12 -04:00
Mathias Behrle
73e1650554 Skip page key in advanced search (#46). 2014-09-23 00:28:25 +02:00
Roberto Rosario
def792790c A beautiful hack for an unknown problem: hidden imports. Hide the import for DocumentSerializer otherwise an unexplained ImportError is raised 2014-09-21 23:17:10 -04:00
Roberto Rosario
b709426043 Add id to the document serializer, add required=False to the document type <-> document serialierz relation 2014-09-21 23:15:55 -04:00
Roberto Rosario
f29aeabcfb Add folder app API endpoint 2014-09-21 19:24:00 -04:00
Roberto Rosario
942ad7b93e Add user model API endpoints 2014-09-21 19:23:37 -04:00
Roberto Rosario
364376f04a Specify document type fields and add the id field 2014-09-21 19:22:48 -04:00
Roberto Rosario
eb3e7a10c9 Abstract the way tag documents are retrieved 2014-09-21 16:38:52 -04:00
Roberto Rosario
e522da3632 Add retrieving all documents of document type via API 2014-09-21 15:22:12 -04:00
Roberto Rosario
97de4f615c Add Document model related name to the Document Type model to allow retrieving all documents of a document type 2014-09-21 15:21:39 -04:00
Roberto Rosario
050ae8c168 Add Document type list API view and endpoint 2014-09-21 15:21:19 -04:00
Roberto Rosario
2e4cd173c6 Add document type detail API endpoint 2014-09-21 15:13:56 -04:00
Roberto Rosario
e9f733e266 Fix typo 2014-09-21 14:59:43 -04:00
Roberto Rosario
2878bac07d Add CORS support to allow cross origin API requests 2014-09-21 14:59:11 -04:00
Roberto Rosario
bc663cb882 Remove literal Folder column declaration and convert to model column registration 2014-09-14 14:39:26 -04:00
Roberto Rosario
4793a64a7f Convert folder_list view to a Mayan generic class based view 2014-09-14 14:33:26 -04:00
Roberto Rosario
b8fe8639ec If an user has a global permission then return entire queryset 2014-09-14 14:32:46 -04:00
Roberto Rosario
d264aac97e Update tests 2014-09-14 08:51:23 -04:00
Roberto Rosario
0fde78558a Merge pull request #43 from mbehrle/feature/mimetypes
Adding more office MIME types to office_converter.
2014-09-14 08:42:21 -04:00
Roberto Rosario
922c63447e Merge pull request #44 from mbehrle/feature/docs
Feature/docs
2014-09-14 08:41:13 -04:00
Mathias Behrle
08c9e4a4e3 Adding more office MIME types to office_converter.
- Without those types the graphics backend will throw 'Unkwon file format' on OCR.
- S.a.
  http://stackoverflow.com/questions/4212861/what-is-a-correct-mime-type-for-docx-pptx-etc
2014-09-13 21:03:17 +02:00
Mathias Behrle
75e99d62bb Updating apache contrib files.
Thanks to Gary Walborn for providing examples.
2014-09-13 21:00:53 +02:00
Mathias Behrle
29b5f36605 Adding sample ini file for nginx with uwsgi. 2014-09-13 21:00:31 +02:00
Mathias Behrle
cc999a8f27 Adding sample ini file for uwsgi. 2014-09-13 20:59:59 +02:00
Roberto Rosario
9f6cc1ef33 Convert the folder documents view and the tag folders view to class based views 2014-09-13 02:24:39 -04:00
Roberto Rosario
ce9e8b609e Convert the document_list view to a class based view 2014-09-13 02:24:09 -04:00
Roberto Rosario
bc97b6a4ef Add get_extra_context method to ExtraContextMixin 2014-09-13 02:23:14 -04:00
Roberto Rosario
b27d6e57be Split MayanViewM into MayanView and ExtraContextViewMixin, add object permission check to the SimpleObjectLiveView 2014-09-13 01:37:30 -04:00
Roberto Rosario
0cb9a78df4 Remove blind capitalization of messages 2014-09-13 01:24:39 -04:00
Roberto Rosario
3a4b983f9d Fix links namespaces 2014-09-13 00:38:20 -04:00
Roberto Rosario
8f8f58b73f Import from the correct module 2014-09-13 00:37:57 -04:00
Roberto Rosario
3770695af8 Move django_gpg literals to their own module 2014-09-13 00:37:35 -04:00
Roberto Rosario
2e1c6ea8c9 Update contributing instructions 2014-09-13 00:24:13 -04:00