Compare commits

..
Author SHA1 Message Date
Roberto Rosario 71ede69c3f Update linking app to use organizations. 2016-07-01 02:02:34 -04:00
Roberto Rosario b6161e9d92 PEP8 and code style cleanups. 2016-06-30 21:30:01 -04:00
Roberto Rosario aa56e8ae14 Update dynamic_search app to work with organizations. Remove Recent search feature. 2016-06-30 18:46:26 -04:00
Roberto Rosario 1b8436add7 Merge remote-tracking branch 'origin/master' into feature/multi-tenant 2016-06-30 16:59:46 -04:00
Roberto Rosario ce8377da03 Update changelog. 2016-06-30 16:03:17 -04:00
Roberto Rosario 4b7c4335e1 Improve TempfileCheckMixin. 2016-06-30 16:02:17 -04:00
Roberto Rosario 4f2744f916 Add missing link to the 2.1.3 release notes in the index file. 2016-06-30 14:40:18 -04:00
Roberto Rosario 883e1cc510 Merge remote-tracking branch 'origin/master' into feature/merge_test 2016-06-30 01:00:55 -04:00
Roberto Rosario 9483309332 Bump version to 2.1.3. 2016-06-29 19:05:38 -04:00
Roberto Rosario 07ac1cbbbe Add version 2.1.3 release notes and update the changelog. 2016-06-29 19:02:34 -04:00
Roberto Rosario e62e6a9a08 Remove downloads badge as PyPI downloads tracking is broken and has been marked as "Won't Fix".
https://bitbucket.org/pypa/pypi/issues/396/download-stats-have-stopped-working-again
2016-06-29 18:44:51 -04:00
Roberto Rosario 97089670ee Change the file descriptor check to use open files instead. Add decorator to skip open file check. GitLab issue #309. 2016-06-29 18:40:15 -04:00
Roberto Rosario 063b325986 Fix file descriptor leak in document signature download test. 2016-06-28 03:01:29 -04:00
Roberto Rosario 2ea3c08c97 Add _future_ import to force unicode. 2016-06-28 03:01:04 -04:00
Roberto Rosario f3f5cff36e Add missing temporary cleanup for the office documents section. 2016-06-28 01:53:53 -04:00
Roberto Rosario d0aee4f72b Add parameter to fs_cleanup function to close a file descriptor before closing it. GitLab issue #309. 2016-06-27 19:21:42 -04:00
Roberto Rosario 5ac1276f25 Add base test class that includes unclaimed temporary and file descriptor test mixins. GitLab issue #309. 2016-06-27 19:20:42 -04:00
Roberto Rosario 113ad144e0 Add test mixins for file descriptor leaks and unclaimed temporary files. GitLab issue #309. 2016-06-27 19:19:37 -04:00
Roberto Rosario debec7b4a2 Update the django_gpg app to support organizations. 2016-06-24 04:22:49 -04:00
Roberto Rosario 0be3e130c1 Merge branch 'master' into feature/merge2 2016-06-24 03:28:36 -04:00
Roberto Rosario dd28e3dc09 Allow superusers to login from any organization. 2016-06-24 03:26:24 -04:00
Roberto Rosario 09e375654d Improve verbose name of custom group model. Allow user to be created without belonging to an organization, this is used for superusers. 2016-06-24 03:24:35 -04:00
Roberto Rosario c531631a37 Update Changelog. 2016-06-23 22:32:12 -04:00
Roberto Rosario a76a55f70a Incorporate temp file check in teh GenericViewTestCase class. 2016-06-23 22:31:08 -04:00
Roberto Rosario 98e6ba2b50 Cleanup temporary files after running the poppler parser. GitLab issue #309. Thanks to @miek770 for finding the issue and solution. 2016-06-23 20:56:53 -04:00
Roberto Rosario 945158bd60 Normalize handling of temporary file and directory creation. 2016-06-23 20:54:10 -04:00
Roberto Rosario ab831aa493 Fix setting message, no longer are temp project wide temp folders created by default. 2016-06-23 20:28:39 -04:00
Roberto Rosario ba493cf984 Update document_states app to support organizations. 2016-06-10 19:59:09 -04:00
Roberto Rosario 9ffcfeb49b Use simple password hasher to speed up tests.
Before: Ran 346 tests in 156.928s
After: Ran 346 tests in 144.324s
2016-06-08 19:30:45 -04:00
Roberto Rosario 41f68cf435 Remove unused import. 2016-06-08 19:30:34 -04:00
Roberto Rosario 072bfcf2aa Use organization manager. 2016-06-08 19:30:20 -04:00
Roberto Rosario 6a258e4a02 Remove remarked imports. 2016-06-08 19:30:04 -04:00
Roberto Rosario 59fbe2d409 Turn on all warnings when running tests. 2016-06-08 19:29:45 -04:00
Roberto Rosario aa0f48b1a0 Update OCR app to use organizations. 2016-06-08 19:29:20 -04:00
Roberto Rosario a2f8e8b8d8 Finish updating checkouts app to support organizations. 2016-06-08 16:58:57 -04:00
Roberto Rosario 7ae0917564 Fix document app tests. 2016-06-08 02:02:25 -04:00
Roberto Rosario ff30268a4b Fix folder api tests. 2016-06-08 01:59:32 -04:00
Roberto Rosario 5466dcdad3 Convert metadata app to use organizations. 2016-06-08 01:37:15 -04:00
Roberto Rosario 2035602836 Make the organization and rest api tests cleaner to import from other modules. 2016-06-08 01:26:01 -04:00
Roberto Rosario 326919271a Merge branch 'development' into feature/multi-tenant 2016-06-06 05:20:43 -04:00
Roberto Rosario 043233f79e The UserEditView view add the "user" context variable and confuses the base.html template. Update the base template to use *request.user* instead of just *user* to access the currently logged user. GitLab issue #295. 2016-06-06 05:17:28 -04:00
Roberto Rosario 883e623a15 User self.setdout instead of print as per documentation: https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/#django.core.management.BaseCommand.style 2016-06-06 04:55:07 -04:00
Roberto Rosario 728121b1bb Add help message when initialsetup migration phase fails. GitLab issue #296. 2016-06-06 04:54:05 -04:00
Roberto Rosario 331a4da3b3 Don't create a default organization on each initialization of the organization app. GitLab issue #297. 2016-06-06 02:54:32 -04:00
Roberto Rosario 017dc67d3c Fix trashed document list view url name. 2016-06-01 12:19:41 -04:00
Roberto Rosario aea00db37e Replace imports of Group for MayanGroup. 2016-05-31 01:23:24 -04:00
Roberto Rosario 629cc24090 Add OrganizationAdminMixin. Enable OrganizationAdminMixin for the tags, folders and user_management apps. 2016-05-31 01:22:15 -04:00
Roberto Rosario f799d379d1 Remove print statement. 2016-05-30 23:55:25 -04:00
Roberto Rosario 8221f90fd3 Improve tags app organization test. 2016-05-30 23:55:02 -04:00
Roberto Rosario f6dfff5949 Use the OrganizationTestCase class for the tags app model tests. 2016-05-30 23:54:32 -04:00
Roberto Rosario 38eb65151a Use the GenericAPITestCase for the documents and tags api tests. 2016-05-30 23:52:23 -04:00
Roberto Rosario 8435b8444a Add REST API base test case class. 2016-05-30 23:51:28 -04:00
Roberto Rosario e5c51749da The return value is an user instance not an username. 2016-05-30 23:50:54 -04:00
Roberto Rosario 132d66fff8 Use the plural form 'required_permissions' to make it all uniform thruough the project. 2016-05-30 23:47:49 -04:00
Roberto Rosario 0a545f4b33 Return the created organization instance when creating the default organization. 2016-05-30 23:46:11 -04:00
Roberto Rosario 305aad0bfa Invalidate caches when creating organization admins. 2016-05-30 23:45:26 -04:00
Roberto Rosario ccf3795601 Update the acls, common and documents tests to use OrganizationTestCase class. 2016-05-30 19:33:49 -04:00
Roberto Rosario 18bd82ba55 Fix authentication app view tests. 2016-05-30 19:23:27 -04:00
Roberto Rosario 3ebadf763b Add clean up method to OrganizationModelTestCase 2016-05-30 19:18:23 -04:00
Roberto Rosario f9670ea7c2 Add a base organization test case class. 2016-05-30 19:16:58 -04:00
Roberto Rosario de40977f5f Convert checkouts app to use organizations. 2016-05-30 19:14:34 -04:00
Roberto Rosario aca93a0deb Update the Message of the day (motd) app to support organizations. 2016-05-30 17:51:24 -04:00
Roberto Rosario e943588ba2 Move the OrganizationSourceManager manager to it's own module. Cleanups. 2016-05-30 15:42:33 -04:00
Roberto Rosario db1673dd0a Convert sources app to use organizations. 2016-05-30 15:37:58 -04:00
Roberto Rosario 2dcad10805 Add missing .objects. 2016-05-30 06:49:52 -04:00
Roberto Rosario ead86806d4 Add explicit organization deletion to the common generic test. 2016-05-30 06:18:26 -04:00
Roberto Rosario cc360be4a4 Finish converting the tags app to user organizations. 2016-05-30 06:18:06 -04:00
Roberto Rosario 69bd6cc308 Finish conversion of the folders app to organizations. 2016-05-30 06:12:57 -04:00
Roberto Rosario 395fe0cb98 Finish conversion of the documents app to support organizations. 2016-05-30 06:10:08 -04:00
Roberto Rosario d9137b4361 Folder model no longer links to the user model. 2016-05-30 06:00:24 -04:00
Roberto Rosario e5c9e91104 Rename view and models from "deleted document" to "trashed document". Implement document level organization support via custom 'on_organization' manager. Unfilter default 'objects' manager to operate on all documents in the database. 2016-05-30 03:58:30 -04:00
Roberto Rosario 67f88b79c6 Fix queryset filter. 2016-05-27 23:03:52 -04:00
Roberto Rosario 266cf5c8a3 Import from the permissions app, not the permission module. 2016-05-27 18:03:25 -04:00
Roberto Rosario e228dfc8c5 Add initial organization view tests for the documents app. 2016-05-27 18:01:31 -04:00
Roberto Rosario fc86abe951 Make generic organization test class inherit from GenericViewTestCase. 2016-05-27 18:00:57 -04:00
Roberto Rosario ba1c5c1b17 Add organization view tests for the tags app. 2016-05-27 00:16:46 -04:00
Roberto Rosario 48d88d39e7 The folder creation is meant to succeed. 2016-05-26 23:52:24 -04:00
Roberto Rosario de81fc58dd Generalize organization test. Add more organization tests to the folders app. 2016-05-26 21:58:31 -04:00
Roberto Rosario b71ebe45f9 Initial sample a organization view test. 2016-05-26 14:52:25 -04:00
Roberto Rosario 05a46445d9 Don't use on_organization as we may be operating on an organization that is not our own. Return the username and password to be used for tests. 2016-05-26 14:47:41 -04:00
Roberto Rosario 907744cf18 Document page has to reference to document model. 2016-05-25 03:11:55 -04:00
Roberto Rosario f7fd9634df Change group->user related_name to 'users'. Update all references. 2016-05-25 03:07:45 -04:00
Roberto Rosario 796e4cea04 Test are completely broken, disable CI for now. 2016-05-25 02:55:46 -04:00
Roberto Rosario b2304119fc Improve the organization app tests. 2016-05-25 02:51:58 -04:00
Roberto Rosario 07a124187f Organization related improvements to the permissions app tests. 2016-05-25 02:51:32 -04:00
Roberto Rosario eab5296c7a Organization related improvements to the user management app tests. 2016-05-25 02:51:06 -04:00
Roberto Rosario ab83e23f27 Use the new group accessor for the user groups. 2016-05-25 02:50:39 -04:00
Roberto Rosario 5e7a62e022 Use MayanGroup in the user management views. Filter user for the current organization. 2016-05-25 02:49:19 -04:00
Roberto Rosario e34dffb176 Make a hybrid user manager class to allow calling 'create_user' and 'create_superuser' from the on_organization manager. 2016-05-25 02:48:35 -04:00
Roberto Rosario 3a2d8bac33 Use the organization aware group model in the user serializer. Filter users for the current organization. 2016-05-25 02:47:58 -04:00
Roberto Rosario 58d634a395 Organization related improvements for the tags app. 2016-05-25 02:47:26 -04:00
Roberto Rosario a0df9d260d Organization support improvements in the common app tests. 2016-05-25 02:46:32 -04:00
Roberto Rosario 626cc1cd07 Move the organizations.managment module to .utils to avoid class with /management/ folder. 2016-05-25 02:45:42 -04:00
Roberto Rosario c49f8b1def Improve organization support for the folders app. 2016-05-25 02:45:20 -04:00
Roberto Rosario 2ca3a67c9c Don't make the default organization name hardcoded. 2016-05-25 02:44:24 -04:00
Roberto Rosario 7be1d76f62 Move import. Improve comment. 2016-05-25 02:44:05 -04:00
Roberto Rosario c5f64d4805 Make the acls app organizations aware. 2016-05-25 02:43:12 -04:00
Roberto Rosario 27c1a33762 Call the command to create an organization admin during the initial setup stage. 2016-05-25 01:08:20 -04:00
Roberto Rosario ce0b0a9a79 Add management command to create an organization admin. 2016-05-25 01:08:03 -04:00
Roberto Rosario 90778c709c Style cleanups 2016-05-25 01:07:42 -04:00
Roberto Rosario 6e6a6073d2 Relate roles to organizations 2016-05-25 01:06:57 -04:00
Roberto Rosario a3a03ec095 Add custom Group model that relates to organization. 2016-05-25 01:06:20 -04:00
Roberto Rosario 433e295d07 Fix folder document list. GitLab issue #273 2016-05-24 18:18:40 -04:00
Roberto Rosario c37430ff12 Folders no longer have an user field. GitLab issue #272. 2016-05-24 18:09:01 -04:00
Roberto Rosario 0e5521160b Move basic tests from the Site convertion to tests/test_middleware 2016-05-24 18:08:33 -04:00
Roberto Rosario 83046882b1 Remove repeated migrations. 2016-05-24 17:53:33 -04:00
Baptiste GAILLET 56f1a7d537 Add initial tests for organizations 2016-05-24 17:48:29 -04:00
Baptiste GAILLET fba20b0a91 Fix postgresql organization creation id error after the first migration 2016-05-24 17:47:25 -04:00
Baptiste GAILLET ab69031662 Add data migration for organizations apps and change documents migration 35 dependencies to this new migration 2016-05-24 17:46:50 -04:00
Roberto Rosario 14bd599387 Merge branch 'development' into feature/multi-tenant 2016-05-22 17:47:12 -04:00
Roberto Rosario 5ba861f4aa Bump version to 2.1.2 2016-05-20 02:41:46 -04:00
Roberto Rosario c09a237af1 Add development makefile. Update changelog. Add release notes for version 2.1.2 2016-05-20 02:34:18 -04:00
Roberto Rosario d1c87fe102 Allow MetadataLookup to receive callables. Update the {{ users }} and {{ groups }} metadata lookup options to be callables that return a current list of users and groups and not a queryset. Add integrations test user_managements -> metadata app. Fixes GitLab #290. Thanks to @camiloforero for finding this one. 2016-05-19 19:33:58 -04:00
Roberto Rosario 4de3bb99e2 Add custom ModelForm class that supports field choice sorting. Use the new form class to sort the user profile language field and the document language fields. Thanks to Baptiste GAILLET @bat79a for the original idea. GitLab issue #292. 2016-05-19 18:18:45 -04:00
Roberto Rosario d71357cf81 Merge branch 'development' into feature/multi-tenant 2016-05-17 17:02:00 -04:00
Roberto Rosario 004b8c9054 Bump version to 2.1.1 2016-05-17 05:08:45 -04:00
Roberto Rosario 8712c6ee37 PEP8 cleanups. 2016-05-17 05:08:21 -04:00
Roberto Rosario 11da303529 Update changelog. 2016-05-17 05:04:27 -04:00
Roberto Rosario c97208f609 Ensure that the automatic index is created after the default document type is created. 2016-05-17 05:02:57 -04:00
Roberto Rosario 0bebef5ba9 Add documentation chapter on document languages. 2016-05-17 04:07:03 -04:00
Roberto Rosario 27aae995f0 The Tesseract OCR backend now reports if the requested language file is missing. GitLab issue #289. 2016-05-17 03:49:23 -04:00
Roberto Rosario 4e55b28c43 Update build status badge URL. 2016-05-17 01:37:03 -04:00
Roberto Rosario 3d722325ca Fix navigation object column resolution. Fixes GitLab issue #288. 2016-05-17 01:36:12 -04:00
Roberto Rosario 5959e7362d Merge remote-tracking branch 'origin/master' into merge 2016-05-14 01:55:36 -04:00
Roberto Rosario 352457f576 Don't add the current user to the template context to avoid triggering user managment action links. 2016-05-14 01:49:29 -04:00
Roberto Rosario 7a746653da Bump version to 2.1 2016-05-13 21:16:05 -04:00
Roberto Rosario 715d3c6768 Change log updates. 2016-05-13 21:15:54 -04:00
Roberto Rosario 3f9d21167d Update requirements in setup.py 2016-05-13 21:03:12 -04:00
Roberto Rosario 7fc5f24da9 Update release notes. 2016-05-13 21:02:55 -04:00
Roberto Rosario 5a885868f8 Remove unpaper from installation scripts. 2016-05-13 21:02:40 -04:00
Roberto Rosario fdf4984468 Add jquery plugin matchHeigh and use it for the tools and setup buttons. GitLab issue #274. 2016-05-12 03:12:14 -04:00
Roberto Rosario 7da6408de0 Add second attempt to match a navigation object as an instance of a source. Use for instances from a queryset using .defer() or .only(). 2016-05-12 01:48:42 -04:00
Roberto Rosario 084f6d4b2f Add an aditional step to verify that the update button is checked on required metadata types. 2016-05-12 01:35:08 -04:00
Roberto Rosario 516920f833 Be more explicit about which requied metadata type is missing. 2016-05-12 01:33:10 -04:00
Roberto Rosario bc79798723 Improve printable ACL representation. 2016-05-11 03:39:07 -04:00
Roberto Rosario 9c22fc9714 Fix link related object ACL resolution. GitLab issue #274. Thanks to Baptiste GAILLET @bat79a. 2016-05-11 03:37:51 -04:00
Roberto Rosario 39ba601074 Fix API endpoint view name in trashed document API tests. 2016-05-11 00:40:42 -04:00
Roberto Rosario 24df09ba71 Fix switch name, fake initial migrations not all. 2016-05-11 00:40:22 -04:00
Roberto Rosario 80e12b2020 Create a sample document index after the initial setup. GitLab issue #275. 2016-05-10 19:56:20 -04:00
Roberto Rosario 6dcbd62c15 Update all mention of "deleted documents" to "trashed documents" in the document app API. GitLab issue #276. 2016-05-10 19:03:00 -04:00
Roberto Rosario 5a15a34818 Add document metadata API tests. Fix document metadata list API view. 2016-05-10 18:57:50 -04:00
Roberto Rosario a817aa887f Add document type metadata type API tests. Improve document type metadata type delete API view. 2016-05-10 16:52:29 -04:00
Roberto Rosario f4a415a3e8 Add metadata type API tests. 2016-05-10 01:11:38 -04:00
Roberto Rosario 8ef65a82f5 Add missing minor migrations 2016-05-09 20:27:09 -04:00
Roberto Rosario f80fa49166 Defer heavy fields when showing a simple list of all documents. 2016-05-09 19:57:05 -04:00
Roberto Rosario 55d53bf4d5 Equate queryset model instances with deffered fields to their parent model class when resolving UI model columns.
This will allow models using .defer or .only optimizations to render properly on list views.
2016-05-09 19:55:03 -04:00
Roberto Rosario 8d549df088 Index the is_stub and is_deleted document boolean fields. 2016-05-09 19:54:32 -04:00
Roberto Rosario 8075bfd0bc Update Spanish translation. 2016-05-08 21:57:23 -04:00
Roberto Rosario ddc7dc39b0 Update to use Django 1.8.13 2016-05-08 01:31:00 -04:00
Roberto Rosario 2a5264bc2c Fix view context document resolution for the document smart link list view. Fixes GitLab issue #266. Thanks to Baptiste GAILLET @bat79a for the find. 2016-05-08 01:13:54 -04:00
Roberto Rosario d934b2ee1e Now that autoadmin has an initial migration don't error out on existing tables. 2016-05-07 20:28:34 -04:00
Roberto Rosario 4aea55339f Merge branch 'development' into feature/multi-tenant 2016-05-07 20:13:52 -04:00
Roberto Rosario 94b968963e Bump version to 2.1rc2 2016-05-05 23:44:18 -04:00
Roberto Rosario bd648d0cb1 Postgresql needs typecasting for turning char fields into native UUID fields.
Conditionally run the necesary SQL for this to happen. GitLab issue #266 Thanks to Baptiste GAULLET @bat79a for finding the solution.
2016-05-05 23:17:32 -04:00
Roberto Rosario e3d49e1352 Use now django-autoadmin 1.1.1 2016-05-05 23:17:08 -04:00
Roberto Rosario 06ecbfeba2 Flake8 cleanups. 2016-05-04 15:58:17 -04:00
Roberto Rosario b15d419172 Fix statistics detail view error. GitLab issue #270. @bat79a 2016-05-04 15:57:09 -04:00
Roberto Rosario 9013793b5c Fix migrations conflicts with development branch. 2016-05-04 02:40:28 -04:00
Roberto Rosario bd3bdb9b13 Merge branch 'development' into feature/multi-tenant 2016-05-04 02:22:38 -04:00
Roberto Rosario 09640d3e43 Change the permission_document_restore permission label from 'deleted' to 'trashed'. 2016-05-04 01:40:51 -04:00
Roberto Rosario 924cb21a83 Add the permission_document_restore permission to the available permission for document's ACLs. GitLab issue #267 @bat79a 2016-05-04 01:39:32 -04:00
Roberto Rosario 5da301a861 Change the variable name to better represent the class of the instance. 2016-05-04 00:11:18 -04:00
Roberto Rosario afb44798e0 Parent object of the index node being passed to the ACL module for permission test was a function by mistake and not the result of the function which is the index isntance. Fixes Gitlab issue #268 @bat79a 2016-05-04 00:08:44 -04:00
Roberto Rosario a179a19749 Improve document indexing tests and add test for GitLab issue #268 @bat79a 2016-05-04 00:07:19 -04:00
Roberto Rosario 269d8fb5b3 Remove 'is_staff' and 'is_superadmin' from views and serializers. Add user API tests. 2016-05-01 17:06:37 -04:00
Roberto Rosario 0a8f429d04 Bump version to 2.1.0rc1 2016-04-28 02:44:42 -04:00
Roberto Rosario b41c2ce02d Add missing dependency to setup.py 2016-04-28 02:44:17 -04:00
Roberto Rosario 15ed0a10e2 User self.stderr instead of print. Colorize the error message. 2016-04-28 01:54:17 -04:00
Roberto Rosario ea734db79e Update mirror argument parsing to work with Django 1.8. 2016-04-28 01:34:18 -04:00
Roberto Rosario 23f40ac4aa PEP8 cleanups. 2016-04-27 20:31:02 -04:00
Roberto Rosario 3384c06c03 Mock the gpg tests that require internet access. 2016-04-27 20:19:26 -04:00
Roberto Rosario f944f9ebbc Add smart link dynamic label test. 2016-04-27 18:46:58 -04:00
Roberto Rosario c6eea8ba64 Don't perform OCR in folder model tests. 2016-04-27 18:19:30 -04:00
Roberto Rosario af273fbfc3 Remove the creation of a test user. 2016-04-27 18:10:21 -04:00
Roberto Rosario 8a58ee2124 Expand the documentation chapter on file storage. 2016-04-27 15:16:11 -04:00
Roberto Rosario e824fbffcf Add a documentation chapter regarding settings. 2016-04-27 15:15:57 -04:00
Roberto Rosario 9ab03d2c16 Expand the documentation chapter on transformations. 2016-04-27 14:54:50 -04:00
Roberto Rosario 232cb5e38d Synchronize and compile translations. 2016-04-27 14:54:33 -04:00
Roberto Rosario 5775f5aeaa Run makemessage for apps. 2016-04-27 14:20:45 -04:00
Roberto Rosario 1bda472287 Update roadmap 2016-04-26 18:31:48 -04:00
Roberto Rosario 6931d2ad81 Add direct to watched folder scanning issue to roadmap. 2016-04-26 18:02:59 -04:00
Roberto Rosario f5609d402a Add backup and ocr backend documentation chapters. 2016-04-26 18:02:45 -04:00
Roberto Rosario 9d7e8d6123 Add roadmap documentation chapter. 2016-04-26 17:10:38 -04:00
Roberto Rosario 0299353fb7 Remove bold markup from all mentions of "Mayan EDMS" 2016-04-26 16:52:17 -04:00
Roberto Rosario 0fa26cda8b Add mailing documentation. 2016-04-26 16:42:25 -04:00
Roberto Rosario 19b43e9504 Remove donation options, add support info. 2016-04-25 14:42:02 -04:00
Roberto Rosario 232b7f644b Update sphinx autorebuild version used. 2016-04-25 14:37:29 -04:00
Roberto Rosario f020a7a1c6 Expand v2.1 release notes. 2016-04-21 17:01:45 -04:00
Roberto Rosario 756108af8d Disable GitLab CI MySQL testing until GitLab mysql container isssue are fixed. 2016-04-04 23:05:06 -04:00
Roberto Rosario e3200511ac Small query optimization. 2016-04-04 23:04:35 -04:00
Roberto Rosario b04421438e Update changelog. 2016-04-04 23:04:20 -04:00
Roberto Rosario e5743d8964 Remove Django 1.7 and add Django 1.9 to the tox test matrix. 2016-04-04 16:25:52 -04:00
Roberto Rosario be392823bb Remove all GPG interface module. 2016-04-04 14:55:37 -04:00
Roberto Rosario f042533576 Put event action description in past tense. 2016-04-04 13:51:23 -04:00
Roberto Rosario 33aefdaef7 Add document download and document preview event logging. Add corresponding tests. Closes GitLab issue #261. 2016-04-04 13:49:14 -04:00
Roberto Rosario c6fb008562 Workaround problem with gpg embedded signatures corrupting the source file by using clearsign=False by default. 2016-04-01 23:28:34 -04:00
Roberto Rosario 9a0dd8c192 Add embedded signing test. 2016-04-01 12:43:06 -04:00
Roberto Rosario 07cd6d078f No need to typecast the result 2016-04-01 12:33:11 -04:00
Roberto Rosario 3d74bdb590 Add document embedded signature signing support. 2016-03-31 19:06:31 -04:00
Roberto Rosario 14988bab34 Add key upload view, permission, link and test. 2016-03-30 19:05:53 -04:00
Roberto Rosario e8c0951b0d Add key download view, permission, link and test. 2016-03-30 18:29:39 -04:00
Roberto Rosario 94b00c7ce5 Replace document type selection widget with an opened select list HTML control. 2016-03-30 17:19:27 -04:00
Roberto Rosario 09b71144b6 Add support for signing documents from the UI. Mayan EDMS is now in the major leagues :) 2016-03-30 03:47:58 -04:00
Roberto Rosario bc59613945 Add key content sign tests. 2016-03-30 02:32:08 -04:00
Roberto Rosario 24d8287072 Add Key usage for signing permission. 2016-03-30 02:30:50 -04:00
Roberto Rosario 8baca70ef5 Add link to document facet menu to display its latest version signatures. 2016-03-30 02:00:17 -04:00
Roberto Rosario 1e7e17bdce Insert the resolved_object context variable in the test views. 2016-03-30 01:42:17 -04:00
Roberto Rosario c6890c487a Extract a file like object's file name as per docs (using the .name property) and not an unicode representation of the file object instance. Reference: https://docs.python.org/2.7/library/stdtypes.html#file-objects 2016-03-30 01:32:53 -04:00
Roberto Rosario 8b28bdd443 Add missing icon to the all document signature verification tool link. 2016-03-29 21:03:16 -04:00
Roberto Rosario 7da6cf1863 Add view, task and post upgrade signal handler to verify all documents for embedded signatures. 2016-03-29 20:13:58 -04:00
Roberto Rosario d83a80c65b Add document signature app link tests. 2016-03-29 16:28:24 -04:00
Roberto Rosario 739b96ed37 Add related object link permission support. 2016-03-29 16:27:53 -04:00
Roberto Rosario 0783806fd1 Add signature deletion view tests. 2016-03-29 13:52:35 -04:00
Roberto Rosario b9d75e525f Convert the signature download view to CBV and add corresponding test. 2016-03-29 05:12:04 -04:00
Roberto Rosario 3b593e10fd Add django-downloadview to the used packages. Add a Mayan generic sub class download view based on django-downloadviews' virtual download view class. 2016-03-29 05:11:08 -04:00
Roberto Rosario c1cb983869 Just display the signature type to conserve UI space. 2016-03-28 14:57:19 -04:00
Roberto Rosario e5c47f16d4 Update document version signature upload view to CBV and add test. 2016-03-28 14:56:49 -04:00
Roberto Rosario 35df61bca1 Add view test for the document signatures app. 2016-03-27 03:29:19 -04:00
Roberto Rosario e708e0250e Support related object permission ACLs for more than just 1 level of relationship. 2016-03-27 03:28:14 -04:00
Roberto Rosario fa1450fe5a PEP8 cleanups. 2016-03-27 03:27:56 -04:00
Roberto Rosario 0ffe20befd Fix link resolution in the document signature list view. This view exposes 3 navigable objects, use 'resolved_object' for correct link resolution. 2016-03-26 16:28:08 -04:00
Roberto Rosario 5de63c4477 Add support for verifying and unverifying signatures after a key is added or deleted. 2016-03-26 04:23:16 -04:00
Roberto Rosario 1f0dedc9aa Add more fields to signature detail form. 2016-03-26 04:06:43 -04:00
Roberto Rosario 779a14977d Add admin interface for embedded and detached signatures. 2016-03-26 04:06:08 -04:00
Roberto Rosario 9744cdd358 Redirect to public or private key list after deletion of a key. 2016-03-26 04:05:40 -04:00
Roberto Rosario 4a4573fb1b Add missing gpg directory chmod. 2016-03-26 04:05:15 -04:00
Roberto Rosario 467ad0dadb Add more logging. Add preloading of keys to decrypt_file method. Cleanups. 2016-03-26 04:04:34 -04:00
Roberto Rosario ffb29e0f54 Remove obsolete Document property. Use resolved_object in documents links to avoid context variable clashes with signatures. 2016-03-25 04:12:44 -04:00
Roberto Rosario 7e801ef02e Fix verifyresult timestamp field. Remove Key ID property and verify return a separate small key id without a fingerprint when the signing key is not available. 2016-03-25 04:09:30 -04:00
Roberto Rosario 09b92858d9 Raise MayanAppConfig initialization exception if they are not bening about missing URLs. 2016-03-25 04:08:25 -04:00
Roberto Rosario 355190e919 Start of document_signatures app refactor. 2016-03-25 04:07:57 -04:00
Roberto Rosario ab6e2d8c23 Fix verification using detached signature. 2016-03-24 02:47:53 -04:00
Roberto Rosario d41dac5587 Add support for verification of detached signatures. 2016-03-24 00:27:49 -04:00
Roberto Rosario a5f3d46373 Add a cleartext test file with a detached signature. 2016-03-24 00:26:53 -04:00
Roberto Rosario c8f7c4ef86 Update document signature app to work with new django_gpg changes. 2016-03-23 19:57:45 -04:00
Roberto Rosario e96f748439 Add key_id property to SignatureVerification class 2016-03-23 19:57:16 -04:00
Roberto Rosario 048ba4b5cd Add file decryption support. 2016-03-23 19:47:41 -04:00
Roberto Rosario 45774ccdcf Add SignatureVerification class to return verification results. Add support for specifing against which key to verify a signature. Add support to preload all keys before verifing a signature. All test for specific key verificatio and all key preloading. 2016-03-23 18:56:29 -04:00
Roberto Rosario 2f7c6ed0d9 Add embedded file signature verification. 2016-03-23 13:03:48 -04:00
Roberto Rosario cd077cb076 Add more tests for the Key model. Remove the key_id field and made it a property derived from the fingerprint. 2016-03-23 11:58:08 -04:00
Roberto Rosario f82b2000c3 Properly render date widgets on form instances. 2016-03-23 00:37:26 -04:00
Roberto Rosario 2748d5959f Place KeyManage on a seprate module. Convert views to use the new Key model. Add KeyStub class and use it to return query results. Add Key detail link and view. Remove the setting for multiple keyservers. 2016-03-23 00:35:32 -04:00
Roberto Rosario 189cda437f Add model test. Finish file signing method. Add key signing exceptions. 2016-03-22 18:02:40 -04:00
Roberto Rosario dc5d25fd00 Initial code for database stored GPG keys. 2016-03-22 05:10:54 -04:00
Roberto Rosario ccd6e8c88c Add document mailing view tests. 2016-03-21 18:59:22 -04:00
Roberto Rosario c9010f6b5e Add test for the document link mailing view. 2016-03-21 17:42:24 -04:00
Roberto Rosario 3d970036b2 Sync translations with Transifex 2016-03-21 17:38:15 -04:00
Roberto Rosario 6fe778051e Update translation source files for all apps. Add Message of the Day source message file. 2016-03-21 16:53:09 -04:00
Roberto Rosario 7dc260046b Update the document type quick label model verbose name from 'Quick rename template' to 'Quick label'. 2016-03-21 16:25:16 -04:00
Roberto Rosario dda0bbdba9 Add test for the document type quick label creation view. 2016-03-21 16:24:41 -04:00
Roberto Rosario 66d2baafb8 Convert document type quick label creation view to CBV. 2016-03-21 16:24:23 -04:00
Roberto Rosario 18a3773b65 Update changelog 2016-03-21 15:53:27 -04:00
Roberto Rosario c43fe38ac9 Use Python's string.partition instead of find. 2016-03-21 04:11:50 -04:00
Roberto Rosario 26fce66451 Change pngtoppm to convert PDFs to JPEG instead of PNGs. 2016-03-21 03:49:11 -04:00
Roberto Rosario 28f3b7551d Consolidate document page image generation as binary or base64 to a single place at the converter class level. 2016-03-21 03:44:45 -04:00
Roberto Rosario 37d6070cab Convert the document version revert view to CBV. Add document version revert view tests. 2016-03-21 02:37:39 -04:00
Roberto Rosario c07f5a7820 Add object permission checking to the generic ConfirmView. 2016-03-21 02:37:14 -04:00
Roberto Rosario ad0643b62a Convert document cache clear view to CBV. Update message and link label to include the word 'image'. 2016-03-21 02:11:56 -04:00
Roberto Rosario bd3e31efa4 Update document_reset_view to CBV. 2016-03-21 02:05:05 -04:00
Roberto Rosario 308472b92b Delete temporary directory after testing. 2016-03-20 16:35:08 -04:00
Roberto Rosario a0b31d4bfe Convert the staging file deletion view to CBV. Add staging file deletion permission. 2016-03-20 16:34:39 -04:00
Roberto Rosario 7be6e8c6ed Add unicode filename test for the StagingFile class. 2016-03-20 15:59:49 -04:00
Roberto Rosario 6ec7a2ca4d Support unicode filenames in staging folders. 2016-03-20 15:40:42 -04:00
Roberto Rosario b32563ac8e Add python 3.5 and remove python 3.2 from tox.ini. 2016-03-20 01:21:48 -04:00
Roberto Rosario 9191c04eb9 Update changelog. 2016-03-19 03:00:18 -04:00
Roberto Rosario 145161cef4 PEP8 cleanups. 2016-03-19 03:00:03 -04:00
Roberto Rosario 7cde1fe78f Add ACLs to document indexes. Convert all document indexing views to CBV. Remove the document index setup permission. Add view tests to the document indexing app. Use MPTT methods and stop relying on undocumented API. 2016-03-19 02:51:45 -04:00
Roberto Rosario 286a6ba9b8 Enable object access check via related attribute in generic CBV. 2016-03-19 02:51:03 -04:00
Roberto Rosario 2328355754 Don't error out when inspecting ACL permissions for an object with no registered permissions. 2016-03-19 02:20:36 -04:00
Roberto Rosario 45f90cce50 Return the instance when a document is added as recent for an user. 2016-03-19 02:20:01 -04:00
Roberto Rosario 50f473b698 Improve translation template. 2016-03-19 02:00:30 -04:00
Roberto Rosario ed8ac47240 Extract context object name from the models meta options. 2016-03-19 01:57:30 -04:00
Roberto Rosario 34184e0726 Fix typo in management command name. 2016-03-18 20:58:06 -04:00
Roberto Rosario 66a49c8335 Don't assume all object have a proxy access accessor. 2016-03-18 20:57:39 -04:00
Roberto Rosario 042cef3d0e Add ACL view tests. 2016-03-18 20:57:22 -04:00
Roberto Rosario adcf946fbb Sort ACL app views. Don't error out on duplicate ACL entry creation (same document + role), but instead redirect to existing ACL entry. 2016-03-18 20:56:41 -04:00
Roberto Rosario 5ac21faced Sort folder app views. 2016-03-18 19:51:29 -04:00
Roberto Rosario de4948b84f Rename acl creation view from acl_new to acl_create for uniformity. 2016-03-18 19:44:25 -04:00
Roberto Rosario 8302e13d80 Add deleted document list filtering tests. 2016-03-18 18:47:32 -04:00
Roberto Rosario 30738a922c Properly filter deleted document queryset. 2016-03-18 18:46:26 -04:00
Roberto Rosario 473fc09e1a .index is a function not an attribute, add missing parentheses. 2016-03-18 00:23:43 -04:00
Roberto Rosario 4c4409aa1e PEP8 cleanups. 2016-03-17 00:44:54 -04:00
Roberto Rosario 5079b2790e Add Smart link view tests. 2016-03-17 00:39:04 -04:00
Roberto Rosario 67bb84c778 Convert smart link condition create, edit and delete views to CBV. 2016-03-16 18:26:40 -04:00
Roberto Rosario c3149a58d6 Sort variables. 2016-03-16 18:26:12 -04:00
Roberto Rosario 5bb04cc8f4 Add newly uploaded document to the recent document list of the user. 2016-03-16 16:42:01 -04:00
Roberto Rosario a6c9393aa0 Permission app's views are all CBV, don't specify view module to preload. 2016-03-16 16:40:39 -04:00
Roberto Rosario e2bfece9ff Update document OCR content view to a CBV. 2016-03-16 16:40:17 -04:00
Roberto Rosario 0ecfb83d14 Fix metadata edit view test. 2016-03-15 19:03:42 -04:00
Roberto Rosario 6bf352ecbb Fix queryset assigment, should always be of MetadataType not DocumentTypeMetadataType, errors out on Postgres. 2016-03-15 18:39:48 -04:00
Roberto Rosario 8ae61b87b5 Update requirements in setup.py. 2016-03-15 04:22:04 -04:00
Roberto Rosario aeff40331d Update changelog and release notes. 2016-03-15 04:14:51 -04:00
Roberto Rosario 86af663e91 Use MPTT's native get_level method. 2016-03-15 04:14:34 -04:00
Roberto Rosario 1a20d93e4c Add new split move index navigation. 2016-03-15 04:11:44 -04:00
Roberto Rosario 3d36f1b828 Update Document model's uuid field to use Django's native UUIDField class. 2016-03-15 01:44:34 -04:00
Roberto Rosario 928d86088a Update release notes for 2.1 2016-03-14 22:35:54 -04:00
Roberto Rosario adcc37d8a4 Remove ununsed metadata function. 2016-03-14 22:35:27 -04:00
Roberto Rosario c2c95787cb Improve folder and tag creation api test. 2016-03-14 20:38:00 -04:00
Roberto Rosario 9823202405 Remove typecasting of file objects into Django's File class, not needed in Django >1.8.x. 2016-03-14 20:20:54 -04:00
Roberto Rosario f5d2ea7d9e Update Django version to 1.8.11. 2016-03-14 20:08:51 -04:00
Roberto Rosario 858648782b Update Folder creation and Tag creation API calls to return the id of the created instances. 2016-03-14 04:48:22 -04:00
Roberto Rosario 35cc0ea1d6 Exclude root API and API doc URLs. 2016-03-14 04:15:13 -04:00
Roberto Rosario 3fa9092d57 Complete changes needed to add the Message of the Day app. Closes GitLab issue #222. 2016-03-14 01:53:15 -04:00
Roberto Rosario 71946491b3 Show exception message when an app's URL can't be loaded. 2016-03-14 01:52:40 -04:00
Roberto Rosario 9ba03ff0cb Fix datetime widget rendering. 2016-03-14 01:52:16 -04:00
Roberto Rosario ba2be644f6 Add note about accessing runserver from other machines. 2016-03-14 01:51:39 -04:00
Roberto Rosario fba236b0fc Remove Patreon donation link. 2016-03-14 01:51:22 -04:00
Roberto Rosario 083d6e6fc5 Add links, views and urls. Rename main model to just 'Message'. 2016-03-13 21:05:49 -04:00
Roberto Rosario daa3ca2430 Initial commit to support messages of the day. GitLab issue #222. 2016-03-13 00:56:31 -04:00
Roberto Rosario 6eb868bdfb Add missing migration. 2016-03-12 23:16:18 -04:00
Roberto Rosario d444835f99 Update changelog. 2016-03-12 04:27:49 -04:00
Roberto Rosario 6b79824daf Update uploader style to better match theme and template used. Use the new uploader for new documents only not for document versions. 2016-03-12 04:25:42 -04:00
Roberto Rosario 642c46ec6f Move dropzone code and style loading to the sources app. Improve dropzone widget appearance. Add Javascript translation catalog support. 2016-03-12 00:49:18 -04:00
Roberto Rosario 452bd45407 Initial support for HTML5 uploads. GitLab issue #162. 2016-03-10 05:20:49 -04:00
Roberto Rosario ed2f2480e6 Fix Dutch locale typo, close GitLab issue #256. Add placeholder for 2.1 release notes. 2016-03-10 03:39:50 -04:00
Roberto Rosario 60b7ed6a6d PEP8 cleanups 2016-03-10 03:35:15 -04:00
Roberto Rosario e10ff8e8bd Fix tests. 2016-03-10 03:34:50 -04:00
Roberto Rosario dd2cef50c8 Fix document preview view. 2016-03-10 03:21:20 -04:00
Roberto Rosario 3532ed7c1e Update changelog. 2016-03-09 23:35:34 -04:00
Roberto Rosario 180c38b746 PEP8 cleanups. 2016-03-09 23:31:03 -04:00
Roberto Rosario 45e90da219 Convert the checkout detail view to use the DetailView CBV. Update usage the DetailView CBV in the DocumentProperties view. Add checkout details view permission. 2016-03-09 23:27:02 -04:00
Roberto Rosario 6f02d96212 Update current user detail view to use DetailView CBV. 2016-03-09 23:26:00 -04:00
Roberto Rosario 2c9a01bdfc Improve the date localte handling of the DetailView and DetailForm. 2016-03-09 23:22:31 -04:00
Roberto Rosario 216673c691 Sort variables 2016-03-09 15:58:53 -04:00
Roberto Rosario 17f129e9e6 Add admin interface to the checkouts app. 2016-03-09 15:40:39 -04:00
Roberto Rosario ba4768bcbb Revert icons to their original sizes. 2016-03-09 15:40:22 -04:00
Roberto Rosario 5b6b35f1c3 Make document type deletion period optional. 2016-03-09 14:39:16 -04:00
Roberto Rosario 9b315a7cf4 Simple list to tupple and queryset count optimizations. 2016-03-09 14:25:43 -04:00
Roberto Rosario bccf511178 Add per document type document creation access control test. 2016-03-09 14:24:57 -04:00
Roberto Rosario 330e01972c Hide document facet menu links on small displays. 2016-03-08 04:21:29 -04:00
Roberto Rosario 4d362c3957 Add icons to the document face menu links. Increase icon size by 10%. Increase icon to text spacing to 3px. 2016-03-08 04:17:57 -04:00
Roberto Rosario 5a70bd0995 Remove document clone function. 2016-03-08 03:44:22 -04:00
Roberto Rosario a7faf7f427 Implement per document type document creation permission. Closes GitLab issue #232. 2016-03-08 03:39:23 -04:00
Roberto Rosario 9da4710c0f Deselect the update checkbox for optional metadata by default. 2016-03-08 02:38:15 -04:00
Roberto Rosario d05345ed3c Update tests to match generic CBV success message. 2016-03-08 02:37:22 -04:00
Roberto Rosario ad328b2c3b Silence lock manager model import warning. 2016-03-08 02:32:03 -04:00
Roberto Rosario 927c0bf657 Remove remaining usage of django.contrib.auth.model.User. GitLab issue #225. 2016-03-08 02:21:03 -04:00
Roberto Rosario 5d8dd19895 Merge remote-tracking branch 'origin/development' into development 2016-03-08 01:23:36 -04:00
Roberto Rosario 730cbe922d Update changelog. 2016-03-08 01:23:16 -04:00
Roberto Rosario 1c65b389ee Remove concept of ownership from folders by removing the user field.
"Ownership" now is now determined by ACL of a folder, like the rest of the objects in the system.
2016-03-08 01:20:10 -04:00
Roberto Rosario 74fd47d86e Unify handling for generic CBV views errors and 'object_name'. 2016-03-08 01:13:06 -04:00
Roberto Rosario 014ba4f4fe Remove strip spaces middleware and use spaceless template tag instead. Closes GitLab issue #255. 2016-03-07 20:02:26 -04:00
Roberto Rosario e85002d4ac Add view test to check for duplicated folder creation. 2016-03-07 17:02:19 -04:00
Roberto Rosario 9efa7c9543 Fix typo in document image generation query. Support multiple logins using different sessions iDS. 2016-03-07 04:13:14 -04:00
Roberto Rosario 8a5a26c0b4 Update authenthication code to support multitenants. Replace all remaining instances of hardcoded User model. 2016-03-07 03:08:11 -04:00
Roberto Rosario 6492908c59 Make folders and tags apps multitenant. 2016-03-07 01:53:13 -04:00
Roberto Rosario ce6a1f4020 Merge branch 'master' into feature/merge_master 2016-03-03 16:46:11 -04:00
Roberto Rosario 378a346e79 Remove Docker and Docker Componse files. These files now live in https://gitlab.com/mayan-edms/mayan-edms-docker. 2016-02-14 21:30:08 -04:00
Roberto Rosario 11a9d10e0f Add 2.0.2 release notes. 2016-02-14 21:06:33 -04:00
Roberto Rosario 3fdc5e523a Strip tags from browser title. 2016-02-13 17:35:43 -04:00
Roberto Rosario ed70f96b49 Update changelog. 2016-02-11 04:05:08 -04:00
Roberto Rosario c5c0ad0cce Revert "Configure GitLab-CI mysql service to use UTF-8 and fix failing test in MySQL."
This reverts commit bfa6c51f86.
2016-02-11 03:55:27 -04:00
Roberto Rosario bfa6c51f86 Configure GitLab-CI mysql service to use UTF-8 and fix failing test in MySQL. 2016-02-11 03:08:10 -04:00
Roberto Rosario 0295f7feb5 Add 2 second delay to workaround MySQL not storing millisecond part of timestamp. 2016-02-10 12:11:51 -04:00
Roberto Rosario 7db560d799 Increase delay in test from 1 second to 2 seconds to workaround MySQL truncating millisecond part of timestamp. 2016-02-10 12:10:42 -04:00
Roberto Rosario c3b0146b96 Update changelog. 2016-02-10 03:03:04 -04:00
Roberto Rosario f3d1faebf1 Move metadata form value validation to .clean() and update field data may not be available yet when validatng the value field. Only validate form value if form has a metadata type associated. 2016-02-10 02:27:42 -04:00
Roberto Rosario 03e7339f9b Only extract validation error messages from ValidationError exception instances. 2016-02-10 02:26:57 -04:00
Roberto Rosario f1b090f8d6 Don't store empty metadata value if the update checkbox is not checked. 2016-02-09 19:41:43 -04:00
Roberto Rosario ca326440a2 Revert "Add ability to disable the metadata update column. Disable the metadata update column in the new document upload wizard."
This reverts commit 511e397850.
2016-02-09 19:37:52 -04:00
Roberto Rosario 7e25ff0c0b Add missing browser title generation tag to wizard template. 2016-02-09 19:15:32 -04:00
Roberto Rosario 79e1889e95 Bump version to 2.0.2 2016-02-09 19:08:13 -04:00
Roberto Rosario 16a1a4d3af Fix test test_get_document_version_content, API view return document version page OCR content not document version OCR content. 2016-02-09 19:07:24 -04:00
Roberto Rosario c67080c2d3 Update HISTORY.rst 2016-02-09 13:47:00 -04:00
Roberto Rosario 511e397850 Add ability to disable the metadata update column. Disable the metadata update column in the new document upload wizard. 2016-02-09 13:43:58 -04:00
Roberto Rosario 59624d75cb Fix GitLab issue #250 "Empty optional lookup metadata trigger validation error". Thanks to LeVon Smoker for the find and for the proposed fix.
Reference: https://groups.google.com/forum/#!topic/mayan-edms/VUGRl4xX-1c
2016-02-09 13:00:45 -04:00
Roberto Rosario 2300f4d793 Install testing dependencies when installing development dependencies. 2016-02-09 13:00:24 -04:00
Roberto Rosario 652613452b Add new document upload wizard step to attach tags. GitLab issue #208. 2016-02-05 03:25:27 -04:00
Roberto Rosario 74d8f1d994 Add debug logging during general exception catch. 2016-02-04 22:22:05 -04:00
Roberto Rosario 10eb7d49b2 Update API tests to use login instead of force_authenticate. 2016-02-04 17:39:27 -04:00
Roberto Rosario 8614bc4bfc Remove included login required middleware using django-stronghold instead (http://mikegrouchy.com/django-stronghold/). GitLab Issue #206 2016-02-04 15:33:20 -04:00
Roberto Rosario 2bb96ca98d Add HISTORY entry for upcomming version 2.1. 2016-01-28 06:09:27 -04:00
Roberto Rosario eae11a1b0c Fix remaining tests for Django 1.8. Closes GitLab issue #246. 2016-01-28 06:04:28 -04:00
Roberto Rosario 2ebb84f18f Remove remaining direct references to the User model. Closes GitLab issue #225. 2016-01-28 05:55:15 -04:00
Roberto Rosario 27d8644438 Silence 90% of remaining Django 1.8 model warnings. 2016-01-28 05:43:08 -04:00
Roberto Rosario d5c73eaad6 Rename the 'Content' search label to 'OCR' for proper meaning. 2016-01-28 04:42:26 -04:00
Roberto Rosario 09f4d674a4 Pass the request instance to properly resolve the setup and tools links. 2016-01-28 04:40:31 -04:00
Roberto Rosario 830e83d107 Remove unused template. 2016-01-28 04:21:18 -04:00
Roberto Rosario 24644e3538 Remove select_related using reverse related name field. 2016-01-27 18:34:32 -04:00
Roberto Rosario 2dd4ca1f13 Workaround undocumented backward incompatible change in python-gnupy 0.3.8. 2016-01-26 05:14:07 -04:00
Roberto Rosario 59661f643b Update API pagination for DRF 3.3.2. 2016-01-26 03:55:44 -04:00
Roberto Rosario 0b830c380d Silence furder Django 1.8 warnings about ContentType imports. Fix get_model in handlers. 2016-01-26 03:55:10 -04:00
Roberto Rosario 6b3fe7a876 Fix futher Django Warnings. 2016-01-22 04:52:47 -04:00
Roberto Rosario 20535529dc Fix address in about template. 2016-01-22 04:51:48 -04:00
Roberto Rosario ac9bc9454d Update source app code for new extracted formtools package. 2016-01-22 04:02:12 -04:00
Roberto Rosario ca15cadc5e Add missing migration for pycountry update. 2016-01-22 04:01:49 -04:00
Roberto Rosario 5ec3025120 Use OneToOneField instead of a ForeignKey with unique=True. 2016-01-22 04:01:15 -04:00
Roberto Rosario fbb22affaa Update pycountry code to new 1.19 backwards incompatible changes. 2016-01-22 04:00:30 -04:00
Roberto Rosario b19225e95d Load models by calling AppConfig.get_model method instead. 2016-01-22 03:59:42 -04:00
Roberto Rosario 2f344f299f Update all requirements to most recent version. Update Django to 1.8.8 LTS. 2016-01-22 03:58:00 -04:00
Roberto Rosario 699bda40c2 Bump version to 2.0.1. 2016-01-22 00:30:32 -04:00
Roberto Rosario f8da7fe1a9 Revert "Testing base settings now import from settings/local.py first."
This reverts commit 2f298df1a0.
2016-01-17 00:44:57 -04:00
Roberto Rosario c5d4d3e95b Revert "Update changelog."
This reverts commit eadce3bd77.
2016-01-17 00:44:21 -04:00
Roberto Rosario eadce3bd77 Update changelog. 2016-01-17 00:25:05 -04:00
Roberto Rosario 2f298df1a0 Testing base settings now import from settings/local.py first. 2016-01-17 00:23:51 -04:00
Roberto Rosario acba510b90 Add mention that repository cloning is needed to install via Vagrant. 2016-01-17 00:08:15 -04:00
Roberto Rosario 29ba24336c Remove sudo, this script is meant to run as root. 2016-01-17 00:07:00 -04:00
Roberto Rosario a3a589fee8 Update Vagrantfile to provision a production box too. 2016-01-12 14:32:47 -04:00
Roberto Rosario 460076004a Fix GitLab issue #245, "Add multiple metadata not possible" 2016-01-12 03:48:21 -04:00
Roberto Rosario 79c5a103a2 Fix GitLab issue #243, "System allows a user to skip entering values for a required metadata field while uploading a new document". 2016-01-12 02:40:47 -04:00
Roberto Rosario 6c0ce71086 Add production install script. 2016-01-11 22:24:41 -04:00
Roberto Rosario 70761c055b Merge branch 'master' of gitlab.com:mayan-edms/mayan-edms 2016-01-08 03:37:14 -04:00
Roberto Rosario 3e1fc43112 Clarify some instruction steps. 2016-01-08 03:35:50 -04:00
Roberto Rosario 4da79ea1d1 Clarify some instructions steps. 2016-01-08 03:20:48 -04:00
Roberto Rosario e95e90cc47 Add more donation options. 2015-12-29 01:46:41 -04:00
Roberto Rosario 7f34ff7875 Improve docker composer instructions. 2015-12-18 03:56:45 -04:00
Roberto Rosario 02ba174a40 Add missing uwsgi.ini file to the deployment installation chapter. Simplified Docker and Docker Compose instructions. 2015-12-18 03:13:15 -04:00
Roberto Rosario 8c763cec0f Expand docker and docker compose instruction. 2015-12-04 21:15:05 -04:00
Roberto Rosario c20a63760b Update references from GitHub to GitLab. 2015-12-04 05:45:06 -04:00
Roberto Rosario e702d45c41 Update release date. 2015-12-04 05:42:36 -04:00
Roberto Rosario a3530f3627 Update all branch references from development to master. 2015-12-04 05:36:01 -04:00
Roberto Rosario 1d4040a3d3 Merge branch 'development' 2015-12-04 05:32:13 -04:00
Roberto Rosario 9062d8817b Bump version to 2.0.0 final. 2015-12-04 05:27:48 -04:00
Roberto Rosario d0ec5ef87a Update release date. 2015-12-04 05:27:42 -04:00
Roberto Rosario cf10f7f528 Add Docker and Docker Compose deploying instructions. 2015-12-04 05:09:42 -04:00
Roberto Rosario 79b79fa0f9 Point to official docker hub image. 2015-12-04 05:09:26 -04:00
Roberto Rosario b5109f679c Point to release version. 2015-12-04 05:08:59 -04:00
Roberto Rosario 76f09d6c60 Add docker compose file. 2015-12-03 03:12:33 -04:00
Roberto Rosario 1f8f860f2c Merge branch 'development' into feature/docker 2015-12-03 02:08:53 -04:00
Roberto Rosario 7f0b37f8b6 Show overview gif animation on docs index. 2015-12-03 02:08:01 -04:00
Roberto Rosario acebfaedd4 Update overview GIF animation. 2015-12-03 02:07:46 -04:00
Roberto Rosario 37647ca27a Tweak the first time login panel width. 2015-12-02 04:30:25 -04:00
Roberto Rosario d62ee8ad19 Documentation updates. Add screenshots chapter. 2015-12-02 04:09:49 -04:00
Roberto Rosario 0a9d0fc69b Rename entrypoint script. 2015-11-30 02:41:09 -04:00
Roberto Rosario 69ae1ead57 Don't demonize celery worker, send to the background instead. 2015-11-30 02:40:40 -04:00
Roberto Rosario 1cf1065f8a Delete more apt-get files to decrease docker image size. 2015-11-30 02:40:12 -04:00
Roberto Rosario 63102765cd Ignore all of the repository when building the docker image. 2015-11-30 01:06:18 -04:00
Roberto Rosario ad439fb9ce Initial commit required to build a Docker image. 2015-11-29 19:00:21 -04:00
Roberto Rosario 6ef9b25e74 Document spell check and format cleanup. Small content fixes. 2015-11-29 18:38:19 -04:00
Roberto Rosario 1ad68a61f5 Only create the initial document type and web source if none exists. 2015-11-19 00:45:04 -04:00
Roberto Rosario 3d1d1fb44f Fix coverage badge markup. Remove wheel badge. 2015-11-04 18:15:58 -04:00
Roberto Rosario 24da09b360 Add wheel to the development requirements. 2015-11-04 17:54:04 -04:00
Roberto Rosario 6f0805c8dd Bump version to 2.0.0 release candidate 1. 2015-11-04 17:15:38 -04:00
Roberto Rosario 1867c589f5 Remove admin user tests for the documents app views. SPlit all view test into priviledged and unpriviledged tests. 2015-11-04 01:43:44 -04:00
Roberto Rosario 97c3a74331 Fix incorrect ACL check method. 2015-11-04 01:43:11 -04:00
Roberto Rosario ec4324a3d6 Make arguments explicit. 2015-11-04 01:42:43 -04:00
Roberto Rosario 13b167abc9 Split mode documents app view tests into test with and without permissions. 2015-11-03 23:32:09 -04:00
Roberto Rosario 3a6cf48068 Return PermissionDenied when user has no sufficient permission and accessting one document. 2015-11-03 16:31:03 -04:00
Roberto Rosario 8a50721117 Expand and improve the documents app view tests. 2015-11-03 01:37:35 -04:00
Roberto Rosario 23270e948c PEP8 cleanups. 2015-11-02 17:40:27 -04:00
Roberto Rosario 750127eb92 Raise PermissionDenied on single document access, show 'Selected at least 1 document' when the multidocument view is used. GL issue #240. 2015-11-01 03:06:40 -04:00
Roberto Rosario cbc1f12bf6 Simplify tests teatDown method. 2015-11-01 02:57:55 -04:00
Roberto Rosario 391298eea1 Improve ACLs tests. 2015-11-01 02:49:21 -04:00
Roberto Rosario 8c1d5319dd Test an object's parent for permission but also test the child object if the parent test fails. 2015-11-01 02:47:24 -04:00
Roberto Rosario 379f9d6bee Update mailer view document collection to be a queryset and not a list of instances. 2015-10-28 02:22:25 -04:00
Roberto Rosario 923ecc85d8 PEP8 Cleanups. 2015-10-28 02:22:10 -04:00
Roberto Rosario a1a0a6da52 PEP8 Cleanups. 2015-10-28 02:14:48 -04:00
Roberto Rosario 2180ab22bd Fix typo. 2015-10-28 02:03:59 -04:00
Roberto Rosario b9585cb4ad Multi document links should not have permissions. 2015-10-28 02:03:25 -04:00
Roberto Rosario 26250412ce Add test for the document version revert and document version download links. GL issue #230. 2015-10-28 01:33:43 -04:00
Roberto Rosario c116a46af4 PEP8 cleanusp. 2015-10-28 01:33:26 -04:00
Roberto Rosario 81568d051f Add test method to request the test view using the GET HTTP verb. 2015-10-28 01:32:28 -04:00
Roberto Rosario f517057dba Add permission inheritance to document pages and documents version with 'document' as the parent object. 2015-10-28 01:07:24 -04:00
Roberto Rosario 7b2eae4b5c ACL access check now check the object for permission inheritance too. IE: page navigation links. 2015-10-28 01:06:18 -04:00
Roberto Rosario 124c6dab5e Implement repeatable way to add test views. 2015-10-27 15:23:26 -04:00
Roberto Rosario b1fa66b78c Code style update. 2015-10-27 10:34:07 -04:00
Roberto Rosario 7e365de569 Code style updates. 2015-10-26 02:24:52 -04:00
Roberto Rosario f4a461e5a5 Don't error out link resolution if user doesn't has permission for the object argument. This issue manifests during the forcefull check in attempt of issue GL #237. Solved and test added. 2015-10-26 02:15:53 -04:00
Roberto Rosario 31846a739d Change the document OCR tab label and view title from 'Content' to 'OCR', to eliminate confusion of OCR text vs. original document content. 2015-10-25 01:59:07 -04:00
Roberto Rosario ce07077f3e Test links ACL against the view's resolved_object or fallback to test against the {{ object }} context variable. Solves GL issue #230. 2015-10-25 01:54:18 -04:00
Roberto Rosario 9bbd148497 Remove NewDocumentVersionBlockViewTestCase, it belongs in the sources app only. 2015-10-25 01:53:32 -04:00
Roberto Rosario b0f5e8741b Raise PermissionDenied instead of redirecting with a message if user doesn't have the tag attach permission. GL issue #235. 2015-10-24 00:46:29 -04:00
Roberto Rosario dfda765d34 Make sure to test that the user can't attach a tag with the proper permission. GL issue #235. 2015-10-23 14:45:43 -04:00
Roberto Rosario da4c41c5b2 Change the way new document version are blocked, moving the logic to the documents app from the checkouts app signal handler. Disable the upload new document version button and have the new version upload view redirect to the document version list with a message. GitLab issue #231. 2015-10-23 06:06:59 -04:00
Roberto Rosario 414c55f824 Update the metadata_add and metadata_remove views to use the new ACL filter_by_access code. Update and improve tests. 2015-10-23 02:52:27 -04:00
Roberto Rosario 02171755f0 Update the document_multiple_clear_transformations, document_clear_transformations_view, document_multiple_update_page_count, and document_update_page_count views to use the new filter by access ACL code. Add some and improve other document views tests. 2015-10-22 21:59:35 -04:00
Roberto Rosario 8d266693c8 Add sample configuration from the deploying chapter. 2015-10-22 15:49:59 -04:00
Roberto Rosario 10f2bd6226 Improve multi user delete view. Add view tests for the user management app. 2015-10-22 04:23:16 -04:00
Roberto Rosario 11d6b100b4 Update tag views to use updated ACL filter_by_access. Add better tag app views tests. 2015-10-22 04:22:22 -04:00
Roberto Rosario 1eb2190f86 Update tags app views tag_delete, single_document_multiple_tag_remove, and multiple_documents_selection_tag_remove to work with the new way filter_by_access works. Add tags app views tests. 2015-10-22 03:09:44 -04:00
Roberto Rosario 73abe297ee Add .get .post .login method to GenericViewTestCase. Update folder app view tests. 2015-10-22 02:00:02 -04:00
Roberto Rosario b02cee1759 Update the folder_document_multiple_remove, folder_add_document, folder_add_multiple_documents views to use queryset instead of list of objects. Improve folder app views tests. 2015-10-22 00:17:39 -04:00
Roberto Rosario f1069fad74 Code style fix. 2015-10-22 00:17:02 -04:00
Roberto Rosario 2f67a20f7e Use GenericViewTestCase to test the about view. 2015-10-22 00:16:31 -04:00
Roberto Rosario ec7460a0fe Update folder_document_remove view work with the ACL queryset only code. 2015-10-21 20:51:11 -04:00
Roberto Rosario 54ae8bcda5 Add GenericViewTestCase and GenericDocumentViewTestCase classes. 2015-10-21 20:50:31 -04:00
Roberto Rosario 475ceb054f OCR errors are deleted at the next successfull retry, remove redundant option to delete OCR log entries. 2015-10-21 04:07:20 -04:00
Roberto Rosario 71ac2cbf79 With full document OCR queue and per document type OCR queuing, re_queueing OCR errors is redundant, removing. 2015-10-21 03:58:09 -04:00
Roberto Rosario da0134a7fb Fix label of the left box in group members views. GL issue #233. 2015-10-21 03:45:28 -04:00
Roberto Rosario 6f82ee8cb5 Make MultipleInstanceActionMixin operate on a queryset and not on a list of objects. Get the id_list from GET or POST requests, not just GET requests. 2015-10-21 03:41:12 -04:00
Roberto Rosario 6d80b40ed4 Remove unused related parameter for the ACL filter method. 2015-10-21 03:40:13 -04:00
Roberto Rosario f739dd54ac Fix document download views. Fixes GL issue #229. Thanks to @ammaranjith for the find and fix idea. 2015-10-21 03:38:56 -04:00
Roberto Rosario 58f73f0b1e Use Django's six library for Py3 compatibility. 2015-10-21 03:33:10 -04:00
Roberto Rosario 6b950b7ccf Style update. 2015-10-21 03:32:51 -04:00
Roberto Rosario ec1b3e9007 Eliminate repetition in the testing requirements files. 2015-10-21 01:40:05 -04:00
Roberto Rosario 35d33b1a74 Ignore coverage temporary files produce during tox test runs. 2015-10-21 01:34:33 -04:00
Roberto Rosario 5f9c847239 Move stub deletion code from tasks.py to the manager of the Document model. 2015-10-21 01:34:03 -04:00
Roberto Rosario 0cf963c19f Make user or admin login more explicit in the documents apps view tests. 2015-10-21 00:52:19 -04:00
Roberto Rosario fc81d4315e Process multiple documents in the tag attach views as querysets not as list of objects. AccessControlList.objects.filter_by_access only supports querysets now. Closes GL issue #228. 2015-10-21 00:50:04 -04:00
Roberto Rosario df7a5c6e1c Reorganize tests literals and move then to their respective apps. 2015-10-20 21:14:07 -04:00
Roberto Rosario 2bd92d8fac Use the unified test management command for continious integration. 2015-10-20 21:12:33 -04:00
Roberto Rosario 0cb43e1d46 Release notes updates. 2015-10-20 21:12:13 -04:00
Roberto Rosario 6c65598a4d Remove permission check from the multiple document action links, an user may not have permissions for some items but maybe does for others, we don't know as scanning the entire queryset for ACLs is costly, so we leave the links enable, permission check is done by the view. 2015-10-20 20:05:40 -04:00
Roberto Rosario 9fbc8647b8 Fix document list generation for the document's type change views. Move type change event and recent document addition to the models. Add view tests for the document's type change views. 2015-10-20 20:03:54 -04:00
Roberto Rosario ebfd37ebf5 Documentation updates. 2015-10-20 04:14:48 -04:00
Roberto Rosario 9bb3cb4595 Add command to create an initial settings file. Existing local.py don't stop the initialsetup command now. 2015-10-20 04:13:59 -04:00
Roberto Rosario 3065e5be62 Cleanup contributed files. 2015-10-20 04:13:23 -04:00
Roberto Rosario 6f6270f11c Documentation updates. 2015-10-19 06:15:54 -04:00
Roberto Rosario 24d0866d8b Split development requirements and add documentation writting requirements. 2015-10-19 06:14:42 -04:00
Roberto Rosario f9940f1fd0 Add default_app_config value to each app. Closes issue GL #216. 2015-10-19 02:57:00 -04:00
Roberto Rosario 5167e91c90 Remove TODO reminder, this link position was implemented. 2015-10-19 02:54:34 -04:00
Roberto Rosario 19a2c02594 Document count column in document type list view is now permission aware. 2015-10-19 02:19:08 -04:00
Roberto Rosario 94bebf90ca Remove TODO reminder, error are logged by Celery. 2015-10-19 02:10:12 -04:00
Roberto Rosario 3f8b23d751 Show 'no results' on empty list. 2015-10-19 02:09:40 -04:00
Roberto Rosario 64faa0ca15 Fix documents app view tests. Update code to match code style. PEP8 fixes. 2015-10-19 01:54:37 -04:00
Roberto Rosario bfe621ba89 PEP8 updates. 2015-10-19 01:27:26 -04:00
Roberto Rosario e57080b06d Style updates. 2015-10-19 01:21:43 -04:00
Roberto Rosario e791f2d36c Get deserialized documents by UUID only. 2015-10-19 01:21:16 -04:00
Roberto Rosario 32c7b0e379 Fix import typo. 2015-10-19 00:56:24 -04:00
Roberto Rosario 81c7a90c04 Fix message typo. 2015-10-19 00:56:11 -04:00
Roberto Rosario 6e43b99ecd Add natural key serialization. 2015-10-17 05:13:58 -04:00
Roberto Rosario 1907130ef2 Remove github buttons from documentation's theme. 2015-10-17 04:27:34 -04:00
Roberto Rosario 61525d2479 Add Gumroad button. 2015-10-17 04:11:44 -04:00
Roberto Rosario 8c886dd788 Add Sphinx and sphinx-autobuild to development requirements. 2015-10-17 04:11:21 -04:00
Roberto Rosario f7daffde49 Update setup.py dependencies. 2015-10-17 03:14:05 -04:00
Roberto Rosario 3b9e65f5d3 Bump version to 2.0.0 beta 2. 2015-10-17 03:05:45 -04:00
Roberto Rosario 6e9c2a14ae Add folder app view tests. 2015-10-17 02:17:36 -04:00
Roberto Rosario 480a107c61 Ignore coverage files. 2015-10-17 01:30:21 -04:00
Roberto Rosario 1c72e29a5b Add tox testing for different python and django versions. Add automatic coverage reporting. 2015-10-17 01:29:47 -04:00
Roberto Rosario 35b0e321f9 Exclude tests and settings from coverage report. 2015-10-17 01:28:59 -04:00
Roberto Rosario b49b960298 Fix tag app test import. 2015-10-16 03:38:09 -04:00
Roberto Rosario 2e2dc3de3c Update to version 1.1.0 of django-autoadmin which closes issue GL#202. 2015-10-16 03:24:04 -04:00
Roberto Rosario 90a1ecb826 Add permissions app views tests. 2015-10-15 19:37:04 -04:00
Roberto Rosario 8744bd82ee Fix allow editing a required metadata after changing the document type. Closes issue GL #204. 2015-10-15 16:40:35 -04:00
Roberto Rosario 572ceb50ec Fix typo, install mysql-client binary not Python library. 2015-10-15 16:36:41 -04:00
Roberto Rosario ec92caaac0 Modify mysql database collation directly using the mysql-client. 2015-10-15 15:30:59 -04:00
Roberto Rosario 5b0359d379 Increase delay after new version in test. 2015-10-15 14:54:38 -04:00
Roberto Rosario 418a3ac213 Documentation updates. 2015-10-15 14:54:22 -04:00
Roberto Rosario 35fa8495bd Force MySQL to use UTF-8 collation for tests. 2015-10-15 14:53:54 -04:00
Roberto Rosario bdc15fb518 Show thumbnails and previews for deleted documents. 2015-10-14 15:23:02 -04:00
Roberto Rosario 572d7b68d7 Backport fix from development branch.
Fix worklow state and transition deletion views. GH issue #237.

Conflicts:
	mayan/apps/document_states/apps.py
	mayan/apps/document_states/views.py
2015-10-14 14:53:44 -04:00
Roberto Rosario 00f1f25ecf Fix worklow state and transition deletion views. GH issue #237. 2015-10-14 14:46:45 -04:00
Roberto Rosario 715f4204e0 Add tox ini file. 2015-10-10 13:03:49 -04:00
Roberto Rosario 976a86947e Add management command to run tests from app list built dynamically. 2015-10-10 03:24:57 -04:00
Roberto Rosario 07f02b8f0b Add tests for the remove metadata view. 2015-10-10 02:45:00 -04:00
Roberto Rosario cb98f0f2d2 Pass document_type to the remove metadata formset. 2015-10-10 02:44:29 -04:00
Roberto Rosario 9708c76646 Improve coding style. Don't change initial kwargs using .pop. 2015-10-10 02:42:42 -04:00
Roberto Rosario 40b94e41d8 Fix document check in view. Fixes issue GH#238. 2015-10-09 23:42:34 -04:00
Roberto Rosario 8af1ee3246 Use checkout form field inclusion instead of exclusion. 2015-10-09 23:41:09 -04:00
Roberto Rosario 799eac8016 Remove custom 500 error view. 2015-10-09 23:40:25 -04:00
Roberto Rosario d4d9a5a276 Fail elegantly when resolving a menu and there is no request variable. 2015-10-09 23:39:56 -04:00
Roberto Rosario 36805b3540 Fix typo in ACL title translation code. Fixes issue GL#201. 2015-10-08 19:33:44 -04:00
Roberto Rosario 27da0f8bb2 Add missing translation marker. Closes issue GL#201. 2015-10-08 19:29:19 -04:00
Roberto Rosario 1eddea65af Delay python formating of the translatable string. Fixes part of issue GL#201. 2015-10-08 18:57:02 -04:00
Roberto Rosario f6c4b153c7 Make document tags widget permissions aware, closes GL #182. 2015-10-08 02:58:11 -04:00
Roberto Rosario 5da248375f Move test magic numbers and strings into test.literals.py. 2015-10-08 02:57:42 -04:00
Roberto Rosario 8a566d5b91 Remove sample debug config from development settings, it is done automatically now. 2015-10-08 02:57:02 -04:00
Roberto Rosario 89d15aa275 Add missing variable to app auto URL debug statement. 2015-10-08 02:56:20 -04:00
Roberto Rosario 86ff835839 PEP8 Cleanups. 2015-10-07 22:24:44 -04:00
Roberto Rosario aabbe59093 Change test class name. 2015-10-07 19:37:00 -04:00
Roberto Rosario 71a1aba697 Capitalize POP3 and IMAP in sources links. 2015-10-07 19:32:33 -04:00
Roberto Rosario 1556fa92e4 Add test for the about view. 2015-10-07 19:32:00 -04:00
Roberto Rosario 677d28b015 Don't error when composing the build number on non Git deploys. 2015-10-07 03:48:32 -04:00
Roberto Rosario a76a8b7e0a Reset pointer before attemping a conversion. 2015-10-07 03:17:02 -04:00
Roberto Rosario c9d9f90cac Improve OCR API views code. 2015-10-07 03:13:46 -04:00
Roberto Rosario a814448c81 Change OCR API CBV class names to match rest of the project. 2015-10-07 02:44:55 -04:00
Roberto Rosario 39f1adab6b Remove unused import. 2015-10-07 02:44:29 -04:00
Roberto Rosario cbe77ee258 Dynamic links do not have a menu position entry. Use .get to avoid error on non existant entries. 2015-10-07 02:43:01 -04:00
Roberto Rosario 8bdd4ba452 Add API views to download documents and document versions. 2015-10-07 02:42:36 -04:00
Roberto Rosario 41ede494db Add API views to submit documents for OCR and to retrieve document page OCR content. 2015-10-06 23:22:08 -04:00
Roberto Rosario 942b6af502 Add admin views for document ocr content. 2015-10-06 23:21:31 -04:00
Roberto Rosario 9822fc0db2 PEP8 update. 2015-10-06 23:21:14 -04:00
Roberto Rosario e4cc599057 Update Django REST swagger version. 2015-10-06 23:20:52 -04:00
Roberto Rosario 6f4426dce0 Move metadata widget code to metadata/widgets.py. 2015-10-06 02:31:37 -04:00
Roberto Rosario 97d8529994 Add boolean field to email source to control if the body of the email is to be stored or not. 2015-09-30 20:57:47 -04:00
Roberto Rosario 3d0c9485d0 Add support for storing the subject and "from" value of an email as metadata. 2015-09-30 20:20:27 -04:00
Roberto Rosario 6faf4b0f2a Add admin entires for the IMAP and POP3 sources. 2015-09-30 19:14:08 -04:00
Roberto Rosario 15db0aed25 Update release notes. 2015-09-29 14:28:08 -04:00
Roberto Rosario b4c50c0036 Omit migrations from coverage report. 2015-09-29 14:17:10 -04:00
Roberto Rosario 83c8f28455 Cleanups. 2015-09-28 04:15:37 -04:00
Roberto Rosario 20398174a8 Initial commit for top level api URLS. 2015-09-28 04:05:03 -04:00
Roberto Rosario a7012b3f6b Add API documentation to the login excempt list. 2015-09-28 03:48:18 -04:00
Roberto Rosario 5820ae68c2 Add coverage widget. 2015-09-28 03:45:20 -04:00
Roberto Rosario 60d3d4adb7 Remove curl parameter. 2015-09-28 03:45:08 -04:00
Roberto Rosario f716faea40 Remove overrided swagger CSS. 2015-09-28 01:55:22 -04:00
Roberto Rosario 40c8fa728d Add official codecov hack for coverage <4.0. 2015-09-28 01:00:53 -04:00
Roberto Rosario ea31115cd8 Revert "Update coverage version to 4.0"
This reverts commit 8d52f85b63.
2015-09-28 00:59:23 -04:00
Roberto Rosario f789ea09e6 Pass codecov token via environment variable. 2015-09-28 00:26:20 -04:00
Roberto Rosario 8d52f85b63 Update coverage version to 4.0 2015-09-28 00:25:56 -04:00
Roberto Rosario fc1c455a0a Fix gitlab-ci base import. 2015-09-28 00:24:59 -04:00
Roberto Rosario 612e31c47e Add codecov support for test coverage reporting. 2015-09-28 00:09:23 -04:00
Roberto Rosario b2fcace9c2 Update postgres hostname. 2015-09-27 23:27:16 -04:00
Roberto Rosario 522d9b3905 Split test by db backend. 2015-09-27 23:27:00 -04:00
Roberto Rosario d8f811a357 Change the host for the mysql server. 2015-09-27 23:07:44 -04:00
Roberto Rosario 25f65f0d96 Add script tags. 2015-09-27 03:29:03 -04:00
Roberto Rosario 4b1bb38c86 Implement menu link ordering. 2015-09-27 02:18:04 -04:00
Roberto Rosario b335f70e57 Improve how unbounded links are calculated and removed from results. 2015-09-27 01:42:12 -04:00
Roberto Rosario 62ecc32ad5 Add --nomigrations swtich to test config files. Add metadata app to gitlab test config file. 2015-09-27 01:41:31 -04:00
Roberto Rosario e53c624792 Remove remark. 2015-09-27 01:38:20 -04:00
Roberto Rosario 14184b8c76 Add view to queue document for OCR by document type. 2015-09-27 01:37:57 -04:00
Roberto Rosario a236b7a869 Add django-test-without-migations and enable it in the base testing settings file. 2015-09-27 00:36:58 -04:00
Roberto Rosario 3e7cd0c1ea Move retention policies enforcement code to the DocumentType model manager. Add corresponding tests (test_auto_trashing and test_auto_delete). 2015-09-27 00:35:56 -04:00
Roberto Rosario 22a29eede3 Use explicit literals for the time delta units used for retention policies. 2015-09-26 23:52:10 -04:00
Roberto Rosario c796f2b2c4 TODO comment cleanups. Remove unused Document model method. 2015-09-26 23:50:57 -04:00
Roberto Rosario 3d3abb6ad6 Use SH to call LibreOffice binary. Force LibreOffice input filter when converting text files. 2015-09-26 03:00:11 -04:00
Roberto Rosario 654825829c Store the body of emails as a document just like attachments. 2015-09-26 02:59:24 -04:00
Roberto Rosario 6159645261 Remove print statements. 2015-09-25 17:01:18 -04:00
Roberto Rosario 500f870c78 Do a force pull of all translations and a compile. 2015-09-25 04:18:04 -04:00
Roberto Rosario 228cf32fc8 Connect to MySQL via TCP not via Linux socket. 2015-09-25 00:31:57 -04:00
Roberto Rosario 2cff1ee854 Update README to show build badge from gitlab-ci. 2015-09-25 00:21:28 -04:00
Roberto Rosario e42dbefa74 Add missing LibreOffice binary dependency to gitlab config file. 2015-09-25 00:08:28 -04:00
Roberto Rosario 32b7ec3e14 Simplify gitlab-ci file. Merge jobs. 2015-09-25 00:00:09 -04:00
Roberto Rosario 1a205a5586 Enclose gitlab-ci variables in quotes. 2015-09-24 23:34:02 -04:00
Roberto Rosario 6edafc814f Add testing setting files for gitlab-ci. Improve gitlab-ci config file. 2015-09-24 23:28:36 -04:00
Roberto Rosario ac2a08b90b Make sure LICENSE is copied during install. 2015-09-24 17:55:34 -04:00
Roberto Rosario 87e8b1cec9 Add LICENSE file in the namespace of the project. 2015-09-24 17:08:30 -04:00
Roberto Rosario 8629e6495e Translation source files updates. Add translator comments. Thanks to Berny for these. 2015-09-24 16:30:19 -04:00
Roberto Rosario 3f63376dae Include .woff and .woff2 files. 2015-09-24 02:36:30 -04:00
Roberto Rosario 9efc07c4b4 Update packaging files. 2015-09-24 02:26:05 -04:00
Roberto Rosario 5e577f4b1a Update gitlab-ci config file. 2015-09-24 02:15:13 -04:00
Roberto Rosario bef6bbaf3e Update documentation. 2015-09-24 01:50:51 -04:00
Roberto Rosario c9b981f07a Update translation sources and compiles files. 2015-09-24 01:44:03 -04:00
Roberto Rosario e732355f45 Update HISTORY.rst file to include version 2.0 changes. 2015-09-24 01:34:49 -04:00
Roberto Rosario 70a5b0839a Update redirect variable. 2015-09-23 03:41:33 -04:00
Roberto Rosario 371c2105a8 Bump version 2015-09-23 03:33:21 -04:00
Roberto Rosario 6480489086 Add view displaying all 3rd party apps and packages' licenses. 2015-09-23 03:32:14 -04:00
Roberto Rosario 59ae20a867 Make task delay a configurable setting. 2015-09-23 01:09:21 -04:00
Roberto Rosario fac103bcfd Fix typo. Add checkouts app. 2015-09-22 21:52:17 -04:00
Roberto Rosario 6ccfaf59f8 Add 1 second delay to workaround MySQL <5.6.4 not storing millisecond time data which is used to determine lastest version of a document. 2015-09-21 04:19:57 -04:00
Roberto Rosario 79823ec531 Improve auto logging to enable logging to all apps, even those not calling the ready() method. 2015-09-21 03:44:20 -04:00
Roberto Rosario ba841c10f8 Use small sample document for checkout app tests. 2015-09-19 23:37:27 -04:00
Roberto Rosario 079c06c207 Don't reference document_version in error messages as if might not exists yet. 2015-09-19 22:07:52 -04:00
Roberto Rosario 1feea67f41 Add migrations for proxy models. 2015-09-19 22:02:51 -04:00
Roberto Rosario 366eca8ed7 Add missing metadata app migration. 2015-09-19 22:01:46 -04:00
Roberto Rosario baea430d5e Add auto logging. 2015-09-19 21:57:46 -04:00
Roberto Rosario 659df0c05c Add celery route for manually queued statistics updates. 2015-09-19 21:50:02 -04:00
Roberto Rosario bc66c68450 Add a 1 second delay to automatic OCR to avoid tasking OCR before document version is available in DB. 2015-09-19 21:47:59 -04:00
Roberto Rosario 115f5dd284 Add CELERY_DISABLE_RATE_LIMITS to the base settings file. 2015-09-19 21:46:18 -04:00
Roberto Rosario df417f562c PEP8 Cleanups (471 warnings). 2015-09-17 21:34:27 -04:00
Roberto Rosario 2b97f4a72f Remove the delete recent search API endpoint. Improve docsctring. 2015-09-17 19:30:02 -04:00
Roberto Rosario afac156da8 Revert "Update travis config file to use new architecture."
This reverts commit 206ff0ba3c.
2015-09-17 03:07:18 -04:00
Roberto Rosario 206ff0ba3c Update travis config file to use new architecture. 2015-09-17 03:02:04 -04:00
Roberto Rosario bd01fe1b72 Add 1 seconds delay to avoid version revert tests failing on MySQL. This is because MySQL doesn't store milliseconds in the DB. Version revert uses timestamp as the original document and the new version are created within the same second the revert code doesn't work. This delay is a hack and a better solution to differentiate versions by serial or similar needs to be implemented. 2015-09-17 02:57:28 -04:00
Roberto Rosario 0d591e7ff6 Reorganize methods as per design document. 2015-09-17 02:56:46 -04:00
Roberto Rosario 04be61a6f4 Add LibreOffice to the Travis CI config file. 2015-09-16 21:38:06 -04:00
Roberto Rosario 18d9e2f756 Update release notes. 2015-09-16 21:08:35 -04:00
Roberto Rosario 7b3fc3463b Add missing permissions to workflow links. 2015-09-16 20:25:31 -04:00
Roberto Rosario e4a9d72ddc Simplify document workflow permissions. 2015-09-16 20:25:07 -04:00
Roberto Rosario 1dee5a8e78 Add support for unbinding links from sources by menu. Improve ResolvedLink class. Remove Link class 'klass' property. 2015-09-16 20:09:31 -04:00
Roberto Rosario b980823375 Hide all title details of the login view. 2015-09-16 16:19:15 -04:00
Roberto Rosario dbd676646b Don't convert images blindly to RGB. Only convert to RGB or RGBA when saving to JPEG and mode is 'P'. documents.tests.test_models.MultiPageTiffTestCase passes again. 2015-09-16 15:56:10 -04:00
Roberto Rosario 60e64b92fd PEP8 Cleanup (495 warnings). 2015-09-16 09:33:16 -04:00
Roberto Rosario 22ae0eca70 Update setup requirements by hand until they can be updated automatically. 2015-09-16 05:34:32 -04:00
Roberto Rosario 86e099dd7b Update the index rebuild view to CBV. 2015-09-16 05:33:01 -04:00
Roberto Rosario 6ca6cd9f21 PEP8 Cleanusp (549 warnings). 2015-09-16 04:15:10 -04:00
Roberto Rosario 6a10c6e19b Add tests for the checkouts app. 2015-09-16 03:46:10 -04:00
Roberto Rosario 12187a884f Merge branch 'development' into feature/test 2015-09-15 18:08:54 -04:00
Roberto Rosario e1a04d9838 Convert document trash view to CBV. Improve ConfirmView based CBVs. 2015-09-15 02:02:38 -04:00
Roberto Rosario d6a3111d69 Make sure all images are converted to RGB before processing. 2015-09-15 02:01:56 -04:00
Roberto Rosario a598aef662 Add tag get_absolute_url method. 2015-09-14 23:42:04 -04:00
Roberto Rosario 34e02731e9 Merge branch 'feature/scheduled_stats' into development 2015-09-14 21:58:16 -04:00
Roberto Rosario c1619c93e0 Finish statistics subsystem refactor. 2015-09-14 21:57:55 -04:00
Mathias Behrle 8384455bee Adapt README for gitlab. 2015-09-14 11:51:16 +02:00
Roberto Rosario ceed96401b Add app creation chapter to documentation. 2015-09-11 22:51:39 -04:00
Roberto Rosario ca6f6c3402 Document update. Add new deployment chapter. 2015-09-11 09:47:56 -04:00
Roberto Rosario 7687618ea6 Invert series palette. 2015-09-11 08:28:16 -04:00
Roberto Rosario 5846743d6e Finish conversion of statistic to periodic statistics. Add ChartJS support. Add Line chart renderer. 2015-09-09 04:36:09 -04:00
Roberto Rosario 70c23a19d3 Initial commit to support scheduled statistics. 2015-09-09 00:24:53 -04:00
Roberto Rosario d474efe8b3 Increase stale document stub check interval. 2015-09-08 19:00:53 -04:00
Roberto Rosario 460d8585ee Add periodic task to remove stale shared uploads. 2015-09-08 18:58:48 -04:00
Roberto Rosario 43e1ffbc24 Add scheduled task to delete stale document stubs. 2015-09-08 18:38:24 -04:00
Roberto Rosario 02353927db Improve admin interfaces. 2015-09-08 18:13:22 -04:00
Roberto Rosario f21ee34a94 Remove ununsed DOCUMENTS_MULTIPAGE_PREVIEW_SIZE setting. 2015-09-08 15:42:12 -04:00
Roberto Rosario 80606af11e Update release docs. 2015-09-07 02:05:25 -04:00
Roberto Rosario b7a3a7b4ef Add post action redirect and improve title of the ACL delete view. 2015-09-07 00:26:50 -04:00
Roberto Rosario c48b238c9e Don't specify logo color, must be same global color of text. 2015-09-07 00:17:37 -04:00
Roberto Rosario 3622cdcf32 Update user edit view to CBV. Remove user group's view helper functions. 2015-09-07 00:16:55 -04:00
Roberto Rosario f9a0e01b24 Add Bootswatch.com bootstrap themes. 2015-09-06 04:45:22 -04:00
Roberto Rosario 6dcdcdd5c7 Add date time creation column to staging folder upload view. 2015-09-06 04:09:31 -04:00
Roberto Rosario 3e3eca4c0e Update all tests to use setting value overriding. 2015-09-06 04:01:40 -04:00
Roberto Rosario f59b96ac5e Update the document type auto ocr value to be defined at runtime by turning it into a setting. 2015-09-06 04:00:37 -04:00
Roberto Rosario a1d8f34e69 Don't cache the value of a setting. 2015-09-06 03:59:31 -04:00
Roberto Rosario bbfd158e28 Move setting namespace initalization code to the class itself. Add method to invalidate all setting caches. Use smart setting cache invalidation for properly test advanced search pagination. 2015-09-06 02:49:27 -04:00
Roberto Rosario e92269e2d8 Improve API documentation's initial text. 2015-09-06 01:03:06 -04:00
Roberto Rosario d0b37d4ea8 Update Django version to 1.7.10. 2015-09-06 00:45:02 -04:00
Roberto Rosario 41c7db7d1b Add missing comman. 2015-09-06 00:42:11 -04:00
Roberto Rosario dd59a6af72 Simplify folder app's permission labels. 2015-09-06 00:40:52 -04:00
Roberto Rosario 574f3d2d66 Synchronize and compile translation files. 2015-08-27 01:33:14 -04:00
Roberto Rosario 709e9208aa Update source translation files. 2015-08-27 01:25:33 -04:00
Roberto Rosario ab05050137 Remove only instance of 'Return' and provoke default to 'Cancel' for uniformity. 2015-08-27 01:19:15 -04:00
Roberto Rosario 0847fbf1ae Improve document print form and view. 2015-08-25 22:58:28 -04:00
Roberto Rosario e9acd5a1a6 Fix field label. Sort form classes. 2015-08-25 22:11:13 -04:00
Roberto Rosario a04bccb842 Add missing model event log registration. Remove debug statement. 2015-08-25 22:01:28 -04:00
Roberto Rosario 1900200c82 Update release notes. 2015-08-25 20:49:55 -04:00
Roberto Rosario 399103488c PEP8 cleanups 2015-08-25 20:49:42 -04:00
Roberto Rosario ba93ee2544 Update the document properties view to CBV. 2015-08-25 20:43:12 -04:00
Roberto Rosario 82dbd87925 Update document page and document edit views to CBV. 2015-08-25 20:30:30 -04:00
Roberto Rosario 72c63bfedc Improve form and object data passing code. 2015-08-25 20:28:59 -04:00
Roberto Rosario 7a45164251 PEP8 cleanups. 2015-08-25 19:17:55 -04:00
Roberto Rosario 4432cb5c2e Add view permission for the smart settings app. It is no longer required to be a super admin or staff user to see the setting values. 2015-08-25 17:35:31 -04:00
Roberto Rosario 7a0fe33ffe Rename methods to retrieve a document's folders and tag membership to avoid search related field problems. 2015-08-25 16:29:23 -04:00
Roberto Rosario 7392e80fc2 PEP8 Cleanups. 2015-08-24 20:55:45 -04:00
Roberto Rosario f54c0d5058 Update group delete view to CBVs. Remove multiple group delete view. 2015-08-24 20:55:22 -04:00
Roberto Rosario 8481802b23 Update the document type quick label delete view to a CBV. 2015-08-24 17:56:01 -04:00
Roberto Rosario 4008715991 Index template node delete view updated to a CBV. 2015-08-24 17:50:35 -04:00
Roberto Rosario e79cd4a2e6 Remove unused imports. 2015-08-24 17:43:06 -04:00
Roberto Rosario dbe14fde42 Convert smart link view to a CBV view. 2015-08-24 17:42:53 -04:00
Roberto Rosario 1f32aa3c0b Add extensible data filtering feature allowing to remove hard coded listing of documents with missing required metadata. Closes gl-issue #178. 2015-08-24 17:33:24 -04:00
Roberto Rosario 4dc3978a78 Fix typo and improve post document attachment redirect. 2015-08-24 15:32:42 -04:00
Roberto Rosario 7c64d01578 Improve post key deletion redirect. 2015-08-24 15:26:55 -04:00
Roberto Rosario 48ac049736 Avoid using a loop when calculating recent document list. 2015-08-24 03:29:13 -04:00
Roberto Rosario fbc28f5bbc Index the user field of the recent document model to reduce view rendering as per profiling results. 2015-08-24 03:04:24 -04:00
Roberto Rosario 603d2e7417 Convert document preview view to CBV. 2015-08-24 03:01:08 -04:00
Roberto Rosario b9a07e3fcf Add new SingleObjectDetailView CBV. 2015-08-24 03:00:49 -04:00
Roberto Rosario 4ff19c6f95 Remove CombinedSource class now that is no longer needed. 2015-08-24 02:27:44 -04:00
Roberto Rosario 6d2eed5148 Add DocumentFolder proxy class to re add the remove from folder functionality. 2015-08-24 02:25:09 -04:00
Roberto Rosario d9fb0080af Use proxy document tag to simplify accessing a document's tags. 2015-08-24 01:53:07 -04:00
Roberto Rosario 15d3bf8072 Remove the 'Are you sure you which to' part of the delete confirmation as was done with the rest of the message. 2015-08-24 01:40:37 -04:00
Roberto Rosario d007214d39 Update language translations. 2015-08-24 01:40:22 -04:00
Roberto Rosario 0b2235d501 Change document type filename references to the more apt document type quick labels. Thanks go to berny for this one. 2015-08-24 01:03:10 -04:00
Roberto Rosario 6e4e5e8c07 Simplify texts refering to role members. Change it to role groups. 2015-08-24 00:34:26 -04:00
Roberto Rosario 2c93c5d8c2 Update translation source files. 2015-08-24 00:34:08 -04:00
Roberto Rosario d0f0bdb34f Update documentation. Add new translations chapter. 2015-08-24 00:33:46 -04:00
Roberto Rosario 59696ba68d Add missing exception variable. 2015-08-23 23:10:25 -04:00
Roberto Rosario 8d47e60b11 Move CSS into its own file outside of base.html. 2015-08-23 23:00:19 -04:00
Roberto Rosario 877aef669c Move javascript to its own file outside of base.html. 2015-08-23 22:53:36 -04:00
Roberto Rosario d1bb06f350 Add logging to mark instances where getting the page count of a file may fails because it is not an office format file. 2015-08-23 22:47:33 -04:00
Roberto Rosario 1d7f447dad Raise validation error without specifying the field as this code can be called for a collection of instances. 2015-08-23 22:44:47 -04:00
Roberto Rosario f7b0fc6c02 Fix typo in method name. 2015-08-23 22:42:32 -04:00
Roberto Rosario 47eba63f48 Add audit logging to document comment model. 2015-08-23 22:37:35 -04:00
Roberto Rosario 2f94ebb9bc Add event logging document comment app. 2015-08-23 22:34:39 -04:00
Roberto Rosario 95cb49bfcb Add mixin to pass extra argument during object deletion. Used for logging the user performing an action. 2015-08-23 22:33:22 -04:00
Roberto Rosario 307941ef64 Add support for the new_window link tag that open selected links into new browser window/tab. 2015-08-23 22:07:48 -04:00
Roberto Rosario ec47bdd7c6 Rename key receive link text back to Import. 2015-08-23 21:55:46 -04:00
Roberto Rosario 892995992a Make sure this view's form always issues a POST not a GET request. 2015-08-23 21:55:23 -04:00
Roberto Rosario 9b51dea22b Fix missing object buttons for keys. 2015-08-23 21:52:31 -04:00
Roberto Rosario 1aadede546 Convert document comment deletion view to CBV. Remove unused document comment form. 2015-08-23 21:48:53 -04:00
Roberto Rosario a9517b9645 Remove blind autocapitalization. 2015-08-23 21:38:48 -04:00
Roberto Rosario dd301d8e98 Convert the document create view to a CBV. 2015-08-23 21:37:37 -04:00
Roberto Rosario 8cd14a2ae1 Add mixin to add extra instance data to the CBV create and edit views. 2015-08-23 21:37:17 -04:00
Roberto Rosario 23f479c481 Fix page recalculation text. 2015-08-23 21:05:20 -04:00
Roberto Rosario fa3633fbe8 Remove empty language files locales: sq, zh_TW, hr_HR, de_CH, lv, nb, tr_TR. 2015-08-20 19:40:05 -04:00
Roberto Rosario 3d1279bcf7 Fix casing. 2015-08-20 19:35:49 -04:00
Roberto Rosario a7d8b2e52f Update language processing script. 2015-08-20 19:35:37 -04:00
Roberto Rosario c030b91528 Update translation files. 2015-08-20 19:35:24 -04:00
Roberto Rosario f2ccfa16d5 Update source language files. Make lock manager and storage translatable. 2015-08-20 15:35:06 -04:00
Roberto Rosario ef970016db Add metadata app to the test list. 2015-08-20 14:42:27 -04:00
Roberto Rosario 93553e84c2 Text string tweaks as per translation discussions. Thanks to Berny. 2015-08-20 14:41:00 -04:00
Roberto Rosario 75764fd482 Merge branch 'feature/transifex' into development 2015-08-20 04:39:31 -04:00
Roberto Rosario 9599a3f8ab Split metadata validators in validators and parsers. Move document and upload wizard metadata validation logic to model. Add metadata tests. 2015-08-20 04:37:49 -04:00
Roberto Rosario cc2927c4cd Remove remaining usage of lists for extra_column. 2015-08-20 00:44:24 -04:00
Roberto Rosario a39470b622 Remove repeated column. 2015-08-20 00:44:04 -04:00
Roberto Rosario e4fead68b9 Remove included filesize formatter and use Django's instead. 2015-08-20 00:36:58 -04:00
Roberto Rosario d9cc8520b1 Render remaining date usage properly. 2015-08-20 00:27:48 -04:00
Roberto Rosario 0d3c2defe2 Improve date rendering. 2015-08-20 00:08:28 -04:00
Roberto Rosario 68f3c6eee7 PEP8 cleanups. 2015-08-19 14:50:44 -04:00
Roberto Rosario 683e54fea1 Replace unused lists with tuples. 2015-08-19 13:57:38 -04:00
Roberto Rosario 50ba007dd6 Remove localtime tag. 2015-08-19 03:24:04 -04:00
Roberto Rosario 1b88f3b641 Update development tools requirement versions. 2015-08-19 03:09:55 -04:00
Roberto Rosario b64a35d08c Version transifex resources by appending the version number. 2015-08-19 03:09:11 -04:00
Roberto Rosario 610b06bb4d Add test for office document. 2015-08-19 02:14:40 -04:00
Roberto Rosario 401b9a81dc Remove variables: section for compatibility with older test runners. 2015-08-19 02:03:50 -04:00
Roberto Rosario a2f884179b Initial configuration file for gitlab-ci. 2015-08-19 01:57:43 -04:00
Roberto Rosario 03b8a6cfc2 Initial configuration files for magnum-ci. 2015-08-19 01:57:20 -04:00
Roberto Rosario 83974d5656 Move travis-ci related settings files into their own module. 2015-08-19 01:30:07 -04:00
Roberto Rosario e084445aa4 Read pagination size per instance not per class. 2015-08-18 23:06:50 -04:00
Roberto Rosario 4fb86fba14 Re-estructure tests to cleanup the apps' namespace. 2015-08-18 23:06:26 -04:00
Roberto Rosario 57f7c998dd Show page title in the login template. 2015-08-18 19:21:50 -04:00
Roberto Rosario 14662e478f Remove unneeded lists to tuples. 2015-08-16 14:37:59 -04:00
Roberto Rosario f55e1a4ddc Remove unused tag 'make_non_breakable'. 2015-08-16 14:32:13 -04:00
Roberto Rosario 99c3e41ffa Remove template feature flag 'keep_together'. 2015-08-16 14:31:30 -04:00
Roberto Rosario 60bc327756 Improve SourceColumn workflow by allowing explicit functions as columns. Remove usage of encapsulate. Move instances of 'extra_columns' to SourceColumn. 2015-08-16 14:26:41 -04:00
Roberto Rosario 938328bc14 Remove use of extra_columns and move logic to apps.py. 2015-08-16 00:41:28 -04:00
Roberto Rosario 283f033a6c Rename label of key receive link from 'Import' to 'Download'. 2015-08-16 00:40:56 -04:00
Roberto Rosario 48c3efefd0 Remove use of extra_columns and move logic to app.py module. 2015-08-16 00:21:55 -04:00
Roberto Rosario abea396091 Include document in document pages list view context. 2015-08-16 00:16:23 -04:00
Roberto Rosario be358f7879 Remove use of extra_columns and move logic to models and apps. 2015-08-16 00:12:51 -04:00
Roberto Rosario 5563484ae8 Replace remaining usage of get_context_data that could be replaced with get_extra_context. 2015-08-15 23:42:32 -04:00
Roberto Rosario 561b56b12a Replace usage of get_context_data with get_extra_context. 2015-08-15 03:02:02 -04:00
Roberto Rosario 66d22dc254 Add current source to the source log list view context so that link resolve properly. 2015-08-15 02:49:18 -04:00
Roberto Rosario 1b6bcbf3fe Remove usage of ParentChildListView until properly re-implemented. 2015-08-15 02:46:02 -04:00
Roberto Rosario 702bac8ed2 Replace django-pagination with django-pure-pagination and use Django's native CBV pagination context. 2015-08-15 02:28:37 -04:00
Roberto Rosario 016231a0f5 Use Python function to get OS default temp directory. 2015-08-15 01:26:11 -04:00
Roberto Rosario b8701f3f2d Add namespace to staging file thumbnail view. 2015-08-15 01:14:39 -04:00
Roberto Rosario c84ac0a2fc Replace index, workflow, document and statistics views that use 'object_list' to SingleObjectListView class. 2015-08-15 01:07:52 -04:00
Roberto Rosario c6b20f13cc Replace argument and variable names with more explicit ones. 2015-08-15 01:06:54 -04:00
Roberto Rosario a1d7bc70f1 Code style update. 2015-08-15 01:05:55 -04:00
Roberto Rosario b382227ec0 Add missing migrations. 2015-08-14 23:53:49 -04:00
Roberto Rosario 8cc685ede7 Split key query view into query and results views. Convert key query results view to SingleObjectListView class. 2015-08-14 16:08:35 -04:00
Roberto Rosario 4175866ee5 Turn stray view helper functions into static methods of the UploadBaseView CBV. 2015-08-14 14:55:47 -04:00
Roberto Rosario 8e77cdec38 Update settings app view to user SingleObjectListView class. 2015-08-14 14:55:24 -04:00
Roberto Rosario 4a81c2da42 Update REST api app permission check to use ACL access check related object update. 2015-08-14 14:54:50 -04:00
Roberto Rosario f7f2135cad Convert OCR error entry list view to CBV. 2015-08-14 14:54:32 -04:00
Roberto Rosario 0fe902b52a Convert document metadata list view to CBV. 2015-08-14 14:54:04 -04:00
Roberto Rosario 0fa11810c6 Conver smart link create, edit and smart link condition list views to CBV. 2015-08-14 14:53:15 -04:00
Roberto Rosario fb705f7570 Convert installation app views to use SingleObjectListView class. 2015-08-14 14:51:30 -04:00
Roberto Rosario ff97dd55e7 Implement related object ACL access check. 2015-08-14 14:50:55 -04:00
Roberto Rosario b632b69d08 Simplify home view by redirecting to results view. 2015-08-14 14:50:29 -04:00
Roberto Rosario 42c327cb65 Remove empty unused view. 2015-08-14 14:27:26 -04:00
Roberto Rosario d6419f7da3 Convert installation namespace details list view to CBV. 2015-08-14 01:35:38 -04:00
Roberto Rosario 0390c8923e Remove unused form instance template feature flag. 2015-08-13 22:34:14 -04:00
Roberto Rosario 5fea7fabc2 Update document version list view to CBV. 2015-08-13 22:32:13 -04:00
Roberto Rosario c3fa15bbd1 Update search views to CBV. Remove unused template. 2015-08-13 22:31:22 -04:00
Roberto Rosario 5ae033eb77 Update Document type filenames list and edit views to CBV. 2015-08-13 20:47:34 -04:00
Roberto Rosario 97bba65668 Code style updates, change lists to tuples. 2015-08-13 15:27:22 -04:00
Roberto Rosario 28c45bf988 Add support for including a metadata dictionary as an attachment for the POP3 and IMAP sources. 2015-08-13 03:05:55 -04:00
Roberto Rosario 5bb8f779b3 Add crop document page transformation. 2015-08-12 17:23:36 -04:00
Roberto Rosario 6a4562015e Invert the view title/project name order in the browser title. 2015-08-12 04:50:31 -04:00
Roberto Rosario d04117d345 PEP8 and code style cleanups. Replace lists with tuples. 2015-08-12 04:41:59 -04:00
Roberto Rosario 31f05ee3f3 Update document comment list view to CBV. 2015-08-12 04:11:39 -04:00
Roberto Rosario 29df91db84 Update the private and public key list views to CBV. 2015-08-12 04:04:43 -04:00
Roberto Rosario 49ec79b36a Code style updates. 2015-08-12 03:55:50 -04:00
Roberto Rosario 3f84b8d839 Raise HTTP error 404 on invalid setting namespaces. 2015-08-12 01:45:11 -04:00
Roberto Rosario f1f1c85cbf Remove the last usage of 'eval'. gh-issue #151. gl-issue #118 2015-08-11 23:35:19 -04:00
Roberto Rosario 3fd73739a6 Update translation source files and language processing script. 2015-08-11 02:27:18 -04:00
Roberto Rosario b8cd44af50 Fix formating. 2015-08-10 13:49:17 -04:00
Roberto Rosario b429f1e02b Add migration notice. 2015-08-10 13:48:26 -04:00
Roberto Rosario bec85f38f4 Text parsers and OCR backends are now used in tandem for each document. 2015-08-08 04:49:08 -04:00
Roberto Rosario cf00ba2c40 PEP8 and minor cleanups, fixes. 2015-08-07 03:45:46 -04:00
Roberto Rosario 3023d99a1e Improve document indexing API. Add django rest framework recursive to serialize index instance nodes. 2015-08-07 03:31:51 -04:00
Roberto Rosario 5d322122e0 Add dynamic search app API test. 2015-08-07 03:08:00 -04:00
Roberto Rosario 83ab684b3f Improve dynamic_search app API. Add filter to allows users to access their own recent searches only. 2015-08-07 02:56:51 -04:00
Roberto Rosario 6ce798256c Improve user management API. 2015-08-07 02:01:16 -04:00
Roberto Rosario 038e92b585 Remove invalid related permissions check. 2015-08-07 01:42:28 -04:00
Roberto Rosario 6c694a1f30 Finish tags app API refactor. Add tags app API tests. 2015-08-07 01:41:57 -04:00
Roberto Rosario b27b2bba31 Coding style updates. 2015-08-07 01:08:21 -04:00
Roberto Rosario 7b42c8e9ae Initial commit for tag API refactor. 2015-08-07 01:07:41 -04:00
Roberto Rosario c3564ca31d Remove debug statement. 2015-08-06 21:21:57 -04:00
Roberto Rosario 26b6a98180 Refactor folder app API, add folder API tests. 2015-08-06 20:01:30 -04:00
Roberto Rosario c55f3b4353 Fix test method name. 2015-08-06 19:56:50 -04:00
Roberto Rosario d3ee32beea Add missing field to serializer. 2015-08-06 17:11:52 -04:00
Roberto Rosario d4b4a73339 Intitial refactor of folders app API. Add tests for the folders API. 2015-08-06 17:10:56 -04:00
Roberto Rosario fea9cae937 Use literals from documents apps. 2015-08-06 17:10:17 -04:00
Roberto Rosario 24c63c4f38 Make API endpoints clickable. 2015-08-06 14:45:27 -04:00
Roberto Rosario 2f030ab162 Properly raise PageCountError when unable to determine a document's page count. 2015-08-06 02:57:02 -04:00
Roberto Rosario 960d60c39d Refactor rest_api app and the method end points are registered. All apps API URL endpoints are now registered under the 'rest_api' namespace.
Update DRF and DRF swagger versions. Update all apps API registration method.
2015-08-06 02:56:17 -04:00
Roberto Rosario ea02172a82 Refactor rest_api app and the method end points are registered. All apps API URL endpoints are now registered under the 'rest_api' namespace. 2015-08-06 02:50:14 -04:00
Roberto Rosario 1fa859a0c3 Add multi page tiff test. Closes gh-issue #228. Confirms gh-issue #218 fixed in development branch. 2015-08-01 01:51:07 -04:00
Roberto Rosario 113de675f7 Add build number display based on git information. 2015-08-01 01:34:09 -04:00
Roberto Rosario a51f198ac4 Don't mirror repeated nodes or documents with repeated labels. 2015-08-01 01:17:58 -04:00
Roberto Rosario 7ddc4c1c04 Add method to check for a lock's existance and force it to release if stale. 2015-08-01 01:00:26 -04:00
Roberto Rosario 8382df91a6 Update PDF text parser classes. Remove SlateParser and substitute with a PDFMiner based parser. 2015-07-31 02:09:48 -04:00
Roberto Rosario 1361ea9b42 Remove dependency on slate to calculate page number in PDF files. 2015-07-31 02:09:10 -04:00
Roberto Rosario dcd909f488 Update release notes. 2015-07-29 21:55:14 -04:00
Roberto Rosario 0b109920bb Make preview images' titles clickable, taking users straight to the document view. 2015-07-29 21:39:18 -04:00
Roberto Rosario bc71796571 Add missing migrations for the linking and metadata apps after templatating change. 2015-07-29 19:44:50 -04:00
Roberto Rosario 830c32c30f Add missing documents migration. 2015-07-29 19:43:56 -04:00
Roberto Rosario 26259b63f6 Migrate to use a local model for document comments. Closes gh-issue #233. 2015-07-29 19:43:11 -04:00
Roberto Rosario 97f3451caf Move statements according to code style. 2015-07-29 17:15:38 -04:00
Roberto Rosario 4de73772ed Add persistent error logging to the mailer app. 2015-07-29 17:15:12 -04:00
Roberto Rosario aa399b4488 Fix property name in document property view. 2015-07-29 13:33:01 -04:00
Roberto Rosario 8072db07dd Index the value field of index nodes. 2015-07-29 13:32:42 -04:00
Roberto Rosario 2e9a809a4e Use same icon for tools as in setup. 2015-07-29 13:32:27 -04:00
Roberto Rosario ab35118b01 Add support for exporting an index as a FUSE filesystem. Closes gh-issue #173. 2015-07-29 13:30:35 -04:00
Roberto Rosario 22f823aca2 Cleanups, add logging, move magic numbers to literals, add release method, improve file descriptor assignment. 2015-07-28 21:55:17 -04:00
Roberto Rosario e4fa3c4960 Add slugs to indexes to be able to reference them from the mirroring app. 2015-07-28 21:54:40 -04:00
Roberto Rosario 6039ea86ec Use path_to_node for all operations. 2015-07-28 19:38:58 -04:00
Roberto Rosario a361311a29 Add missing fusepy requirement. 2015-07-28 19:38:41 -04:00
Roberto Rosario df17c29394 Initial commit for Index FUSE mirroring. 2015-07-28 05:29:29 -04:00
Roberto Rosario 68a3c49ae3 Fix full height calculation. 2015-07-28 03:02:35 -04:00
Roberto Rosario 61b41cfd79 Add missing commas in tuples. 2015-07-28 02:54:07 -04:00
Roberto Rosario b5c9065eb3 Shorten line to less than 79 chars. 2015-07-28 02:53:52 -04:00
Roberto Rosario 02143abbca Fix view passed variable name. 2015-07-28 02:47:03 -04:00
Roberto Rosario 7cae9dd18e Update the smart link app to use Django templating language. gh-issues #151. 2015-07-28 02:44:33 -04:00
Roberto Rosario fc9f9f1e68 Replace more unnecessary lists with tuples. 2015-07-28 01:41:45 -04:00
Roberto Rosario 54f3cef7ba Replace unnecessary lists with tuples. 2015-07-28 00:49:07 -04:00
Roberto Rosario 1e746c700a PEP8 cleanups. 2015-07-27 23:53:14 -04:00
Roberto Rosario 0b923a7a1c Make sure label is always defined even if not used. 2015-07-24 18:20:46 -04:00
Roberto Rosario 3b728328ad PEP8 cleanups, E501. 2015-07-23 04:05:29 -04:00
Roberto Rosario 0a0a92116e Get rid of eval in metadata type default and lookup fields. gh-issue #151. 2015-07-23 02:49:29 -04:00
Roberto Rosario 58d919d173 Initial commit to remove use of eval. gh-issue #151. 2015-07-22 23:19:43 -04:00
Roberto Rosario 4527563d89 PEP8 cleanups, specially E501 line too long. 2015-07-22 18:21:37 -04:00
Roberto Rosario c275988c90 PEP8 cleanups, E501: 79 character long lines. 2015-07-19 03:27:41 -04:00
Roberto Rosario 20a2f93cbc Add test for compressed documents via webform. 2015-07-19 03:25:42 -04:00
Roberto Rosario eea163be5a Grab language code directly from language choices. 2015-07-18 04:05:44 -04:00
Roberto Rosario ec9d7d09a1 Include in context the document for which OCR will be queued. 2015-07-18 03:57:45 -04:00
Roberto Rosario 04b4d9cf4e Add German language OCR to Travis CI test file. 2015-07-18 03:57:19 -04:00
Roberto Rosario 68e450a3c7 Migrate all document languages and use the 'terminology' language abbreviation. gh-issue #211 2015-07-18 03:56:09 -04:00
Roberto Rosario ea3756162b Reduce sample German document size for more accurate OCR. 2015-07-18 03:55:30 -04:00
Roberto Rosario ba7cb433d4 Don't hide OCR errors by doing a fallback try without language option. gh-issue #211 2015-07-18 03:25:36 -04:00
Roberto Rosario 719d83d652 Add test for German language OCR. gh-issue #211. 2015-07-18 03:24:01 -04:00
Roberto Rosario 8f14028660 Add post_upgrade signal, use it to re-initialize interval sources. 2015-07-18 02:45:55 -04:00
Roberto Rosario 0a83780527 Add tag migration. 2015-07-18 02:25:04 -04:00
Roberto Rosario a5cf80cd86 Add management command to perform steps required after an upgrade. 2015-07-18 02:24:10 -04:00
Roberto Rosario afe6644321 Use shorter confirmation messages. 2015-07-17 19:52:17 -04:00
Roberto Rosario 9288f3c903 Update tag app tests. 2015-07-17 19:42:08 -04:00
Roberto Rosario d67ed4843a Convert tag color to be an RGB value instead of a name value. Closes gh-issue #183. 2015-07-17 19:38:58 -04:00
Roberto Rosario 76fef8ab8d Don't error out when trying to delete a non existant periodic task. 2015-07-17 13:07:16 -04:00
Roberto Rosario 653a145914 Add tool view to perform OCR on all documents at once. 2015-07-17 13:04:51 -04:00
Roberto Rosario e7f626aba4 Don't ask for the transformation order when one is being created. 2015-07-17 12:54:49 -04:00
Roberto Rosario a08377b86e Add statistics view permission. Convert statistics views to CBV. 2015-07-17 02:34:57 -04:00
Roberto Rosario e2fcffc81d Use the project website tag in the about template. Allow customization of the project description. 2015-07-17 02:10:31 -04:00
Roberto Rosario e421c8e382 Consolidate common app's template tags. 2015-07-17 02:04:01 -04:00
Roberto Rosario fb824c6ee1 Allow changing the project's website from a settings option. Update the default mailer templates to take the project title and website from the configuration settings. 2015-07-17 01:53:59 -04:00
Roberto Rosario 68c718fe4c Allow settings to serialize lazy translations. 2015-07-17 01:41:44 -04:00
Roberto Rosario 2b11465249 Import all apps' settings file to initialize them. 2015-07-17 01:15:00 -04:00
Roberto Rosario 77ab118a68 Access serialized value via property. 2015-07-17 00:59:47 -04:00
Roberto Rosario 363f71a3e7 Remove settings from unused apps from base settings file. Update settings file according to coding style. 2015-07-17 00:52:12 -04:00
Roberto Rosario 91a9b3b045 Finish document upload task refactor. Increase failure tolerance to database Operational Errors. 2015-07-15 04:36:23 -04:00
Roberto Rosario 0b1230f214 Update serializer settings code. 2015-07-15 01:04:16 -04:00
Roberto Rosario 1213175112 Sources app upload workflow refactoring. 2015-07-15 01:03:57 -04:00
Roberto Rosario fc9d7b1a8b Remove celery code execute from model. Allow for default at the model level. 2015-07-15 01:03:23 -04:00
Roberto Rosario 6b5312ff41 Update document creation API to return the id of the created document. 2015-07-15 01:02:24 -04:00
Roberto Rosario da0e03bf12 Wrap transformation cloning in a transaction. 2015-07-15 01:01:58 -04:00
Roberto Rosario 1b37a13bf5 Rename source upload handling methods to be more meaningful. 2015-07-14 10:20:19 -04:00
Roberto Rosario dbc08afd45 Catch operational errors in more critical places. 2015-07-14 02:21:55 -04:00
Roberto Rosario 8d7a9df7e8 Add optimization reminder. 2015-07-13 23:44:43 -04:00
Roberto Rosario 7ba9410d70 Fix typo 2015-07-13 23:44:35 -04:00
Roberto Rosario aed6569096 Index frequently used document version and document fields. 2015-07-13 20:59:53 -04:00
Roberto Rosario ba1e36146d Calculate inherited permission by id of parent object not pk of ACL of parent. 2015-07-13 19:44:45 -04:00
Roberto Rosario defe947c79 Only shade icons and labels of the block level buttons. 2015-07-13 19:44:18 -04:00
Roberto Rosario c23749b37e Make logo shadow more distant. 2015-07-13 19:43:56 -04:00
Roberto Rosario ee83624704 Don't fail if model has not inherited permissions. 2015-07-13 02:28:24 -04:00
Roberto Rosario fed241fd6f Don't delete document on tearDown, might not exists after test already deleted it, causes integrity errors on MySQL. 2015-07-13 02:07:29 -04:00
Roberto Rosario d5b5927c77 Reference file in storage backend by name and not by path. 2015-07-13 02:03:30 -04:00
Roberto Rosario 8c603ce2ff Update document image cache references to document cache. 2015-07-13 02:02:48 -04:00
Roberto Rosario 9edf3dd51d Add missing tearDown methods to tests. 2015-07-13 01:26:19 -04:00
Roberto Rosario f5a45c91f8 Add logging for more apps during tests. 2015-07-13 01:17:21 -04:00
Roberto Rosario c8bc7c0c5f Update release notes. 2015-07-13 01:17:02 -04:00
Roberto Rosario ac1f4eb59a Improve the way the AssignRemove view gets the list's help texts. Don't use None for extra context if there is none. 2015-07-13 01:16:17 -04:00
Roberto Rosario 713977ed46 Document image and intermediate file caching now has it's own storage backend. 2015-07-13 01:06:40 -04:00
Roberto Rosario 73c650a5fb Add minimal shadow to button texts and to icons. 2015-07-13 01:00:29 -04:00
Roberto Rosario 34c1f1227d Improve appearance of block level buttons (front page, tools, setup). 2015-07-13 00:59:31 -04:00
Roberto Rosario 1f213450c2 Change the way the ocr tests acquired document version text. 2015-07-12 03:46:19 -04:00
Roberto Rosario 28593a6267 Add logging for more apps and reduce severity during tests. 2015-07-12 03:31:21 -04:00
Roberto Rosario fd8721b297 Add teardown method for all tests. 2015-07-12 03:28:31 -04:00
Roberto Rosario e05f6b5830 Replace tests fails checks to assertions. 2015-07-12 02:59:45 -04:00
Roberto Rosario c2a0990e57 Change deprecated import of get_model. 2015-07-12 02:58:31 -04:00
Roberto Rosario 53c631b505 Use smaller pagination in test. 2015-07-11 17:20:45 -04:00
Roberto Rosario 7c95431066 Remark unused wrong test. 2015-07-11 17:20:11 -04:00
Roberto Rosario af654c9aa9 Fix variable name. 2015-07-11 17:19:51 -04:00
Roberto Rosario 6b0114a001 Add missing import. 2015-07-11 17:19:36 -04:00
Roberto Rosario ff0bb847a5 Fix wrong permission for view. 2015-07-11 17:18:56 -04:00
Roberto Rosario 8b608452a5 Lower severity of operational error during OCR. 2015-07-11 17:01:03 -04:00
Roberto Rosario 1da2860d0a Wrap indexation in a transaction. 2015-07-11 17:00:42 -04:00
Roberto Rosario 004b0c75d7 Retry indexation if an operationalerror is encountered. 2015-07-11 17:00:13 -04:00
Roberto Rosario e47c0c5eb5 Increase default pagination to 40 entries per page. 2015-07-11 16:28:12 -04:00
Roberto Rosario 17d969dafe Move indexing retry amount to the literals.py module. Specify retry delay in the task decorator to reduce repetition. 2015-07-11 16:24:51 -04:00
Roberto Rosario 0238be7a18 Add support for retrying upload queue and ocr queue tasks in the event of Database locking errors. 2015-07-11 16:19:04 -04:00
Roberto Rosario 40ca9c4839 Move the document page update task to the upload queue. 2015-07-11 16:18:21 -04:00
Roberto Rosario c8f5aac133 Convert the document type list, create, edit and delete views to CBV. Remove unused DocumentTypeForm. 2015-07-11 04:14:54 -04:00
Roberto Rosario d10ad2eb74 Convert transformation views to CBV. 2015-07-11 03:57:41 -04:00
Roberto Rosario b5ede7c2d3 Add auto increment order for transformations. 2015-07-11 03:45:38 -04:00
Roberto Rosario 72bbc3f4e9 Make validator not trigger migration creation. 2015-07-11 02:59:18 -04:00
Roberto Rosario f95c9c2aa4 Convert the source edit and delete views to CBV. 2015-07-11 02:36:31 -04:00
Roberto Rosario a05888b683 Fix email sources clearing the password field on view. 2015-07-11 02:19:22 -04:00
Roberto Rosario 07dbe71c41 Fix source object links. 2015-07-11 02:19:02 -04:00
Roberto Rosario a9c04115f7 Add index rebuild test. 2015-07-11 02:06:15 -04:00
Roberto Rosario d88bb1266a More explicit comment. 2015-07-11 01:49:37 -04:00
Roberto Rosario cb6e80926e Add management command to purge periodic tasks from the DB. 2015-07-11 01:49:15 -04:00
Roberto Rosario d6c053f913 Rename purge permissions management command. 2015-07-11 01:48:34 -04:00
Roberto Rosario 02d31f763d Update Pillow and activity stream packages versions. 2015-07-11 00:51:22 -04:00
Roberto Rosario a2cedc3f9b Fix queue typos. Add a default queue as required by celery. 2015-07-11 00:50:55 -04:00
Roberto Rosario 133fcdc53c Assign tasks to specific queues. Add support for transient queues. gh-issue #222, gh-issue #230. 2015-07-10 21:25:20 -04:00
Roberto Rosario e891fe9525 PEP8 cleanups and code style cleanups. 2015-07-10 17:19:36 -04:00
Roberto Rosario c3be4bef53 Move stray magic values to literals.py in the checkout app. gh-issue #225. 2015-07-10 16:14:21 -04:00
Roberto Rosario aec8263ad8 Convert events app views to CBV. 2015-07-10 02:54:59 -04:00
Roberto Rosario 76c3ff7374 Remove the acl filter option 'exception_on_empty'. 2015-07-10 01:49:42 -04:00
Roberto Rosario bc3eed143c Add permission inheritance by parent object. Add ACLs app model tests. 2015-07-10 01:40:21 -04:00
Roberto Rosario 441eae28bc Add DisableableSelectWidget widget 2015-07-10 00:41:18 -04:00
Roberto Rosario 01438f933c Add tests for the permission app. 2015-07-10 00:38:32 -04:00
Roberto Rosario 036a55065c Change the index creation, edit and deletion views to CBV. Remove unused IndexForm. 2015-07-09 02:25:23 -04:00
Roberto Rosario a5b7747619 Update current user detail edit and locale views to CBV. 2015-07-09 02:11:33 -04:00
Roberto Rosario 4a88df8f9a Convert group create and edit views to CBV. Remove unused GroupForm. 2015-07-09 02:00:19 -04:00
Roberto Rosario abfb070b2e Remove unused FBV source create view. 2015-07-09 01:50:45 -04:00
Roberto Rosario 635732da6a Convert the tag create and edit views to CBV. Remove unused TagForm. 2015-07-09 01:50:10 -04:00
Roberto Rosario 22ebe2354d Change the source list and source create views to CBV. 2015-07-09 01:41:29 -04:00
Roberto Rosario 66b3424fbe Simplify smart settings views. 2015-07-09 01:24:28 -04:00
Roberto Rosario 498f258f59 Convert metadata edit, delete and create views to CBV. Remove unused metadata type form. 2015-07-09 01:19:20 -04:00
Roberto Rosario d2123089ec Convert metadata type list view to CBV. 2015-07-08 22:05:32 -04:00
Roberto Rosario c751db4447 Convert folder create view to CBV. 2015-07-08 22:02:00 -04:00
Roberto Rosario 0946aef7c0 Update folder edit view to CBV. 2015-07-08 19:07:48 -04:00
Roberto Rosario bfab8f1181 Reduce code, remove unused role model form. 2015-07-08 19:02:32 -04:00
Roberto Rosario ea49af7255 Remove role name field. 2015-07-08 19:01:07 -04:00
Roberto Rosario e635a3520f Move index management code to the managers.py module. 2015-07-08 18:56:07 -04:00
Roberto Rosario 3af3747be9 Add views to display document list per document type and per workflow. 2015-07-08 18:29:45 -04:00
Roberto Rosario 595f64a25c Fix OCR test. 2015-07-08 04:16:59 -04:00
Roberto Rosario 2033f85874 Log OCR subclass errors. 2015-07-08 04:16:35 -04:00
Roberto Rosario 47a74360dd Remove double execution of backend. Store the language in the instance. 2015-07-08 04:15:58 -04:00
Roberto Rosario f97bbd98bd Fix typo. 2015-07-08 04:05:10 -04:00
Roberto Rosario 2d710ad3b9 Fix chicken & egg problem for permissions when the dataset doesn't exists. 2015-07-08 03:52:15 -04:00
Roberto Rosario 7a377653ca Update missing name -> label. 2015-07-08 03:37:17 -04:00
Roberto Rosario 6a13e2adc8 Make a clear distinction between serialized and deserialized setting values. 2015-07-08 03:31:45 -04:00
Roberto Rosario ead8ba9a12 Don't dump the setting name to YAML. 2015-07-08 02:56:19 -04:00
Roberto Rosario 333c9c9b1a Document signatues app uses it's own storage backend. 2015-07-08 02:54:14 -04:00
Roberto Rosario a0ff961d59 Move get_object_name from common.utils to the only place it is used: checkouts. 2015-07-08 02:43:28 -04:00
Roberto Rosario 39cbb0f666 Update release notes. 2015-07-08 02:03:12 -04:00
Roberto Rosario 4c25314772 os.listdir returns str for non-latin filename, use unicode cast in path name to avoid this. Related to gh-issue #163. 2015-07-08 02:02:24 -04:00
Roberto Rosario 90be5145c0 Rename test file. 2015-07-08 02:00:27 -04:00
Roberto Rosario e0d6571d95 Fix imports in tests. 2015-07-08 01:43:44 -04:00
Roberto Rosario a54fe3f131 Add trash, restore and deletion test to document models. 2015-07-08 01:25:20 -04:00
Roberto Rosario 2fabe92b20 Add test for trashing, restoring and deletion of documents. 2015-07-08 01:15:12 -04:00
Roberto Rosario d751a8bc2f Improve logging messages. 2015-07-08 01:14:55 -04:00
Roberto Rosario 35b6ce5285 Don't set the default document label in the view, do it at the task level which is accesible always. 2015-07-08 01:01:20 -04:00
Roberto Rosario afafd45af9 Preserve original filename when saving. 2015-07-08 00:59:56 -04:00
Roberto Rosario 68395266a4 Make sure all document types have they ocr_settings entry created. 2015-07-08 00:41:51 -04:00
Roberto Rosario 1b756486f2 Test update 2015-07-08 00:27:39 -04:00
Roberto Rosario 1e588d87eb Store an empty string if no document description is given. 2015-07-08 00:27:13 -04:00
Roberto Rosario 857cf7b1b2 Add browser cookie support for timezone middleware. 2015-07-08 00:17:44 -04:00
Roberto Rosario 3861bc351a Remove unused code. 2015-07-07 23:37:51 -04:00
Roberto Rosario 8d91ef2858 Update remaining title reference. 2015-07-07 23:36:24 -04:00
Roberto Rosario 4e4103803f Rename folder model 'title' field to 'label'. 2015-07-07 23:34:27 -04:00
Roberto Rosario 4860b44daf Rename source model title field to 'label'. 2015-07-07 23:30:52 -04:00
Roberto Rosario f2efbc95af Document descriptions don't need to allow null. 2015-07-07 23:25:39 -04:00
Roberto Rosario f4bcab2341 Rename metadata type title field to label. 2015-07-07 23:25:05 -04:00
Roberto Rosario ac5f403997 Rename smart links title and dynamic_title fileds to label and dynamic_label. 2015-07-07 23:20:48 -04:00
Roberto Rosario a5cee3c963 Split sources app tests. 2015-07-07 22:03:58 -04:00
Roberto Rosario 77157cab2c Split tests into tests for models, views and API, very good recommendation from Two Scoops of Django by @pydanny and @audreyr. 2015-07-07 21:49:50 -04:00
Roberto Rosario 0e81ea2ab8 Avoid triggering migration creation using functions for choices and validators choices. 2015-07-07 21:21:08 -04:00
Roberto Rosario 7a11fddcc1 Add migrations to sync model options. 2015-07-07 21:15:29 -04:00
Roberto Rosario c861799b6b Rename document type model 'name' field to 'label'. 2015-07-07 21:12:44 -04:00
Roberto Rosario ab2d4537dc Remove name field. Rename title field to label. 2015-07-07 21:04:00 -04:00
Roberto Rosario efad777656 Cleanups. 2015-07-07 20:52:10 -04:00
Roberto Rosario e7224474e6 Convert document checkout view to CBV. 2015-07-07 20:49:20 -04:00
Roberto Rosario 17c454a53a Add checkout expiration time validation. Sort field arguments according to style guide. 2015-07-07 20:48:36 -04:00
Roberto Rosario b96ba86991 Reduce widget complexity. 2015-07-07 20:48:23 -04:00
Roberto Rosario 941207eb04 Don't override get_context_data use get_extra_context for this purpose. 2015-07-07 20:47:36 -04:00
Roberto Rosario 69ea0a61e8 Get post_action_redirect and action_cancel_redirect from methods to allow overriding with context. 2015-07-07 20:46:49 -04:00
Roberto Rosario bd8487848a Disable OCR, not unsed in this test. 2015-07-07 03:01:42 -04:00
Roberto Rosario e17bc416b8 Tests updates. 2015-07-07 02:59:45 -04:00
Roberto Rosario e82a9d0c9f Add missing import. 2015-07-07 02:58:55 -04:00
Roberto Rosario aeac8143ee Use BytesIO instead of StringIO, the last one doesn't work using 'with' context. 2015-07-07 01:49:47 -04:00
Roberto Rosario 46b6f908f4 Misc test fixes. 2015-07-07 01:30:32 -04:00
Roberto Rosario a59234bb83 Use SharedUploadedFile's new open() method. 2015-07-07 01:28:06 -04:00
Roberto Rosario 01cf7780c0 Add reminder. 2015-07-07 01:25:52 -04:00
Roberto Rosario 4f044cecc7 Don't use the original's filename as a path. Provide an open() method which return a proper file-like object. 2015-07-07 01:24:34 -04:00
Roberto Rosario 091dad9b45 Fix SharedUpload model field name. 2015-07-06 14:32:37 -04:00
Roberto Rosario 9784ae88a4 Update release notes. 2015-07-06 03:18:54 -04:00
Roberto Rosario 1f6b93616d Update more tests to new internal APIs. 2015-07-06 03:18:36 -04:00
Roberto Rosario 51fd266d40 Update documents app tests, disabled several non passing functional test as these will be moved to the common app. 2015-07-06 03:04:19 -04:00
Roberto Rosario 8bdd8e032d Update documents app API views. 2015-07-06 03:02:17 -04:00
Roberto Rosario 7979b097ef Explictly delete document when deleting a document type. Remove unused code. Pop argument 'to_trash' from document.save to avoid super() error. 2015-07-06 02:42:19 -04:00
Roberto Rosario 7e9fa745c6 'Expand' is no longer a feature of the document's apps, but of the source's app, remove it from the document's serializer. 2015-07-06 02:21:56 -04:00
Roberto Rosario b642e4005e PEP8 cleanups 2015-07-06 02:07:50 -04:00
Roberto Rosario 6eeba3ee67 Update document indexing test to take into account new trash feature. 2015-07-06 02:04:05 -04:00
Roberto Rosario 8727f093e0 Don't initialize a document type's OCR settings via the view, do so via signal on document type creation. 2015-07-06 01:36:17 -04:00
Roberto Rosario 3f53d35083 Remove unused import 2015-07-06 01:21:58 -04:00
Roberto Rosario 8bd0831ed6 Fix authentication app tests. 2015-07-06 01:19:11 -04:00
Roberto Rosario 1c3d88f746 Code style 2015-07-06 01:19:00 -04:00
Roberto Rosario 6efb032298 PEP8 cleanups 2015-07-06 00:48:40 -04:00
Roberto Rosario f55929403b Add setter to change the value of a setting. 2015-07-06 00:48:16 -04:00
Roberto Rosario dcf3a77c66 Don't try to set locale preferences for new users or existing users that have not set any preferences. 2015-07-06 00:22:09 -04:00
Roberto Rosario 3c486e14a1 DRY, make development w/ DDT settings inhering from normal development settings file. 2015-07-06 00:13:17 -04:00
Roberto Rosario a9c7ea7442 Make celery propagate exceptions for easier debugging. 2015-07-06 00:12:51 -04:00
Roberto Rosario dc572cc8ee Add migration to remove obsolete anonymous user singleton. 2015-07-06 00:07:07 -04:00
Roberto Rosario aea6772cbf Reimplement the IndexInstanceNodeView CBV view as a multi-inheritance CBV with manual super class resolution. 2015-07-06 00:03:21 -04:00
Roberto Rosario 8cc05bbefb Initial commit of new document upload workflow which allows for document promises to be returned after POST request, gh-issue #194. Add new signal when a document is uploaded and finally ready, gh-issue #193 and gh-issue #213. 2015-07-05 03:33:27 -04:00
Roberto Rosario 8f30932b6f Fix locale and language not updating on edit or on login 2015-07-04 04:36:55 -04:00
Roberto Rosario fa4cb686fb Auto add arguments to transformation labels. 2015-07-04 04:16:18 -04:00
Roberto Rosario 862de43219 Update tranformation help string. 2015-07-04 04:01:20 -04:00
Roberto Rosario a0916afe7c Update converter transformation arguments to be YAML based. 2015-07-04 03:59:38 -04:00
Roberto Rosario e856ff62c3 Remove unused variable from recent document list view context. 2015-07-04 03:11:53 -04:00
Roberto Rosario a54f6ea5f2 Add reminder 2015-07-04 03:09:50 -04:00
Roberto Rosario d55f54b221 Move package metadata to mayan/__init__.py 2015-07-04 03:09:25 -04:00
Roberto Rosario ee6bb866c9 Add support for document retention policies. Closes gh-issue #189. 2015-07-04 02:25:59 -04:00
Roberto Rosario 589874bec1 Simplify 'trash can' to just 'trash'. 2015-07-03 21:04:47 -04:00
Roberto Rosario ab53270942 Add field to store when a document was deleted. 2015-07-03 21:00:18 -04:00
Roberto Rosario 7e8e124d09 Add support for emptying the trash can in a single action. 2015-07-03 20:50:07 -04:00
Roberto Rosario 924c07c9de Add support for redirection target on confirm dialog cancelation 2015-07-03 20:49:28 -04:00
Roberto Rosario 3e299f030a Add support to fully delete documents from trash can. Rename previous delete link and related code to 'move to trash'. gh-issue #188. 2015-07-03 18:35:10 -04:00
Roberto Rosario 98b988038e Implement document trash can and soft delete support. First half or gh-issue 188. 2015-07-03 03:28:02 -04:00
Roberto Rosario e2e62d7640 Match navigation links by type not to all subclasses of the source. 2015-07-03 03:24:51 -04:00
Roberto Rosario 8575d02286 Add missing imports 2015-07-03 03:24:20 -04:00
Roberto Rosario 509c944df0 Add mixin to apply an action to many instances 2015-07-03 03:20:36 -04:00
Roberto Rosario 3d7e7ae4a2 Add support for getting an office document page count. 2015-07-03 03:19:42 -04:00
Roberto Rosario bee9ae32c3 Call the correct super class 2015-07-03 03:19:13 -04:00
Roberto Rosario 0a42233e58 Fix ACL app migrations. 2015-07-03 01:15:07 -04:00
Roberto Rosario 6522b909f7 Update release notes 2015-07-02 21:00:38 -04:00
Roberto Rosario fee9d7ea9e Remove support for auto applying roles after new user creation. 2015-07-02 20:56:16 -04:00
Roberto Rosario 2247d4c38e Fix common app setting name 2015-07-02 20:51:02 -04:00
Roberto Rosario debd9db317 Remove graphicsmagic and imagemagick backends 2015-07-02 20:48:44 -04:00
Roberto Rosario 7771740e59 Remove unused views 2015-07-02 20:28:43 -04:00
Roberto Rosario 0e7bf60717 Convert index instance view to CBV. Add smart document count to index instance view. 2015-07-02 04:10:28 -04:00
Roberto Rosario e102832b2f Use two state widget to show if a state is the initial state for a workflow. 2015-07-02 02:55:29 -04:00
Roberto Rosario ad5709c8ce Remove maintenance tools menu entry, apps now register tools directly to the tools menu. 2015-07-02 02:47:46 -04:00
Roberto Rosario c22fd83f3e Add smart document count to document tag list view. 2015-07-02 02:15:36 -04:00
Roberto Rosario 18178404c2 Add smart document count to folder list and document folder list views. Add user column to folder list views. 2015-07-02 02:14:55 -04:00
Roberto Rosario 01203b2531 Re-add smart tag document counter that takes into account user permission for the document list. 2015-07-02 02:08:19 -04:00
Roberto Rosario 963211f45c Remove index previous level navigation link. 2015-07-02 02:08:10 -04:00
Roberto Rosario 91a7b66908 Improve index nodes widget icons and spacing. 2015-07-02 01:50:58 -04:00
Roberto Rosario 80e855e7b4 Return '#' for invalid indexes (unitialized, indexes with not node instances). 2015-07-02 01:50:19 -04:00
Roberto Rosario c3c4fcb2b2 Convert index list view to CBV. 2015-07-02 01:49:52 -04:00
Roberto Rosario 51d50672f3 Change index setup list view to CBV. 2015-07-02 01:32:03 -04:00
Roberto Rosario d47091df61 Convert resolved smart link document list view to CBV. 2015-07-02 01:26:35 -04:00
Roberto Rosario dda604dcbb Convert document smart link list view to CBV. 2015-07-02 01:13:34 -04:00
Roberto Rosario daa6777592 Remove obsolete acls model 2015-07-02 00:57:37 -04:00
Roberto Rosario 70b0996354 Fix smart link document type assign remove view 2015-07-02 00:57:08 -04:00
Roberto Rosario c6ec9fbc33 Rebalance permissions. 2015-07-01 20:58:16 -04:00
Roberto Rosario fd11a15bf3 Conver folder list and document folder list views to CBV. 2015-07-01 20:57:55 -04:00
Roberto Rosario e0d38d316a Change tag list, tag documents and document's tags list views to CBV. Link tag_view permission to documents, used to allow showing a document's tags in addition to allowing general tags in the tag list view. 2015-07-01 20:33:23 -04:00
Roberto Rosario ea0d724ede Don't display number of documents in a tag, causes extra query, give information even if user is not allowed to see which documents are tagged can now if there are documents tagged. 2015-07-01 17:24:39 -04:00
Roberto Rosario b5d2ebc781 Replace user list and group list views with CBVs. 2015-07-01 17:11:18 -04:00
Roberto Rosario 23fda5561e Propery filter documents queryset on CBV that return a list of documents. 2015-07-01 17:01:41 -04:00
Roberto Rosario f0cfe314f0 PEP8 cleanups 2015-07-01 16:45:33 -04:00
Roberto Rosario ace76fc69c Update apps for new ACLs refactor. 2015-07-01 16:36:20 -04:00
Roberto Rosario 8a501c2c27 Reduce smart link code by using a proxy model. 2015-07-01 16:35:38 -04:00
Roberto Rosario 49f86cd331 Finish refactoring access control list's queryset filtering by access level code. 2015-07-01 16:33:07 -04:00
Roberto Rosario 9105fdf0fa Update release notes 2015-07-01 02:53:26 -04:00
Roberto Rosario f65fb2cd6c Remove anonymous user support 2015-07-01 02:45:58 -04:00
Roberto Rosario 48a4e95cf0 Serve more fonts locally 2015-07-01 02:33:29 -04:00
Roberto Rosario 5229635026 Serve the fonts locally 2015-07-01 02:28:16 -04:00
Roberto Rosario 8969bb6591 Update jquery version 2015-07-01 02:08:45 -04:00
Roberto Rosario 96d05cf12f Update link text for clarity 2015-06-30 22:00:37 -04:00
Roberto Rosario ee1b05fb57 Refactor code to associate a model with a set of permissions. Update related apps. 2015-06-30 22:00:14 -04:00
Roberto Rosario 6ceb71d0b3 Rename metadata parsers to metadata validators. Fix validators calling method, import and instance, instead previous key based lookup. 2015-06-30 17:35:35 -04:00
Roberto Rosario c7953a1cfb Improve document upload wizard title messages 2015-06-30 17:35:16 -04:00
Roberto Rosario e9ea2dc35a Modernize usage of the AssignRemove CBV 2015-06-30 17:19:56 -04:00
Roberto Rosario 0bb8fa2ba9 Add exception, check and message when an invalid permission namespace is requested. 2015-06-30 16:48:27 -04:00
Roberto Rosario 060033b41c Fix typo 2015-06-30 02:46:56 -04:00
Roberto Rosario 8cff91ab5f Remove unused forms 2015-06-30 02:46:27 -04:00
Roberto Rosario 0e24f8d821 Simplify and remove unused code 2015-06-30 02:43:58 -04:00
Roberto Rosario eddce6611a Remove permission field from list display columns 2015-06-30 02:43:15 -04:00
Roberto Rosario d45cf5d02e Update apps to new ACL app changes 2015-06-30 02:42:46 -04:00
Roberto Rosario c6cdafb12a Update namespace label for clarity 2015-06-30 02:39:20 -04:00
Roberto Rosario 576463535f Add view permission and object permission mixins to the AssignRemove CBV 2015-06-30 02:38:50 -04:00
Roberto Rosario 070c3b648c Refactor acls app 2015-06-30 02:38:22 -04:00
Roberto Rosario 29447f16f4 Add management command to purge obsolete permissions from the database 2015-06-29 17:12:18 -04:00
Roberto Rosario a68be31e52 Remove unused permissions check code 2015-06-29 16:58:46 -04:00
Roberto Rosario 750c86e41c Remove obsolete 403 template 2015-06-29 16:58:04 -04:00
Roberto Rosario cbfc840466 Remove specialized middleware to show custom 403 error, not needed with recent Django versions. 2015-06-29 16:57:20 -04:00
Roberto Rosario 5be41af1cf Remove DefaultAccessControlList support 2015-06-29 14:51:37 -04:00
Roberto Rosario 3d1b030f95 Remove obsolete class Member 2015-06-29 14:30:03 -04:00
Roberto Rosario 220e142eb2 Remove obsolete module 2015-06-29 14:29:43 -04:00
Roberto Rosario 5d3f8e19ea Remove unused module 2015-06-29 14:26:29 -04:00
Roberto Rosario 88ddb1b1d6 Use repeatable id to cache stored permissions 2015-06-29 14:26:06 -04:00
Roberto Rosario 12c47027a6 Remove unused CSS class 2015-06-29 14:21:42 -04:00
Roberto Rosario f326007f40 Update links labels to uppercase 2015-06-29 14:19:06 -04:00
Roberto Rosario 3754f45001 Reduce checked out document column label string size. Refactor roles: roles can only have groups as members, only roles can hold permissions. 2015-06-29 14:07:02 -04:00
Roberto Rosario 560e469e8c Reduce horizontal ruler margins. 2015-06-29 14:03:48 -04:00
Roberto Rosario 7122a38807 Force implementation methods when subclassing. Hide labels, they don't add any important information. 2015-06-29 14:02:46 -04:00
Roberto Rosario 02761cda25 Remove link to Django's admin site. User are discouraged to change entries directly in the database. 2015-06-29 14:01:52 -04:00
Roberto Rosario 1c084aa07b Split Permission and StoredPermission class and model into different modules. Simplified the Permission class. 2015-06-28 01:03:29 -04:00
Roberto Rosario d26402974a Allow registering permission from the permission namespace. Replace all permission variables to be lowercase (style guide reserver uppercase variables for constants and literals). 2015-06-28 00:19:49 -04:00
Roberto Rosario 956ca08cbd Fix converter backend 2015-06-27 23:32:52 -04:00
Roberto Rosario 48df3dcafa PEP8 cleanups 2015-06-24 17:11:24 -04:00
Roberto Rosario dd9b196110 Update release notes 2015-06-24 15:20:07 -04:00
Roberto Rosario e9282132e5 Split search field registration to their respective apps 2015-06-24 15:19:51 -04:00
Roberto Rosario 579b369d07 Preserve search field order 2015-06-24 15:17:01 -04:00
Roberto Rosario 5506c33ce5 Lazy loading of model to search 2015-06-24 15:16:00 -04:00
Roberto Rosario e04263f4d7 Merge pull request #217 from thequbit/master
change default email to @example.com from known valid address.
2015-06-24 14:46:32 -04:00
Roberto Rosario 00427da11e Fix search app settings variables' casing 2015-06-24 13:07:36 -04:00
Roberto Rosario ce329b1ca2 Remove unused module 2015-06-24 12:55:07 -04:00
Roberto Rosario 72b91b79ac Move document type's OCR settings from the documents app to the OCR app 2015-06-24 01:52:33 -04:00
Roberto Rosario 83ed62b210 Remove office document parser now that document version are converted to intermediate format 2015-06-24 01:12:54 -04:00
Roberto Rosario b18888b3f7 Convert and cache office documents at the document version level for faster page image retrieval 2015-06-24 01:04:35 -04:00
Roberto Rosario 3d68e79654 Add missing import 2015-06-24 01:04:08 -04:00
thequbit 4595c649a2 change default email to @example.com from known valid address. Closes 2015-06-23 07:45:26 -04:00
Roberto Rosario 080780ca1e Merge and reduce tag widgets 2015-06-23 04:18:22 -04:00
Roberto Rosario 3cfeb97103 Fadeout and up when dismissing alerts 2015-06-23 04:13:20 -04:00
Roberto Rosario 873836c887 Update remaining mailer app to new smart settings system 2015-06-23 04:13:07 -04:00
Roberto Rosario b4efd4574e Refactor register_model_columns into SourceColumn class 2015-06-23 04:12:13 -04:00
Roberto Rosario 383c7e62ab Remove obsolete autoadmin tags 2015-06-23 03:24:40 -04:00
Roberto Rosario a5e922416b Make generates_choices_w_label a static method of AssignRemove, it's not anywhere else. 2015-06-23 03:13:28 -04:00
Roberto Rosario cdf5a06216 Add entry and exit animations to alerts. Auto dismiss success alerts after 3 seconds. 2015-06-23 02:57:59 -04:00
Roberto Rosario e4623fadcd PEP8 cleanups 2015-06-23 02:23:23 -04:00
Roberto Rosario c249b47b79 Finish smart settings refactor 2015-06-23 01:44:57 -04:00
Roberto Rosario f7e96c8cae Add per namespace settings count 2015-06-23 01:18:44 -04:00
Roberto Rosario 78198f3398 Smart settings refactor 2015-06-22 21:04:06 -04:00
Roberto Rosario 6dcb984aca Remove support for 'hidden' smart settings 2015-06-22 01:18:38 -04:00
Roberto Rosario 50e547dc98 Allow app to auto add their urlpatterns via MayanAppConfig AppConfig subclass 2015-06-19 20:42:34 -04:00
Roberto Rosario f4c320dae8 Remove authetication urls from the common app 2015-06-19 19:49:09 -04:00
Roberto Rosario 4920e7dabb Keep fancybox previous and next button always enabled 2015-06-19 19:44:29 -04:00
Roberto Rosario 5d30356b76 Exclude description field from the document upload form to save space 2015-06-19 19:37:36 -04:00
Roberto Rosario 7efe09b2a9 Update release notes 2015-06-19 19:09:50 -04:00
Roberto Rosario ad7a5d8244 Update document OCR submit views to CBV views 2015-06-19 19:07:44 -04:00
Roberto Rosario 92ba52720a Add get_success_url to redirection mixin 2015-06-19 19:06:56 -04:00
Roberto Rosario ce10970b16 Migration fails in SQLite for document with empty OCR content 2015-06-19 19:06:24 -04:00
Roberto Rosario 340fe49ad1 Merge remote-tracking branch 'origin/development' into development 2015-06-19 18:30:06 -04:00
Roberto Rosario be61044041 Fix full list selection 2015-06-19 16:27:28 -04:00
Roberto Rosario 8e665c1846 Improve migration dependecy 2015-06-17 18:44:45 -04:00
Roberto Rosario aba7041d9e Update release notes 2015-06-17 02:51:17 -04:00
Roberto Rosario 270b836c71 Fix error on empty list introspection 2015-06-17 02:24:54 -04:00
Roberto Rosario 22340d8b8f Update menu resolution to return a list of lists of resolved objects. Allows segmented 'Action' dropdown on multi objects action menu. 2015-06-17 02:21:53 -04:00
Roberto Rosario 5fc77f4e84 Show workflow instance completion percent based on current state 2015-06-17 02:21:16 -04:00
Roberto Rosario 12a9ccd5e0 Simplify workflow instance detail view 2015-06-17 02:20:57 -04:00
Roberto Rosario 6e44d43195 Explicit workflow creation link title 2015-06-17 02:20:32 -04:00
Roberto Rosario 74f5e3ec5f Mark tag deletion link as dangerous 2015-06-17 02:19:40 -04:00
Roberto Rosario a7fd802436 Introspect object to be able to show table header even on empty object_list 2015-06-17 02:19:12 -04:00
Roberto Rosario 63201aa082 Remove the page_label field from the document page model. Closes gh-issue #195 2015-06-17 00:31:11 -04:00
Roberto Rosario 93e7b73433 Update document page content search registration 2015-06-17 00:27:44 -04:00
Roberto Rosario 2959539083 Add missing import 2015-06-17 00:25:51 -04:00
Roberto Rosario 9f2f10b702 Register PERMISSION_OCR_CONTENT_VIEW permission to the document model 2015-06-17 00:23:48 -04:00
Roberto Rosario 08a8ae2554 Move document page content code to the OCR app. Prep work for issue #186. 2015-06-17 00:21:35 -04:00
Roberto Rosario 36ea7c2f3d Update Pillow version to 2.8.2 2015-06-16 23:37:29 -04:00
Roberto Rosario 91150a7f51 Change the user_object of the DocumentCheckout model to be just a FK to the User model 2015-06-16 23:35:23 -04:00
Roberto Rosario 0e52609c7c Pass request.user when doing a document version revert 2015-06-16 23:16:02 -04:00
Roberto Rosario a5636e5a94 Add new event for document version reversion 2015-06-16 23:14:29 -04:00
Roberto Rosario ede88ddcc3 Add new event for new document version creation 2015-06-16 23:03:34 -04:00
Roberto Rosario 14e0d0a03c Add sample logging to the development settings 2015-06-16 20:42:53 -04:00
Roberto Rosario a4cd152310 Cache compiled templates by default in production settings. Turn off Celery's eager behaviour in production by default. 2015-06-16 20:42:03 -04:00
Roberto Rosario ac68470c89 Don't cache compiled templates by default 2015-06-16 20:41:40 -04:00
Roberto Rosario c8268b1a5b Move new document version blocking logic to the checkouts app. Remove PERMISSION_DOCUMENT_RESTRICTIONS_OVERRIDE, overriding checkout restrictions even for admin users has the potential to confuse or corrupt data, removing it. Even admins must now checkin a document before trying to perform a restricted operation. 2015-06-16 20:38:45 -04:00
Roberto Rosario dc35ed6948 Add TODO reminder 2015-06-16 16:20:56 -04:00
Roberto Rosario 394a90458a Improve way to cache document page images and invalidate them. Update related code. 2015-06-16 16:20:17 -04:00
Roberto Rosario 51e4b8b44c Add migration to change the way ordering was defined 2015-06-16 15:32:14 -04:00
Roberto Rosario e47385ddfb Remove no longer used document method 2015-06-16 15:21:02 -04:00
Roberto Rosario 99c8fb8da2 Chang erole and smart settings icons 2015-06-16 15:05:43 -04:00
Roberto Rosario 6c5b23f7ee Assign new icon to the installtion app link 2015-06-16 04:49:04 -04:00
Roberto Rosario f99db0f66b Reassign icons to indexing, workflows and metadata links 2015-06-16 04:47:21 -04:00
Roberto Rosario ab0cb0917c Add reminders to add taks 2015-06-16 04:38:23 -04:00
Roberto Rosario 4cc1aaf162 Sort imports 2015-06-16 04:37:54 -04:00
Roberto Rosario bb205e7cf9 Catch re-launching a workflow for a document and logging the condition 2015-06-16 04:37:34 -04:00
Roberto Rosario dee9c3fb70 Add Confirm view 2015-06-16 04:36:26 -04:00
Roberto Rosario 8aa4452162 Allow overriding the object on which to perform the permission check 2015-06-16 04:15:46 -04:00
Roberto Rosario fe43d53aa2 Use tuples instead of lists to represent single permission collections 2015-06-16 04:14:18 -04:00
Roberto Rosario 48c428d5cf Add workflow completion percent based on workflow state 2015-06-16 03:47:41 -04:00
Roberto Rosario c5ca22f6d2 Use tuples instead of lists to define model ordering 2015-06-16 02:12:31 -04:00
Roberto Rosario 7dc8cee43f Normalize how all urls are defined 2015-06-16 02:07:37 -04:00
Roberto Rosario 07bc5996f5 Use the post initial setup signal to setup a default document type and a default document source 2015-06-16 01:59:16 -04:00
Roberto Rosario 890ae87e9c Emit a post initial setup signal 2015-06-16 01:58:59 -04:00
Roberto Rosario b41be2e763 Re-add incorrectly removed widget class EmailInput 2015-06-16 01:43:46 -04:00
Roberto Rosario d8322031c5 PEP8 cleanups 2015-06-14 03:52:18 -04:00
Roberto Rosario 37b4f42afe Remove autoadmin code and move it to the external django-autoadmin package 2015-06-14 03:51:36 -04:00
Roberto Rosario f3beb3b5e7 Rename field to show document label as title during thumbnail preview 2015-06-09 20:24:43 -04:00
Roberto Rosario 28932b80b4 Remove remarked code 2015-06-09 20:24:31 -04:00
Roberto Rosario a79dc22bd1 Update staging folders to use the new converter class 2015-06-09 20:24:09 -04:00
Roberto Rosario 632656b8ce Make sure an image exists before trying to transform it 2015-06-09 20:23:40 -04:00
Roberto Rosario 0d6438d01a Remove internal api usage 2015-06-09 20:23:21 -04:00
Roberto Rosario dea882d023 Add error logging to document source models 2015-06-09 20:22:58 -04:00
Roberto Rosario adf88b39bf Revert to serving binary images to allow fancybox galleries 2015-06-09 19:04:39 -04:00
Roberto Rosario 8532311367 Use ParentChild CBV to display a list of document pages. This allows fixing a page's transformations in case of error. 2015-06-09 18:53:35 -04:00
Roberto Rosario afb30eab04 Add CBV to display a list of object that are the children of another object 2015-06-09 18:52:42 -04:00
Roberto Rosario a954256378 Merge lazy-load and lazy-load-interactive, they now behave exactly the same 2015-06-09 14:55:40 -04:00
Roberto Rosario db0b5aca13 Replace the invalid document page image with a combination of font icons 2015-06-09 14:50:53 -04:00
Roberto Rosario 74bd69b61c Remove OCR cleanup view 2015-06-09 03:29:15 -04:00
Roberto Rosario 5275061f9f Refactor OCR backend class to be file object based and use images from document page not the actual file. Use pytesseract instead of calling the CLI directly. 2015-06-09 03:28:38 -04:00
Roberto Rosario 931bdfd113 If no image is available when get_image is called, generate the first page automatically 2015-06-09 03:25:49 -04:00
Roberto Rosario d073685680 Delete language processing backends 2015-06-09 03:24:17 -04:00
Roberto Rosario e9be14f2af Fix clearing document's transformations 2015-06-09 01:35:11 -04:00
Roberto Rosario 31985e7160 Use highest quality interpolation and expand image so as not to crop borders 2015-06-08 23:45:55 -04:00
Roberto Rosario 87d8504cfb Don't overwrite self.kwargs cause links resolved kwargs to get cached and produce wrong resolved URLs 2015-06-08 23:41:38 -04:00
Roberto Rosario f7d69931cf Fix target_dict generation 2015-06-08 23:41:07 -04:00
Roberto Rosario 0f0edddcd9 Disable OCR code until fixed and updated for new converter code 2015-06-08 22:30:34 -04:00
Roberto Rosario 719476a8e4 Add transformation copy support and update sources models to use it 2015-06-08 22:29:51 -04:00
Roberto Rosario 296d218c01 Remove remainig document page transformation code 2015-06-08 22:29:29 -04:00
Roberto Rosario d1f76b29e7 Use unicode representation of transformation 2015-06-08 22:28:55 -04:00
Roberto Rosario 285d08aae2 Add help texts, fix __str__ method return value 2015-06-08 22:28:27 -04:00
Roberto Rosario 7542a7aa9d Rever to django rest swagger 0.2.0 until Django REST framework is updated to 3.x. gh-issue #198 2015-06-08 19:13:19 -04:00
Roberto Rosario faae9994a2 Update release notes 2015-06-08 15:58:27 -04:00
Roberto Rosario 9135a7d470 Add missing migration after upload_to change 2015-06-08 15:58:01 -04:00
Roberto Rosario 2915ecfdd9 Add missing common app migration 2015-06-08 15:57:47 -04:00
Roberto Rosario dcd062f122 Update Link class to accept callables for a link's kwargs 2015-06-08 15:57:12 -04:00
Roberto Rosario 9db47a843f Convert documents app to new transformation system 2015-06-08 15:56:57 -04:00
Roberto Rosario 506d53c58a Convert sources app to use new transformation system 2015-06-08 15:56:16 -04:00
Roberto Rosario 33b56ac5e6 Add unicode_literal import 2015-06-08 15:55:38 -04:00
Roberto Rosario 32fe03aaa7 PEP8 clean up and trivial typo fixes 2015-06-08 15:54:54 -04:00
Roberto Rosario d678431c97 Move transformation storage to the converter app via content types 2015-06-08 15:53:25 -04:00
Roberto Rosario 86bfd76141 Don't raise warning about unused imports 2015-06-08 15:49:48 -04:00
Roberto Rosario 68aedcf0cf Fix passing named arguments to link's views 2015-06-08 03:05:12 -04:00
Roberto Rosario 30e8baccb8 Remove the document page text and content edit views, with the change to zone OCR these features are not necesary. 2015-06-08 01:31:27 -04:00
Roberto Rosario 670f6f1884 Remove unused mimetype extension icons 2015-06-08 01:20:43 -04:00
Roberto Rosario bf049d07fe Move the document display error to the appearance app 2015-06-08 01:19:55 -04:00
Roberto Rosario 3fc7147f93 Use base64 as the default document image representation 2015-06-08 01:16:01 -04:00
Roberto Rosario b256758db2 Implement class based converter transformations 2015-06-07 05:29:31 -04:00
Roberto Rosario f4752a3f3f Further converter refactor and initial move from document-centric to page-centric image generation. Issue #93. 2015-06-06 06:26:44 -04:00
Roberto Rosario de6182aea0 Initial commit of the converter refactor 2015-06-05 03:35:07 -04:00
Roberto Rosario 97f68ea158 Cleanup document version argument handling by making sure it is by document version and not by document instance 2015-06-05 00:58:55 -04:00
Roberto Rosario 1e02b4dadf Don't check for embedded signature on save. 2015-06-05 00:58:08 -04:00
Roberto Rosario 678782154b Improve conditional logic of detached signature links 2015-06-05 00:57:28 -04:00
Roberto Rosario a9a4c15d77 Add admin interface to the document signatures app 2015-06-05 00:56:57 -04:00
Roberto Rosario f4e3c0e084 Don't display revert button link for current version of a document. Mark the revert button as "dangerous". 2015-06-05 00:56:24 -04:00
Roberto Rosario b49617d3e7 Add "dangerous" tag to the document comment delete link 2015-06-04 21:05:02 -04:00
Roberto Rosario 091a14845a Add document print permission. First half of issue #176. 2015-06-04 21:04:37 -04:00
Roberto Rosario 29aa3987f5 Update version of django rest swagger 2015-06-04 20:47:57 -04:00
Roberto Rosario 68375a4969 Don't try to capture swaggers template, it's too complex 2015-06-04 20:42:18 -04:00
Roberto Rosario b929194905 Add the "dangerous" tag to the links whose actions result in permanent data erasure 2015-06-04 20:37:46 -04:00
Roberto Rosario b0fee28e1d Remove unused function parameter 2015-06-04 20:37:20 -04:00
Roberto Rosario 7a6831589e Give the btn-danger CSS class to all links with the "dangerous" tag 2015-06-04 19:00:17 -04:00
Roberto Rosario f16957c206 Add support for link tags 2015-06-04 18:55:19 -04:00
Roberto Rosario e6ee4198be Use space instead of a vertical bar to separate object links 2015-06-04 18:53:36 -04:00
Roberto Rosario c21bb90d90 Add missing import 2015-06-04 18:51:14 -04:00
Roberto Rosario 0136b73fd2 Shorten GPG key id's when showing a query result 2015-06-04 18:50:03 -04:00
Roberto Rosario ed4d72c709 Show the word "None" when dropdowns are empty 2015-06-04 18:40:45 -04:00
Roberto Rosario 0fd86c6191 Remove old migration and add Django 1.7.x migration to increase lock name field size 2015-06-04 18:20:09 -04:00
Roberto Rosario 6d5d5229d6 Sort common.utils functions 2015-06-04 18:18:02 -04:00
Roberto Rosario 0bd6bd7930 Add missing task instance to task_do_ocr task 2015-06-02 19:36:19 -04:00
Roberto Rosario 0bcf87ec85 Add tests for the django_gpg app 2015-06-02 02:32:33 -04:00
Roberto Rosario e2090628ba Update release notes 2015-06-02 01:49:33 -04:00
Roberto Rosario 97e884ae23 Remove python-hkp dependency. Closes gh-issue #170 2015-06-02 01:40:37 -04:00
Roberto Rosario 8176326a16 Add new post_document_version_ocr signal 2015-06-02 00:25:46 -04:00
Roberto Rosario 7a6a24bb99 Update requirement versions 2015-06-02 00:23:00 -04:00
Roberto Rosario 6fc74db9c2 Cleanup post merge typos 2015-06-01 23:48:33 -04:00
Roberto Rosario ce3cf144d5 Merge branch 'master' into feature/merge_master
Conflicts:
	docs/releases/index.rst
	mayan/__init__.py
	mayan/apps/acls/south_migrations/0001_initial.py
	mayan/apps/acls/south_migrations/0002_auto__del_field_creatorsingleton_lock_id.py
	mayan/apps/checkouts/south_migrations/0001_initial.py
	mayan/apps/checkouts/south_migrations/0002_auto__add_field_documentcheckout_user_content_type__add_field_document.py
	mayan/apps/checkouts/south_migrations/0003_auto__chg_field_documentcheckout_checkout_datetime.py
	mayan/apps/checkouts/urls.py
	mayan/apps/common/forms.py
	mayan/apps/common/locale/ar/LC_MESSAGES/django.po
	mayan/apps/common/locale/bg/LC_MESSAGES/django.po
	mayan/apps/common/locale/bs_BA/LC_MESSAGES/django.po
	mayan/apps/common/locale/da/LC_MESSAGES/django.po
	mayan/apps/common/locale/de_CH/LC_MESSAGES/django.po
	mayan/apps/common/locale/de_DE/LC_MESSAGES/django.po
	mayan/apps/common/locale/en/LC_MESSAGES/django.po
	mayan/apps/common/locale/es/LC_MESSAGES/django.po
	mayan/apps/common/locale/fa/LC_MESSAGES/django.po
	mayan/apps/common/locale/fr/LC_MESSAGES/django.po
	mayan/apps/common/locale/hr_HR/LC_MESSAGES/django.po
	mayan/apps/common/locale/hu/LC_MESSAGES/django.po
	mayan/apps/common/locale/id/LC_MESSAGES/django.po
	mayan/apps/common/locale/it/LC_MESSAGES/django.po
	mayan/apps/common/locale/lv/LC_MESSAGES/django.po
	mayan/apps/common/locale/nb/LC_MESSAGES/django.po
	mayan/apps/common/locale/nl_NL/LC_MESSAGES/django.po
	mayan/apps/common/locale/pl/LC_MESSAGES/django.po
	mayan/apps/common/locale/pt/LC_MESSAGES/django.po
	mayan/apps/common/locale/pt_BR/LC_MESSAGES/django.po
	mayan/apps/common/locale/ro_RO/LC_MESSAGES/django.po
	mayan/apps/common/locale/ru/LC_MESSAGES/django.po
	mayan/apps/common/locale/sl_SI/LC_MESSAGES/django.po
	mayan/apps/common/locale/sq/LC_MESSAGES/django.po
	mayan/apps/common/locale/tr_TR/LC_MESSAGES/django.po
	mayan/apps/common/locale/vi_VN/LC_MESSAGES/django.po
	mayan/apps/common/locale/zh_CN/LC_MESSAGES/django.po
	mayan/apps/common/locale/zh_TW/LC_MESSAGES/django.po
	mayan/apps/common/south_migrations/0001_initial.py
	mayan/apps/common/south_migrations/0002_auto__add_autoadminsingleton.py
	mayan/apps/common/south_migrations/0003_auto__del_field_autoadminsingleton_original_auto_admin_password__del_f.py
	mayan/apps/common/south_migrations/0004_auto__del_field_autoadminsingleton_auto_admin_password__del_field_auto.py
	mayan/apps/common/south_migrations/0005_auto__del_field_autoadminsingleton_lock_id__del_field_anonymoususersin.py
	mayan/apps/common/south_migrations/0006_auto__add_shareduploadedfile.py
	mayan/apps/common/south_migrations/0007_auto__add_field_shareduploadedfile_filename.py
	mayan/apps/common/south_migrations/0008_auto__add_field_shareduploadedfile_datatime.py
	mayan/apps/common/south_migrations/0009_auto__add_userlocaleprofile.py
	mayan/apps/common/south_migrations/0010_create_locale_profiles.py
	mayan/apps/common/urls.py
	mayan/apps/common/views.py
	mayan/apps/converter/models.py
	mayan/apps/document_comments/models.py
	mayan/apps/document_indexing/south_migrations/0004_auto__add_documentrenamecount.py
	mayan/apps/document_indexing/south_migrations/0005_auto__add_unique_index_name__add_unique_index_title.py
	mayan/apps/document_indexing/south_migrations/0007_auto__del_documentrenamecount.py
	mayan/apps/document_signatures/south_migrations/0001_initial.py
	mayan/apps/document_signatures/south_migrations/0002_move_signatures_to_new_app.py
	mayan/apps/document_signatures/south_migrations/0003_auto__add_field_documentversionsignature_has_embedded_signature.py
	mayan/apps/document_signatures/south_migrations/0004_embedded_signature_state_copy.py
	mayan/apps/document_signatures/south_migrations/0005_auto__del_field_documentversionsignature_signature_state.py
	mayan/apps/document_states/__init__.py
	mayan/apps/document_states/south_migrations/0001_initial.py
	mayan/apps/document_states/south_migrations/0002_auto__add_field_workflowtransition_workflow.py
	mayan/apps/document_states/south_migrations/0003_auto__add_unique_workflowtransition_workflow_origin_state_destination_.py
	mayan/apps/document_states/south_migrations/0004_auto__del_field_workflowinstancelogentry_document__del_field_workflowi.py
	mayan/apps/document_states/south_migrations/0005_auto__del_unique_workflowstate_label__add_unique_workflowstate_workflo.py
	mayan/apps/document_states/south_migrations/0006_auto__del_unique_workflowtransition_label__del_unique_workflowtransiti.py
	mayan/apps/document_states/south_migrations/0008_auto__add_field_workflowinstancelogentry_user__add_field_workflowinsta.py
	mayan/apps/document_states/south_migrations/0009_auto__add_index_workflowinstancelogentry_datetime.py
	mayan/apps/document_states/urls.py
	mayan/apps/documents/__init__.py
	mayan/apps/documents/links.py
	mayan/apps/documents/south_migrations/0001_initial.py
	mayan/apps/documents/south_migrations/0002_filename_extension_merge.py
	mayan/apps/documents/south_migrations/0003_auto__del_field_document_file_extension.py
	mayan/apps/documents/south_migrations/0004_auto__add_documentversion__add_unique_documentversion_document_mayor_m.py
	mayan/apps/documents/south_migrations/0005_document_versions.py
	mayan/apps/documents/south_migrations/0006_fix_invalid_document_version_id_keys.py
	mayan/apps/documents/south_migrations/0007_remove_old_file_fields.py
	mayan/apps/documents/south_migrations/0008_fix_mayor_field_name.py
	mayan/apps/documents/south_migrations/0009_add_comment_field.py
	mayan/apps/documents/south_migrations/0010_auto__chg_field_document_date_added.py
	mayan/apps/documents/south_migrations/0011_auto__add_field_documentversion_signature_state.py
	mayan/apps/documents/south_migrations/0012_auto__add_field_documentversion_signature_file.py
	mayan/apps/documents/south_migrations/0013_auto__del_field_documentversion_signature_file__del_field_documentvers.py
	mayan/apps/documents/south_migrations/0014_change_document_mimetype_encoding_null.py
	mayan/apps/documents/south_migrations/0015_auto__add_unique_documenttype_name.py
	mayan/apps/documents/south_migrations/0017_auto__chg_field_documentversion_mimetype.py
	mayan/apps/documents/south_migrations/0018_auto__chg_field_documentpage_page_label.py
	mayan/apps/documents/south_migrations/0019_auto__add_index_documentversion_timestamp.py
	mayan/apps/documents/south_migrations/0020_auto__chg_field_recentdocument_datetime_accessed__chg_field_documentve.py
	mayan/apps/documents/south_migrations/0021_auto__del_field_documentversion_serial__del_field_documentversion_rele.py
	mayan/apps/documents/south_migrations/0022_set_doc_type.py
	mayan/apps/documents/south_migrations/0023_auto__chg_field_document_document_type.py
	mayan/apps/documents/south_migrations/0024_auto__add_field_documenttype_ocr.py
	mayan/apps/documents/south_migrations/0025_auto__add_field_document_language.py
	mayan/apps/documents/south_migrations/0026_auto__add_field_document_label.py
	mayan/apps/documents/south_migrations/0027_move_filename_to_label.py
	mayan/apps/documents/south_migrations/0028_auto__del_field_documentversion_filename.py
	mayan/apps/documents/south_migrations/0029_auto__del_field_documentversion_major__del_field_documentversion_micro.py
	mayan/apps/documents/south_migrations/0030_auto__add_unique_documenttypefilename_document_type_filename.py
	mayan/apps/documents/south_migrations/0031_remove_orphan_documents.py
	mayan/apps/dynamic_search/south_migrations/0001_initial.py
	mayan/apps/dynamic_search/south_migrations/0002_auto__chg_field_recentsearch_datetime_created__add_index_recentsearch_.py
	mayan/apps/dynamic_search/templatetags/search_tags.py
	mayan/apps/events/south_migrations/0001_initial.py
	mayan/apps/events/south_migrations/0002_migrate_history_data.py
	mayan/apps/folders/models.py
	mayan/apps/folders/south_migrations/0001_initial.py
	mayan/apps/folders/south_migrations/0002_increase_title_size.py
	mayan/apps/folders/south_migrations/0004_m2m_fields.py
	mayan/apps/folders/south_migrations/0005_auto__del_folderdocument.py
	mayan/apps/folders/south_migrations/0006_auto__chg_field_folder_datetime_created.py
	mayan/apps/history/models.py
	mayan/apps/history/south_migrations/0001_initial.py
	mayan/apps/history/south_migrations/0002_auto__chg_field_history_datetime.py
	mayan/apps/history/south_migrations/0003_auto__del_history__del_historytype__del_unique_historytype_namespace_n.py
	mayan/apps/installation/__init__.py
	mayan/apps/installation/models.py
	mayan/apps/installation/south_migrations/0001_initial.py
	mayan/apps/installation/south_migrations/0002_auto__del_field_installation_lock_id.py
	mayan/apps/installation/south_migrations/0003_auto__del_field_installation_is_first_run.py
	mayan/apps/linking/south_migrations/0001_initial.py
	mayan/apps/linking/south_migrations/0003_auto__chg_field_smartlinkcondition_foreign_document_data.py
	mayan/apps/linking/urls.py
	mayan/apps/lock_manager/south_migrations/0001_initial.py
	mayan/apps/lock_manager/south_migrations/0002_auto__chg_field_lock_creation_datetime.py
	mayan/apps/mailer/models.py
	mayan/apps/main/locale/ar/LC_MESSAGES/django.po
	mayan/apps/main/locale/bg/LC_MESSAGES/django.po
	mayan/apps/main/locale/bs_BA/LC_MESSAGES/django.po
	mayan/apps/main/locale/da/LC_MESSAGES/django.po
	mayan/apps/main/locale/de_CH/LC_MESSAGES/django.po
	mayan/apps/main/locale/de_DE/LC_MESSAGES/django.po
	mayan/apps/main/locale/en/LC_MESSAGES/django.po
	mayan/apps/main/locale/es/LC_MESSAGES/django.po
	mayan/apps/main/locale/fa/LC_MESSAGES/django.po
	mayan/apps/main/locale/fr/LC_MESSAGES/django.po
	mayan/apps/main/locale/hr_HR/LC_MESSAGES/django.po
	mayan/apps/main/locale/hu/LC_MESSAGES/django.po
	mayan/apps/main/locale/id/LC_MESSAGES/django.po
	mayan/apps/main/locale/it/LC_MESSAGES/django.po
	mayan/apps/main/locale/lv/LC_MESSAGES/django.po
	mayan/apps/main/locale/nb/LC_MESSAGES/django.po
	mayan/apps/main/locale/nl_NL/LC_MESSAGES/django.po
	mayan/apps/main/locale/pl/LC_MESSAGES/django.po
	mayan/apps/main/locale/pt/LC_MESSAGES/django.po
	mayan/apps/main/locale/pt_BR/LC_MESSAGES/django.po
	mayan/apps/main/locale/ro_RO/LC_MESSAGES/django.po
	mayan/apps/main/locale/ru/LC_MESSAGES/django.po
	mayan/apps/main/locale/sl_SI/LC_MESSAGES/django.po
	mayan/apps/main/locale/sq/LC_MESSAGES/django.po
	mayan/apps/main/locale/tr_TR/LC_MESSAGES/django.po
	mayan/apps/main/locale/vi_VN/LC_MESSAGES/django.po
	mayan/apps/main/locale/zh_CN/LC_MESSAGES/django.po
	mayan/apps/main/locale/zh_TW/LC_MESSAGES/django.po
	mayan/apps/main/models.py
	mayan/apps/main/templates/main/about.html
	mayan/apps/main/templates/main/generic_list_horizontal_subtemplate.html
	mayan/apps/main/urls.py
	mayan/apps/metadata/south_migrations/0002_auto__add_unique_metadataset_title.py
	mayan/apps/metadata/south_migrations/0003_auto__chg_field_metadatatype_lookup.py
	mayan/apps/metadata/south_migrations/0005_auto__chg_field_documentmetadata_value.py
	mayan/apps/metadata/south_migrations/0007_auto__del_documenttypedefaults__del_documenttypemetadatatypeoptions__a.py
	mayan/apps/metadata/south_migrations/0008_auto__add_unique_documenttypemetadatatype_document_type_metadata_type.py
	mayan/apps/metadata/south_migrations/0009_auto__chg_field_metadatatype_title.py
	mayan/apps/metadata/south_migrations/0010_auto__add_unique_documentmetadata_document_metadata_type.py
	mayan/apps/metadata/south_migrations/0011_auto__add_field_metadatatype_validation.py
	mayan/apps/mimetype/models.py
	mayan/apps/navigation/classes.py
	mayan/apps/navigation/forms.py
	mayan/apps/navigation/models.py
	mayan/apps/ocr/api.py
	mayan/apps/ocr/south_migrations/0001_initial.py
	mayan/apps/ocr/south_migrations/0002_auto__del_field_documentqueue_state__del_field_queuedocument_delay__de.py
	mayan/apps/ocr/south_migrations/0003_auto__chg_field_queuedocument_node_name__chg_field_queuedocument_datet.py
	mayan/apps/ocr/south_migrations/0004_auto__del_documentqueue__del_queuedocument__add_documentversionocrerro.py
	mayan/apps/permissions/south_migrations/0001_initial.py
	mayan/apps/permissions/south_migrations/0002_auto__add_storedpermission__add_unique_storedpermission_namespace_name.py
	mayan/apps/permissions/south_migrations/0003_clear_permission_holders.py
	mayan/apps/permissions/south_migrations/0004_auto__del_permission__del_unique_permission_namespace_name.py
	mayan/apps/permissions/widgets.py
	mayan/apps/project_setup/__init__.py
	mayan/apps/project_setup/locale/ar/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/bg/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/bs_BA/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/da/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/de_CH/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/de_DE/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/en/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/es/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/fa/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/fr/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/hr_HR/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/hu/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/id/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/it/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/lv/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/nb/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/nl_NL/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/pl/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/pt/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/pt_BR/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/ro_RO/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/ru/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/sl_SI/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/sq/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/tr_TR/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/vi_VN/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/zh_CN/LC_MESSAGES/django.po
	mayan/apps/project_setup/locale/zh_TW/LC_MESSAGES/django.po
	mayan/apps/project_setup/models.py
	mayan/apps/project_setup/urls.py
	mayan/apps/project_tools/__init__.py
	mayan/apps/project_tools/locale/ar/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/bg/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/bs_BA/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/da/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/de_CH/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/de_DE/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/en/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/es/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/fa/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/fr/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/hr_HR/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/hu/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/id/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/it/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/lv/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/nb/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/nl_NL/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/pl/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/pt/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/pt_BR/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/ro_RO/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/ru/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/sl_SI/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/sq/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/tr_TR/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/vi_VN/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/zh_CN/LC_MESSAGES/django.po
	mayan/apps/project_tools/locale/zh_TW/LC_MESSAGES/django.po
	mayan/apps/project_tools/models.py
	mayan/apps/project_tools/urls.py
	mayan/apps/rest_api/models.py
	mayan/apps/smart_settings/models.py
	mayan/apps/sources/south_migrations/0001_initial.py
	mayan/apps/sources/south_migrations/0002_preview_width_required.py
	mayan/apps/sources/south_migrations/0003_auto__del_field_stagingfolder_icon__del_field_webform_icon.py
	mayan/apps/sources/south_migrations/0004_auto__del_stagingfolder__del_webform__del_watchfolder__del_outofproces.py
	mayan/apps/sources/south_migrations/0005_auto__add_imapemail__add_intervalbasemodel__add_pop3email__add_emailba.py
	mayan/apps/sources/south_migrations/0006_auto__del_field_source_whitelist__del_field_source_blacklist.py
	mayan/apps/sources/south_migrations/0007_set_doc_type.py
	mayan/apps/sources/south_migrations/0008_auto__chg_field_intervalbasemodel_document_type.py
	mayan/apps/sources/south_migrations/0009_auto__del_watchfoldersource__chg_field_intervalbasemodel_document_type.py
	mayan/apps/sources/south_migrations/0010_auto__add_watchfoldersource.py
	mayan/apps/sources/south_migrations/0011_auto__del_field_intervalbasemodel_document_type.py
	mayan/apps/sources/south_migrations/0012_auto__add_field_intervalbasemodel_document_type.py
	mayan/apps/sources/south_migrations/0013_auto__del_field_watchfoldersource_delete_after_upload.py
	mayan/apps/storage/models.py
	mayan/apps/tags/south_migrations/0001_initial.py
	mayan/apps/tags/south_migrations/0003_remove_taggit.py
	mayan/apps/tags/south_migrations/0005_auto__add_unique_tag_label.py
	mayan/apps/tags/south_migrations/0006_auto__del_tagproperties.py
	mayan/apps/user_management/models.py
	mayan/settings/base.py
	mayan/urls.py
	requirements/common.txt
2015-06-01 23:20:17 -04:00
Roberto Rosario 774a018912 Move Tools and Setup links under the user profile main menu entry 2015-05-21 02:34:32 -04:00
Roberto Rosario 6905cef006 Improve look of the tools and setup views buttons 2015-05-21 02:24:13 -04:00
Roberto Rosario 30d17a3c5d Merge document_acls into documents app 2015-05-21 02:09:46 -04:00
Roberto Rosario e9ee49b7f2 Don't use CBV in common app's urls.py 2015-05-21 02:00:27 -04:00
Roberto Rosario 9cdf9af2ba Update version in development documentation 2015-05-21 00:29:18 -04:00
Roberto Rosario 929487b5c5 Documentation update 2015-05-20 22:52:39 -04:00
Roberto Rosario fae83b405f Requirement version updates and description update 2015-05-20 22:52:16 -04:00
Roberto Rosario f127312ea1 Don't include local or testing setting files 2015-05-20 22:51:44 -04:00
Roberto Rosario 41a74a2fe0 Rename folder for clarity 2015-05-20 22:49:08 -04:00
Roberto Rosario 5e4f28c83b New style documentation 2015-05-20 21:25:17 -04:00
Roberto Rosario 7dd2963a4b Extend lock manager lock name field size 2015-05-20 19:11:25 -04:00
Roberto Rosario bc54141434 Bump version to 1.1.1 2015-05-18 20:53:01 -04:00
Roberto Rosario 22b5900769 PEP8 cleanups 2015-05-18 20:50:02 -04:00
Roberto Rosario e9ae8905b4 PEP8 Cleanups 2015-05-18 19:58:03 -04:00
Roberto Rosario c03b2cb09c Translation syncronization 2015-05-15 19:11:41 -04:00
Roberto Rosario a439a8478a Update requirements versions 2015-05-15 19:02:53 -04:00
Roberto Rosario 1680b9ccfc Improve error message when GPG is now found during initialization. Issues #168 and #98 2015-05-15 17:00:52 -04:00
Roberto Rosario c36baa3bfa Update README.rst 2015-05-11 01:43:02 -04:00
Roberto Rosario 10fb7947e4 Show page number of total page count in document page preview 2015-05-09 22:40:30 -04:00
Roberto Rosario ec1994b364 Merge pull request #190 from BangorUniversity/master
Django==1.6.11 in setup.py to match requirements.txt
2015-04-17 03:27:18 -04:00
Simeon Walker 9bf4ecb1ea Django==1.6.11 in setup.py to match requirements.txt 2015-04-16 14:42:59 +01:00
Roberto Rosario f67856fccd Add version 1.1.1 release notes 2015-04-07 21:06:00 -04:00
Roberto Rosario ea21f4c3fd Fix usage of ugettext to ugettext_lazy 2015-04-07 20:46:35 -04:00
Roberto Rosario 859c158cfa Remove unused folder template tag 2015-04-07 20:38:46 -04:00
Roberto Rosario eb88d70658 Updated used version of Django to 1.6.11 2015-04-07 19:52:10 -04:00
Roberto Rosario 2e6b243dcf Expand test for issue #163 to include zipped non-ascii file 2015-04-07 19:35:29 -04:00
Roberto Rosario 942c9ab569 Add form prefix to checkbox name 2015-04-07 19:20:57 -04:00
Roberto Rosario 6ae7f0672d Add more app modules documentation 2015-04-07 19:01:13 -04:00
Roberto Rosario bfa794585e Update release notes 2015-04-07 17:06:11 -04:00
Roberto Rosario 12cdee6de2 Move signal handlers into their own app module 2015-04-07 17:01:07 -04:00
Roberto Rosario efcd0bc231 Remove last hardcoded use of the famfam icon set 2015-04-07 16:41:16 -04:00
Roberto Rosario 09f7cc1a5b Move common.utils.return_type to the smart_settings apps where it is only used 2015-04-07 16:36:42 -04:00
Roberto Rosario 2044c94893 Replace custom 'load_backend' with Django's 'import_string'. 2015-04-07 16:29:43 -04:00
Roberto Rosario 0e3e34bdf1 Simplify AssignRemoveView further 2015-04-07 16:23:33 -04:00
Roberto Rosario 87216eb444 Move the parse_range function to the only app that uses it, documents app 2015-04-07 16:06:04 -04:00
Roberto Rosario 9084c3c651 Simplify and remove old code 2015-04-07 16:04:09 -04:00
Roberto Rosario 69a7efd6f0 Convert workflows document type selection, smart link document type selection, role members list, user group and group users views to CBV assign remove. Remove now obsolete assign remove function based view 2015-04-07 15:48:27 -04:00
Roberto Rosario 0476e66903 Convert index_setup_document_types to CBV assign remove 2015-04-07 03:34:47 -04:00
Roberto Rosario a522292ee4 Convert document type optional and required metadata views to CBV assign remove view 2015-04-07 03:22:48 -04:00
Roberto Rosario d79ab07337 Add CBV version of the assign_remove view 2015-04-07 03:22:32 -04:00
Roberto Rosario fd42b01fe7 Remove unused statistics template 2015-04-07 02:07:30 -04:00
Roberto Rosario 0209ea6632 Update views that used generic_detail to use generic_form in read_only mode. Remove now obsolete generic_detail template 2015-04-07 02:04:41 -04:00
Roberto Rosario ecfa937068 Remove repeated logic 2015-04-07 01:54:01 -04:00
Roberto Rosario 857f9f2479 Swtich workflow detail view to use form template in read only mode to remove now obsolote generic_detail_subtemplate 2015-04-07 01:49:23 -04:00
Roberto Rosario d1c56c40fd Convert current user details, current user locale profile details, home, license, maintenance and tool list views to CBV 2015-04-07 01:43:49 -04:00
Roberto Rosario 719c862c51 Display latest search terms in search box 2015-04-07 01:27:45 -04:00
Roberto Rosario 7811d1e090 Change home and setup list views to CBVs 2015-04-07 01:27:33 -04:00
Roberto Rosario 735cd64db2 Don't parse the URL if it's not going to be used. Convert tools to CBV. 2015-04-07 01:15:47 -04:00
Roberto Rosario c59695e197 Update fancybox to latest git commit 2015-04-07 01:11:09 -04:00
Roberto Rosario 9e2702f11e Remove repeated import 2015-04-07 01:10:52 -04:00
Roberto Rosario d79f36bfcb Replace function views with class based views 2015-04-06 20:24:18 -04:00
Roberto Rosario 1fa8514367 Update release notes 2015-04-06 16:35:55 -04:00
Roberto Rosario 9de137a263 Update app list to reflect removed or merged apps 2015-04-06 16:35:39 -04:00
Roberto Rosario 3506ed371d Merge documents and document_acls apps 2015-04-06 16:35:17 -04:00
Roberto Rosario ff3a6c1fb1 Remove famfam use from the acls app 2015-04-06 16:23:15 -04:00
Roberto Rosario 23fc9f1e36 Merge main and common apps, extract authentication functionality to new authentication app. Closes issues #179 and #180 2015-04-06 16:09:54 -04:00
Roberto Rosario 5367bee1b2 Update 2.0 release notes to add closed issues 2015-04-06 13:37:31 -04:00
Roberto Rosario 7beba125ac Simplify document_print template 2015-04-06 02:44:17 -04:00
Roberto Rosario 3524454dbc Merge document print and document hard copy views 2015-04-06 02:44:01 -04:00
Roberto Rosario 2e9e2fccb0 Increase print resolution to match display resolution 2015-04-06 02:43:41 -04:00
Roberto Rosario 7c4bb03534 Don't load removed settings template tag 2015-04-06 02:43:27 -04:00
Roberto Rosario 35b44e70c7 Fix CombinedSource logic after get_multi_item_links_form updates 2015-04-06 02:23:04 -04:00
Roberto Rosario 920ed6601a Modernize the render_subtemplate template tag 2015-04-06 02:11:15 -04:00
Roberto Rosario 50b7019ace Update about view to use new project_version tag 2015-04-06 01:54:34 -04:00
Roberto Rosario ac72537a60 Commit uncommitted change to consolidate variable_tags with project_tags 2015-04-06 01:53:56 -04:00
Roberto Rosario 8e62c21bb1 Add missing return statement 2015-04-06 01:53:37 -04:00
Roberto Rosario 2599ef2fdd Consolidate version_tag with project_tag 2015-04-06 01:48:25 -04:00
Roberto Rosario 1bf5ad3047 Remove unused settings template tag 2015-04-06 01:46:00 -04:00
Roberto Rosario 426914a82c Remove unused set_var template tag 2015-04-06 01:43:42 -04:00
Roberto Rosario 932eae2cfe Remove unused dynamic search template tags 2015-04-06 01:41:47 -04:00
Roberto Rosario 488f17ab6a Remove unused permissions app widget 2015-04-06 01:38:57 -04:00
Roberto Rosario 4d2891b361 Remove use of the permalink decorator 2015-04-06 01:36:22 -04:00
Roberto Rosario 4fde4b3aa7 Add comment to the Link class, move remove_from_query inside keep_query, doesn't make sense to have it outside this context 2015-04-06 01:20:40 -04:00
Roberto Rosario 962cd6544f Re-enable the setting of the active link in the view context 2015-04-06 01:09:01 -04:00
Roberto Rosario e27ba5d3d6 Implement use of the injected 'resolved_object' variable to simplify navigation links of objects in lists. Remove obsolete varaibles_tags. Consolidate get_action_links by means of get_menus_links which supports a list of menus to resolve. Remove obsolete 'list_object_variable_name'. Remove 'resolve_for_source' method which was consolidated with the normal resolve method by means of an optional 'source' argument. 2015-04-06 01:02:48 -04:00
Roberto Rosario eae3b0eba2 Fix multi document tag attach and remove 2015-04-06 00:16:28 -04:00
Roberto Rosario 314a04bb22 Move document page text edit from facet menu to the actions menu 2015-04-06 00:08:51 -04:00
Roberto Rosario 5a08738cec Add tag text shadow to increase readability 2015-04-06 00:08:34 -04:00
Roberto Rosario d922bc0351 Reduce link title names 2015-04-05 23:52:41 -04:00
Roberto Rosario d725cbe008 Change the default zoom level step to 25%. Change the default minimum zoom level to 25%. 2015-04-05 23:49:14 -04:00
Roberto Rosario 28e86f044d Add new style document page viewer. Remove web_theme_hide_menus feature, all views except the login view will show the main menu. Remove unused javascript. Remove the now unused no-parent-history CSS class. Remove the facybox-iframe class and associated JavaScript. 2015-04-05 23:47:24 -04:00
Roberto Rosario d51ba315ad Add missing field 2015-04-05 03:54:01 -04:00
Roberto Rosario c98a3a57c2 Move tools and setup links to the user profile link 2015-04-05 03:53:27 -04:00
Roberto Rosario d6afddad3d Start merge of common and main apps 2015-04-05 03:44:24 -04:00
Roberto Rosario e648975aff Rename link 'class' attribute with 'klass' to avoid any conflicts. Fix django_gpg links. Remove 'dont_mark_active', 'conditional_highlight', and 'extra_navigation_links' features. Inject 'resolved_objects' into context before resolving links. Add check for ACLs when there is a resolved object present. Re-add remove_from_query and keep_query support. Use URLNode to resolve link this way the resolver work exactly as Django's {% url %} tag and saves some code duplicity. 2015-04-05 03:24:36 -04:00
Roberto Rosario db340513d0 Remove use of 'navigation_object_name' template variable and simplify the use of the 'navigation_object_list' template variable 2015-04-05 01:45:30 -04:00
Roberto Rosario 31c49a2493 Remove unused folder templatetag 2015-04-05 00:25:11 -04:00
Roberto Rosario bc50d0e321 Finish app navigation updates 2015-04-05 00:14:28 -04:00
Roberto Rosario 94f8d8700e Define exposed API for django_gpg exceptions 2015-04-04 23:30:27 -04:00
Roberto Rosario 73a24b71b3 Convert more apps to new navigation system 2015-04-04 18:47:16 -04:00
Roberto Rosario 39e8e26f87 Move link conversions, consolidate FrontPageLink with new link class 2015-04-04 03:23:13 -04:00
Roberto Rosario 0e6fe91234 Merge pull request #172 from hcarrero/feature/linksupdate
Feature/linksupdate
2015-04-04 02:08:03 -04:00
Helga Carrero 07c8be33bc Convert block of old style links to new style links 2015-04-04 02:01:27 -04:00
Roberto Rosario 3e7601f2b9 Convert block of dictionary link to new Link class 2015-04-04 01:56:28 -04:00
Helga Carrero 3483d87a05 Add myself to contributors file 2015-04-04 00:58:07 -04:00
Roberto Rosario 51ce5ca057 Consolidate navigation tags, consolidate setup and tool link 2015-04-03 20:51:02 -04:00
Roberto Rosario 0246068cd0 Initial commit of the new class based and menu based navigation system 2015-04-03 07:09:51 -04:00
Roberto Rosario 192069462f Remove remaining resolve_to_name code 2015-04-02 16:45:49 -04:00
Roberto Rosario 0145ea85f1 Remove page detail rotation indicator text 2015-04-01 14:30:12 -04:00
Roberto Rosario daf043f5bd Fix source switch link's icon 2015-04-01 14:21:55 -04:00
Roberto Rosario e4bb97aaed Code reduction, handle already logged in user redirection at the view and not at the template. 2015-04-01 14:18:05 -04:00
Roberto Rosario 338ac53c0f Remove unused diagnostics view and template 2015-04-01 13:40:25 -04:00
Roberto Rosario c88d8061e9 Remove ununsed password change and form templates 2015-04-01 13:36:31 -04:00
Roberto Rosario c44362b257 Bootstrap makes the need of the {% cycle %} tag obsolete, remove from templates. 2015-04-01 13:30:18 -04:00
Roberto Rosario 849d73223c Add explicit fields for IndexTemplateNodeForm as will be required by Django 1.8 2015-04-01 13:28:41 -04:00
Roberto Rosario 170405fbf7 Use icon instead of unicode character for index node "next level" indicator 2015-04-01 13:27:57 -04:00
Roberto Rosario 5d1af4f8b7 Fix icon class 2015-04-01 13:27:38 -04:00
Roberto Rosario 57fd943c9d Repurpose the installtion app for it's original intent which was let apps report on their dependencies and if they were met. This commit removes two more Python dependencies: GitPython and psutil. 2015-04-01 13:20:35 -04:00
Roberto Rosario 3f8fe90787 Update look of horizontal forms 2015-04-01 03:34:41 -04:00
Roberto Rosario 2e0e6f7fe9 Update usage of forms submit icon to use generic icon classes and use font awesome icons instead 2015-04-01 03:22:36 -04:00
Roberto Rosario 40be9d9af1 Remove unused search code and template 2015-04-01 03:20:12 -04:00
Roberto Rosario 08b8dc3f27 Update assign_remove view to work with bootstrap 2015-04-01 03:13:40 -04:00
Roberto Rosario 26d64c45f5 Add the @python_2_unicode_compatible to all models. Closes issue #67 2015-04-01 02:40:19 -04:00
Roberto Rosario d842a6f7aa Improve default style of links 2015-03-31 19:41:54 -04:00
Roberto Rosario adf04dd1c6 Decrease title font size 2015-03-31 17:37:21 -04:00
Roberto Rosario 02c3e41cd4 Expand content for menu less views 2015-03-31 17:36:41 -04:00
Roberto Rosario 00e4e7c235 Use the Mayan EDMS official font for the navbar brand section 2015-03-31 17:23:31 -04:00
Roberto Rosario e2a03286f7 Replace Mayan EDMS image logo with a font image logo 2015-03-31 17:23:22 -04:00
Roberto Rosario 3fde81bd00 Reduce and pull to the right context menu and action menus to increas screen area and avoid texts hidding on the right of the screen. 2015-03-31 04:32:00 -04:00
Roberto Rosario 2237a5b378 Remove fieldset from sub form template were causing some widgets to span the entire width of the screen. 2015-03-31 04:31:16 -04:00
Roberto Rosario 3e488d2ccf Remove unused grip clear 2015-03-31 04:30:37 -04:00
Roberto Rosario 41531364d2 Add getting started self guided help system for missing user setup 2015-03-31 04:10:15 -04:00
Roberto Rosario 847d2ad821 Computer links before determining column size of content 2015-03-31 04:09:43 -04:00
Roberto Rosario 8abb97516b Improve markup of the initial login message 2015-03-31 04:09:19 -04:00
Roberto Rosario be9e536ce9 Fix confirm dialog box submit button type 2015-03-31 04:08:02 -04:00
Roberto Rosario 80c04b1fb7 New bootstrap based frontend UI. Merged from #121 with many fixes. Closes issues #121, #59 and #100 2015-03-31 03:26:57 -04:00
Roberto Rosario 5a7885ddcb Finish migrating final apps to Django 1.7 2015-03-30 15:31:26 -04:00
Roberto Rosario 8af55ccbef PEP8 cleanups 2015-03-30 15:21:53 -04:00
Roberto Rosario 675d58cc32 Update siangl self sender detection for Django 1.7 2015-03-30 15:01:37 -04:00
Roberto Rosario 665269f90e Installation app doesn't require signal processors anymore 2015-03-30 15:01:14 -04:00
Roberto Rosario 2fd7e4525f Update the requirements versions 2015-03-30 05:51:54 -04:00
Roberto Rosario 3088760dd7 Remove erroneous migrations 2015-03-30 05:37:34 -04:00
Roberto Rosario 0db6a4fdef Remove lambdas from models, they are not serializable. Add remaining migrations. Issue #33 2015-03-30 05:34:50 -04:00
Roberto Rosario 5d7af48734 Point all badges and images to the development branch 2015-03-30 05:10:45 -04:00
Roberto Rosario 7f73b99315 Increase default resolution 2015-03-30 05:10:32 -04:00
Roberto Rosario 00569e9b6f Don't check dictionaries blindly 2015-03-30 05:10:12 -04:00
Roberto Rosario b6855cc40e Don't test against Python 2.6 anymore as Django 1.7 only supports Python 2.7 and up 2015-03-30 05:09:34 -04:00
Roberto Rosario 302411074b Add first set of Django 1.7 app migrations 2015-03-30 05:08:50 -04:00
Roberto Rosario bd041457c9 Update project to use Django 1.7.7. Issue #33 2015-03-30 03:43:56 -04:00
Roberto Rosario d6150f950b Don't use Django's private field order API, changes in Django 1.7 2015-03-30 02:33:18 -04:00
Roberto Rosario 8622db4d1b Use wildcard method argument for Django 1.7 compatibility 2015-03-30 02:32:57 -04:00
Roberto Rosario b0470eefab Add placeholder file for the version 2.0 release notes 2015-03-30 02:31:07 -04:00
Roberto Rosario a15ffc617a Remove unused static media files 2015-03-30 02:27:03 -04:00
Roberto Rosario 38f6e44e32 Add the appearance app to the transifex config file and the translation helper script 2015-03-30 02:22:45 -04:00
Roberto Rosario 96582860b7 Delete the remaining files of the removed history app 2015-03-30 02:20:58 -04:00
Roberto Rosario 5dabc0a34a Add new appearance app to hold all of the base templates, images, icons and external packages related to the frontend and look of the project 2015-03-30 02:17:40 -04:00
Roberto Rosario 3131751b25 Fix the use of ugettext vs. ugettext_lazy 2015-03-30 01:33:35 -04:00
Roberto Rosario c65e65b17e Update copyright years 2015-03-25 19:14:43 -04:00
Roberto Rosario 3991056728 Update copyright years 2015-03-25 19:11:27 -04:00
Roberto Rosario d0deae9286 Remove installation stats 2015-03-06 20:40:44 -04:00
Roberto Rosario 60e13fe704 Improve indexing admin interface 2015-03-06 20:31:53 -04:00
Roberto Rosario 4eca7984a1 Simplify project description 2015-03-06 19:55:36 -04:00
Roberto Rosario 76d23b481d Remove the registration app 2015-03-06 19:29:59 -04:00
Roberto Rosario 0012054132 Fix uncompress value for issue #163 test 2015-03-06 19:13:48 -04:00
Roberto Rosario 67182f7b6e Add the sources app tests to the travis config file 2015-03-06 18:48:13 -04:00
Roberto Rosario 4bbf352763 Merge remote-tracking branch 'origin/master' 2015-03-06 16:41:13 -04:00
Roberto Rosario fae12d21e3 Add test for issue #163 2015-03-06 16:39:54 -04:00
Roberto Rosario 8ce93819cf Update make dist script 2015-03-06 15:21:53 -04:00
Roberto Rosario 3b4a296d12 Merge pull request #164 from mbehrle/fix/rnotes
Amending 1.1.rst with some backward incompatible changes.
2015-02-13 04:23:19 -04:00
Mathias Behrle a32368eb1a Amending 1.1.rst with some backward incompatible changes. 2015-02-12 19:02:39 +01:00
Roberto Rosario 9ebf27d2ea Translation files synchronized and compiled 2015-02-10 09:23:14 -04:00
Roberto Rosario fc90536de0 Move gitter badge next to the rest of the badges 2015-02-10 09:05:59 -04:00
Roberto Rosario aab79b1335 Merge branch 'development' 2015-02-10 08:41:54 -04:00
Roberto Rosario c0827980c4 Issue #154 to the version 1.1 release notes 2015-02-10 08:39:48 -04:00
Roberto Rosario efdf08eb90 Merge branch 'development'
Conflicts:
	docs/credits/contributors.rst
	docs/index.rst
	docs/intro/installation.rst
	mayan/apps/converter/templates/converter_file_formats_help.html
	mayan/apps/document_indexing/templates/indexing_help.html
	mayan/apps/documents/templates/document_types_help.html
	mayan/apps/documents/templates/recent_document_list_help.html
	mayan/apps/dynamic_search/templates/search_help.html
	mayan/apps/folders/templates/folders_help.html
	mayan/apps/linking/templates/smart_links_help.html
	mayan/apps/metadata/templates/metadata_set_help.html
	mayan/apps/metadata/templates/metadata_type_help.html
2015-02-10 08:36:50 -04:00
Mathias Behrle 548ed441f6 Review of last doc changes. 2015-02-10 13:14:38 +01:00
Roberto Rosario 151b9edd89 Fix typo 2015-02-10 06:02:48 -04:00
Roberto Rosario 7b3dd46d58 Add entries for the 1.1 release features 2015-02-10 06:02:33 -04:00
Roberto Rosario bc2d945e91 Add more entries to the release notes 2015-02-10 06:02:20 -04:00
Roberto Rosario 536382caef Properly access the taggit models to transfer to the existing tags to the new tags.Tag model. Issue #154 2015-02-10 05:13:12 -04:00
Roberto Rosario f455bdbd2e Don't point field to a foreign key that doesn't exists yet, make migration dependant on actstream to avoid actstream error when deleting the obsolete content types, add frozen taggit model specifications to avoid taggit content type to be asked to be deleted during migration 0002. Issue #154 2015-02-10 05:08:24 -04:00
Roberto Rosario 8bb4aaee3e Remove migration step that happened in the upgrade to 1.0, remove spaces 2015-02-10 05:07:36 -04:00
Roberto Rosario 93c11c7c4a Don't overwrite settings/local.py in subsequent initialsetup executions 2015-02-09 22:36:17 -04:00
Roberto Rosario cc7b566ff2 Add steps to produce installable package 2015-02-09 16:17:16 -04:00
Mathias Behrle 9bdc8a5927 Cleanup of the legacy history app.
The app was migrated to the events app and old translation files
are confusing translators.
2015-02-09 20:26:41 +01:00
Mathias Behrle 436dad494f Adding events app to transifex configuration. 2015-02-09 19:07:09 +01:00
Roberto Rosario f89a93916b Merge pull request #160 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.rst
2015-02-09 12:35:32 -04:00
The Gitter Badger b0c291d2c1 Added Gitter badge 2015-02-09 14:44:12 +00:00
Mathias Behrle 43e311d00b Documentation improvements.
- Fixing some typos.
- Quick review of the current state.
2015-02-08 02:41:36 +01:00
Roberto Rosario 9e3131fbcb Update compiled message files 2015-02-07 04:37:40 -04:00
Roberto Rosario e3f8c1295b Update setup dependencies 2015-02-07 04:34:43 -04:00
Roberto Rosario 29f842b503 Documentation updates 2015-02-07 02:57:35 -04:00
Roberto Rosario a901f4a14b Add link to closed issues, expland the new features section 2015-02-07 02:24:00 -04:00
Roberto Rosario 2e8636c0b4 Add the Project philosophies section 2015-02-07 02:23:44 -04:00
Roberto Rosario e3e5209bd0 Language translation updates 2015-02-07 01:41:33 -04:00
Roberto Rosario d3c62bf893 Translation files sync 2015-02-06 20:45:55 -04:00
Roberto Rosario 9c2412f487 Fix issue #158 2015-02-06 20:43:25 -04:00
Roberto Rosario a60399404c Update source languge files 2015-02-06 19:38:08 -04:00
Roberto Rosario e3fe3f9966 Remove unused tags apps template tags 2015-02-06 16:33:02 -04:00
Roberto Rosario f79ae247d7 Language translation sync 2015-02-06 16:31:40 -04:00
Roberto Rosario 67b6b77c11 Fix issue #157 2015-02-06 16:26:24 -04:00
Roberto Rosario fc3b2a456b Merge pull request #156 from mbehrle/feature/migration
Feature/migration
2015-01-30 02:05:13 -04:00
Mathias Behrle 3076c0d8a5 Migrate actstream before deleting stale document types. (Issue #153) 2015-01-30 04:14:06 +01:00
Mathias Behrle e65f2deb2b Don't try to migrate defective documents.
This change hardens the migration to not fail on documents without
doucument version from a failed import ('Uninitialized document').
2015-01-30 03:27:09 +01:00
Roberto Rosario 991017cf38 Release note updates 2015-01-29 19:58:28 -04:00
Roberto Rosario 754c79b010 Documentation updates 2015-01-29 18:34:27 -04:00
Roberto Rosario 8cdf98fcb4 Remove static media and OCR topic 2015-01-29 17:42:41 -04:00
Roberto Rosario 87fb2cfc7d Remove overview and document visualization topics 2015-01-29 14:05:23 -04:00
Roberto Rosario 38a6b4e250 Remove settings topic 2015-01-29 13:53:58 -04:00
Roberto Rosario 4cfd88f834 Documentation updates 2015-01-29 13:52:56 -04:00
Roberto Rosario 3e3c21b375 Don't try to link tags to documents until documents are created. Issue #154. 2015-01-29 03:49:40 -04:00
Roberto Rosario adf47b9399 Fix pk typo in the document version and document submit to ocr functions 2015-01-29 03:12:04 -04:00
Roberto Rosario aac6190331 Correctly import the base travis settings for sqlite matrix entry 2015-01-29 00:58:05 -04:00
Roberto Rosario be940ea913 Run the sqlite test matrix with the travis settings file too, remove unnecesary initialsetup steps 2015-01-29 00:37:15 -04:00
Roberto Rosario 5e953c8d95 Add documents,ocr and converter logging to the settings files used for travis testing 2015-01-28 18:36:09 -04:00
Roberto Rosario baf5d9ebef Add more logging to the ocr app's document parsers. Issue #152 2015-01-28 17:33:25 -04:00
Roberto Rosario ca3158cf82 The office converter doesn't need to have unicode or str methods. Issue #152 2015-01-28 17:32:44 -04:00
Roberto Rosario 766e7be49f Add more logging to the office backend initialization code 2015-01-28 17:26:07 -04:00
Mathias Behrle 69cc1277cb WIP. migration 2015-01-28 15:19:56 -04:00
Roberto Rosario 5bed264c81 Use unicode_literal w/ bytestring comparison to detect failed PDF parsing again 2015-01-27 21:12:51 -04:00
Roberto Rosario 8ef7cb7d8b Add Postgres install to vagrant provisioning script 2015-01-27 21:12:21 -04:00
Roberto Rosario 19236c7564 Document indexing app translation source update 2015-01-27 19:51:19 -04:00
Roberto Rosario 67a6ffc246 Don't delete root instance node of indexes when deleting empty index instance nodes. 2015-01-27 19:50:03 -04:00
Roberto Rosario 20a9d8508c Show index items count instead of index nodes count 2015-01-27 19:41:38 -04:00
Roberto Rosario d6c6edae2b Make optional the comment field of workflow transition form 2015-01-27 19:35:29 -04:00
Roberto Rosario 9ea76d9b62 Update translation files 2015-01-27 16:17:21 -04:00
Roberto Rosario 4c130a2a46 Update expected text in documents app functional test 2015-01-27 16:07:28 -04:00
Roberto Rosario 6ef63d69b3 Install MySQL and coverage in vagrant provisioning script 2015-01-27 15:51:44 -04:00
Roberto Rosario dd73d33434 Don't retry failed converter tasks 2015-01-27 14:01:40 -04:00
Roberto Rosario 38b21c839c Disable test for languages other than English until test files for the corresponding languages are added 2015-01-26 19:32:28 -04:00
Roberto Rosario baf6240435 Make link spacer smaller 2015-01-26 19:20:14 -04:00
Roberto Rosario f4d3767b15 PEP8 cleanup, remove unused imports, fix permission check when removing metadata from a document 2015-01-26 19:17:35 -04:00
Roberto Rosario c15740e152 Add helper script to check for important PEP8 warnings 2015-01-26 19:16:57 -04:00
Roberto Rosario 73f0a4082a Convert front page button selection to be dynamic 2015-01-26 18:22:55 -04:00
Roberto Rosario 1494390f0b Shorten project description 2015-01-26 18:04:53 -04:00
Roberto Rosario 0cea9d007a Merge project description and about templates 2015-01-26 18:03:30 -04:00
Roberto Rosario 010bb06ae4 Remove unused templates 2015-01-26 17:56:53 -04:00
Roberto Rosario b839034561 Move dynamic search app templates into a static subdirectory 2015-01-26 17:54:24 -04:00
Roberto Rosario 0e00ede3c9 Simplify button link widget for the tools and setup views. Remove nowrap span of navigation link. 2015-01-26 17:05:41 -04:00
Roberto Rosario 1e461d020c Normalize import style 2015-01-26 16:32:16 -04:00
Roberto Rosario 1ca15b1f84 Move main app static media files to static/main/images 2015-01-26 16:29:30 -04:00
Roberto Rosario 8c3eb6714d Add two more sample metadata parsing functions: parse date and parse time 2015-01-26 16:21:52 -04:00
Roberto Rosario df45a73012 Use PasswordInput widget to hide email based source password field data 2015-01-24 18:05:27 -04:00
Roberto Rosario dc36ffecee Increase default interval for interval based sources, avoid problems with email service providers 2015-01-24 17:59:31 -04:00
Roberto Rosario fdecba281e Add an user and a comment field to workflow transitions log. Index the datatime field of workflow logs. 2015-01-24 17:28:30 -04:00
Roberto Rosario 01b040b4dd Use Django's builtin reverse_lazy 2015-01-24 17:07:58 -04:00
Roberto Rosario b55acb6e12 Normalize import style 2015-01-24 17:05:32 -04:00
Roberto Rosario 850ad53fb1 Improve pluralization 2015-01-24 14:46:13 -04:00
Roberto Rosario febe21db1b Improve document related views titles messages, improve pluralization. 2015-01-24 14:25:31 -04:00
Roberto Rosario 806b608177 Remove unicode_literals to detect empty parsing 2015-01-24 14:25:01 -04:00
Roberto Rosario 22a88addfa Do a bytestring comparison instead to determine empty parsing 2015-01-24 12:49:13 -04:00
Roberto Rosario de5994414d Ignore exceptions when gathering git information 2015-01-24 04:35:30 -04:00
Roberto Rosario 9a01a23e4c Detech empty PDF parsing by detecting unicode /u000c and not ASCII /x0c 2015-01-24 04:27:57 -04:00
Roberto Rosario c23d71424f Add middleware to allow rewriting the status code of ajax responses' redirects 2015-01-24 03:43:20 -04:00
Roberto Rosario f8621eebba Make the difference of the full-height class elements variable. Make the document preview and document content windows full screen. Make the document preview image scollable by dragging too. 2015-01-24 03:36:33 -04:00
Roberto Rosario 56d0c7074d Hide form field labels in the document preview and document content views 2015-01-24 03:03:05 -04:00
Roberto Rosario a6e9ad3f21 Add flag to hide labels of a form 2015-01-24 03:02:44 -04:00
Roberto Rosario cb23cef952 Use proper static media URL generation 2015-01-24 02:57:29 -04:00
Roberto Rosario 6b8f8f18e7 Move favicon redirection to main app, use proper static file URL generation 2015-01-24 02:49:24 -04:00
Roberto Rosario 8b02f8cb0c Remove usage of extra_columns_preffixed, used only once, replaced. Issue #56 2015-01-24 02:45:44 -04:00
Roberto Rosario 139087ddbe Add settings flag to check if GPG binary path exists 2015-01-24 02:42:32 -04:00
Roberto Rosario 03be0e60b2 Remove unused code 2015-01-24 02:40:54 -04:00
Roberto Rosario 2237d58bff Remove incorrect "delete_view" flag for the ACLS confirmation view templates contexts 2015-01-24 02:38:48 -04:00
Roberto Rosario ce5bf90c78 Add missing unicode literal import 2015-01-24 02:37:02 -04:00
Roberto Rosario 7e076daf37 Allow for the pagination templates to be overrided 2015-01-24 02:33:53 -04:00
Roberto Rosario b2580dc37c Add access control check to the APIDocumentMetadataListView API view, add docstrings for the get and post methods 2015-01-23 23:11:18 -04:00
Roberto Rosario 63063b079f No need to traverse up the directory to know if we are in a git repo, use the current branch instead of HEAD. 2015-01-23 22:59:30 -04:00
Roberto Rosario 955f248efe Add further notes to the upgrade process 2015-01-23 22:58:58 -04:00
Gabriele Platania cda9223687 Fixed a problem with the "Delete folder" API, having had the wrong prototype 2015-01-21 10:13:17 +01:00
Gabriele Platania 5c9c3d2cd2 Fixed the problems with the metadata API 2015-01-20 14:28:43 +01:00
Gabriele Platania 157f351a08 Fixed the serialization problem with the optional metadata 2015-01-19 17:46:11 +01:00
Roberto Rosario 7459f44f6b Check for test client response content the right way 2015-01-19 04:57:48 -04:00
Roberto Rosario 4f3d3cf25c Make button's purpose more clear 2015-01-19 04:20:26 -04:00
Roberto Rosario 9faf3b0910 Use Pure's markup 2015-01-19 04:20:04 -04:00
Roberto Rosario 72e1c274f6 Remove sidebar code, it is not used by any views calling this template 2015-01-19 04:19:25 -04:00
Roberto Rosario 9bb27f5c63 Update release notes 2015-01-19 04:08:10 -04:00
Roberto Rosario d59ea3ede2 Add from __future__ import unicode_literals, issue #37 2015-01-19 04:06:40 -04:00
Roberto Rosario efbac7300c Sort configuration options 2015-01-19 01:12:17 -04:00
Roberto Rosario 585aa28b57 Fix path typo 2015-01-19 01:06:24 -04:00
Roberto Rosario 0af16a84f7 Don't fetch unknown key by default, this controls unexpected delays when verifying files 2015-01-19 01:05:12 -04:00
Roberto Rosario 0d65bc7d7f Update the required pyhon-gnupg version 2015-01-19 00:59:35 -04:00
Roberto Rosario 827cb952d1 Show clearer message when a GPG initialization problem occurs 2015-01-19 00:43:06 -04:00
Roberto Rosario a46ac1e9ef Allow setting the GPG binary path 2015-01-19 00:42:33 -04:00
Roberto Rosario 5b718da664 Simplify text messages, add proper pluralization 2015-01-18 02:41:01 -04:00
Roberto Rosario 686b2f69dc Translation files updates 2015-01-18 02:40:36 -04:00
Roberto Rosario 2c0c401611 Add rest_api app translation files 2015-01-18 02:40:08 -04:00
Roberto Rosario 02f8d0f434 Add the rest api app to the translation configuration file and helper script 2015-01-18 02:07:15 -04:00
Roberto Rosario bd1d293437 Translation updates 2015-01-18 02:05:47 -04:00
Roberto Rosario e858d2c605 Rename events variables to the present tense 2015-01-18 02:05:11 -04:00
Roberto Rosario 92ad982c8a Simplify text messages 2015-01-18 02:04:33 -04:00
Roberto Rosario a1fbb730e0 Add document type change event 2015-01-17 19:18:07 -04:00
Roberto Rosario d511c3d132 Update translation files 2015-01-17 03:28:39 -04:00
Roberto Rosario 7344db5c76 Update translations 2015-01-17 03:16:15 -04:00
Roberto Rosario 957989bd82 Remove unused column names 2015-01-17 03:12:17 -04:00
Roberto Rosario acfd73c204 Rename migrations directory to south_migrations 2015-01-17 03:07:20 -04:00
Roberto Rosario 101bfbc5da Update apps' source translation files 2015-01-17 03:03:52 -04:00
Roberto Rosario b74267662f Add document states translation files and add document states app to the language configuration files 2015-01-17 03:03:22 -04:00
Roberto Rosario d2978374a4 Merge remote-tracking branch 'origin/development' into development 2015-01-17 02:47:12 -04:00
Roberto Rosario 216d5b0a3b Fix Mimetype to MIME type 2015-01-17 02:46:05 -04:00
Roberto Rosario 9b4918f601 Add reminder to release notes 2015-01-17 02:45:49 -04:00
Roberto Rosario a58a249b86 get_formated_version no longer exists, show other document data instead in the document list list of the document download view. Issue #149 2015-01-17 02:42:53 -04:00
Roberto Rosario 84d0892e2b Fix double menu entry when editing a document source transformation 2015-01-17 02:37:10 -04:00
Roberto Rosario 070e306503 Fix double menu entry at linking/setup/smart_link/condition/1/edit/. Issue #150 2015-01-17 02:29:48 -04:00
Roberto Rosario e6d24fd62f Remove the need to use link_spacer for single groups of multi item actions 2015-01-17 02:27:42 -04:00
Roberto Rosario fca4165f39 Add missing multi item spacer link 2015-01-17 02:18:34 -04:00
Roberto Rosario 348bcc69cf Add workflow states and transition delete views 2015-01-17 02:09:07 -04:00
Roberto Rosario e79850124e Avoid displaying the "other available actions" menu twice 2015-01-17 01:56:42 -04:00
Roberto Rosario 32250a5cea Add workflow state and transition edit views 2015-01-17 01:56:05 -04:00
Roberto Rosario 8fa06040ef Fix variable scope 2015-01-17 01:55:41 -04:00
Roberto Rosario d422d8160c Remove the 'related' menu, only use by the document page navigation buttons 2015-01-17 01:52:16 -04:00
Roberto Rosario 8e2b6278e8 Use model form to edit and create workflows 2015-01-17 01:25:59 -04:00
Roberto Rosario 644ce2839e Add workflow instance transitioning support, add workflow instance detail view 2015-01-17 01:07:20 -04:00
Mathias Behrle 1cebc4d7bf Correcting typo in message. 2015-01-17 01:47:31 +01:00
Roberto Rosario eefbd5758a Merge branch 'development' into feature/document_states
Conflicts:
	mayan/urls.py
2015-01-16 06:10:00 -04:00
Roberto Rosario a2bcc38b08 Properly pluralize the messages of the document metadata type add view 2015-01-16 02:14:35 -04:00
Roberto Rosario 95dd017b23 Extend issue #144 solution to the document metadata remove view too. 2015-01-16 02:12:26 -04:00
Roberto Rosario 72a0c2dd95 Properly pluralize document metadata edit view 2015-01-16 02:08:15 -04:00
Roberto Rosario 6c854116b5 Detect when a selected document or documents do not have any metadata, display a proper message and return user to the last previous view. Issue #144 2015-01-16 02:06:24 -04:00
Roberto Rosario d7546c8fb7 Remove unused code 2015-01-16 01:08:12 -04:00
Roberto Rosario bcc85d5714 Remove unused mimetype views module 2015-01-16 00:56:24 -04:00
Roberto Rosario 007ac0f978 Add libreoffice to the Vagrant provissioning script 2015-01-15 03:48:59 -04:00
Roberto Rosario 172ef1e79a Make sure the ocr field of document type exists before we try to put data into it 2015-01-15 03:44:16 -04:00
Roberto Rosario a2b2011277 More migration dependencies check 2015-01-15 03:40:08 -04:00
Roberto Rosario aca7c94131 Update Vagrant instructions to include -B option to workers to launch Celery Beat 2015-01-15 03:05:22 -04:00
Roberto Rosario e6754c9a6f Update the OCR app to work based on document versions not documents, document version are the module which hold the document pages instances. Remove old OCR document queue and replace with a single module for OCR processing error entries. Increase compatibility with Django 1.7 and Python 3. 2015-01-15 03:01:43 -04:00
Roberto Rosario 2371d3a49d Use lazy translation for events model 2015-01-15 02:55:17 -04:00
Roberto Rosario 747dda21c8 Add __unicode__ method for DocumentVersion model 2015-01-15 02:54:47 -04:00
Roberto Rosario 769d536985 Add source -> documents migration dependency check 2015-01-15 02:54:19 -04:00
Roberto Rosario 99316b3dea Show document of version being sent for OCR in logger output 2015-01-14 18:56:32 -04:00
Roberto Rosario b22bb55cbc User a direct objects.create no need for a separate .save() call 2015-01-14 18:48:00 -04:00
Roberto Rosario fafd84b8d2 Move magic number variable to the literls.py module 2015-01-14 18:47:31 -04:00
Roberto Rosario 6e333b7eeb The documents app should not have any knowledge of the sources app, move sources link registration to the sources app 2015-01-14 17:49:59 -04:00
Roberto Rosario 4f94bf0dfc Remove vestigial '_orphan_document_' document type if there are no documents of that type 2015-01-14 17:32:14 -04:00
Roberto Rosario 683fa5b531 Make top level URLs shorter or more explicit 2015-01-14 17:25:31 -04:00
Roberto Rosario f489fb039a Merge branch 'development' into feature/document_states 2015-01-14 17:00:08 -04:00
Roberto Rosario f967188aeb Add a sample validation function. The parse_date will parse and cleanup dates entered by users. Issue #104. 2015-01-14 16:55:52 -04:00
Roberto Rosario 4dfecb4614 Refactore form clean code for value validation or parsing, issue #104. 2015-01-14 16:55:01 -04:00
Roberto Rosario 9380157406 Display validation errors on top of forms when in tabular mode, such as when editing document metadata values 2015-01-14 16:33:47 -04:00
Roberto Rosario 490e9a1e42 Remove value field from the document metadata remove form to avoid running validation on remove and blocking removal when validation didn't pass 2015-01-14 15:58:04 -04:00
Roberto Rosario 3399c354be Update field name according to last model property rename 2015-01-14 15:52:52 -04:00
Roberto Rosario e4d68cb711 Also show exception with no messages, raise exception into request if in debug mode for easier debugging of unexpected errors 2015-01-14 15:51:51 -04:00
Roberto Rosario f5e1adedfa Add field to set validation function separately from the lookup field 2015-01-14 15:50:41 -04:00
Roberto Rosario 5d813bc2d7 Merge branch 'development' into feature/document_states 2015-01-14 02:28:47 -04:00
Roberto Rosario 8b8c915bd0 Make the default list of document languages translatable. Issue #139 2015-01-14 02:27:33 -04:00
Roberto Rosario fd1f5d1dad Make document language choices a configurable list. Issue #137.
To override the default list of 600+ languages add a configuration entry to your settings/local.py like so:
DOCUMENTS_LANGUAGE_CHOICES = [('eng', 'English'), ('deu', 'German')]

to make the list translatable import ugettext_lazy and enclose the language name with _():

from django.utils.translation import ugettext_lazy as _
DOCUMENTS_LANGUAGE_CHOICES = [('eng', _('English')), ('deu', _('German'))]
2015-01-14 02:22:47 -04:00
Roberto Rosario adcf621ee1 Preserve zoom level and rotation when moving thru document pages in the page detail view. Issue #138. 2015-01-14 01:52:35 -04:00
Roberto Rosario 53197c4010 Add locking to avoid index rebuild clashing with index updates or index node deletion 2015-01-13 18:01:42 -04:00
Roberto Rosario 148ebffa5c Remove comment and unused import 2015-01-13 17:59:24 -04:00
Roberto Rosario 17a238dec7 Don't delete the actual index definitions 2015-01-13 17:04:35 -04:00
Roberto Rosario 41f24bc596 Use ugettext_lazy to translate language names. Issue #139 2015-01-13 13:00:51 -04:00
Roberto Rosario b2453ee01e Add view for associating a workflow to a document type, add support to auto launch a workflow instance when a document is created, allow associating a many workflows to a document, add view to display a document's workflows instances 2015-01-13 06:02:42 -04:00
Roberto Rosario 8ff3747a15 Initial import of the document states app 2015-01-13 04:13:49 -04:00
Roberto Rosario 88cd49e08c Ignore vagrant related runtime files 2015-01-13 03:10:48 -04:00
Roberto Rosario 94197ba0d8 Update documentation and added steps to use the vagrant file 2015-01-13 03:10:03 -04:00
Roberto Rosario 1ffba7e40f Increase preview task timeout to 60 seconds to cover for even the wost load scenario. Consolidate literal to store the timeout value. 2015-01-13 02:56:13 -04:00
Roberto Rosario a6eb0644ea Update vagrant file to install sample celery with redis config and script for workers 2015-01-13 02:17:29 -04:00
Roberto Rosario 2c115ff136 Add Vagrant file and development deployment provisioning script 2015-01-13 01:53:04 -04:00
Roberto Rosario f3b85d4c7f Add famfam icon to the cancel button of the generic forms template 2015-01-12 18:41:08 -04:00
Roberto Rosario 6d3cd9753d Rename property permissions_required to view_permission of ViewPermissionCheckMixin 2015-01-12 18:33:31 -04:00
Roberto Rosario da83f1a9c1 Split common CBVs into views and mixins, add ObjectPermissionCheckMixin 2015-01-12 18:28:51 -04:00
Roberto Rosario 8661ae1970 Show icon for document source tabs in document upload wizard for visual clarity 2015-01-12 02:16:33 -04:00
Roberto Rosario abdfba1c0b Remove permanent logout button and move to the secondary menu of the user details menu 2015-01-12 02:12:15 -04:00
Roberto Rosario 661a63030b Add tool to show list of documents with empty metadata that is required for their type. Issue #34. 2015-01-12 01:50:44 -04:00
Roberto Rosario ea2830735c Update language translation files 2015-01-11 18:12:26 -04:00
Roberto Rosario 05bc204d99 Update language translation source files 2015-01-11 18:12:06 -04:00
Roberto Rosario 090302676d Implement GUI language and timezone as user preferences, issue #114 2015-01-11 17:38:47 -04:00
Roberto Rosario 305c1aaa6e Finish the move to the new events app 2015-01-11 04:51:02 -04:00
Roberto Rosario ba4f1860cd Update release notes 2015-01-10 19:02:30 -04:00
Roberto Rosario bbab21d228 Initial commit of the new events app 2015-01-10 19:01:57 -04:00
Igor Támara 9c0f8feaed Added documentation for brew users
When working on OSX, brew users would be happier with this doc
Conflicts:
	docs/topics/installation.rst
2015-01-08 16:48:30 -04:00
Roberto Rosario 23ab87cae3 Merge pull request #133 from ikks/patch-1
Added documentation for brew users
2015-01-08 16:42:11 -04:00
Igor Támara d14d3c41e8 Added documentation for brew users
When working on OSX, brew users would be happier with this doc
2015-01-08 15:34:38 -05:00
Roberto Rosario 83b1e1dc50 Improve translatability 2015-01-08 01:09:21 -04:00
Roberto Rosario 6108f26b9d Remove use of images in button favoring css sprites 2015-01-08 01:05:04 -04:00
Roberto Rosario 60a9eaaf4a Remove the use of static images in favor of sprites 2015-01-08 00:50:23 -04:00
Roberto Rosario f7f71d706d Improve the multi item action dropdown separator appearance 2015-01-08 00:45:18 -04:00
Roberto Rosario c96279cb14 Consolidate the document carousel and carousel items CSS styles 2015-01-08 00:44:36 -04:00
Roberto Rosario 4e10366618 Improve the multi item action dropdown markup and appearance 2015-01-08 00:43:27 -04:00
Roberto Rosario 58d1a0afa1 Allow passing different css classes to the form template 2015-01-08 00:43:01 -04:00
Roberto Rosario 57a62bdfc1 Improve translatability of the page number text 2015-01-07 23:12:21 -04:00
Roberto Rosario f0035e601b Remove hard coded CSS styles into CSS classes 2015-01-07 23:10:44 -04:00
Roberto Rosario 7e2320c9d3 Update the ModelAttribute values for document metadata to reflect the related_name change from: 'document_metadata' to 'metadata' 2015-01-07 05:06:37 -04:00
Roberto Rosario 1eaa768517 Remove the 960 grid system, use Pure CSS's grid system instead, use Pure CSS button stylesheet for the setup and tools buttons 2015-01-07 05:04:22 -04:00
Roberto Rosario 5e37ab3d94 Show smart link generation erros 2015-01-07 05:01:28 -04:00
Roberto Rosario b7f11b8e9d Don't contruct button image URLs by hand, use Django static media handling code 2015-01-07 04:20:52 -04:00
Roberto Rosario 2f593c5a6f Remove unused code to rename documents filenames 2015-01-07 03:59:04 -04:00
Roberto Rosario 5c8e13e61f Make document type filenames unique for each document type 2015-01-07 03:57:54 -04:00
Roberto Rosario bd082bd89a Allow showing side bar navigation link when more than one navigation object is present in the context 2015-01-07 03:56:10 -04:00
Roberto Rosario aea3881831 Fix casing 2015-01-07 03:45:34 -04:00
Roberto Rosario 5cdc95e99f Explicit document type needes to trigger indexing of documents, previously indexes with no document type associated would update for all document types 2015-01-07 03:39:11 -04:00
Roberto Rosario e75af75368 Add support for removing keys for a link's kept query string, remove the 'page' key from the active sources links. Closes issue #91. 2015-01-07 02:32:41 -04:00
Roberto Rosario d91a0c1fab Add the new home screen view and template, issue #108 2015-01-06 22:14:31 -04:00
Roberto Rosario fbb6dccd98 Make the entire username and not just the icon clickable 2015-01-06 18:28:14 -04:00
Roberto Rosario 695dad264a Merge pull request #132 from mbehrle/feature/taggit_migration
Using orm for taggit migration.
2015-01-06 16:41:48 -04:00
Mathias Behrle c1b67d8f21 Using orm for taggit migration. 2015-01-06 02:40:02 +01:00
Roberto Rosario 5304fc366c Fix dynamic search re-enabled tests 2015-01-05 16:29:43 -04:00
Roberto Rosario aca9d8c9eb Remove unused imports, do PEP8 and DeprecationWarning cleanups 2015-01-05 14:40:59 -04:00
Roberto Rosario 45475d9a65 Don't allow adding index template nodes via the API until permission is properly implemented 2015-01-05 14:36:34 -04:00
Roberto Rosario 2f6d6768e1 Re-enable dynamic search tests 2015-01-05 14:19:46 -04:00
Roberto Rosario f82bb44540 Don't remove the root instance node, there is no aparent side effect but is unnecessary 2015-01-05 14:10:50 -04:00
Roberto Rosario 6737a87021 Cleanup empty instance nodes in the same task not as a separate task 2015-01-05 14:08:33 -04:00
Roberto Rosario c195f74310 Fix document type metadata type references 2015-01-05 05:13:09 -04:00
Roberto Rosario dc5de59152 Add missing migration for document index filesystem mirroring removal 2015-01-05 04:43:47 -04:00
Roberto Rosario 1f5592969e More hammering of the initial tag migration 2015-01-05 04:29:41 -04:00
Roberto Rosario c9c30125f9 Fix migration field definition 2015-01-05 04:22:49 -04:00
Roberto Rosario 24b5b98720 Retroactively remove Tagit reference from the initial tags app migration, issue #127 2015-01-05 04:14:27 -04:00
Roberto Rosario be5d5ce5cf Increase ocr node field size from 32 to 256 characters 2015-01-05 04:03:39 -04:00
Roberto Rosario 9474c5306f Improve migration dependecies 2015-01-05 03:55:46 -04:00
Roberto Rosario a45bdc5259 Create the default DocumentQueue 2015-01-05 03:50:42 -04:00
Roberto Rosario 62074b8b39 The initial migration of the ACLs app depends on a table not created until migration 0002 of the permissions app 2015-01-05 03:40:53 -04:00
Roberto Rosario a4d3a73117 Use TransactionTestCase to try to avoid exceptions in a test blocking DB access in others 2015-01-05 03:34:00 -04:00
Roberto Rosario c5be844097 Actually run initialsetup agains the matrix DB 2015-01-05 03:33:18 -04:00
Roberto Rosario 0b2fe39526 Separate tests again, TestCase encloses the entire test into a single transaction, an error block all other DB access in the test 2015-01-05 03:23:16 -04:00
Roberto Rosario 47529185cc Increase version of South to 1.0.2 2015-01-05 03:22:59 -04:00
Roberto Rosario 3cf9143059 Log error when language cleanup backend fails 2015-01-05 03:20:05 -04:00
Roberto Rosario 818ee35b19 Reoganize for clarity 2015-01-05 03:19:40 -04:00
Roberto Rosario 59bd62cbd5 Remove testing agains Python 3.x versions for now 2015-01-05 02:40:40 -04:00
Roberto Rosario 480974dcac Rename travis postgres test settings file 2015-01-05 02:40:16 -04:00
Roberto Rosario 580e5e002f Update travis CI file to test agains different databases, add travis DB setting files 2015-01-05 02:29:58 -04:00
Roberto Rosario 554ea3eb63 Python 2.6 .format() compatibility 2015-01-05 02:11:19 -04:00
Roberto Rosario 15e681e61a Clean up travil CI file 2015-01-05 02:02:37 -04:00
Roberto Rosario fd2286393d Don't depend on data not available at DB init time 2015-01-05 02:02:01 -04:00
Roberto Rosario 94eeb52990 Remove --use-mirrors, try other ways to invoke manage.py, allow testing agains Python 3.2,3.3 & 3.4 to fail 2015-01-05 01:45:46 -04:00
Roberto Rosario b2733bd851 Improve travis CI config file 2015-01-05 01:38:38 -04:00
Roberto Rosario abee5edc9e Update and improve ocr app tests 2015-01-05 01:27:56 -04:00
Roberto Rosario c471b9ea69 Remove search related tests, remark failing tests to allow for coverage report 2015-01-04 01:27:33 -04:00
Roberto Rosario 8a2c736833 Moved and fixed search related tests from the documents app to the dynamic search app 2015-01-04 00:40:03 -04:00
Roberto Rosario c8c52f47a7 Add document indexing app tests to travis config file 2015-01-03 23:58:40 -04:00
Roberto Rosario 7093542772 Fix document signatures app tests 2015-01-03 23:58:24 -04:00
Roberto Rosario 6b6c38832c Fix lambda argument definition 2015-01-03 23:58:00 -04:00
Roberto Rosario ff0e9b0d42 Hide import to allow tests to run 2015-01-03 23:46:02 -04:00
Roberto Rosario 7c6b11b619 Finish document indexing tests 2015-01-03 23:39:32 -04:00
Roberto Rosario a51b71b187 Update release notes 2015-01-03 23:39:17 -04:00
Roberto Rosario 9c5196ae2b Don't pass any argument to task_delete_empty_index_nodes, it requires none now 2015-01-03 23:38:54 -04:00
Roberto Rosario 15e4a5b091 Stop empty instance node deletion recursion at top node 2015-01-03 23:38:15 -04:00
Roberto Rosario 8928e03cc7 Fix function name 2015-01-03 23:35:55 -04:00
Roberto Rosario bed7137496 Don't require a label for new documents at the model manager level, use the filename by default 2015-01-03 23:35:19 -04:00
Roberto Rosario 7c2ce7ce1f Update task names, merge document metadata signales 2015-01-03 12:33:50 -04:00
Roberto Rosario ef140ac2f7 Update task and function names 2015-01-03 12:33:33 -04:00
Roberto Rosario bca6355bb8 Fix function name, delete a document from all index nodes before reindexing it 2015-01-03 12:33:01 -04:00
Roberto Rosario 0c0d594f0b Add document indexing initial test case 2015-01-03 12:18:14 -04:00
Roberto Rosario 35821df7ee Add TODO reminder 2015-01-03 12:17:36 -04:00
Roberto Rosario ddfba9684d Remove final filesystem mirroring code, add TODO reminders 2015-01-03 12:17:02 -04:00
Roberto Rosario 018284eec1 Add locking and arbitration to indexing updates, remove filesystem index mirroring issue #56 2015-01-02 21:52:33 -04:00
Roberto Rosario 155f543db4 Avoid concurrent indexing of the same document 2015-01-02 21:07:01 -04:00
Roberto Rosario 0e0e122d95 Fix variable name 2015-01-02 20:53:29 -04:00
Roberto Rosario 6fb768a6f8 Issue #128, Add Indexes API endpoints 2014-12-16 01:37:49 -04:00
Roberto Rosario 0e0428b501 Raise API urls registration errors when in DEBUG mode 2014-12-16 01:34:28 -04:00
Roberto Rosario d64bec40b3 Add API views to edit the current user (without having to specify the user id). Issue #131 2014-12-16 00:10:51 -04:00
Roberto Rosario cff4a97d34 Simplify document metadata API endpoints, make document metadata endpoints more consistent, improve error reporting 2014-12-13 06:40:57 -04:00
Roberto Rosario 790c5745f8 Add API endpoint to return the list of recent document for the current user 2014-12-13 05:32:27 -04:00
Roberto Rosario 384ebde6ab Unicode representaion of document version is no longer used 2014-12-13 05:04:12 -04:00
Roberto Rosario 81a85e6de8 Document type, folder and tags API serializer now return a numeric count of the documents contained instead of a link to the document list API endpoint 2014-12-13 05:03:15 -04:00
Roberto Rosario 741ac66bd9 Inline the document type information in the document structure 2014-12-13 04:53:19 -04:00
Roberto Rosario e6debeff7e Move back all search field registration into the documents/__init__ module until the upgrade to Django 1.7.x 2014-12-13 04:33:59 -04:00
Roberto Rosario 0121a636cf Update required version of Django to 1.6.8 2014-12-13 04:32:46 -04:00
Roberto Rosario da0f3f1143 Allow the user password to be changed from the user API endpoint 2014-12-11 20:24:55 -04:00
Roberto Rosario 51951d9691 Merge branch 'feature/api_fixes' into development 2014-12-11 19:53:50 -04:00
Roberto Rosario d0aaa256cd Don't search blindly for all the fields passed in the advanced search, use the defined fields, avoid hard coded rejection of &page arguments in the query string. The SearchModel class is now responsible for storing the search in the recent entries instead of the view. 2014-12-11 19:52:24 -04:00
Roberto Rosario 1a8ab7956f Update django rest framework version 2014-12-11 19:18:03 -04:00
Roberto Rosario 030d0e8806 Merge new document API view with the document list API view (as a POST action). Move search result filtering to clases module, this way it filters results from the API too. 2014-12-11 19:16:29 -04:00
Roberto Rosario e3f3553965 Merge new document API view with the document list API view (as a POST action) 2014-12-09 03:26:25 -04:00
Roberto Rosario ab37b4bc35 Update document metadata accessor 2014-12-09 03:18:27 -04:00
Roberto Rosario 9b83c3bd3e Update tests 2014-12-09 03:18:16 -04:00
Roberto Rosario af51acebf5 Isse #56, Remove document versions major, minor and micro versioning fields 2014-12-09 03:15:23 -04:00
Roberto Rosario 53c34eedcd Add test to the sources app 2014-12-09 02:27:50 -04:00
Roberto Rosario ac928d028a Use a more sensible default 2014-12-08 23:37:01 -04:00
Roberto Rosario f5093a3d3b Update document type metadata access 2014-12-08 23:36:36 -04:00
Roberto Rosario 0139432e48 Propagate background task exceptions when running in eager mode for easier debugging. Use djcelery test runner by default 2014-12-08 23:23:45 -04:00
Roberto Rosario 65ebf5fcf5 Remove unused import 2014-12-08 23:23:22 -04:00
Roberto Rosario 49d00408d8 Update related_name 2014-12-08 23:23:04 -04:00
Roberto Rosario 2fda25590f Update the document type' document required metadata types using signals instead of relying on DocumentTypeHelper class methods 2014-12-08 19:35:52 -04:00
Roberto Rosario 11ff561b3a Remove DocumentTypeHelper class, use direct Django methods 2014-12-08 19:35:25 -04:00
Roberto Rosario 82bedefff6 Add unicode method, update and optimize validation code 2014-12-08 19:34:40 -04:00
Roberto Rosario bb783fa2e1 Simplify code 2014-12-08 19:34:11 -04:00
Roberto Rosario 704abb7059 Use related_name 'metadata' to access document types' metadata types 2014-12-08 18:37:54 -04:00
Roberto Rosario 5050c7319c Remove preemptive document metadata selection 2014-12-08 18:33:57 -04:00
Roberto Rosario a2840bc57d Remove unused metadata dictionary precalculation 2014-12-08 18:31:41 -04:00
Roberto Rosario 2e8a61ed30 Update versions of Celery and django-suit 2014-12-08 15:47:40 -04:00
Roberto Rosario 4b7f4a683f Simplify and improve document metadata views, improve docstrings 2014-12-02 00:44:41 -04:00
Roberto Rosario 4aa84b778c Only allow one instance of a metadata type per document 2014-12-02 00:43:56 -04:00
Roberto Rosario ca847bed2c Add document type metadata type API endpoints documentation 2014-12-01 16:17:04 -04:00
Roberto Rosario d257d6db85 Merge document type optional and required metadata type add views 2014-12-01 16:14:14 -04:00
Roberto Rosario 32d2608bdd Only add metadata type it is not in the list 2014-12-01 16:09:26 -04:00
Roberto Rosario 4abc866a53 Add TODO reminder 2014-11-20 03:32:34 -04:00
Roberto Rosario 5122a161f2 Fix inverted function names 2014-11-20 03:31:10 -04:00
Roberto Rosario b44b57aab8 Fix email base document source 2014-11-20 03:13:32 -04:00
Roberto Rosario 173e82684c Fix support for send document links and attachments 2014-11-20 02:54:45 -04:00
Roberto Rosario 1950c062b0 Update document attribute name when sending documents via email 2014-11-20 02:40:50 -04:00
Roberto Rosario a59d4c3a8a Merge pull request #124 from myrtle303/patch-1
Update index.rst
2014-11-19 19:59:06 -04:00
myrtle303 8a8a34c7bb Update index.rst 2014-11-19 15:42:52 -06:00
Roberto Rosario 279b5a1a93 Merge pull request #99 from EmlynC/patch-2
Update contributors.rst
2014-11-18 16:09:05 -04:00
Roberto Rosario 3904c12965 Merge pull request #122 from EmlynC/mac_osx
Installation details for Mac OSX
2014-11-18 16:08:10 -04:00
Emlyn Clay abce20eda6 Installation details for Mac OSX 2014-11-18 16:44:58 +00:00
Roberto Rosario 791b9d421a Fix fancybox css path 2014-11-18 05:20:00 -04:00
Roberto Rosario 0f688b85bc Update Fancybox version 2014-11-18 05:13:13 -04:00
Roberto Rosario d367e9b424 Remove unused 'disable_auto_focus' functionality 2014-11-18 04:58:46 -04:00
Roberto Rosario 0685a30193 Retry document convertion task up to 3 times, compress result using zlib 2014-11-18 04:48:16 -04:00
Roberto Rosario 05a8a40a2a Remove ghostscript python library dependency 2014-11-18 04:47:57 -04:00
Roberto Rosario 76fc6c091f Remove all direct use of ghost script, add PDFTOPPM_PATH to allow configurable pdftoppm path, raise ConvertError on coverterror and not UnknownFile exception blindly 2014-11-18 04:46:24 -04:00
Roberto Rosario cb8ff3f629 Remove unused file 2014-11-18 04:45:24 -04:00
Roberto Rosario ed11e242ca Issue #23, Experiment with pdftoppm 2014-11-18 00:35:56 -04:00
Roberto Rosario 8ff61778f6 Remove the MULTIPAGE_PREVIEW_SIZE configuration settings, clicking on a page preview now redirects to the page detail view, added post lazy load class support, use post lazy load class support to add 100% width to document page previews 2014-11-17 19:37:43 -04:00
Roberto Rosario 5963822be7 Split document view into document preview, document content and document properties views 2014-11-17 18:52:20 -04:00
Roberto Rosario d751425d7f Use static hourglass image instead of an animages GIF during image loading, remove usage of scrollstop, start generating previews much sooner (threshold of 400 pixels), remove fallback code when javascript is disabled, show pages previews as a vertical scroller seems to reduce lag and browser memory consumption. 2014-11-17 16:56:28 -04:00
Roberto Rosario eff81cf8af Close issues #118 and #119 2014-11-12 02:15:52 -04:00
Roberto Rosario a712977390 Update smart_linking dynamic title handling using ModelAttribute class 2014-11-11 19:55:32 -04:00
Roberto Rosario 370cf53584 Namedtuples have an __iter__ attribute but are not iterable in the navigation list sense so test against list subclasses instead 2014-11-11 19:44:07 -04:00
Roberto Rosario bf4175b263 Simplify and optimize smart linking code and views, remove now unused LINKING_SHOW_EMPTY_SMART_LINKS configuration setting (issue #56) 2014-11-11 19:41:19 -04:00
Roberto Rosario c0ea3276a3 Remove tempory_navigation_links to a more meaningful extra_navigation_links 2014-11-11 17:11:49 -04:00
Roberto Rosario 5480a7c9a0 Don't import tags code from linking app, violates separation of concerns of child apps 2014-11-11 16:22:51 -04:00
Roberto Rosario d5e11cce28 Issue #56, remove fabric file installation detection 2014-11-11 16:17:37 -04:00
Roberto Rosario b75f16baee Issue #56, remove diagnostics tools menu, remove missing document list functionality 2014-11-11 16:16:03 -04:00
Roberto Rosario 84493b7a72 PEP8 Cleanups 2014-11-11 14:58:37 -04:00
Roberto Rosario 5fbfe99c2f Update release notes 2014-11-11 14:37:04 -04:00
Roberto Rosario 9843f2b17f Use the filtered queryset for the checkout API 2014-11-11 14:36:41 -04:00
Roberto Rosario 8194e898a0 Make the title field of the MetatadaType model a required field 2014-11-11 04:23:31 -04:00
Roberto Rosario 9b895e0844 Hide DocumentSerializer import 2014-11-11 04:13:02 -04:00
Roberto Rosario 053a5912ad Add label to the registered Document model fields 2014-11-11 03:36:43 -04:00
Roberto Rosario eaa0d2c954 Update the document index documentation figures to reflect the usage changes 2014-11-11 03:03:58 -04:00
Roberto Rosario 3fad9f59a4 Add the comments related field to the document attributes documentation 2014-11-11 03:03:08 -04:00
Roberto Rosario d7a7231b1b Remove usage of the MetadataClass during index calculation code 2014-11-11 03:02:29 -04:00
Roberto Rosario 924dfc0a4c Show the available document attributes during document indexing setup form 2014-11-11 03:01:49 -04:00
Roberto Rosario 0916bbacb0 Expand the size of the foreign_document_data field 2014-11-11 03:01:17 -04:00
Roberto Rosario 78ff496143 Remove usage od MetadataClass and simplify smartlink query building 2014-11-11 03:00:34 -04:00
Roberto Rosario 4882f0558d Update the document linking form to show the available mode attributes 2014-11-11 02:59:50 -04:00
Roberto Rosario 742cc02305 Document the usable document attributes added by the metadata app using ModelAttribute class, add DocumentMetadataHelper to help retrieve a document metadata value easier 2014-11-11 02:58:49 -04:00
Roberto Rosario c6b1b5cb54 Add document label field help_text 2014-11-11 02:56:59 -04:00
Roberto Rosario a8e473e7b9 Add ModelAttribute helper class to document the attributes of a document available for user interaction 2014-11-11 02:56:03 -04:00
Roberto Rosario 524b99cdd0 Remove unused class 2014-11-09 00:00:29 -04:00
Roberto Rosario 0aa97bdc18 Merge pull request #117 from EmlynC/generic_help_template
Generic help template
2014-11-07 12:42:34 -04:00
Emlyn Clay 3406f424ef Set all help templates to extend from a generic_help.html template 2014-11-07 11:06:26 +00:00
Emlyn Clay 196474dbed Add a generic help template - factor out the template so that you only need to override the generic rather than 8 separate templates. 2014-11-07 10:51:02 +00:00
Roberto Rosario ba60012c98 Close issue #105, Tie smart links setups to document types 2014-11-06 20:45:10 -04:00
Roberto Rosario c9c38ce5ed Using accesor attribute to add metadata to a document gives and error, use the model directly 2014-11-05 01:01:10 -04:00
Roberto Rosario 00d0500284 Add bulk document type change support 2014-11-05 01:00:42 -04:00
Roberto Rosario 6796ce8b49 Remove configurability of the document and document signatures UUID function 2014-11-05 00:18:34 -04:00
Roberto Rosario 11ca9ba1eb Issue #56, remove configurability of the checksum algorithm 2014-11-05 00:15:02 -04:00
Roberto Rosario ecd72245e1 Add steps to deploy a development copy of Mayan 2014-11-04 18:50:00 -04:00
Roberto Rosario 61dfb20529 Simplify documentation structure, small upgrades to documentation 2014-11-04 18:46:24 -04:00
Roberto Rosario 92ec4861d1 Close issue #116, add link to binary requirements in installtion topic 2014-11-04 18:32:51 -04:00
Roberto Rosario 46f4b73976 Close issue #111, Add Checkouts API endpoints 2014-11-04 17:37:50 -04:00
Roberto Rosario 57eb4df1ba Add default message to the exception 2014-11-04 17:37:22 -04:00
Roberto Rosario 1287cca3ac Remove validation from the form and views 2014-11-04 17:37:05 -04:00
Roberto Rosario e6dbb4cd70 Perform validation at the model 2014-11-04 17:36:34 -04:00
Roberto Rosario 6a19622e38 Fix comment style 2014-11-03 02:57:08 -04:00
Roberto Rosario 7d9277ce8b Only allow document metadata view when select same type documents 2014-11-03 02:56:29 -04:00
Roberto Rosario e3c66953c5 Initial support for mailing multiple documents 2014-11-03 02:56:04 -04:00
Roberto Rosario f7bfb390cc Missing return statement 2014-11-03 02:55:34 -04:00
Roberto Rosario 6a33b4b131 Close issue #112, Add OCR API endpoints 2014-11-03 02:24:40 -04:00
Roberto Rosario a08d2c0a0c Remove unused permission 2014-11-03 02:03:46 -04:00
Roberto Rosario efe96b3005 Close issue #109, Add Roles API endpoints 2014-11-03 01:57:04 -04:00
Roberto Rosario 9ae534306f Issue #56, remove bulk user creation management command 2014-11-03 01:41:32 -04:00
Roberto Rosario 1acbc39c48 Issue #56, with the addition of watched folders this feature is repititive 2014-11-03 01:40:30 -04:00
Roberto Rosario 906078a166 Don't allow the client to specify user id in the POST request, take it from the request.user 2014-11-03 01:37:07 -04:00
Roberto Rosario c352be11bb Don't allow overidding the use when creating a new document, use the request user 2014-11-03 01:24:38 -04:00
Roberto Rosario d99e047551 Remove unused variable 2014-11-03 01:13:43 -04:00
Roberto Rosario 1f0f3adcba Make sure base class method arguments match 2014-11-03 00:16:22 -04:00
Roberto Rosario 0ef7194cb5 Revert "Update smart_links.rst"
This documentation patch needs finishing, removing from master, leaving it on the development branch.

This reverts commit 7268a6998b.
2014-11-03 00:12:25 -04:00
Roberto Rosario 9cc014c70a Close issue #106, Convert document indexing app actions to Celery 2014-11-03 00:10:19 -04:00
Roberto Rosario 8a54e2bde4 Add flag to allow signals to bypass metadata validation 2014-11-03 00:09:58 -04:00
Roberto Rosario 1905a1ee3c Show metadata edit validation error properly 2014-11-03 00:09:25 -04:00
Roberto Rosario 5ca3684712 Reduce number of queries for document metadata retrieval 2014-11-02 23:41:12 -04:00
Roberto Rosario 70468a3ef8 Remove unused variables 2014-11-02 23:40:55 -04:00
Roberto Rosario 7bee501058 Remove unused imports 2014-11-02 23:40:42 -04:00
Roberto Rosario f52123cd7a Cleanups, unused import, unused arguments removal 2014-11-02 23:21:14 -04:00
Roberto Rosario d65cd68aec Fix base class argument count 2014-11-02 21:26:24 -04:00
Roberto Rosario ef213001e1 Remove unused common util functions 2014-11-02 21:23:31 -04:00
Roberto Rosario 9f2692d36a PEP8 cleanup, unused import removal 2014-11-02 21:20:29 -04:00
Roberto Rosario ba1729106f Pass arguments to the logger the correct way 2014-11-02 20:55:21 -04:00
Roberto Rosario 654022807f Raise the correct exception 2014-11-02 20:16:09 -04:00
Roberto Rosario 5d1599de04 Add step to upgrade instructions 2014-11-02 20:15:50 -04:00
Roberto Rosario dc8fe5197a Update requirements versions 2014-11-02 20:15:37 -04:00
Roberto Rosario 11382caa9e upload_to passes two arguments, we don't use them but have to allow them 2014-10-30 15:58:13 -04:00
Roberto Rosario 09f4280f58 Only display metadata allowed for this document type in the add metadata view 2014-10-30 15:23:57 -04:00
Roberto Rosario 199a07ef8f Display errors while adding a metadata to a document 2014-10-30 15:16:58 -04:00
Roberto Rosario 8824b62be4 Update references from document.filename to document.label 2014-10-30 15:01:23 -04:00
Roberto Rosario d9d564bc4d Raise metadata editing errors while on debug mode 2014-10-30 15:01:02 -04:00
Roberto Rosario c8139f22d7 Remove the get_filename_from_uuid helper function 2014-10-30 15:00:38 -04:00
Roberto Rosario 7fd9ebb0ee Update more failing tests 2014-10-30 14:28:46 -04:00
Roberto Rosario 593fd56489 Cache serializer class 2014-10-30 13:50:05 -04:00
Roberto Rosario 95ac1b1294 Don't load the document search setup globally 2014-10-30 13:45:16 -04:00
Roberto Rosario 78b2dc21f9 Move the actual loading of the serializer when it actually needed 2014-10-30 13:44:35 -04:00
Roberto Rosario 9ae2a7564e Update document search field 'filename' to 'label' in line with model changes 2014-10-30 13:27:25 -04:00
Roberto Rosario 4543f06ca2 Warn and redirect users to the source setup view if none exists 2014-10-30 13:24:09 -04:00
Roberto Rosario 79ad3bade3 Update document app to register the API and search serializer lazily 2014-10-30 13:23:19 -04:00
Roberto Rosario 796db528aa Simplify app API description endpoint 2014-10-30 13:22:56 -04:00
Roberto Rosario 074110b9de Add missing slash 2014-10-30 13:22:16 -04:00
Roberto Rosario 779ebd4966 Don't import the api_urls at app import time, let the APIEndpoint class import them lazily 2014-10-30 13:21:37 -04:00
Roberto Rosario 36d3041617 Update API urls registration to be lazy and ignore import time errors 2014-10-30 13:19:52 -04:00
Roberto Rosario 1b52b4ced8 Update search model serializer registration to be lazy 2014-10-30 13:18:40 -04:00
Roberto Rosario d66a9b5acf Synchronize translations with Transifex 2014-10-30 11:50:48 -04:00
Roberto Rosario 18b627b333 Update to Celery 3.1.16 2014-10-30 11:40:29 -04:00
Roberto Rosario 1e6859e6b8 Add missing django-celery dependency, sort dependencies 2014-10-30 11:40:01 -04:00
Roberto Rosario 8a5f215779 Update translation sources 2014-10-30 11:39:32 -04:00
Roberto Rosario c977063253 Use a smaller document for folder tests 2014-10-30 11:31:59 -04:00
Roberto Rosario b05054af90 Add test for the addition and removal of documents to tags 2014-10-30 11:22:33 -04:00
Roberto Rosario 735e000e1a Update folder test 2014-10-30 11:15:53 -04:00
Roberto Rosario ab555ddaff Include the label in the document serializer 2014-10-30 11:02:25 -04:00
Roberto Rosario 66538763bf Fix super calling method of document type list and delete views 2014-10-30 09:58:54 -04:00
Roberto Rosario ae101036eb Update tests 2014-10-30 03:32:20 -04:00
Roberto Rosario bd05576cc5 Change the DEBUG text to something a bit friendlier 2014-10-30 03:24:11 -04:00
Roberto Rosario d7b26e8bbe Show which document metadata are required, show validation error when trying to remove a required metadata type from a document 2014-10-30 03:21:44 -04:00
Roberto Rosario 8ac8292ad8 Enable required metadata types in the metadata selection form 2014-10-30 03:21:09 -04:00
Roberto Rosario d92bd67331 Add validation to block removal of required metadata types from a document 2014-10-30 03:20:37 -04:00
Roberto Rosario 9749ce73b6 Automatically add required metadata types only when creating a new document 2014-10-30 03:20:08 -04:00
Roberto Rosario 01e44dede4 Show required and optional metadata types on upload wizard 2014-10-30 03:19:40 -04:00
Roberto Rosario cf51f70da7 Change the name of the variable used as the main title for multiform template 2014-10-30 02:45:40 -04:00
Roberto Rosario d8819276b2 Remove remarked code 2014-10-30 02:45:15 -04:00
Roberto Rosario c4c2646b60 Add view to add or remove required metadata types to a document type, simplify existing view to add remove optional metadata types 2014-10-30 02:28:49 -04:00
Roberto Rosario 375de8270e Add manager class to handle the metadata types of a document type easily 2014-10-30 02:28:19 -04:00
Roberto Rosario 727ae0bea8 Add TODO reminder 2014-10-30 02:27:37 -04:00
Roberto Rosario 879f90547c Update metadata admin 2014-10-30 02:26:18 -04:00
Roberto Rosario 9d65fbf321 Remove the views associated to the link they are unnecesary 2014-10-30 02:25:55 -04:00
Roberto Rosario 733f60daad Allow form with subforms to have a main title 2014-10-30 02:25:31 -04:00
Roberto Rosario 1abb4e6ece Remove success messages from the assign_remove view, allow passing null lists titles 2014-10-30 02:24:56 -04:00
Roberto Rosario 95a27df1e3 Change the way metadata types are associated to a document type, add required boolean field to the association 2014-10-30 02:24:12 -04:00
Roberto Rosario da97aab168 Remove unused template 2014-10-30 02:00:03 -04:00
Roberto Rosario eb878c165b Revert "Issue #56, #8, now that metadata types are automatically added to a document upon type change, there is no more need for the document metadata add and remove code, view, API"
This reverts commit c390fc21d7.

Re adding this feature, only required metadata should be automatically added, optional metadata would be added by the user
2014-10-29 20:17:19 -04:00
Roberto Rosario c8fe6a6fd4 Set Celery serialization to JSON only 2014-10-29 20:16:33 -04:00
Roberto Rosario 12c64bd83b Update source app views, model method and API calls to use the document app's models, managers. 2014-10-29 05:53:46 -04:00
Roberto Rosario f1fc380f6c Remove obsolete method from admin 2014-10-29 05:53:16 -04:00
Roberto Rosario 06bb9e9753 Update document creation API call to use SharedUploadedFile model 2014-10-29 05:52:52 -04:00
Roberto Rosario 7abf944e47 Use SharedUploadedFile model for background task, add task for creating versions of a document 2014-10-29 05:52:12 -04:00
Roberto Rosario 83f4d90fa3 Don't store OCR error log if no document was created 2014-10-29 05:51:23 -04:00
Roberto Rosario 9a0842409e Remove debug code, add TODO reminders, simplify new version creation method 2014-10-29 05:50:34 -04:00
Roberto Rosario 5bb21775f7 Add transaction.atomic, make sure the default language is used, return a list of versions not documents 2014-10-29 05:49:41 -04:00
Roberto Rosario 099844e15d Add SharedUploadedFile model to distribute work files between Mayan nodes easier 2014-10-29 05:46:26 -04:00
Roberto Rosario 3909d60e9a Issue #56, Remove child_views, child_urls, children_path_regex, children_view_regex link support 2014-10-28 17:41:10 -04:00
Roberto Rosario b8fe08f831 Fix casing of message 2014-10-28 17:21:52 -04:00
Roberto Rosario 9596beac79 Update translation messages sources 2014-10-28 17:21:37 -04:00
Roberto Rosario 2c2dfa88cc Issue #84, Remove template context variable 'object_name' to improve ease of translation 2014-10-28 02:36:43 -04:00
Roberto Rosario 92d4d5e6bc Only show multi item links when there are items 2014-10-28 02:18:07 -04:00
Roberto Rosario 31f21d3143 Simplify event message 2014-10-28 02:17:50 -04:00
Roberto Rosario c390fc21d7 Issue #56, #8, now that metadata types are automatically added to a document upon type change, there is no more need for the document metadata add and remove code, view, API 2014-10-28 02:16:53 -04:00
Roberto Rosario 6eb6c43807 Automatically the appropiate metadata types when the document's type is changed 2014-10-28 02:01:59 -04:00
Roberto Rosario 6aecfd98e6 Issue #8, finish adding view and links to change a document's type 2014-10-28 02:01:22 -04:00
Roberto Rosario ea68e195b1 Issue #8, when a document is added force the change document type signal 2014-10-28 01:37:16 -04:00
Roberto Rosario 6534326df9 Issue #8, Initial changes to allow update a document's document type.
Added signal emited then the type is changed, added Document model method to
update the document type
2014-10-28 01:35:13 -04:00
Roberto Rosario 6ad26f3c9a Add filenames accesor for DocumentType model 2014-10-27 23:22:35 -04:00
Roberto Rosario 21d51accec Make sure the metadata being added is allowed 2014-10-27 23:21:13 -04:00
Roberto Rosario cbd2644c59 Make sure label exists 2014-10-27 23:20:55 -04:00
Roberto Rosario 6702859f8d Unify DocumentForm and DocumentForm_edit 2014-10-27 23:20:37 -04:00
Roberto Rosario 3da11a023b Cleanups 2014-10-27 22:51:25 -04:00
Roberto Rosario 9d408d5795 Remove settings editor app 2014-10-27 22:51:06 -04:00
Roberto Rosario 4c07c49a56 Remove shared views list, these are no longer needed 2014-10-27 19:23:07 -04:00
Roberto Rosario 0bed1df64a Issue #92, Make register_multi_item_links class aware 2014-10-27 19:21:05 -04:00
Roberto Rosario 2874bb3434 Align multi item form and button in the same line to save space 2014-10-27 18:19:05 -04:00
Roberto Rosario 33c6c7f341 User plural form 2014-10-27 18:18:52 -04:00
Roberto Rosario 2cb5530e31 Add spacers to the multi item links of the user management app 2014-10-27 17:51:50 -04:00
Roberto Rosario 4262b750b9 Issue #56, remove remaining side bar templates code 2014-10-27 16:31:18 -04:00
Roberto Rosario a728690335 Issue #56, #97, Make multi item links a drop down list of actions, remove unused code 2014-10-27 16:26:13 -04:00
Roberto Rosario b166d559ed Issue #62, #56, simplify generic_list_horizontal_subtemplate 2014-10-27 16:24:09 -04:00
Roberto Rosario 9b037e3b9d Improve document's apps API endpoints docstrings 2014-10-27 15:08:08 -04:00
Roberto Rosario 7cf2bacca3 Add group API endpoints 2014-10-27 15:07:49 -04:00
Roberto Rosario c6d01de0a3 Add smart link view title 2014-10-27 14:45:52 -04:00
Emlyn Clay 3f6c854d51 Update contributors.rst 2014-10-27 12:55:50 +00:00
Roberto Rosario 744d8ec0d8 Make the new document label optional, the backend will use the filename is none is specified 2014-10-27 05:19:41 -04:00
Roberto Rosario 546a593e26 Use the new post version upload signal to ensure OCR starts only when all of a new
document version pages have been created
2014-10-27 05:18:25 -04:00
Roberto Rosario 9e85da2f2b Add custom post document version upload signal 2014-10-27 05:17:40 -04:00
Roberto Rosario 9c9632f920 Add proper document creation API endpoint 2014-10-27 04:49:29 -04:00
Roberto Rosario 165d01610b Improve User model serializer 2014-10-27 04:47:42 -04:00
Roberto Rosario 48cbe309f4 Remove language choices from the documents models module and use the one define in literals.py 2014-10-27 04:47:02 -04:00
Roberto Rosario df74239e85 Move language choices to the literals module 2014-10-27 04:46:31 -04:00
Roberto Rosario 4007a407e4 Remove delete_after_upload field for watch folders, files are deleted after uploading regardless,
otherwisre they are re uploaded at the next check.
2014-10-27 00:32:35 -04:00
Roberto Rosario 5b283b75c1 Add FAQ entry about database foreign key constraint error 2014-10-25 19:39:05 -04:00
Roberto Rosario 491b7a7af4 Re enable per source document type field 2014-10-25 19:38:42 -04:00
Roberto Rosario 1c87866a63 Add WebForm to admin interface 2014-10-25 19:38:19 -04:00
Roberto Rosario 81c3419321 Fix image path 2014-10-25 19:38:03 -04:00
Roberto Rosario f868d44461 Issue #32, Initial commit to support watch folders 2014-10-25 04:30:58 -04:00
Roberto Rosario a52148ed16 Remove the bootstrap app from the transifex configuration file 2014-10-25 03:17:29 -04:00
Roberto Rosario 6e7a0dcb35 Reorganize remaining icons 2014-10-25 03:13:27 -04:00
Roberto Rosario 13b664465e Remove unused translation library from template 2014-10-25 02:51:23 -04:00
Roberto Rosario 20fb9dffbd Update translation sources 2014-10-25 02:50:31 -04:00
Roberto Rosario 7b92d1633a Fix typo 2014-10-25 02:31:24 -04:00
Roberto Rosario 6bca65088f Remove static context processor 2014-10-25 02:30:11 -04:00
Roberto Rosario ba5d3261e0 Remove use of hard coded STATIC_URL template variable 2014-10-25 02:28:13 -04:00
Roberto Rosario 71e8502614 Remove confirmation template's form icon 2014-10-25 02:21:44 -04:00
Roberto Rosario 2a7e543cd8 Delete source app confirmation icons 2014-10-25 02:03:49 -04:00
Roberto Rosario 6a8b183213 Add flag to ignore result for background task of queue 'tools' 2014-10-25 01:59:10 -04:00
Roberto Rosario 45587561de Add TODO reminder 2014-10-25 01:58:52 -04:00
Roberto Rosario 85d6053836 Finish implementing class based new version upload view 2014-10-25 01:58:29 -04:00
Roberto Rosario 312cb216fc Add new version upload background task 2014-10-25 01:58:03 -04:00
Roberto Rosario e0e4671ca3 No need to have this code in the Source model 2014-10-25 01:57:35 -04:00
Roberto Rosario 0d484bcefc Remove remaked/unused code 2014-10-25 01:57:18 -04:00
Roberto Rosario 6a007492a8 Add initial new document version class based view 2014-10-24 18:50:23 -04:00
Roberto Rosario c23205f464 Add MultiFormView class based view, convert InteractiveUpload view to MultiForm view 2014-10-24 18:18:40 -04:00
Roberto Rosario 4acf88c9a6 Initial commit of the sources upload, new version and new document refactor 2014-10-23 17:10:02 -04:00
Roberto Rosario e6c2628b2e Add document model manager to simplify and encapsulate document creation 2014-10-23 16:57:20 -04:00
Roberto Rosario c129236aae Move filename to be a document and not a documentversion property 2014-10-23 16:55:45 -04:00
Roberto Rosario ba9ab75f5d Don't use hyperlinked serializer for folder, makes it easier to add folder by just specifying user id instead of user URL 2014-10-23 12:41:59 -04:00
Roberto Rosario 8567df1da8 Don't use Django's get_or_create in migrations.
http://south.aeracode.org/ticket/325
https://stackoverflow.com/questions/20039250/django-1-6-transactionmanagementerror-database-doesnt-behave-properly-when-aut
2014-10-23 12:06:58 -04:00
Roberto Rosario 1b0a3cbb71 Improve docstrings of existing metadata API endpoints and add endpoints to view, add and remove metadata types to document types 2014-10-23 11:38:03 -04:00
Roberto Rosario 9ace350e0a Add API endpoint to return the current user, improve existing user API endpoints docstrings 2014-10-23 10:43:28 -04:00
Roberto Rosario 07c595fd65 Reuse expensive values to improve issue #49 2014-10-23 03:17:25 -04:00
Roberto Rosario e131463f90 Issue #78, Don't cache values that may be updated by out of process code
This fix makes issue #49 worse; fix: cache page count and latest version
at form/widget and not at model.
2014-10-23 02:44:09 -04:00
Roberto Rosario a651921ca2 Use parent class instead of specific child classes 2014-10-23 02:38:17 -04:00
Roberto Rosario f328789d26 Space cleanups 2014-10-23 01:28:54 -04:00
Roberto Rosario 96623354a7 Update upgrade instructions 2014-10-23 01:28:14 -04:00
Roberto Rosario d15d5746b5 Move UUID setting from the save method to a default value of the model 2014-10-23 01:13:22 -04:00
Roberto Rosario 2888075f40 Change edit view and link texts 2014-10-23 01:11:58 -04:00
Roberto Rosario 86ab079926 Remove unnecessary check 2014-10-23 00:45:59 -04:00
Roberto Rosario db2ca4fb58 Issue #85, Reset page count for a single or multiple documents.
Issue #57, convert to celery task
2014-10-22 19:33:20 -04:00
Roberto Rosario f86be42dd0 Issue #57, conver the document image queue maintenance view into a celery task 2014-10-22 18:21:40 -04:00
Roberto Rosario 5229b9e9e0 Remove the bootstrap app from the language helper script 2014-10-22 15:53:10 -04:00
Roberto Rosario e31d37ef09 Update source messages 2014-10-22 15:52:54 -04:00
Roberto Rosario ed9723b5f8 Issue #90, #56, Remove app_registry app 2014-10-22 15:52:31 -04:00
Roberto Rosario e8762e4792 Issue #87, Per document language selection 2014-10-22 02:35:16 -04:00
Roberto Rosario 9b1b89cc21 Remove remaining code/docs about the removed COMMON_DEFAULT_PAPER_SIZE and COMMON_DEFAULT_PAGE_ORIENTATION configuration settings 2014-10-22 01:00:29 -04:00
Roberto Rosario 2ea48bd1ba PEP8 cleanups, further removal of unused code 2014-10-21 19:28:52 -04:00
Roberto Rosario ce39a775ee Issue #88, remove metadata type selection step from interactive upload wizard
Max wizard steps is now 2. Second step is skiped when document type
has not associated metadata types.
2014-10-21 19:02:31 -04:00
Roberto Rosario 0a55b4c16a Add missing view namespace 2014-10-21 17:53:35 -04:00
Roberto Rosario 239af4c01a Simplify plural tense of objects 2014-10-21 17:42:00 -04:00
Roberto Rosario d0ed74dfc3 Move links order for uniformity, move all delete button to the far right to reduce accidental clicking 2014-10-21 17:41:16 -04:00
Roberto Rosario 037b12cc6b Improve/simplify wording 2014-10-21 17:31:51 -04:00
Roberto Rosario d7d61b0fd2 Remove unused registry files 2014-10-21 17:19:32 -04:00
Roberto Rosario bc55a9e8cf Reduce title 2014-10-21 17:17:16 -04:00
Roberto Rosario c0785fa098 Show document type for each document 2014-10-21 17:15:20 -04:00
Roberto Rosario 92c76d9f33 Issue #56, Remove Metadata Sets 2014-10-21 17:14:31 -04:00
Roberto Rosario 549f0fdc87 Issue #75, move OCR queueing from a setting to a DocumentType model field 2014-10-21 16:53:42 -04:00
Roberto Rosario 3c72d62087 Issue #82, make document type a required field 2014-10-21 16:35:39 -04:00
Roberto Rosario 2441d232ab Issue #86, move south migrations from the 'migrations' to the 'south_migrations' directory 2014-10-21 13:23:05 -04:00
Roberto Rosario c23bc95deb Remove remaining code from django-taggit package 2014-10-21 13:18:50 -04:00
Roberto Rosario 2f01904217 Issue #56, remove boostrap app 2014-10-21 12:30:54 -04:00
Roberto Rosario 966a49a938 Fix tag create API endpoint 2014-10-21 09:31:25 -04:00
Roberto Rosario af5f2b4478 Further improvements to the sources app links 2014-10-21 03:37:10 -04:00
Roberto Rosario 01826e94e1 Fix create source conditional highlighting 2014-10-21 03:30:35 -04:00
Roberto Rosario 0d6b7dfbc6 Move class and form class functions to the utils module, issue #56: remove whilelist and blacklist support 2014-10-21 03:21:32 -04:00
Roberto Rosario f8fe2ada0e Issue 83, simplify sources app navigation and views 2014-10-21 03:13:51 -04:00
Roberto Rosario b0c76eab42 Merge branch 'feature/email_receive' into development 2014-10-20 21:57:58 -04:00
Roberto Rosario 2575e08499 Only fetch when source is enabled 2014-10-20 21:57:39 -04:00
Roberto Rosario eaf1e55fab Improve periodic task creation and interval reuse 2014-10-20 21:57:19 -04:00
Roberto Rosario e9d53809df Add missing import 2014-10-20 21:56:57 -04:00
Roberto Rosario 7133943963 Issue #65, complete set of code to implement receiving documents via email (experimental) 2014-10-20 17:48:45 -04:00
Roberto Rosario f2670e27c8 Add missing view namespace 2014-10-20 02:36:51 -04:00
Roberto Rosario 3faa6dd2a1 Fix URL regex, source_type no longer required 2014-10-20 02:36:44 -04:00
Roberto Rosario cf214801f5 Add missing view namespace 2014-10-20 02:36:19 -04:00
Roberto Rosario 8fd22d8f63 Fix URL regex, source_type no longer required 2014-10-20 02:35:44 -04:00
Roberto Rosario 59eb6202fe Initial commit to support receiving documents via email 2014-10-20 02:22:19 -04:00
Devin Ceartas d6486b8a45 Update smart_links.rst
Begin to flesh out the documentation for Smart Links with a full description and some examples.
2014-10-20 00:20:15 -04:00
Roberto Rosario 47b64ac435 Remove 'default' column from settings list view 2014-10-18 02:42:49 -04:00
Roberto Rosario 13f8bddeb2 Issue #56, Remove duplicate search feature 2014-10-18 02:37:04 -04:00
Roberto Rosario eaefa305a2 Issue #56, remove document version fields 'release_level' and 'serial' 2014-10-18 02:32:11 -04:00
Roberto Rosario afc7bffca6 Simplify folder edit 2014-10-18 02:24:01 -04:00
Roberto Rosario 72fdfc5271 Setup model based reverse accesor 2014-10-18 02:04:06 -04:00
Roberto Rosario 618a4a4ae8 Add reverse accesor from tag to document, move the search field definition for tag to the tag app 2014-10-18 02:00:16 -04:00
Roberto Rosario a9b78cb536 Simplify endpoint to add and remove documents to a folder, improve method docstrings 2014-10-18 01:52:27 -04:00
Roberto Rosario 6555eefb53 Add tag API endpoint methods docstrings 2014-10-18 01:51:47 -04:00
Roberto Rosario 9fc4d03b35 Simplify the API to attach or remove tags to a document 2014-10-18 01:27:59 -04:00
Roberto Rosario fe7675f101 Add API endpoints to add and remove documents from folders 2014-10-18 01:09:26 -04:00
Roberto Rosario 7d47b1f30d Use auto_now_add in the history app 2014-10-18 01:04:59 -04:00
Roberto Rosario c5e35ba074 Use auto_now_add in the bootstrap app model 2014-10-18 01:02:33 -04:00
Roberto Rosario 8cc8e8abc6 Simplify code, remove import 2014-10-18 01:00:39 -04:00
Roberto Rosario 09e5e4c62e Use auto_now_add for the lock_manager app 2014-10-18 00:58:37 -04:00
Roberto Rosario 0d38a1239d PEP8 cleanups 2014-10-18 00:55:55 -04:00
Roberto Rosario 0e8e10fdf0 Use auto_now for the dynamic_search app 2014-10-18 00:54:04 -04:00
Roberto Rosario 01fffaa59b Update auto_now_add and auto_now for the documents app models 2014-10-18 00:49:49 -04:00
Roberto Rosario 4211f048a0 Explicit new checkout check, remove unused import 2014-10-18 00:45:07 -04:00
Roberto Rosario 1b3233a1b0 Use auto_now_add 2014-10-18 00:42:45 -04:00
Roberto Rosario 297f860012 Use the auto_now_add option, removing the need to override the save method 2014-10-18 00:39:28 -04:00
Roberto Rosario f594b9c270 Remove the FolderDocuments model simplyfing the Folder model and related views 2014-10-18 00:37:04 -04:00
Roberto Rosario f039ae60c1 Add API endpoint to attach tags to documents 2014-10-17 22:49:51 -04:00
Roberto Rosario c2f42bbcd9 Remove reference to unused model 2014-10-17 22:49:31 -04:00
Roberto Rosario fe79931eec Remove unused import 2014-10-17 22:49:16 -04:00
Roberto Rosario 5557cc40cd Update model name 2014-10-17 22:48:58 -04:00
Roberto Rosario 75575bebcd Add TODO reminder 2014-10-17 22:48:46 -04:00
Roberto Rosario d0bb6ad46b Update release notes 2014-10-17 22:48:32 -04:00
Roberto Rosario 9a164d6bd3 Don't fail if the taggit app is not installed 2014-10-17 22:48:16 -04:00
Roberto Rosario ac5adbdc3f Remove django-taggit from the installed apps list 2014-10-17 22:47:48 -04:00
Roberto Rosario f29714c5aa Update code to remove a tag from a document 2014-10-17 19:59:40 -04:00
Roberto Rosario 12744cb7d2 Add API views to create and delete tags 2014-10-17 19:58:17 -04:00
Roberto Rosario 0263745482 Simplify Tag model, remove django-taggit from the requirements 2014-10-17 19:57:37 -04:00
Roberto Rosario e56ae335e6 Remove widget code and icon usage 2014-10-17 18:40:27 -04:00
Roberto Rosario 0ae7469d1a PEP8 cleanups 2014-10-17 18:34:50 -04:00
Roberto Rosario ae3135bec8 Remove unused static media 2014-10-17 18:34:36 -04:00
Roberto Rosario 1c2932586e Remove the checkout widget, update and fix checkouts app's urls namepsaces 2014-10-17 18:28:03 -04:00
Roberto Rosario 0e12444c05 Add missing parenthesis 2014-10-17 18:13:24 -04:00
Roberto Rosario 464f0f099b Add API endpoint to remove a tag from a document 2014-10-16 11:16:43 -04:00
Roberto Rosario c652b37f35 Merge pull request #81 from NacreData/master
Update smart_links.rst
2014-10-16 10:48:08 -04:00
Devin Ceartas 7268a6998b Update smart_links.rst
Begin to flesh out the documentation for Smart Links with a full description and some examples.
2014-10-16 14:32:42 +00:00
Roberto Rosario d1c03f0417 Bump version 2014-10-16 09:46:40 -04:00
Roberto Rosario 46b14eb22f Start using names that make more sense 2014-10-16 00:39:26 -04:00
Roberto Rosario 26e81ec053 Fix method name 2014-10-16 00:39:03 -04:00
Roberto Rosario 7db17e58bd Remove unused document indexing utils module 2014-10-16 00:36:02 -04:00
Roberto Rosario e909b5db8d Merged the unfinished document states into the development branch, reverting. 2014-10-16 00:31:58 -04:00
Roberto Rosario 2559f67e12 Remove document model first_version property, not used anywhere 2014-10-15 20:49:51 -04:00
Roberto Rosario 598e4e0c25 Issue #30, Initial commit of the document states app 2014-10-14 23:42:16 -04:00
Roberto Rosario 4e2120edfd Add missing namespace 2014-10-14 23:41:28 -04:00
Roberto Rosario 29a5efe511 Hide import of DocumentSerializer, causes migration errors 2014-10-14 23:41:00 -04:00
Roberto Rosario 7b5661ee94 Add Django Suit to the requirements 2014-10-14 20:01:12 -04:00
Roberto Rosario 1f016e6773 Issue #56, Remove obsolete OCR statistics 2014-10-14 05:06:58 -04:00
Roberto Rosario bdd1855ae5 Issue #3, Removal of the last blind |safe filtering 2014-10-14 05:03:39 -04:00
Roberto Rosario 733dfc3cf7 Encapsulate and properly report invalid requested fields during search 2014-10-14 04:45:37 -04:00
Roberto Rosario 815fb2ec01 Add placeholder serializer class to avoid errors with Django REST Swagger 2014-10-14 04:34:15 -04:00
Roberto Rosario ce5fd2e684 Add document indexing API endpoint to return the document indexes to which a document belongs 2014-10-14 04:29:44 -04:00
Roberto Rosario f80ad671e5 Fix object level filtering based on permission 2014-10-14 04:29:14 -04:00
Roberto Rosario e8891257ce No need to hide the DocumentSerializer import anymore 2014-10-14 04:14:24 -04:00
Roberto Rosario 2f3d62feac Use more consistent names 2014-10-14 04:12:35 -04:00
Roberto Rosario bc13129e3b Close issue #77, add document view permission to the search app 2014-10-14 04:00:14 -04:00
Roberto Rosario 85c789c039 Register the search app search endpoint 2014-10-14 03:58:45 -04:00
Roberto Rosario 780c55e255 Add dynamic_search app API endpoints, simplify ModelSearch class and search views 2014-10-14 03:40:46 -04:00
Roberto Rosario 24a1a35a4c Update required Django REST framework version 2014-10-14 03:36:25 -04:00
Roberto Rosario 229df00e4a Fix typo 2014-10-14 03:36:11 -04:00
Roberto Rosario 0f3c72d095 Remove remaked lines 2014-10-14 03:35:34 -04:00
Roberto Rosario 597415c224 Fix API view name 2014-10-14 03:33:55 -04:00
Roberto Rosario 8e03dd50fd Improve API documentation templating 2014-10-14 01:25:07 -04:00
Roberto Rosario 28a7c9789c Add document_indexing API endpoints 2014-10-13 19:12:16 -04:00
Roberto Rosario 32974f035d Remove unneeded accesor method 2014-10-13 18:21:21 -04:00
Roberto Rosario c09b423292 Use a modern way to define classes getters & setters 2014-10-13 17:54:11 -04:00
Roberto Rosario 8200204ddc Convert the 'document_save_to_temp_dir' utility function into a method of the Document model 2014-10-13 17:51:28 -04:00
Roberto Rosario f3de7f84f2 Remove translations for the web_theme app 2014-10-13 17:41:09 -04:00
Roberto Rosario 8e4342da9e PEP8 cleanups 2014-10-13 17:39:49 -04:00
Roberto Rosario 01a15d7f0c PEP8 cleanups 2014-10-13 17:33:23 -04:00
Roberto Rosario 8a40ade735 Fix group list view context 2014-10-13 17:27:36 -04:00
Roberto Rosario 5b25f286f3 Fix missed lower case title 2014-10-13 17:27:19 -04:00
Roberto Rosario 0df1e32cbb Close issue #69 2014-10-13 17:20:07 -04:00
Roberto Rosario 6e3b62363e Solve issue #70 2014-10-13 17:16:14 -04:00
Roberto Rosario bcc71bebd2 Issue #56, remove print preview unused code 2014-10-13 17:08:23 -04:00
Roberto Rosario e26c6c1905 Use the page_count method which can cache the result 2014-10-11 03:47:56 -04:00
Roberto Rosario d86f53f81c Use the cached page count 2014-10-11 03:31:02 -04:00
Roberto Rosario b158b48556 Cache a document versions page count 2014-10-11 03:30:41 -04:00
Roberto Rosario 95850a919a Cache a document's latest version 2014-10-11 03:21:14 -04:00
Roberto Rosario 34af0ce3f6 Remove unused web theme files 2014-10-11 02:52:40 -04:00
Roberto Rosario c0b5bbb9c2 Update upcoming version 1.1 release notes 2014-10-11 02:48:33 -04:00
Roberto Rosario a546aa4c30 Remove unused media file 2014-10-11 02:33:05 -04:00
Roberto Rosario 0116e34aec Capitalize the title 2014-10-11 02:28:59 -04:00
Roberto Rosario 6bcc74fe35 Add the debug template context processor and INTERNAL_IPS with default value to the base settings file 2014-10-11 02:27:15 -04:00
Roberto Rosario 486e7c77b0 Issue #56, Remove unused template 2014-10-11 02:23:14 -04:00
Roberto Rosario 36694cc5c5 Set the ignore_result option for the tasks that don't return values 2014-10-11 02:05:40 -04:00
Roberto Rosario feb90cb426 Improve registration view workflow now that a queued task is used 2014-10-11 01:59:38 -04:00
Roberto Rosario ce6bef79a6 Add the bing argument to enable .self access 2014-10-11 01:59:23 -04:00
Roberto Rosario 76c7324214 Pass task configuration to the decorator, not to the task itself 2014-10-11 01:54:04 -04:00
Roberto Rosario 47a3a9ff62 Issue #57, update the registration app to use Celery 2014-10-11 01:53:33 -04:00
Roberto Rosario dd1832d0c9 Add retry and rate limit support to the installation task 2014-10-11 01:43:07 -04:00
Roberto Rosario 597dfa8628 Issue #57, convert installation app to use celery 2014-10-11 01:23:39 -04:00
Roberto Rosario fde037f857 Remove APScheduler, it is no longer used by Mayan EDMS 2014-10-11 01:13:48 -04:00
Roberto Rosario a75a4edf21 Issue #39, Finish capitalizing source text messages 2014-10-10 02:29:37 -04:00
Roberto Rosario 0479c0a3cb Update documents app tests 2014-10-10 02:02:42 -04:00
Roberto Rosario 1e9d01c673 Move default ACLS application, recent document setting and document creation event from the Source model to the Document model
Now event document directly created by the save() method of the Document model will have those properties set
2014-10-10 01:55:32 -04:00
Roberto Rosario 37875df7a1 Add missing imports, PEP8 cleanups 2014-10-09 20:25:55 -04:00
Roberto Rosario 9662d14e9c Issue #40, finish remaining '/' hardcoded redirects 2014-10-09 20:05:42 -04:00
Roberto Rosario 9f0b9e3622 Remove local.py from the repository 2014-10-09 19:37:00 -04:00
Roberto Rosario 9bf1b3b95a Improve the settings method, allow for execution of mayan-edms.py without an existing local.py file 2014-10-09 19:34:51 -04:00
Roberto Rosario 0222474afa Remove django-celery requirement, update default celery config option CELERY_ALWAYS_EAGER to be True at install 2014-10-09 19:11:22 -04:00
Roberto Rosario 59177a53c8 Update required version of Django to 1.6.7 2014-10-09 18:48:04 -04:00
Roberto Rosario a3af431a63 Remove unused folder template 2014-10-09 14:26:31 -04:00
Roberto Rosario a4d1e66757 Fix filename preservation during upload 2014-10-09 14:18:59 -04:00
Roberto Rosario c2e35694d8 Unify the method to submit document for OCR, fix OCR error document re-queue view 2014-10-09 14:08:48 -04:00
Roberto Rosario 8bac1525be PEP8 cleanups 2014-10-08 19:39:16 -04:00
Roberto Rosario 50e143e754 Fix indentation 2014-10-08 18:15:19 -04:00
Roberto Rosario dd0bb485d6 Issue #39 updates 2014-10-08 18:15:06 -04:00
Roberto Rosario 97dcf507ab PEP8 cleanups 2014-10-08 18:14:05 -04:00
Roberto Rosario 35f9adbefc Sort URL entries 2014-10-08 17:39:54 -04:00
Roberto Rosario 451abe4ed9 Update language helper script 2014-10-08 17:33:36 -04:00
Roberto Rosario dd390531e3 Remove the scheduler app from the Transifex configuration file 2014-10-08 17:33:16 -04:00
Roberto Rosario 379a34dabe Translation file synchronization 2014-10-08 17:31:51 -04:00
Roberto Rosario bdb3cdb91b Sort the installed apps by name 2014-10-08 17:17:09 -04:00
Roberto Rosario ce92f58fed Add mailer app to add support to send document or document links via email 2014-10-08 16:28:04 -04:00
Roberto Rosario b9cdcd80f4 Issue #56, Remove remaining SIDEBAR_SEARCH and web_main_settings code 2014-10-08 14:06:13 -04:00
Roberto Rosario 0cb9c2aa21 Issue #56, Remove the MAIN_ENABLE_SCROLL_JS and associated code, remove remaining web theme selection code 2014-10-08 14:00:24 -04:00
Roberto Rosario b8f3fcf383 Issue #56, Remove the MAIN_DISABLE_HOME configuration settings
Upon login users now go directly to the documents tab
2014-10-08 13:49:13 -04:00
Roberto Rosario c4c93a3ba8 Add missing url namespace 2014-10-08 13:32:32 -04:00
Roberto Rosario e1babac425 Issue #56, Remove English names only capitalization feature 2014-10-08 10:26:47 -04:00
Roberto Rosario 908f2eef84 Fix quotation style 2014-10-08 10:24:04 -04:00
Roberto Rosario 3990900433 Issue #39, Fix common model messages capitalization 2014-10-08 10:23:08 -04:00
Roberto Rosario bd63d19899 Fix quoting style 2014-10-08 10:21:51 -04:00
Roberto Rosario d253c8137d Issue #39, Fix capitalization of common app links 2014-10-08 10:16:06 -04:00
Roberto Rosario ad7ae3dcfa Issue #56, Remove sidebar help templates and navigation function to register them 2014-10-08 10:11:04 -04:00
Roberto Rosario 5a237ce258 Cleanup imports 2014-10-08 09:59:26 -04:00
Roberto Rosario e5d8f4a526 Cleanups 2014-10-08 09:42:13 -04:00
Roberto Rosario db2980b36a Remove unnecessary direct index update at upload, signal handlers now do that 2014-10-08 09:37:51 -04:00
Roberto Rosario 9cbbd07d78 PEP8 cleanups 2014-10-08 09:37:19 -04:00
Roberto Rosario 2a7bd74149 Add missing view namespace 2014-10-08 09:30:34 -04:00
Roberto Rosario b0d6ccbe89 Add API endpoint to create a document based off a document source 2014-10-08 01:51:15 -04:00
Roberto Rosario 4b6c826574 Increase timeouts for the image conversion tasks 2014-10-07 19:38:14 -04:00
Roberto Rosario dd35196492 Improve API view to retreive documents of a type 2014-10-07 14:52:11 -04:00
Roberto Rosario e28f5c9028 Fix missing redirect namespace 2014-10-07 14:51:49 -04:00
Roberto Rosario 78ecee7266 Merge branch 'gwalborn-master' into test
Conflicts:
	mayan/apps/metadata/forms.py
2014-10-07 13:47:02 -04:00
Roberto Rosario 6896b29b89 Merge branch 'master' of https://github.com/gwalborn/mayan-edms into gwalborn-master 2014-10-07 13:44:36 -04:00
Roberto Rosario a85b3b1526 Add metadata app API endpoints 2014-10-07 08:57:37 -04:00
Roberto Rosario eb48909399 Don't include the documents contained in the tags or folders results, instead provide a separate, paginates tag and folder endpoint 2014-10-06 03:43:51 -04:00
Roberto Rosario a4667bdd61 Fix message 2014-10-03 23:55:47 -04:00
Roberto Rosario 92b35b57ae Don't pass an user object to the task, pass an user id instead 2014-10-03 23:54:14 -04:00
Roberto Rosario a754267ca0 Improvements to the queued upload code to support large files 2014-10-03 17:12:56 -04:00
Roberto Rosario accf323157 Issues #57, #49, Initial changes to support queued uploads 2014-10-03 16:35:55 -04:00
Roberto Rosario 79e7bdc860 Add reminders 2014-10-03 16:35:36 -04:00
Roberto Rosario 831b63ba77 Convert the document image view to use queued conversion 2014-10-03 16:34:54 -04:00
Roberto Rosario 3b1937bb17 Add reminder 2014-10-03 16:34:36 -04:00
Roberto Rosario 33baa434e0 Add a descriptive literal 2014-10-03 16:34:17 -04:00
Roberto Rosario e4e6c2f5fb Move document image queueing up in process to avoid queueing serialization overhead 2014-10-03 14:58:55 -04:00
Roberto Rosario 0a20d46752 Remove unused code 2014-10-03 14:37:51 -04:00
Roberto Rosario 3fdcb126a5 Fix capitalization 2014-10-03 14:37:37 -04:00
Roberto Rosario 060c7a4175 Improve sources app model sub classes and inheritance handling 2014-10-03 14:37:01 -04:00
Roberto Rosario 3b03af9295 Merge branch 'feature/lts' into merge_test
Conflicts:
	mayan/apps/documents/api_views.py
	mayan/apps/documents/models.py
	mayan/apps/folders/__init__.py
	mayan/apps/folders/urls.py
	mayan/apps/folders/views.py
	mayan/apps/tags/urls.py
	mayan/apps/tags/views.py
	mayan/settings/base.py
2014-10-03 11:41:41 -04:00
Roberto Rosario b20314cd43 Add document folder list API endpoint 2014-10-03 09:28:59 -04:00
Roberto Rosario 6646f28433 Add document folder list API endpoint 2014-10-03 09:28:31 -04:00
Roberto Rosario f26f202c4d Use different queues for the background tasks 2014-10-03 03:22:35 -04:00
Roberto Rosario b3ec836acf Update Document model to use background image conversion task 2014-10-03 02:41:29 -04:00
Roberto Rosario 2833b6a4ec Add background conversion taks to the converter app 2014-10-03 02:41:10 -04:00
Roberto Rosario 9efe1febe7 Merge remote-tracking branch 'origin/development' into development 2014-10-03 02:04:47 -04:00
Roberto Rosario b73ad4ad0c Issue #57, Remove the scheduler and job_processor apps 2014-10-03 02:04:10 -04:00
Roberto Rosario da2e8cdaac Remove the scheduler and job_processor apps 2014-10-03 02:01:27 -04:00
Roberto Rosario af6ac7a170 Update the checkouts app to use Celery beat 2014-10-03 01:56:03 -04:00
Roberto Rosario 80a65c69b7 Update Celery process to use the production settings by default 2014-10-03 01:55:33 -04:00
Roberto Rosario 3cfcb82798 Have Celery use UTC timezone 2014-10-03 01:55:10 -04:00
Roberto Rosario a613c65fde Update the OCR app to use Celery, remove OCR config options OCR_REPLICATION_DELAY, OCR_NODE_CONCURRENT_EXECUTION, OCR_QUEUE_PROCESSING_INTERVAL 2014-10-03 01:19:59 -04:00
Roberto Rosario 7bec19848d Fix absolute_url for document pages 2014-10-03 01:16:06 -04:00
Roberto Rosario 3777286061 Merge branch 'feature/remove_source_icons' into development 2014-10-02 17:54:16 -04:00
Roberto Rosario 93a28fab2f Issue #56, Remove the MAIN_DISABLE_ICONS setting configuration option 2014-10-02 17:54:05 -04:00
Roberto Rosario 3d033c687d Issue #56, Remove specialized Sentry link 2014-10-02 17:45:41 -04:00
Roberto Rosario 41d2f2c5c6 Remove insertion of the web_theme value into the templates 2014-10-02 17:44:10 -04:00
Roberto Rosario 6e40e7e5a5 Issue #56, Remove the MAIN_THEME configuration option 2014-10-02 17:42:44 -04:00
Roberto Rosario 1cd0e05f1f Issue #56, Remove the MAIN_VERBOSE_LOGIN configuration option 2014-10-02 17:37:40 -04:00
Roberto Rosario 9920f75b58 Issue #56, Remove per source icon support 2014-10-02 17:34:23 -04:00
Roberto Rosario c664dd7113 Issue #56, Start addressing issue #40 (document, permissions, sources, tags and user_management apps) 2014-10-02 17:33:56 -04:00
Roberto Rosario 6b5d082b78 Start addressing issue #40 (document, permissions, sources, tags and user_management apps) 2014-10-02 02:25:28 -04:00
Roberto Rosario 691bbdc18e Remove the web_theme app from the transifex configuration file 2014-10-02 02:06:51 -04:00
Roberto Rosario 74cf4c413f Import cleanups, reorganization, PEP8 cleanups 2014-10-02 02:01:08 -04:00
Roberto Rosario 1c50bca38a More capitalizations, issue #39 2014-10-02 01:23:10 -04:00
Roberto Rosario 06dd1b3368 Issue #39, Explicitly captalize string now that they are not capitalized blindly by the templates 2014-10-02 01:17:27 -04:00
Roberto Rosario 488efbe43f Use same quotation style 2014-10-02 01:15:47 -04:00
Roberto Rosario 2c12c61785 Issue #56, remove scheduled tasks list view 2014-10-01 22:53:48 -04:00
Roberto Rosario aaeb2a5bdf Add __init__.py 2014-10-01 22:49:52 -04:00
Roberto Rosario 9012a1101a Merge branch 'feature/remove_non_essentials' into development
Conflicts:
	mayan/apps/converter/__init__.py
	mayan/apps/converter/api.py
	mayan/apps/converter/views.py
	mayan/urls.py
2014-10-01 22:22:06 -04:00
Roberto Rosario 7f62831c37 Issue #56, Remove the "Supported File Format" list view, messages and related code 2014-10-01 22:19:08 -04:00
Roberto Rosario 1d5851ac32 Add the zh-cn locale to the process languages script 2014-10-01 05:42:20 -04:00
Roberto Rosario 8d31a0f155 Add the zh-cn locale to the process languages script 2014-10-01 05:32:28 -04:00
Roberto Rosario 437c74a024 Merge branch 'master' into development 2014-10-01 05:19:51 -04:00
Roberto Rosario 5a7e09c876 Reset the local.py settings file 2014-10-01 05:17:41 -04:00
Roberto Rosario d03801d444 Merge remote-tracking branch 'origin/master' 2014-10-01 05:17:08 -04:00
Roberto Rosario 32b3ae7267 Merge branch 'feature/optimize_thumbnails' into development
Conflicts:
	mayan/apps/main/templates/base.html
2014-10-01 05:16:28 -04:00
Roberto Rosario 7bc2da97ef Change the data attribute used to avoid javascript mime warnings, remove duplicated $(this) lookup 2014-10-01 05:10:31 -04:00
Roberto Rosario 3eab590b49 Remove unused variables, remove unused parent lookup, remove unused logging, remove lazy load class after loading 2014-10-01 05:00:12 -04:00
Roberto Rosario 470eb299b6 Issue #49, add scrollstop event support and use it to optimize document page image loading 2014-10-01 04:56:42 -04:00
Roberto Rosario c5d7e4075d Merge pull request #54 from fordguo/master
add the zh_CN support
2014-10-01 03:11:28 -04:00
Roberto Rosario 7090fb8859 Merge branch 'hotfix/fix_anonymous_search' into development 2014-09-30 17:29:05 -04:00
Roberto Rosario f1cbc44db9 Issue #51, Don't try to display the recent searches template for anonymous users. 2014-09-30 17:28:02 -04:00
Roberto Rosario 5f6438ac55 Merge branch 'feature/polish_PR_52' into development 2014-09-30 15:48:42 -04:00
Roberto Rosario 4968051b6d Don't silence OCR errors even if Tesseract is optional otherwise the user won't know happened.
Catch the OSError generic exception and return a friendlier "Tesseract not found" exception
2014-09-30 15:41:00 -04:00
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
Gary Walborn 9cd3753746 Adds ability to validate and normalize metadata.
I felt that it would be very handy to be able to validate
user-supplied metadata.  It occurred to me that if a metadata
type had an explicit list of options, it would need no validation.
Therefore, the "lookup" field of a metadata type could be overloaded
to provide EITHER a list of items that could be selected by the user
OR a function to provide data validation.  The system, therefore,
would need to be able to discriminate between a lookup function
and a validation function.

    To this end, I created a global variable
('METADATA_AVAILABLE_VALIDATORS') to contain a dictionary of
available validation functions.  If the name specified in
'metadata_type.lookup' is present in METADATA_AVAILABLE_VALIDATORS,
the system treats the function as a validator.  Otherwise, the
function is treated as a generator of an iterable value providing
the choices for the user.

  Django contains a pre-existing mechanism to support field
validation.  A validator has a single argument (the data to
be validated).  If the argument to the validator is valid,
the validator simply returns.  If there is a problem with
the data, the validator raises a 'ValidationError' exception
and passes an error message which is then displayed by Django
as a mouseover tip in the browser. Validators to be used
with Mayan-EDMS may follow this convention (i.e., take a
single argument and raise an exception if the validation
fails).  The validators in Mayan-EDMS, however, may actually
do more!

  If a validator function RETURNS a value, that value is used
in place of the original data.  This allows the validator to
make data conform to a valid value or to "normalize" a value
before it is stored in the database.  This allows for more
uniform metadata and improves the ability to index on the
metadata values.  Lets take at a look at an example of this
functionality.

  Assume that a document requires a date (perhaps, an
"original posting date").  We can have a 'metadata_type" of
"original_posting_date", and we can create a validator with
the name "is_valid_posting_date".  The validator function
(which is placed in a module read by the settings routine),
contains the function:

def is_valid_posting_date(value):
   from dateutil import parser
   import datetime
   from django.core.exceptions import ValidationError

   try:
      dt = parser.parse(value)
   except ValueError:
      raise ValidationError('Invalid date')
   return dt.date().isoformat()

This is placed in a dictionary in the user's
settings file, thus:

import my_settings
METADATA_AVAILABLE_VALIDATORS = {
  'is_valid_posting_date':my_settings.is_valid_posting_date }

The user creates a metadata type called "original_posting_date"
with a label of "Original Posting Date" and a 'lookup' value
of "is_valid_posting_date".  When the metadata form is filled
in and submitted, the date value is validated by our validator.
Since the python 'parser' function accepts many kinds of input,
the user can enter (for example) '9/1/2014', '2014/10/2',
or even 'Feb 4, 2001'.  If the user enters something that
does not (as far as python is concerned) represent a valid date,
the system will raise a "ValidationError" and the form will
be re-displayed with an appropriate error message.  If, however,
the data is valid, the valid of the field (and, hence, stored
in the database) will be "normalized" to ISO format YYYY-MM-DD.
This allows consistent lookup and indexing regardless of the
users particular idiosyncracies.
2014-09-22 12:30:15 -04: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
Roberto Rosario 3a4d824a43 Capitalize messages of documents app modules __init__ and links 2014-09-11 13:05:13 -04:00
Roberto Rosario e207a80ff3 Capitalize ACLS app messages 2014-09-11 13:00:17 -04:00
Roberto Rosario 6e293dd15c Remove remarked code 2014-09-11 13:00:06 -04:00
Roberto Rosario b761037d99 Move all settings files from <app>/conf/settings.py to <app>/settings.py 2014-09-11 05:02:40 -04:00
Roberto Rosario c8d1b7bed7 Capitalize documents app models traslatable strings as per issue #12 2014-09-09 04:05:21 -04:00
Roberto Rosario 2e02c58b6f Add missing namespace in url tag 2014-09-09 03:59:20 -04:00
Roberto Rosario d901a80f63 Change composed empty list message with a simple generic message, issue #12 @mbehrle 2014-09-09 03:58:03 -04:00
Roberto Rosario 25b2563999 Add missing view namespace 2014-09-09 03:57:49 -04:00
Roberto Rosario f5bef4b52d Add app url namespacing to the common and main apps, fix missing namespace in the registration app, remove explict reverse_lazy for the LOGIN_URL and LOGIN_REDIRECT_URL these are expected to be views or URLs (failover) 2014-09-09 03:51:23 -04:00
Roberto Rosario 7dfacc624c Add namespace to tests views 2014-09-07 22:20:33 -04:00
Roberto Rosario aaf8855403 Add development branch to travis config file 2014-09-06 17:30:10 -04:00
Roberto Rosario 1050fc71af Fix tag properties reference 2014-09-06 17:29:15 -04:00
Roberto Rosario 77acb809b9 Update view references to include namespaces 2014-09-06 17:28:40 -04:00
Roberto Rosario 5559e55a65 Update converter url to include namespaces, move links to a separate module 2014-09-06 17:27:52 -04:00
Roberto Rosario a32c36d727 Fix tag properties reference 2014-09-06 17:27:33 -04:00
Roberto Rosario 76b2cdefcc Move app url namespaces updates 2014-09-06 16:30:12 -04:00
Roberto Rosario 5d5d9e45b8 Remove MAIN_SIDE_BAR_SEARCH from the documentation, update release notes for 1.1 2014-09-06 15:44:22 -04:00
Roberto Rosario 214c1e5430 Remove the MAIN_SIDE_BAR_SEARCH configuration option, move search app menu links to the search app 2014-09-06 15:43:48 -04:00
Roberto Rosario e8edaf4219 Begin merge of the new style navigation systems 2014-09-05 15:20:20 -04:00
Roberto Rosario 805bf58d59 Fix outdated references to non namespaced app views 2014-09-05 15:19:39 -04:00
Roberto Rosario febfb1d74c Merge branch 'master' into development 2014-09-05 14:40:39 -04:00
Roberto Rosario 5caf616707 German translation files update 2014-09-05 14:40:15 -04:00
Roberto Rosario 274f346c42 Update ocurrences of ./manage.py to mayan-edms.py 2014-09-05 14:36:57 -04:00
Roberto Rosario d9de69ea3d Add placeholder release notes for version 1.1 2014-09-05 14:30:51 -04:00
Roberto Rosario d9ce1bd196 Update references to ./manage.py to mayan-edms.py 2014-09-05 14:30:33 -04:00
Roberto Rosario 7c4d4a5485 Add note about Python/Django familiarity 2014-09-05 14:29:33 -04:00
Roberto Rosario 77f7245766 Fix typo 2014-08-27 01:34:08 -04:00
Roberto Rosario db10d89117 Add placeholder local.py 2014-08-27 01:32:32 -04:00
Roberto Rosario d5cc5d750c Add overview.gif 2014-08-27 00:54:56 -04:00
Roberto Rosario 7a28fa12c2 Bump version to 1.0 2014-08-26 23:00:35 -04:00
Roberto Rosario 65ecb28c76 Add functional document views test 2014-08-26 22:52:32 -04:00
Roberto Rosario d7aef36442 Add url namespacing to the checkouts, linking, metadata, sources and tags apps 2014-08-26 04:06:09 -04:00
Roberto Rosario c4de4b3f30 Add url namespaces for the documents and folders apps 2014-08-26 03:44:07 -04:00
Roberto Rosario a324ec78d6 Remove signaler app 2014-08-26 03:25:04 -04:00
Roberto Rosario b42e9badf6 Move common templates to apps/main/templates/main/* 2014-08-26 02:44:49 -04:00
Roberto Rosario 7376263ffa Get rid of the web_theme app 2014-08-26 02:21:12 -04:00
Roberto Rosario d4bda2b313 Merge branch 'mbehrle-fix/v1.0.0' into development 2014-08-26 01:37:39 -04:00
Roberto Rosario 9f342909c5 Merge branch 'fix/v1.0.0' of https://github.com/mbehrle/mayan-edms into mbehrle-fix/v1.0.0 2014-08-26 01:37:14 -04:00
Roberto Rosario adf4291ea4 Dismiss successful messages after 2.5 seconds 2014-08-26 01:21:37 -04:00
Roberto Rosario bb2885f52e Fix issue #25 2014-08-26 00:27:09 -04:00
Roberto Rosario 77fdefcdf5 Merge remote-tracking branch 'origin/master' 2014-08-18 01:32:04 -04:00
Roberto Rosario 3caa970ea4 Script to workaround but 99 https://bitbucket.org/pypa/wheel/issue/99/cannot-exclude-directory 2014-08-18 01:31:35 -04:00
Roberto Rosario 397b083381 Add contrib files 2014-08-18 01:29:50 -04:00
Roberto Rosario e80209117a Add production settings file and point wsgi by default to it 2014-08-18 01:29:23 -04:00
Roberto Rosario 10a456c847 Remove mayan/settings/local.py and ignore it from git, this is a local install file 2014-08-18 01:28:28 -04:00
Roberto Rosario 8ea069e955 Merge pull request #29 from NacreData/master
minor grammer edits in documentation
2014-08-14 12:33:27 -04:00
Devin Ceartas d0e4e9d3aa minor grammer and typo edits 2014-08-14 16:31:27 +00:00
Devin Ceartas 2187fdfc45 minor grammer edits 2014-08-14 16:26:43 +00:00
Devin Ceartas 2723ea21ce minor grammer edits 2014-08-14 16:17:04 +00:00
Roberto Rosario c3e449c740 Merge pull request #28 from NacreData/master
Adjust .gitignore for new path to /static/, as per commit 47899e29c3886b...
2014-08-12 18:28:59 -04:00
Devin M. Ceartas f1f085f630 Adjust .gitignore for new path to /static/, as per commit 47899e29c3 2014-08-12 22:17:32 +00:00
Roberto Rosario 5ebb550eee Include fonts used by the default theme 2014-08-05 02:50:29 -04:00
Roberto Rosario 47899e29c3 Store every user modifiable data in the /media dir include collected static files 2014-08-05 02:30:23 -04:00
Roberto Rosario 2825bfc97b Merge remote-tracking branch 'origin/master' 2014-07-31 21:39:04 -04:00
Roberto Rosario 718d0f8d59 Include the localization files (.po, .mo) when creating the package 2014-07-31 20:28:06 -04:00
Roberto Rosario 01a0d69a5f Generate new source language files 2014-07-31 20:27:52 -04:00
Roberto Rosario db7178103f Merge pull request #26 from miek770/patch-1
Update bulk_upload.py
2014-07-30 18:57:52 -04:00
Michel 8268804499 Update bulk_upload.py
compressed_files relative import didn't point to the right location.
2014-07-30 18:38:29 -04:00
Roberto Rosario deaf13d2a3 Remove unused imports 2014-07-28 03:25:31 -04:00
Roberto Rosario b3082b5743 Use Django's method to generate the SECRET_KEY setting 2014-07-28 03:23:51 -04:00
Roberto Rosario 4172246358 Add username and email login tests 2014-07-28 03:18:45 -04:00
Roberto Rosario dad8f0fa9d Move CSS markup from form to the template 2014-07-28 03:18:28 -04:00
Roberto Rosario 0d3ce55f39 Don't inherit from Django's default AuthenticationForm
It is for username/password only
2014-07-28 03:17:26 -04:00
Roberto Rosario a3bd6d3f64 Update authentication backend as per Django 1.6 updates 2014-07-28 03:16:52 -04:00
Roberto Rosario b21433dcb2 Show the email of the auto generated admin 2014-07-28 03:16:17 -04:00
Roberto Rosario b98dbd83da Synchronize language translations 2014-07-28 01:22:21 -04:00
Roberto Rosario 6c08d0396d Merge remote-tracking branch 'origin/master' 2014-07-25 21:32:55 -04:00
Roberto Rosario d95a2931d2 Quick fix for issue #24 2014-07-25 21:31:34 -04:00
Roberto Rosario 2c33e2e029 Old remaked and unused code removal 2014-07-25 21:27:30 -04:00
Roberto Rosario 39e596ba3d Don't include anythin in mayan/media 2014-07-24 13:44:08 -04:00
Roberto Rosario 1f98731b78 Don't waste time scanning the 'mayan/media' directory
Is not relevant for packaging and can cause slow execution
if ran from an existing installation
2014-07-24 13:37:18 -04:00
Roberto Rosario 486f59fbfb Update version in instructions 2014-07-24 13:26:25 -04:00
Roberto Rosario 41f34f9c0b Bump version to 1.0 rc3 2014-07-24 13:25:43 -04:00
Roberto Rosario 502ec89d58 Add functional document API test 2014-07-24 12:33:52 -04:00
Roberto Rosario d2ae771d6a Make sure the reponse has a Content-Type
Before trying to make sure it is an HTML response
or else it can causes errors in DELETE API responses
2014-07-24 12:31:07 -04:00
Roberto Rosario a712f2e786 Exclude the API urls from forced session based authentication
We now have token based authentication support too
2014-07-24 11:38:20 -04:00
Roberto Rosario 3c4ddecf80 Enable token authentication for the API, add API token request view 2014-07-24 01:03:51 -04:00
Roberto Rosario 8807c52ac3 Merge remote-tracking branch 'origin/master' 2014-07-24 00:38:26 -04:00
Roberto Rosario 133eb2d094 Allow new document version to be created without having to specify the document 2014-07-24 00:37:52 -04:00
Roberto Rosario af445e9f3e Merge pull request #21 from audax/bugfix/sh-import
Fix import issues with the sh library
2014-07-23 21:41:55 -04:00
Jens Kadenbach 2e68dc5670 Added Jens Kadenbach to contributors 2014-07-23 22:49:49 +00:00
Jens Kadenbach d6d10506e1 Remove magic import from sh module
Since the magic import "from sh import pip"
is harder to debug and has problems on some
systems, it is now substituted by a conventional
pip-command object creation.
2014-07-23 22:47:09 +00:00
Roberto Rosario 83924f3f2e Update tag app API views to use new per HTTP method permission checking 2014-07-22 03:35:27 -04:00
Roberto Rosario 9d09d3c763 Update documents app API views to use the new per HTTP method permissions checking 2014-07-22 03:33:42 -04:00
Roberto Rosario 56d346a784 Add support for per HTTP method permissions checking 2014-07-22 03:32:30 -04:00
Roberto Rosario 5d0b477e8f Allow documents with no versions to exist, previously these were considered an anomaly and were unhandled 2014-07-22 02:34:12 -04:00
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 7321b12c7d Update remaining exception syntaxes 2014-07-20 22:44:12 -04:00
Roberto Rosario e9717d9bdd Add reminder to add functionality 2014-07-20 17:25:15 -04:00
Roberto Rosario 66fd17a3fb Remove the translatable text manipulation, add remarks 2014-07-20 16:55:30 -04:00
Roberto Rosario 6b169b4526 Modernize exception handling, and improves Python 3.x compatibility 2014-07-20 16:42:30 -04:00
Mathias Behrle 5d2c2e2bc9 Fix of small typo. 2014-07-20 02:42:53 +02:00
Roberto Rosario 0e77cc835c Add License badge 2014-07-19 00:47:23 -04:00
Roberto Rosario f187991e9e Create the singletons first thing after receiving the post_migrate signal 2014-07-19 00:30:29 -04:00
Roberto Rosario f719cd7505 Use a simple lazy class to avoid a database read during acls.forms import 2014-07-19 00:20:18 -04:00
Roberto Rosario a263a4640a Change the way the autoadmin singleton is cleared up after the admin password change 2014-07-19 00:19:45 -04:00
Roberto Rosario 5c5885573b Create the AnonymousUserSingle instance after the post_migrate signal 2014-07-19 00:16:39 -04:00
Roberto Rosario 54f5d6cd5a Create the CreatorSingleton instance after the post_migrate signal 2014-07-19 00:15:11 -04:00
Roberto Rosario 43e95e26bd Add analytics tracker 2014-07-18 22:54:43 -04:00
Roberto Rosario 4f2a47f767 Update coveragerc 2014-07-18 20:01:54 -04:00
Roberto Rosario a078fd1dbc Add initial migration for the ocr app 2014-07-18 20:00:59 -04:00
Roberto Rosario 1db614a346 Don't create stuff on access, registration instance is now only created at post_migrate signal 2014-07-18 19:59:45 -04:00
Roberto Rosario 144db6364c The post_migrate signal is different than the post_syncdb so adjust accordingly 2014-07-18 19:59:06 -04:00
Roberto Rosario 9b14096982 Add the initialsetup command as a scheduler no run command 2014-07-18 19:57:45 -04:00
Roberto Rosario 1a09c4c987 Make absolutely sure the scheduler doesn't run, remove convoluted code 2014-07-18 19:56:50 -04:00
Roberto Rosario 50c154d1f7 Don't print info use logging instead 2014-07-18 18:47:55 -04:00
Roberto Rosario 7cb7da42d8 Use explicit unicode 2014-07-18 18:47:38 -04:00
Roberto Rosario 2b490a08d4 Remove common app link importing 2014-07-18 18:44:51 -04:00
Roberto Rosario de07f6f31c Move common app links to a separate module 2014-07-18 18:44:28 -04:00
Roberto Rosario 7d0a562a76 Move registration app links to a separate module 2014-07-18 18:38:49 -04:00
Roberto Rosario f074f5431c Create RegistrationSingleton only after db exists 2014-07-18 18:36:12 -04:00
Roberto Rosario 5f61dac179 Simplify signal handler 2014-07-18 18:35:37 -04:00
Roberto Rosario 206b5c1a56 Try to create the model only after the post_migrate signal 2014-07-18 18:35:10 -04:00
Roberto Rosario ba71c80b32 Don't use the post_syncdb signal use the post_migrate signal instead 2014-07-18 13:32:07 -04:00
Roberto Rosario fdf33c2296 Only create the object during the signal handling 2014-07-18 13:31:41 -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 12684eca52 Remove mention of ./manage.py, might confuse new users not familiar with Django 2014-07-17 17:26:27 -04:00
Roberto Rosario a0e87df997 Bump version 2014-07-17 01:24:20 -04:00
Roberto Rosario 4c95e2665c Merge remote-tracking branch 'origin/master' 2014-07-17 00:30:17 -04:00
Roberto Rosario 8a22863c96 Add initial .coveragerc file 2014-07-17 00:30:08 -04:00
Roberto Rosario 7120ffe72d Move intial setup code to a management command called initialsetup, update installation instructions 2014-07-17 00:17:14 -04:00
Roberto Rosario 5cf8360534 Point the wsgi to the same autogenerated settings file 2014-07-16 18:39:01 -04:00
Roberto Rosario 923176217d Fix LICENSE file path for the license view 2014-07-16 13:53:41 -04:00
Roberto Rosario 53f4619a9c Check for the correct exception 2014-07-16 13:47:32 -04:00
Roberto Rosario 9d49602dda Merge pull request #20 from mbehrle/feature/ocr_cleanup
Feature/ocr cleanup
2014-07-15 23:05:22 -04:00
Mathias Behrle a1868d6dd9 Some minor doc fixes. 2014-07-14 17:40:40 +02:00
Mathias Behrle f67176aa9f Removing unused variable from language correction files. 2014-07-14 14:57:03 +02:00
Mathias Behrle 8bae464841 Re-adding migrated french language correction file, 2014-07-14 14:49:56 +02:00
Mathias Behrle 79f03d9907 Removing double variable definition. 2014-07-14 14:48:12 +02:00
Mathias Behrle e90a60efe3 Adding missing argument to german language correction file. 2014-07-14 14:21:21 +02:00
Roberto Rosario 11e24d8401 Update example settings path 2014-07-13 16:22:26 -04:00
Roberto Rosario 820735a03a Merge pull request #17 from NacreData/patch-1
Update installation.rst
2014-07-13 16:09:00 -04:00
Devin Ceartas baef81d25b Update installation.rst 2014-07-13 19:51:46 +00:00
Roberto Rosario e48edd46c4 Update test for python 2.6 compatibility 2014-07-13 14:55:57 -04:00
Roberto Rosario b0a33ada2b Update OCR test to test for different language settings, issue #16 2014-07-13 14:45:05 -04:00
Mathias Behrle d4ab7f9de9 Fixing some titles to start with uppercase. 2014-07-13 19:27:46 +02:00
Roberto Rosario 8fca5e2789 Remove the French OCR cleanup backend for now, a patchset seems to be missing. 2014-07-13 11:34:08 -04:00
Roberto Rosario 1f3fed2182 Update the German OCR cleanup backend to be a class not a function 2014-07-13 11:32:41 -04:00
Roberto Rosario 7f177c430f Change badges style 2014-07-12 16:59:34 -04:00
Roberto Rosario e9107be889 Don't build universal wheel package 2014-07-12 16:59:14 -04:00
Roberto Rosario 86d221274d Update HISTORY file 2014-07-12 03:57:07 -04:00
Roberto Rosario 8c07171345 Fix logo path 2014-07-12 03:45:31 -04:00
Roberto Rosario ad8e1034e8 Fix typo 2014-07-12 03:39:16 -04:00
Roberto Rosario b352a0eafb Update logo 2014-07-12 03:37:56 -04:00
Roberto Rosario 86ed128386 Update release notes and development topic 2014-07-12 03:32:45 -04:00
Roberto Rosario fb45a6c3c9 Update documentation 2014-07-12 03:03:26 -04:00
Roberto Rosario 810cbd710e Merge branch 'cccs-web-master' 2014-07-11 18:37:23 -04:00
Roberto Rosario cac87d1d37 Merge branch 'master' of https://github.com/cccs-web/mayan-edms into cccs-web-master
Conflicts:
	docs/credits/contributors.rst
2014-07-11 18:35:45 -04:00
Paul Whipp 9370d5bd66 Update contributors.rst
Added Paul Whipp
2014-07-12 08:17:06 +10:00
Roberto Rosario cdcfc39f3c Remove the donations text 2014-07-11 11:29:30 -04:00
Roberto Rosario 48bb4a94c7 Fix markup and typo 2014-07-11 04:11:44 -04:00
Roberto Rosario ee52c2cfc0 Try a different formatter 2014-07-11 04:09:13 -04:00
Roberto Rosario a9e0bde6ac Add PyPI installation instructions 2014-07-11 04:03:59 -04:00
Roberto Rosario 7355c17880 Fix markup error 2014-07-11 03:56:50 -04:00
Roberto Rosario f871fe33d7 Don't include the single quote ' as a valid secret key character 2014-07-11 03:50:59 -04:00
Roberto Rosario 8720dc814d Add PyPI badges 2014-07-11 03:45:42 -04:00
Roberto Rosario 2c845ca72e Generate a new secret key and save it to local.py settings after installation, use this local.py file by default 2014-07-11 03:34:28 -04:00
Roberto Rosario 0d55f2e0e2 Don't include local setting files, include README to create an empty media directory 2014-07-11 03:33:37 -04:00
Roberto Rosario f12e9e4aef Include jpg and js files in the installation 2014-07-11 02:54:26 -04:00
Roberto Rosario f3631ee326 Downgrade version 2014-07-11 02:54:07 -04:00
Roberto Rosario 17b072df41 Update deprecated methods 2014-07-11 02:53:36 -04:00
Roberto Rosario 9a05278957 Do debug static media serving as per Django 1.6 docs, don't try to import DDT if it is not installed 2014-07-11 02:48:33 -04:00
Roberto Rosario 548ccda347 Add the Django debug toolbar middleware at the beginning as per the docs 2014-07-11 02:47:56 -04:00
Roberto Rosario 657b9106c2 Use timezone aware datetime in migration 2014-07-11 01:56:54 -04:00
Roberto Rosario e13637d766 Use timezone aware datetime in migration 2014-07-11 01:53:32 -04:00
Roberto Rosario 9403f06301 Removed unused imports 2014-07-11 01:53:08 -04:00
Roberto Rosario e7c3547e69 Cleanups 2014-07-11 01:43:29 -04:00
Roberto Rosario b6d9717223 Remove last usage of Django's simplejson library 2014-07-11 01:37:57 -04:00
Roberto Rosario 2b2cd80a18 Fix and improve the existing tests 2014-07-11 01:35:00 -04:00
Roberto Rosario 2a46d6f601 Fix and improve the document_signatures test 2014-07-11 01:31:59 -04:00
Roberto Rosario e2ae80b43d Add the old secret key back fixes test runners 2014-07-11 01:16:24 -04:00
Roberto Rosario df55385d07 Import base.py by default 2014-07-11 01:15:51 -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 3f9adb0922 Separate development settings file into two, with and without Django Debug Toolbar 2014-07-11 00:39:58 -04:00
Roberto Rosario 42f8879efa Merge branch 'cccs-web-master' 2014-07-11 00:33:12 -04:00
Roberto Rosario 972aa02976 Merge branch 'master' of https://github.com/cccs-web/mayan-edms into cccs-web-master
Conflicts:
	mayan/settings/includes/common.py
2014-07-11 00:32:50 -04:00
Roberto Rosario c35c040513 Merge remote-tracking branch 'origin/master' 2014-07-10 21:07:37 -04:00
Roberto Rosario 8da0ac2bef Update package name 2014-07-10 20:57:46 -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 8d119caa81 Move instructions from section 2014-07-10 04:48:01 -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 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 aa9a5bd206 Remove RTD theme code 2014-07-10 04:22:10 -04:00
Roberto Rosario 568fe87074 Documentation updates 2014-07-10 04:19:59 -04:00
pwhipp a05424c799 Added gunicorn to production requirements 2014-07-10 18:01:42 +10:00
pwhipp ec6466dce2 removed redundant import 2014-07-10 17:43:38 +10:00
pwhipp af7effb9cb Added deployment information for production site 2014-07-10 17:42:07 +10:00
pwhipp a011098c2c Added .gitignore so that secrets.py never gets added into the repo by accident. 2014-07-10 17:03:11 +10:00
pwhipp 877ec04faf Added explicit debug toolbar setup 2014-07-10 17:02:01 +10:00
pwhipp b9bf845964 Added required postgres database configuration 2014-07-10 17:01:44 +10:00
pwhipp 4adab09214 Simplified configuration and corrected debug_toolbar induced problem 2014-07-10 16:48:37 +10:00
Roberto Rosario 3bed82fc16 PEP8 cleanup, unused imports, missing imports, style cleanups 2014-07-10 02:45:19 -04:00
pwhipp 71e35f5746 Added settings/development.py 2014-07-10 16:28:12 +10:00
pwhipp a05d92cead Added settings/includes/secrets.py facility for site specific secret data that should not be in the repo. 2014-07-10 16:26:10 +10:00
pwhipp d7976375ec Tidied BASE_DIR/SITE_ROOT 2014-07-10 16:20:00 +10:00
pwhipp 4b30eb7ff9 Moved original settings to be common includes. 2014-07-10 16:13:30 +10:00
pwhipp 0ef00b5082 Reverted to default (sqlite) settings so all working. 2014-07-10 15:59:03 +10:00
Roberto Rosario beaccf7128 Create the instance if it haven't already 2014-07-10 01:49:02 -04:00
Roberto Rosario dbc2462c29 Update release notes 2014-07-10 01:48:46 -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 78b627f1d2 Update HISTORY 2014-07-10 01:30:24 -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
pwhipp a14f8cb980 Tidied common settings 2014-07-10 15:14:53 +10: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
pwhipp 23ed5b15a2 Reconfigured settings to support mayan/apps and separate production and development. 2014-07-10 07:29:38 +10: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
pwhipp de5b9aaac9 Merge remote-tracking branch 'upstream/master' 2014-07-09 16:22:41 +10: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
pwhipp 6a863ee5e5 Refactored settings to support multiple sites and secrets 2014-07-09 07:32:59 +10:00
pwhipp 2f423a894a Changed to use postgres 'mayan' database and user. 2014-07-09 07:17:04 +10:00
Roberto Rosario 0d0f7be532 Change the way API endpoints are registered 2014-07-08 17:11:55 -04:00
pwhipp 7508ceaa24 Ignored .idea IDE local development files 2014-07-09 07:11:24 +10: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
Roberto Rosario f889ade7cd Cleanup documents API code and names 2014-07-06 12:28:21 -04:00
Roberto Rosario c7a0b71fb2 Sync translation files 2014-07-04 01:56:13 -04:00
Roberto Rosario df83a51228 Add the statistics app to the transifex client config file 2014-07-04 01:55:43 -04:00
Roberto Rosario 93ef0846a3 Add the statistics app to the translations helper script 2014-07-04 01:47:40 -04:00
Roberto Rosario 8be9fb33b1 Add support for matching by subclassing too 2014-07-04 01:47:04 -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 891c62b5a3 Add support for pushing translations 2014-07-03 21:54:39 -04:00
Roberto Rosario 4bb2d6d2aa Removing email address of contributor as requested 2014-07-03 21:54:21 -04:00
Roberto Rosario 78bf95f25f Update all the source string files 2014-07-03 21:38:25 -04:00
Roberto Rosario 7b44873d34 Update process_messages script to use SH instead of PBS 2014-07-03 21:37:27 -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 124311a32a Don't instanciate the classes when loading, let the caller take of that 2014-07-03 17:31:46 -04:00
Roberto Rosario 51fc3cf5ff Code cleanups 2014-07-03 17:31:18 -04:00
Roberto Rosario 874eb33f0a Remove the document type document list view, issue #8 2014-07-03 16:41:34 -04:00
Roberto Rosario 2dc6ad226f Add back non breakable spaces to the tag widget until a better HTML widget is coded 2014-07-03 13:13:13 -04:00
Roberto Rosario a39d04e9c2 Add proof of concept compressed document storage backend 2014-07-03 01:36:57 -04:00
Roberto Rosario 2246012205 Remove old rollback statement 2014-07-03 01:35:44 -04:00
Roberto Rosario 7ff244c9e8 Use relative import 2014-07-03 00:51:10 -04:00
Roberto Rosario dcb58a6e14 Move Javascript loading to the bottom of the page 2014-07-03 00:16:01 -04:00
Roberto Rosario e2208207fc Update quote style 2014-07-03 00:15:52 -04:00
Roberto Rosario 3db1e35c19 Use SH to call unpaper, allow OCR pipeline to work without unpaper installed 2014-07-02 17:45:10 -04:00
Roberto Rosario 04f616ffaf Only store the full OCR error stack trace when in DEBUG mode 2014-07-02 17:44:22 -04:00
Roberto Rosario ca6acb3942 Update from pbs to sh as pbs is now obsolete 2014-07-02 16:47:32 -04:00
Roberto Rosario b0eca8bb3e Add REST API app links to the setup menu 2014-07-02 16:18:56 -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 77ff0f7191 Add back resolve_to_name to navigation.utils a few places import from this 2014-07-01 20:06:37 -04:00
Roberto Rosario 0f3ed2b896 Add pytz to the requirements 2014-07-01 00:54:38 -04:00
Roberto Rosario d850b268d3 Don't fail when there is no DB available to reset the OCR queue stale processing document 2014-07-01 00:50:35 -04:00
Roberto Rosario a5d75fc95a Add OCR test 2014-07-01 00:45:42 -04:00
Roberto Rosario 1dd36089cf Add missing 'self' to language backends 2014-07-01 00:45:15 -04:00
Roberto Rosario c51a3be65a Cleanups 2014-07-01 00:26:19 -04:00
Roberto Rosario 867c6827dc Reset documents that were being processed on further restarts 2014-07-01 00:23:55 -04:00
Roberto Rosario da785c343c Lower the lock timeout period, store the entire stack trace when OCR fails 2014-07-01 00:23:18 -04:00
Roberto Rosario a9390d55ba Unify the way backends are defined and loaded, unify the fs_cleanup function 2014-07-01 00:22:31 -04:00
Roberto Rosario 0255ea67b1 Update documentation license link 2014-06-30 01:27:01 -04:00
Roberto Rosario 9123e2af54 Fix generic wizard template 2014-06-30 01:17:07 -04:00
Roberto Rosario 1e6d77f163 Fix incorrect relative import 2014-06-30 00:58:37 -04:00
Roberto Rosario 6a659741af PEP8 cleanups 2014-06-30 00:57:53 -04:00
Roberto Rosario 16a44015f2 Remove urlresolver monkey patch and use Django's resolve function 2014-06-30 00:34:53 -04:00
Roberto Rosario 41d0cfb7bf Code cleanups 2014-06-29 20:35:36 -04:00
Roberto Rosario 1d821a488f Update release notes 2014-06-29 20:35:10 -04:00
Roberto Rosario 6374b8f690 Update .gitignore to ignore *.sqlite3 files 2014-06-29 20:11:24 -04:00
Roberto Rosario 280d2da576 Update documentation 2014-06-29 20:11:00 -04:00
Roberto Rosario 1f7b6cac79 Escape object name to avoid XSS, issue #3 2014-06-29 20:10:39 -04:00
Roberto Rosario 316a79c440 Revert SITE_ROOT commit 2014-06-29 18:41:20 -04:00
Roberto Rosario 77ad7ad5ae Remove unused image 2014-06-29 18:34:48 -04:00
Roberto Rosario d899d67311 Set the SITE_ROOT to be the same as the BASE_DIR by default
Useful for PYPI based installs, can be updated easily
2014-06-29 18:25:54 -04:00
Roberto Rosario 2c37dd06bc Add more development files that are not to be included during packaging 2014-06-29 18:25:22 -04:00
Roberto Rosario a38316815d Don't include local development files 2014-06-29 18:14:18 -04:00
Roberto Rosario 1a04b02bfe If a requirement file is not found report on the environments packages 2014-06-29 18:13:42 -04:00
Roberto Rosario 6301db73db Use Python's json module instead of Django's 2014-06-29 18:13:19 -04:00
Roberto Rosario 51d414446c Hardcode requirements in the setup.py file, this sucks 2014-06-29 17:55:28 -04:00
Roberto Rosario 972037b899 Use Python json module instead of Django's 2014-06-29 17:55:02 -04:00
Roberto Rosario 733fc9bbf8 Fix case where Mayan is not running from a Git clone 2014-06-29 17:54:37 -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 a46642015b Use Python native JSON library instead of Django's 2014-06-29 16:40:03 -04:00
Roberto Rosario 39d8bd9eb8 Update software license string 2014-06-29 16:35:53 -04:00
Roberto Rosario ae9531715e Update setup.py file 2014-06-29 16:29:31 -04:00
Roberto Rosario f835880019 Update documentation 2014-06-29 16:23:18 -04:00
Roberto Rosario 3c9bbb05b5 Get rid of the DEVELOPMENT global flag, DEBUG now triggers development mode too 2014-06-29 15:59:31 -04:00
Roberto Rosario eecdd9dcea Update settings.py file to conform with the Django 1.6 settings files 2014-06-29 15:58:48 -04:00
Roberto Rosario 815f102e89 Remove remarked code 2014-06-29 15:41:23 -04:00
Roberto Rosario 3b7cb1cd3b Don't use &nbsp in the tags widget, allow for degradation if screen width is insufficient 2014-06-29 15:37:50 -04:00
Roberto Rosario a65e3dece6 Import cleanup 2014-06-29 15:37:42 -04:00
Roberto Rosario 72f4e95f39 Update release notes 2014-06-29 15:30:16 -04:00
Roberto Rosario ecb6733cd4 PEP8 cleanups, unused imports cleanups 2014-06-29 14:14:27 -04:00
Roberto Rosario 904ff92cf1 Update license used in the README file 2014-06-29 00:52:27 -04:00
Roberto Rosario dfda383b2d License update, Mayan EDMS is now licensed under the Apache 2.0 license 2014-06-29 00:49:40 -04:00
Roberto Rosario 483d5adeb0 Add @resparra to the contributors file 2014-06-29 00:06:06 -04:00
Rafael Esparra 373b1cb5b8 IOError Fix in Installation App 2014-06-29 00:04:16 -04:00
Roberto Rosario 376b36bd9b Remove last usage of the backported generic function views 2014-06-27 21:02:25 -04:00
Roberto Rosario 117eb213c4 Add SOUTH_MIGRATION_MODULES setting required by taggit 2014-06-27 20:36:56 -04:00
Roberto Rosario 55463b259e Update django debub toolbar version 2014-06-27 20:24:50 -04:00
Roberto Rosario 0a0756380b Update transaction handling as changed in Django 1.6 2014-06-27 20:22:14 -04:00
Roberto Rosario da2cf9aaba Update requirements, including updating Django to 1.6.5 2014-06-26 18:19:46 -04:00
Roberto Rosario eb6972d7e9 Remove use of the object_list generic function view 2014-06-26 18:19:24 -04:00
Roberto Rosario c6a5ba8d3b Convert the role creation, editing and deletion views to use the new class based views 2014-06-26 18:01:56 -04:00
Roberto Rosario 620dee80f4 Mayan's first class based views thanks a lot to @bmispelon for all the help 2014-06-26 18:01:09 -04:00
Roberto Rosario 9187e7c5f8 Remove use of backported object_list generic function view 2014-06-26 15:57:11 -04:00
Roberto Rosario e065e81fe4 Get rid of the backported object_list 2014-06-26 15:35:11 -04:00
Roberto Rosario be358137e6 Fix spacing 2014-06-26 15:32:57 -04:00
Roberto Rosario 97037e8e56 Use Django's SessionWizardView and get rid of our included one 2014-06-26 15:31:47 -04:00
Roberto Rosario 3b73936723 Update patterns, url imports in all of the project's urls.py files 2014-06-26 15:27:03 -04:00
Roberto Rosario 20fa4a543d PEP8 cleanups, add missing imports 2014-06-25 15:46:30 -04:00
Roberto Rosario 3ec31a890e Remove all OCR queue transformation code 2014-06-25 10:44:43 -04:00
Roberto Rosario 3ab175fa53 Update search registration following the related_name updates 2014-06-25 03:14:48 -04:00
Roberto Rosario 5e3d5c7fcb Use metadata model's related name to address a document's metadata instances 2014-06-25 03:01:27 -04:00
Roberto Rosario ac061f2203 PEP8 Cleanups, simple sintax errors fixes 2014-06-25 02:53:12 -04:00
Roberto Rosario 0209d13150 Change quotation char usage, remarked code cleanups 2014-06-25 02:22:11 -04:00
Roberto Rosario c4439f45de Move project tool links to their own module 2014-06-25 01:25:53 -04:00
Roberto Rosario 21bad298d3 Move project setup app links to their own module 2014-06-25 01:25:35 -04:00
Roberto Rosario ff6faa9629 Normalize quoting style, correct app name for the version tag 2014-06-24 22:48:51 -04:00
Roberto Rosario e0347785b7 Initial implementation of OCR pluggable backends 2014-06-24 22:48:16 -04:00
Roberto Rosario 198402385e Update .gitignore 2014-06-21 02:59:58 -04:00
Roberto Rosario 1ed07736cb Update setup.py and associated files 2014-06-21 02:59:18 -04:00
Roberto Rosario ce5fdd9477 Update translations URL 2014-06-21 02:58:46 -04:00
Roberto Rosario dc5a36292e Move __version__ from main app to top level mayan directory 2014-06-21 02:42:26 -04:00
Roberto Rosario c5c240c12e Update 1.0 release notes 2014-06-21 02:18:45 -04:00
Roberto Rosario 73245e66f4 Update and enable all language translations 2014-06-21 02:01:16 -04:00
Roberto Rosario 431f7a51d1 Add support for pull translation from transifex to the language helper script 2014-06-21 02:00:09 -04:00
Roberto Rosario cf49f64676 Romanian language translation sync and enabling 2014-06-21 00:23:30 -04:00
Roberto Rosario 076797ff24 Added Bosnian translation files and enable Bosnian language selection 2014-06-21 00:16:38 -04:00
Roberto Rosario 7dde6562ce Update message helper script for new paths and new languages 2014-06-21 00:15:01 -04:00
Roberto Rosario 368e17da64 Update resource file path in the transifex client config file 2014-06-20 23:56:37 -04:00
Roberto Rosario 3d1b4b8460 Import reordering 2014-06-20 22:45:49 -04:00
Roberto Rosario 9cad8e94e4 Merge compressed files code from two modules 2014-06-20 22:45:33 -04:00
Roberto Rosario 45900332c2 Update travis file 2014-06-20 20:21:34 -04:00
Roberto Rosario 58930fed8c Removal of fabric file installation support, this should be its own separate project 2014-06-20 20:20:58 -04:00
Roberto Rosario 956bf0f9d8 Move OCR app links to their own module 2014-06-20 20:04:31 -04:00
Roberto Rosario eda2592106 Cleanup import, quoting style 2014-06-20 19:59:33 -04:00
Roberto Rosario 3502abf665 Fix sample document paths to fix tests 2014-06-20 19:51:07 -04:00
Roberto Rosario c0f460e1b2 Simple cleanups 2014-06-20 19:18:14 -04:00
Roberto Rosario 3309060014 Escape text in CharFields in the DetailForm to avoid XSS, issue #3 2014-06-20 19:14:40 -04:00
Roberto Rosario c42fc542d0 Escape tag name to avoid XSS, issue #3 2014-06-20 19:04:20 -04:00
Roberto Rosario 30e8cff89b Simple cleanups 2014-06-20 18:51:32 -04:00
Roberto Rosario 20dc9ef703 reverse_lazy is now provided by Django itself 2014-06-20 18:38:48 -04:00
Roberto Rosario b08f89a7eb Reorganize import in the folders app 2014-06-20 18:33:47 -04:00
Roberto Rosario 4df57139e9 Cleanup quote usage in generic templates 2014-06-20 18:30:53 -04:00
Roberto Rosario ae5317ae83 Fix wsgi.py comment typo 2014-06-20 17:34:05 -04:00
Roberto Rosario fed1bb7985 Reduce directory struture complexity 2014-06-19 15:42:06 +02:00
Roberto Rosario 9220beb450 Keep improving setup.py file 2014-06-15 20:54:53 +02:00
Roberto Rosario 34272dc013 Update LICENSE path 2014-06-15 20:54:43 +02:00
Roberto Rosario 16eb1ab1cb Fix statistics calculation after related_name updates 2014-06-15 20:31:32 +02:00
Roberto Rosario ec1745b50b Initial changes to support the new Django 1.6 project structure 2014-06-15 13:13:21 +02:00
Roberto Rosario 7404e36385 Add Simone Federici to contributors 2014-06-15 11:48:24 +02:00
Roberto Rosario 463fd78b09 Keep the required Django to 1.4 until all apps are tested for 1.5 compatibility 2014-06-15 11:46:42 +02:00
Roberto Rosario fa804c5c3a Merge pull request #6 from simone/master
Just the begin for support Django 1.5
2014-06-15 11:43:48 +02:00
Simone Federici 32706995a5 django < 1.6 dep 2014-06-15 10:53:25 +02:00
Simone Federici 35570a839a remove wrong author 2014-06-15 10:52:09 +02:00
Roberto Rosario 070d4a1579 Merge remote-tracking branch 'origin/master' 2014-06-15 10:45:19 +02:00
Simone Federici 320c701d12 upgrade template to django 1.5 url syntax 2014-06-15 10:38:26 +02:00
Roberto Rosario fd907587f5 Move sources app links to a separate links.py module 2014-06-15 10:31:32 +02:00
Simone Federici 86afb71314 backport the Django 1.4 generic view in common.backport.generic 2014-06-15 10:30:04 +02:00
Roberto Rosario 56f82ac4ba Move link from main app to their separate module 2014-06-15 10:07:31 +02:00
Mathias Behrle e393e9a4d0 Adding application/xml to office converter mimetypes. 2014-05-27 19:55:45 +02:00
Mathias Behrle 165acf7945 Some more review of the documentation. 2014-05-24 20:28:00 +02:00
Mathias Behrle 8d44a065fd Adding bootstrap repository to docs. 2014-05-24 14:51:30 +02:00
Mathias Behrle d03e77d542 Minor improvements of release notes. 2014-05-24 14:25:02 +02:00
Roberto Rosario b43c69fe63 Update contributors file 2014-05-23 21:15:06 -04:00
Roberto Rosario b0ef4f9563 Add tags tests to the travis ci config file 2014-05-23 21:09:23 -04:00
Roberto Rosario ad105e620a Add folders app unit tests 2014-05-23 21:07:24 -04:00
Roberto Rosario aefefe62d7 Remove remarked document signature test code for the document test module 2014-05-23 20:52:19 -04:00
Roberto Rosario 99142719db Update travis ci config file to include document signature tests 2014-05-23 20:43:56 -04:00
Roberto Rosario 324c4fedd4 Add document signature unit tests 2014-05-23 20:43:07 -04:00
Roberto Rosario 4fbd327f60 Bump version to 1.0 beta 0 2014-05-23 20:18:47 -04:00
Roberto Rosario 6421cfe2cb Move user management app links to their own module 2014-05-23 20:14:09 -04:00
Roberto Rosario e562cb7398 Move smart_settings app links to a separate module 2014-05-23 20:06:05 -04:00
Roberto Rosario 102f539f75 Move permissions app links to their own module, and update foreign app imports 2014-05-23 20:03:15 -04:00
Roberto Rosario 772f2a6088 Move dynamic_search app links to their own module 2014-05-23 19:58:32 -04:00
Roberto Rosario b60c8df9d6 Move document_comments app links to their module 2014-05-23 19:56:05 -04:00
Roberto Rosario 16c23972d2 Move document_acls app links to their own module 2014-05-23 19:52:41 -04:00
Roberto Rosario a64b8d8e5c Move django_gpg links to their own module 2014-05-23 19:50:10 -04:00
Roberto Rosario 008a8bf0e5 Update ACL permission imports 2014-05-23 19:49:21 -04:00
Roberto Rosario 7452c9ce0c Code cleanups 2014-05-23 19:43:19 -04:00
Roberto Rosario 9afafe53f4 Move ACL app links to a separate module 2014-05-23 19:41:31 -04:00
Roberto Rosario 489f7778d1 Add enable lock_manager tests to the travis CI config file 2014-05-23 18:23:13 -04:00
Roberto Rosario 788a709dd9 Backport some test for the lock_manager app 2014-05-23 18:13:33 -04:00
Roberto Rosario b6e8478daf Revert "Close connection before and after executing periodic OCR task, to avoid stale DB connection remaining open. Ref: Issue #4"
This reverts commit ee1e732776.

73ebc06275 Supersedes this one, thanks a lot to Mathias Behrle for uncovering this bug and all the help squashing it!
2014-05-23 17:45:09 -04:00
Roberto Rosario 53ae32948c Don't run the scheduler when running tests 2014-05-23 17:43:07 -04:00
Roberto Rosario 73ebc06275 Explicitly close all connection for any scheduled task, ref issue #4 2014-05-23 17:01:25 -04:00
Roberto Rosario 721567be2b Update URLs to the new project github page 2014-05-23 03:13:59 -04:00
Roberto Rosario 935845719f Misc cleanups, PEP8, conding conventions, spaces, unused imports, False/True comparisons 2014-05-23 03:06:26 -04:00
Roberto Rosario cdb93e46ae Update release notes 2014-05-23 01:15:52 -04:00
Roberto Rosario 9eca408c94 Add support for deletion of detached signatures 2014-05-23 01:04:02 -04:00
Roberto Rosario 85d8d23187 PEP8 cleanup, unused imports cleanups, coding conventions, relative imports, sorting of imports 2014-05-22 22:58:55 -04:00
Roberto Rosario cf340cc08c Update copyright date 2014-05-22 17:29:03 -04:00
Roberto Rosario 398c480c10 Remove the striptags functionality, fixes some instances of XSS, issue #3 2014-05-22 17:27:06 -04:00
Roberto Rosario 12948c155e Update version numbering and copyright years 2014-05-22 17:08:04 -04:00
Roberto Rosario 95520b23bc Add initial version 1.0 release notes 2014-05-22 17:07:45 -04:00
Roberto Rosario ee1e732776 Close connection before and after executing periodic OCR task, to avoid stale DB connection remaining open. Ref: Issue #4 2014-05-22 16:44:48 -04:00
Roberto Rosario 60bdf37fbd Upgrade to Django 1.4 requires now the addition of the messages context processor 2014-05-22 16:41:06 -04:00
Roberto Rosario 58bcc463c4 Add document search test in relation to related_name updates 2014-05-20 22:40:32 -04:00
Roberto Rosario 4063cb7f7c Update document search configuration inline with the recent related_name updates 2014-05-20 22:39:52 -04:00
Roberto Rosario df9a9f695b Update README file 2014-05-20 03:24:47 -04:00
Roberto Rosario f840d66b15 Update contributors file 2014-05-20 03:16:59 -04:00
Roberto Rosario 63d9f02fdd Convert README file to restructured text, add contributors section 2014-05-20 03:13:50 -04:00
Roberto Rosario 96d55dd3f9 Update coveralls badge markup 2014-05-20 02:51:02 -04:00
Roberto Rosario 0804948ff3 Add travis CI and coveralls badges 2014-05-20 02:45:31 -04:00
Roberto Rosario a51565f3aa Disable document signature tests 2014-05-20 02:45:09 -04:00
Roberto Rosario 7334bc5b3e Update gitignore file to ignore .coverage files 2014-05-19 20:54:45 -04:00
Roberto Rosario 5c908c57c8 Add travis CI config file 2014-05-19 20:54:12 -04:00
Roberto Rosario 07cc6301ae Update requirements file, add testing requirements file 2014-05-19 20:53:26 -04:00
Roberto Rosario bd3cd8585b Do not update indexes from the documents app 2014-05-19 20:32:15 -04:00
Roberto Rosario c7e176a793 PEP8 and misc. cleanups 2014-05-19 20:31:01 -04:00
Roberto Rosario 5987a9ed53 Remove 3rd_party_apps folder, don't include filetransfers it is now instalable from PyPI 2014-05-19 20:18:07 -04:00
Roberto Rosario 4152597771 Update django-sendfile and python-magic versions 2014-05-19 20:16:00 -04:00
Roberto Rosario db5ce56328 Merge remote-tracking branch 'origin/master' 2014-05-19 20:07:29 -04:00
Roberto Rosario 79e28ca853 Check if a node is a root node the proper way, make 'root' translatable 2014-05-19 20:07:04 -04:00
Roberto Rosario 441f900b4c Check is a node is a root node the proper way, make 'root' translatable 2014-05-19 20:04:51 -04:00
Roberto Rosario 5e45d1970f Check if a node is a root node the proper way 2014-05-19 20:04:32 -04:00
Roberto Rosario 2bcdd1017e Update django-mptt version used 2014-05-19 19:55:40 -04:00
Roberto Rosario ceb1923c8a Update Pillow and South to their latests versions (2.4.0 and 0.8.4) 2014-05-19 19:46:39 -04:00
Roberto Rosario 5e59708246 Reorganize requirements file 2014-05-19 19:43:16 -04:00
Roberto Rosario eaea9ec6fc Update to Django 1.4.13, update django rest framework to 2.3.13 2014-05-19 19:35:07 -04:00
Roberto Rosario dd1c06102f Update contributors file 2014-05-19 18:47:30 -04:00
Roberto Rosario 331b595ace Merge remote-tracking branch 'origin/master' 2014-05-19 16:21:28 -04:00
Roberto Rosario 60ac55bfd3 PEP8 and simple cleanups 2014-05-19 16:19:55 -04:00
Roberto Rosario fd254135f5 Reorganize imports 2014-05-19 15:09:28 -04:00
Roberto Rosario 1d609333dc Update indexes via signals from metadata updates or document deletions 2014-05-19 15:08:59 -04:00
Mathias Behrle bb1153c7d8 Correcting path to license, it is in PROJECT_ROOT. 2014-05-19 15:44:50 +02:00
Roberto Rosario c7205aaa59 Fix the document upload link not appearing on some views 2014-05-19 00:38:25 -04:00
Roberto Rosario cbe587432d Move missing import from __init__ to links.py where is it now used 2014-05-19 00:35:55 -04:00
Roberto Rosario e258f4c4c1 Remove use of another custom property and use the related_name feature of the document page model 2014-05-19 00:32:36 -04:00
Roberto Rosario 518137415a Update migration to use the form "document.versions" instead of "document.version_set" 2014-05-19 00:28:03 -04:00
Roberto Rosario 66bb049881 Remove custom property and use related_name feature of models 2014-05-19 00:24:31 -04:00
Roberto Rosario 061eb660d1 Go back to the document version list view after uploading a new document version, not to the document detail view 2014-05-19 00:23:09 -04:00
Roberto Rosario 9110b08968 Organize imports 2014-05-19 00:14:31 -04:00
Roberto Rosario 0d9f304eae Update documentation version and repository URL 2014-05-19 00:11:52 -04:00
Roberto Rosario 6f294aab31 Move linking app links to their own module 2014-05-18 18:26:14 -04:00
Roberto Rosario 5187ac2650 Move folder app links to their own module 2014-05-18 18:16:08 -04:00
Roberto Rosario f233738db6 Move document signature app links to their own module 2014-05-18 18:11:09 -04:00
Roberto Rosario 82964235fa Move document indexing app links to their own module 2014-05-18 18:03:32 -04:00
Roberto Rosario a986e3fbe7 Reorganize imports 2014-05-18 17:55:53 -04:00
Roberto Rosario 53615f1e0e Move metadata app links to a separate module 2014-05-18 17:49:46 -04:00
Roberto Rosario c089379df4 Bump version 2014-05-18 04:22:54 -04:00
Roberto Rosario 088f507afd Update project URLs 2014-05-18 04:22:38 -04:00
Roberto Rosario 2288779a1c Move the document create and document sibling create ("clone metadata") views to the source app 2014-05-18 04:17:15 -04:00
Roberto Rosario 7077bf0b96 Add document page transformation view deprecation comment 2014-05-18 03:57:15 -04:00
Roberto Rosario 5a5a88d07d Move the documents app links to their own module 2014-05-18 03:55:24 -04:00
Roberto Rosario 6e76248aed Reorganize imports, update multiline import style 2014-05-18 03:48:57 -04:00
Roberto Rosario 53528e55fb Remove convenience scripts 2014-05-17 19:04:43 -04:00
Roberto Rosario 8cea9298dc German language translation sync 2014-05-17 15:30:11 -04:00
Roberto Rosario 207b7af951 Merge branch 'master' of github.com:mayan-edms/mayan-edms 2014-05-17 15:01:50 -04:00
Roberto Rosario 8a13095c7f Remove print statement 2014-05-17 14:58:26 -04:00
Roberto Rosario 5e791e6d30 Merge pull request #77 from mbehrle/fix/v0.13.1
Additional mimetypes, Fallback for text mimetype, Some whitespace cleanup
2014-05-17 14:57:20 -04:00
Mathias Behrle 25a2f95c7c Correcting typo. 2014-05-17 13:20:03 +02:00
Mathias Behrle 4f14b41de7 Adding fallback for unkown text mimetypes. 2014-05-17 13:19:46 +02:00
Mathias Behrle 697e749c64 Adding more mimetypes. 2014-05-17 13:19:31 +02:00
Roberto Rosario a74c3eae7c Update README with new location of project 2014-05-01 13:22:08 -07:00
Roberto Rosario c157848323 Merge pull request #1 from rosarior/master
Sync with rosarior/mayan
2014-04-28 16:47:10 -04:00
Roberto Rosario abe372c108 Merge pull request #76 from mbehrle/fix/v0.13.1
Adding some more MIME types for ODF.
2014-03-05 15:19:09 -05:00
Mathias Behrle 4b937eff5f Adding some more MIME types for ODF.
According to http://plan-b-for-openoffice.org/glossary/term/mime-type
2014-03-05 20:46:53 +01:00
Roberto Rosario ed867dc551 Merge pull request #75 from mbehrle/fix/v0.13.1
Changing length of field mimetype to 255 chars.
2014-03-04 13:16:37 -05:00
Mathias Behrle 188033c0f7 Changing length of field mimetype to 255 chars.
According to
http://www.iana.org/assignments/media-types/media-types.xhtml
the length of mimetypes currently can be up to 85 chars, so with 255 we
will be safe.
2014-03-04 19:10:50 +01:00
Roberto Rosario 482468a91d Merge pull request #74 from mbehrle/fix/v0.13.1
Fix/v0.13.1
2014-03-04 11:16:29 -05:00
Mathias Behrle 862eba0ca5 Setting the installed version of python-magic to current HEAD.
- Solves magic.MagicException: no magic files loaded
- https://github.com/ahupp/python-magic/issues/44
2014-03-04 17:06:43 +01:00
Mathias Behrle e4aa0bb17f Updating transifex server URL. 2014-03-04 17:06:22 +01:00
Roberto Rosario ce9fc40485 Merge pull request #71 from matbe/master
Removing unnecessary parameter from append statement.
2014-02-10 12:14:18 -05:00
Mathias Behrle 470347b69f Removing unnecessary parameter from append statement.
This unused parameter caused page crashes when viewing Smart-Links.
2014-02-10 17:52:55 +01:00
Roberto Rosario e2731ff426 Merge pull request #70 from ruipires/master
Update fabile/webservers/apache.py to use mayan.conf as site name. Using...
2014-02-08 11:49:22 -05:00
Rui Pires 1fbfbf4e43 Update fabile/webservers/apache.py to use mayan.conf as site name. Using just 'mayan' was making this fail in ubuntu server 13.10 2014-02-08 13:12:40 -01:00
Roberto Rosario 444c7e6ea5 Merge pull request #57 from bitdeli-chef/master
Add a Bitdeli Badge to README
2013-09-17 14:56:52 -07:00
Bitdeli Chef 1341372e6f Add a Bitdeli badge to README 2013-09-17 21:55:56 +00:00
Roberto Rosario d91fed40ca Backport fix for default value failure in metadata types with lookup values 2013-02-28 03:29:25 -04:00
Roberto Rosario 0d4c195b09 Manually apply fix for issue #45 to master branch too 2013-02-28 01:51:15 -04:00
Roberto Rosario 9f55fa0933 Merge branch 'master' into feature/arabic_vietnam_trans 2013-01-26 22:37:22 -04:00
Roberto Rosario bc6e2ddf6c Arabic and Vietnamese translations update 2013-01-26 22:36:30 -04:00
Roberto Rosario 75f4fe4f46 Merge remote-tracking branch 'origin/master' 2013-01-26 00:26:04 -04:00
Roberto Rosario ceea0ed628 VirtualEnv properties to the installation details report 2013-01-25 22:45:30 -04:00
Roberto Rosario 4b8dc31d23 Create the views one for the installation properties namespaces and another for the details of each namespace 2013-01-25 22:01:30 -04:00
Roberto Rosario 75a6a211a8 Split installation properties into namespaces 2013-01-25 22:00:50 -04:00
Roberto Rosario 55f65109b5 Move LICENSE file to the top level directory 2013-01-25 20:54:35 -04:00
Roberto Rosario cb1b14f543 Language translations sync 2013-01-25 20:28:44 -04:00
Roberto Rosario d58c4faa80 Add Arabic and Vietnamese to the list of supported languages 2013-01-25 20:27:51 -04:00
Roberto Rosario 26d6f5b798 Update compressed fabfile 2013-01-25 03:05:52 -04:00
Roberto Rosario 07b82a4760 Reduce field and therefore index size to avoid MySQL regression errors
MySQL/ORACLE is being a jerk again and breaking backwards compatilibity (https://github.com/feincms/feincms/issues/261,
https://github.com/toastdriven/django-tastypie/pull/719)
2013-01-25 02:22:45 -04:00
Roberto Rosario 5b1e7cca3b Upgrade distribute package to the latest version before installing any requirement 2013-01-24 01:34:06 -04:00
Roberto Rosario 85112090b9 Use reverse_lazy to use view names instead of hard coded URLs for the LOGIN_REDIRECT and LOGIN_URL settings 2013-01-24 01:32:29 -04:00
Roberto Rosario 216bce1462 Quick and dirty fix for issue #43 2013-01-17 23:48:55 -04:00
Roberto Rosario b6b4ea5bb7 Ignore virtualenv installations done alongside the code 2013-01-15 00:35:53 -04:00
Roberto Rosario f51c1ee70b Add Ed Schipul and Lars Kruse to the contributors file 2013-01-15 00:32:41 -04:00
Roberto Rosario efe82cde1e Ignore StoredPermissions residing in the database that have no counterpart in the volatile permission set 2013-01-15 00:27:14 -04:00
Roberto Rosario 5a26acb6b2 Merge pull request #42 from sumpfralle/master
replaced dict comprehension (requires Python 2.7) with a simple loop
2013-01-07 21:03:00 -08:00
Lars Kruse e6f7a1a651 fixed typo in introduction 2013-01-08 04:03:50 +01:00
Lars Kruse f544ddcefd removed python2.7-specific dict comprehension (see PEP 274) 2013-01-08 03:47:23 +01:00
Roberto Rosario 276119a06a Add remote urls to the installation report 2013-01-05 23:10:10 -04:00
Roberto Rosario 87879c7336 Get the document.Document SearchModel instance in a more elegant way 2013-01-04 07:49:33 -04:00
Roberto Rosario 7d86656bff Update the RecentSearch model to work with the new SearchModel class 2013-01-04 07:49:25 -04:00
Roberto Rosario 25e17fb2b0 Improve a bit the way recent searches are saved 2013-01-04 07:49:16 -04:00
Roberto Rosario 2f09c60d43 Store instances of SearchModel by their full_name in the class registry 2013-01-04 07:49:07 -04:00
Roberto Rosario f7f6dfc441 Refactor advanced searching 2013-01-04 07:48:58 -04:00
Roberto Rosario e8fc6c96e0 Simplify code and variable names 2013-01-04 07:48:35 -04:00
Roberto Rosario d74efbd891 Update documents app to use the new SearchModel class 2013-01-04 07:48:26 -04:00
Roberto Rosario 6317dfd4db Initial refactor of the search app to better support related fields lookups, trying to fix issue #20 in the application side 2013-01-04 07:48:14 -04:00
Roberto Rosario cd21f49b64 Revert "Remove duplicate processing of sidebar links"
Turn out this is required to show the links to add new holder for acls

This reverts commit abf2bb85ea.
2012-12-27 02:03:24 -04:00
Roberto Rosario 9a31612b5d Fix requirements definition 2012-12-20 17:00:40 -04:00
Roberto Rosario b515b92a6c Merge remote-tracking branch 'nars/master' 2012-12-17 16:08:54 -04:00
Roberto Rosario 00cea65e64 Update required Pillow version to 1.7.8 2012-12-17 16:07:07 -04:00
Roberto Rosario af681f677f Since this is a multi document action remove required permission 2012-12-17 16:03:55 -04:00
nars 0240c9a39b Update requirements/production.txt 2012-12-14 17:20:25 +02:00
Roberto Rosario 8d75353bdf Merge branch 'hotfix/v0.12.3' 2012-12-12 03:45:38 -04:00
Roberto Rosario 0c23961927 Update contributors file 2012-12-12 03:45:00 -04:00
Iliya Georgiev 905ad00d09 Add example of Default ACLs in permissions documentation 2012-12-12 03:28:04 -04:00
Iliya Georgiev dd62c3e175 Add example of Default ACLs in permissions documentation 2012-12-12 03:27:53 -04:00
Iliya Georgiev 99ea668ad5 Add example of Default ACLs in permissions documentation 2012-12-12 03:27:31 -04:00
Iliya Georgiev 9d33231dc4 Add example of Default ACLs in permissions documentation 2012-12-12 03:27:13 -04:00
Iliya Georgiev 35dcb24235 Add description of Default ACLs in permissions documentation 2012-12-12 03:27:09 -04:00
Iliya Georgiev 262690aec7 Add description of Default ACLs in permissions documentation 2012-12-12 03:24:58 -04:00
Roberto Rosario 2e1a084626 Fix template variable name 2012-12-12 03:24:01 -04:00
Roberto Rosario 4f0ef36c4b Update translation files 2012-12-12 03:23:28 -04:00
Roberto Rosario 74d97d5ed2 Translation file updates 2012-12-12 02:04:36 -04:00
Roberto Rosario b0941abfb1 Disable incomplete upgrade support via fabfile 2012-12-12 01:28:33 -04:00
Roberto Rosario c433ca7d37 Bump version to v0.13 2012-12-12 01:28:17 -04:00
Roberto Rosario 2080189a27 Documentation update 2012-12-12 01:28:05 -04:00
Roberto Rosario 42c8a686af Update documentation 2012-12-12 01:21:27 -04:00
Roberto Rosario 28b8046c18 Update release notes 2012-12-12 01:09:31 -04:00
Roberto Rosario 728decbe6c Update required version of Django to 1.3.5 2012-12-12 01:09:01 -04:00
Roberto Rosario ca40b3f703 Implement bulk document move into folders, issue #39 2012-12-12 00:37:32 -04:00
Roberto Rosario 39c9c03c2c Improve multi selection action button vertical spacing 2012-12-11 02:01:48 -04:00
Roberto Rosario aa058ac790 Remove mention of automatically installed requirements 2012-12-11 01:52:50 -04:00
Roberto Rosario 8f07a2ccfd Drop support for UNOCONV 2012-12-11 01:49:17 -04:00
Roberto Rosario 1743ce93f2 Add support for synchronizing bootstrap setups available with the official repository 2012-12-11 01:22:46 -04:00
Roberto Rosario 74689a970d Import errors in the app registry app are not errors per se 2012-12-10 20:34:44 -04:00
Roberto Rosario 1de90cfaa9 Prepend a magic number to bootstrap setup to identify them as valid bootstrap setups 2012-10-16 02:44:01 -04:00
Roberto Rosario b076c73d2b Update the required requests version 2012-10-16 02:23:45 -04:00
Roberto Rosario 85455e7647 Add support for import bootstrap setups from URLs 2012-10-16 02:22:39 -04:00
Roberto Rosario 7ce8652188 Remove the default bootstrap setups 2012-10-16 01:09:59 -04:00
Roberto Rosario cfb841a0b8 Improve messages, remove repeated view code 2012-10-16 01:09:19 -04:00
Roberto Rosario 9b21994d7d Add management commands to execute bootstrap setups and erase user data 2012-10-16 01:08:41 -04:00
Roberto Rosario 55b01f1516 Add slug field to the bootstap setup model 2012-10-16 01:08:12 -04:00
Roberto Rosario b54dff51a6 Remove planned bootstrap setup compression support hooks 2012-10-15 23:24:48 -04:00
Roberto Rosario d64feb0cba Update release notes 2012-10-14 07:12:43 -04:00
Roberto Rosario 62588248b2 Fix installation instruction typo 2012-10-14 07:03:15 -04:00
Roberto Rosario 6ea76ef84f Add support for importing bootstrap setups from file 2012-10-14 07:00:27 -04:00
Roberto Rosario 37372ba554 Add support for exporting bootstrap setups to file 2012-10-14 05:10:55 -04:00
Roberto Rosario 4b143a9455 Remove unused template line 2012-10-13 02:57:17 -04:00
Roberto Rosario 753053ae47 Revert permission holder and role members caching changes, only cache stored permissions as these never change 2012-10-13 02:47:38 -04:00
Roberto Rosario 7454a47558 Only cache registration if already registered 2012-10-13 02:38:20 -04:00
Roberto Rosario bb997ecbdc Cache member roles, store permission class doesn't have a label field - don't set it and save it. 2012-10-12 05:37:59 -04:00
Roberto Rosario 90e48ec6a8 Cache StoredPermissions objects and permission holders, change list comprehension to generator 2012-10-12 04:36:05 -04:00
Roberto Rosario 32959762cc Change list comprehension to generator 2012-10-12 04:35:28 -04:00
Roberto Rosario dbe15347f8 Fix cache evaluation 2012-10-12 03:35:26 -04:00
Roberto Rosario 0b4459bc70 Update development requirements file 2012-10-12 03:22:04 -04:00
Roberto Rosario d75711f9ac Add git upgrade instructions to the release notes 2012-10-12 01:16:29 -04:00
Roberto Rosario e43b582682 Add missing document_tag image 2012-10-12 01:16:12 -04:00
Roberto Rosario 1544cc5ddf Add tags chapter to the index 2012-10-12 01:15:57 -04:00
Roberto Rosario c0afb034ba Update OCR chapter 2012-10-12 01:15:35 -04:00
Roberto Rosario 8ffdf4ab77 Update indexing chapter add navigation images 2012-10-12 01:15:04 -04:00
Roberto Rosario c4fc189ca9 Add screenshot to the smart links chapter 2012-10-12 01:14:30 -04:00
Roberto Rosario c1a32eef89 Specify tesseract 3.x or greater in the requirements 2012-10-12 01:13:55 -04:00
Roberto Rosario 8a539ae718 Add tags chapter 2012-10-12 01:13:30 -04:00
Roberto Rosario 60e3e16375 Fix registration name display 2012-10-12 01:12:50 -04:00
Roberto Rosario f50e42e4da Add navigation images to the indexes chapter 2012-10-11 01:30:33 -04:00
Roberto Rosario 09eb5c65f9 Add navigation pictures to smart links chapter 2012-10-11 01:30:06 -04:00
Roberto Rosario 63f6318a86 Add link to indexes from getting started 2012-10-11 01:29:46 -04:00
Roberto Rosario d7d3cc62a3 Add initial bootstrap setups fixtures 2012-10-10 17:40:19 -04:00
Roberto Rosario 57515bec55 Add new getting started chapter 2012-10-10 17:40:05 -04:00
Roberto Rosario 396c57d84d Release notes update, only link to the latest release notes in the index file 2012-10-10 17:39:21 -04:00
Roberto Rosario b63f367d78 Update documentation version 2012-10-10 17:39:06 -04:00
Roberto Rosario 0d02cda407 Add bootstrap and registraion app to the language processing script 2012-10-10 09:56:14 -04:00
Roberto Rosario e5fcfe74f6 Add registration translation files 2012-10-10 09:55:17 -04:00
Roberto Rosario 1a9677a15e Add bootstrap app translation files 2012-10-10 09:55:00 -04:00
Roberto Rosario b949c120a0 Add source file, add bootstrap and registration apps to transifex config file 2012-10-10 09:54:34 -04:00
Roberto Rosario 9a6a6495ee Improve bulk tagging and consolidate code 2012-10-10 02:21:45 -04:00
Roberto Rosario 806b1455f4 Remove the created date column 2012-10-10 00:35:09 -04:00
Roberto Rosario c3bc1f65ea Update JSON filter to remove the last comma 2012-10-10 00:34:51 -04:00
Roberto Rosario 8e61f44abf Update release notes 2012-10-10 00:27:34 -04:00
Roberto Rosario 7af74c6785 Set fixed size for the text area widget and inherit the change 2012-10-10 00:27:01 -04:00
Roberto Rosario f1ee7bc23f Don't override text area widget to div area widgets 2012-10-10 00:26:26 -04:00
Roberto Rosario 2529a178ae Update the styling templatetag to not replace but append CSS classes 2012-10-09 23:35:22 -04:00
Roberto Rosario 2570057e9d Bump version 2012-10-09 23:26:10 -04:00
Roberto Rosario 05b1a39d7e Update metadata lookup field from a char to a text field 2012-10-09 23:25:16 -04:00
Roberto Rosario 9781d0dcae Fix empty fixture detection, add support for better YAML PK removal, re enabled better YAML serializer 2012-10-09 12:37:13 -04:00
Roberto Rosario b16ab0eebe Add logging 2012-10-09 12:36:45 -04:00
Roberto Rosario 8e1d12c59a Add logging 2012-10-09 12:36:32 -04:00
Roberto Rosario ace21841fc Add view to edit an existing metadata set 2012-10-09 12:35:32 -04:00
Roberto Rosario 5a5721c618 Add support to add and remove a user from many groups at once from the user edit view 2012-10-09 12:34:55 -04:00
Roberto Rosario 5e0fba3b69 Add registration app 2012-10-09 02:34:00 -04:00
Roberto Rosario 66cd8938ce Initial updates for the registration app 2012-10-09 02:33:21 -04:00
Roberto Rosario e3cc2efbcb Update copyright year 2012-10-09 00:58:37 -04:00
Roberto Rosario 9b69b9620e Add issues link 2012-10-09 00:58:19 -04:00
Roberto Rosario c308654f4a Disable better yaml serializer until natural keys are working correctly 2012-10-08 18:50:26 -04:00
Roberto Rosario efc41ad9c7 Add bootstrap model dependecies support 2012-10-08 18:50:07 -04:00
Roberto Rosario 82299a49c4 Simplify converter backend and return exceptions for better diagnostics. 2012-10-08 18:47:46 -04:00
Roberto Rosario e9817ee1ac Add creation date and time metadata, preserver metadata order with SortedDict 2012-10-08 11:57:08 -04:00
Roberto Rosario 77bbb5c048 Add creation date time field to bootstrap fixtures 2012-10-08 11:56:48 -04:00
Roberto Rosario 2b706f3f4a Generate a bootstrap's fixture metadata on save not only when dumping it, add comments 2012-10-08 11:28:41 -04:00
Roberto Rosario a430a1ce73 Don't allow editing the type of a fixture 2012-10-08 02:33:48 -04:00
Roberto Rosario 6966134c1d Add support for automatic bootstrap setup fixture metadata creation 2012-10-08 02:17:48 -04:00
Roberto Rosario 384d241ab2 Capture load data management command errors 2012-10-08 01:38:54 -04:00
Roberto Rosario 4d4c89bcd7 Backport of development commit: "Update fabfile to place installation marker"
64c7804611
2012-10-08 00:20:23 -04:00
Roberto Rosario 6ae449f08c Report the git repository remotes URLs 2012-10-07 04:59:39 -04:00
Roberto Rosario 9ecf20ce15 Move implementation to get all properties to the module 2012-10-07 04:59:07 -04:00
Roberto Rosario 4b25620e8e Make __getattr__ of the Installation model return the value of the property not the Property instance 2012-10-07 04:47:44 -04:00
Roberto Rosario 32d824643d Update release notes 2012-10-07 04:29:04 -04:00
Roberto Rosario aa2e32e801 Move code to calculate an index descendant node instances to the model, catch exception when index is still not initialized, possible cause of issue #28 2012-10-07 04:19:16 -04:00
Roberto Rosario 8b52c4a99a Fix natural key for Metadata set to be title and not name based 2012-10-07 04:08:19 -04:00
Roberto Rosario 2f28caaf4d Add missing bootstrap setup delete icon 2012-10-07 04:07:52 -04:00
Roberto Rosario bd92a88d2b Move import inside function to avoid import error 2012-10-07 03:56:50 -04:00
Roberto Rosario 57c6820afd Remove natural key for the Tag model 2012-10-07 03:48:28 -04:00
Roberto Rosario abf2bb85ea Remove duplicate processing of sidebar links 2012-10-07 03:47:41 -04:00
Roberto Rosario 58e2b2378e Move registration of the metadata document column to the metadata app, improve document type filename navigation 2012-10-07 03:46:40 -04:00
Roberto Rosario 4ffd422064 Don't import metadata admin stuff in the documents app 2012-10-07 03:46:02 -04:00
Roberto Rosario f8c63454f3 Enable new serializer for the bootstrap app, add per fixture type empyt checking, model fixture processing and final fixture processing 2012-10-07 03:44:56 -04:00
Roberto Rosario a6b28574d7 Add new serializer: better YAML 2012-10-07 03:43:35 -04:00
Roberto Rosario f203947836 Don't add empty fixtures 2012-10-06 05:46:43 -04:00
Roberto Rosario 20fafd6ba8 Fix the icon name used for the bootstrap setup edit link 2012-10-06 05:01:40 -04:00
Roberto Rosario 1b23c90a1a Check that the yaml library is available before adding YAML to the list of fixture types available 2012-10-06 05:00:50 -04:00
Roberto Rosario 850184ae62 Add PyYaml to the requirements to have YAML format fixture available for the bootstrap app 2012-10-06 05:00:20 -04:00
Roberto Rosario e547ad5c78 Update release notes 2012-10-06 04:50:54 -04:00
Roberto Rosario 2bacbcf56d Remove import of non existant managers.py file 2012-10-06 04:50:36 -04:00
Roberto Rosario 09aca2eb24 Remove unused transaction handling 2012-10-06 04:50:12 -04:00
Roberto Rosario 5271566310 Remove commented lines 2012-10-06 04:49:52 -04:00
Roberto Rosario f1d1ab286d Update the required versions of South and Pillow to the current releases (0.7.6 and 1.7.7) 2012-10-06 04:38:45 -04:00
Roberto Rosario d126047347 Update release notes in regard to issue 32 2012-10-05 22:16:35 -04:00
Roberto Rosario 6f376ced9b Catch auto admin creation error attempts when common app has still not been migrated.
Solves issue #32
2012-10-05 22:15:08 -04:00
Roberto Rosario 1804cd8828 Reverting hotfix patch applied to master branch by accident.
Revert "Catch auto admin creation error attempts when common app has still not been migrated."

This reverts commit 35571e184f.
2012-10-05 22:14:12 -04:00
Roberto Rosario 35571e184f Catch auto admin creation error attempts when common app has still not been migrated.
Solves issue #32
2012-10-05 22:05:12 -04:00
Roberto Rosario 2b4523c0be Update release notes 2012-10-05 03:07:55 -04:00
Roberto Rosario d1f77b2fbe Add natural key to the Tag model 2012-10-05 03:07:44 -04:00
Roberto Rosario 3f52207c54 Add natural keys to the MetadataType and MetadataSet models, make the metadata set label unique 2012-10-05 03:06:34 -04:00
Roberto Rosario aa00b7554b Change comment style 2012-10-05 03:05:59 -04:00
Roberto Rosario e7839dc4ca Add natural key to the Index model 2012-10-05 03:05:25 -04:00
Roberto Rosario 065bfd9136 Add registry and cleanup files 2012-10-05 03:04:32 -04:00
Roberto Rosario d2f1490516 Add app_registry and bootstrap apps 2012-10-05 03:03:21 -04:00
Roberto Rosario ade876141e Add missing space 2012-10-05 01:14:11 -04:00
Roberto Rosario d849190dbd Add natural keys to the document type model 2012-10-05 01:13:30 -04:00
Roberto Rosario b231810aaf Make document type name an unique field 2012-10-05 01:11:14 -04:00
Roberto Rosario 6683d915d1 Bump version to 0.12.3beta 2012-10-05 00:52:08 -04:00
Roberto Rosario 0bc4eeb816 Don't display edit or delete links for root template nodes 2012-10-05 00:51:35 -04:00
Roberto Rosario e69750dd49 Compose choices keys using ContentType name not text label 2012-10-05 00:51:00 -04:00
Roberto Rosario cd05f7fde0 Add initial release notes for upcoming 0.12.3 2012-10-03 01:31:25 -04:00
Roberto Rosario b1ab135c5f Move RecentDocument manager to the manager.py file, improved its logic 2012-10-03 01:28:15 -04:00
Roberto Rosario 1561a44888 Improve the content widget page divider appearance, make it translatable 2012-10-03 01:23:07 -04:00
Roberto Rosario d2b6b6d533 Update the Div widget to use <pre> tags instead of <div> to conserve spacing 2012-10-03 01:19:48 -04:00
Roberto Rosario 119137d1fb Update required version of Django to 1.3.3 to include upstream security fixes 2012-10-02 01:04:48 -04:00
Roberto Rosario 437d19a130 Current if test is testing the existance of the property, test the value (True) instead 2012-10-02 00:47:38 -04:00
Roberto Rosario 6318ec6076 Add multi document tag removal 2012-10-01 13:10:23 -04:00
Roberto Rosario 3186b8a300 Show multi document actions in the tagged document list view 2012-10-01 12:13:45 -04:00
Roberto Rosario c6e8709b84 Add support for bulk document tag attaching 2012-10-01 12:10:19 -04:00
Roberto Rosario 1fa423b97d Update compile translations 2012-10-01 11:19:37 -04:00
Roberto Rosario 8baf70ea1f Update Dutch translation for the linking app 2012-10-01 11:15:59 -04:00
Roberto Rosario f4d0b8e20a Update contributors file 2012-10-01 10:52:52 -04:00
Bertrand Bordage c350ac97de Adds new translations and updates the others.
Conflicts:

	apps/acls/locale/bg/LC_MESSAGES/django.po
	apps/acls/locale/de_DE/LC_MESSAGES/django.po
	apps/acls/locale/fr/LC_MESSAGES/django.po
	apps/acls/locale/nl_NL/LC_MESSAGES/django.po
	apps/acls/locale/pt_BR/LC_MESSAGES/django.po
	apps/common/locale/bg/LC_MESSAGES/django.po
	apps/common/locale/de_DE/LC_MESSAGES/django.po
	apps/common/locale/fr/LC_MESSAGES/django.po
	apps/common/locale/nl_NL/LC_MESSAGES/django.po
	apps/common/locale/pt_BR/LC_MESSAGES/django.po
	apps/converter/locale/bg/LC_MESSAGES/django.po
	apps/converter/locale/fr/LC_MESSAGES/django.po
	apps/converter/locale/nl_NL/LC_MESSAGES/django.po
	apps/converter/locale/pt_BR/LC_MESSAGES/django.po
	apps/django_gpg/locale/bg/LC_MESSAGES/django.po
	apps/django_gpg/locale/de_DE/LC_MESSAGES/django.po
	apps/django_gpg/locale/es/LC_MESSAGES/django.po
	apps/django_gpg/locale/fr/LC_MESSAGES/django.po
	apps/django_gpg/locale/it/LC_MESSAGES/django.po
	apps/django_gpg/locale/nl_NL/LC_MESSAGES/django.po
	apps/django_gpg/locale/pl/LC_MESSAGES/django.po
	apps/django_gpg/locale/pt/LC_MESSAGES/django.po
	apps/django_gpg/locale/pt_BR/LC_MESSAGES/django.po
	apps/django_gpg/locale/ru/LC_MESSAGES/django.po
	apps/document_comments/locale/bg/LC_MESSAGES/django.po
	apps/document_comments/locale/de_DE/LC_MESSAGES/django.po
	apps/document_comments/locale/es/LC_MESSAGES/django.po
	apps/document_comments/locale/fr/LC_MESSAGES/django.po
	apps/document_comments/locale/it/LC_MESSAGES/django.po
	apps/document_comments/locale/nl_NL/LC_MESSAGES/django.po
	apps/document_comments/locale/pl/LC_MESSAGES/django.po
	apps/document_comments/locale/pt/LC_MESSAGES/django.po
	apps/document_comments/locale/pt_BR/LC_MESSAGES/django.po
	apps/document_comments/locale/ru/LC_MESSAGES/django.po
	apps/document_indexing/locale/bg/LC_MESSAGES/django.po
	apps/document_indexing/locale/de_DE/LC_MESSAGES/django.po
	apps/document_indexing/locale/fr/LC_MESSAGES/django.po
	apps/document_indexing/locale/nl_NL/LC_MESSAGES/django.po
	apps/document_indexing/locale/pt_BR/LC_MESSAGES/django.po
	apps/document_signatures/locale/bg/LC_MESSAGES/django.po
	apps/document_signatures/locale/de_DE/LC_MESSAGES/django.po
	apps/document_signatures/locale/fr/LC_MESSAGES/django.po
	apps/document_signatures/locale/nl_NL/LC_MESSAGES/django.po
	apps/document_signatures/locale/pt_BR/LC_MESSAGES/django.po
	apps/documents/locale/bg/LC_MESSAGES/django.po
	apps/documents/locale/de_DE/LC_MESSAGES/django.po
	apps/documents/locale/fr/LC_MESSAGES/django.po
	apps/documents/locale/nl_NL/LC_MESSAGES/django.po
	apps/documents/locale/pt_BR/LC_MESSAGES/django.po
	apps/dynamic_search/locale/bg/LC_MESSAGES/django.po
	apps/dynamic_search/locale/fr/LC_MESSAGES/django.po
	apps/dynamic_search/locale/nl_NL/LC_MESSAGES/django.po
	apps/dynamic_search/locale/pt_BR/LC_MESSAGES/django.po
	apps/folders/locale/bg/LC_MESSAGES/django.po
	apps/folders/locale/de_DE/LC_MESSAGES/django.po
	apps/folders/locale/fr/LC_MESSAGES/django.po
	apps/folders/locale/nl_NL/LC_MESSAGES/django.po
	apps/folders/locale/pt_BR/LC_MESSAGES/django.po
	apps/history/locale/bg/LC_MESSAGES/django.po
	apps/history/locale/fr/LC_MESSAGES/django.po
	apps/history/locale/nl_NL/LC_MESSAGES/django.po
	apps/history/locale/pt_BR/LC_MESSAGES/django.po
	apps/installation/locale/bg/LC_MESSAGES/django.po
	apps/installation/locale/de_DE/LC_MESSAGES/django.po
	apps/installation/locale/fr/LC_MESSAGES/django.po
	apps/installation/locale/nl_NL/LC_MESSAGES/django.po
	apps/installation/locale/pt_BR/LC_MESSAGES/django.po
	apps/linking/locale/bg/LC_MESSAGES/django.po
	apps/linking/locale/de_DE/LC_MESSAGES/django.po
	apps/linking/locale/fr/LC_MESSAGES/django.po
	apps/linking/locale/nl_NL/LC_MESSAGES/django.po
	apps/linking/locale/pt_BR/LC_MESSAGES/django.po
	apps/main/locale/bg/LC_MESSAGES/django.po
	apps/main/locale/de_DE/LC_MESSAGES/django.po
	apps/main/locale/fr/LC_MESSAGES/django.po
	apps/main/locale/nl_NL/LC_MESSAGES/django.po
	apps/main/locale/pt_BR/LC_MESSAGES/django.po
	apps/metadata/locale/bg/LC_MESSAGES/django.po
	apps/metadata/locale/de_DE/LC_MESSAGES/django.po
	apps/metadata/locale/fr/LC_MESSAGES/django.po
	apps/metadata/locale/nl_NL/LC_MESSAGES/django.po
	apps/metadata/locale/pt_BR/LC_MESSAGES/django.po
	apps/navigation/locale/bg/LC_MESSAGES/django.po
	apps/navigation/locale/fr/LC_MESSAGES/django.po
	apps/navigation/locale/nl_NL/LC_MESSAGES/django.po
	apps/navigation/locale/pt_BR/LC_MESSAGES/django.po
	apps/ocr/locale/bg/LC_MESSAGES/django.po
	apps/ocr/locale/de_DE/LC_MESSAGES/django.po
	apps/ocr/locale/fr/LC_MESSAGES/django.po
	apps/ocr/locale/nl_NL/LC_MESSAGES/django.po
	apps/ocr/locale/pt_BR/LC_MESSAGES/django.po
	apps/permissions/locale/bg/LC_MESSAGES/django.po
	apps/permissions/locale/fr/LC_MESSAGES/django.po
	apps/permissions/locale/nl_NL/LC_MESSAGES/django.po
	apps/permissions/locale/pt_BR/LC_MESSAGES/django.po
	apps/project_setup/locale/bg/LC_MESSAGES/django.po
	apps/project_setup/locale/fr/LC_MESSAGES/django.po
	apps/project_setup/locale/nl_NL/LC_MESSAGES/django.po
	apps/project_setup/locale/pt_BR/LC_MESSAGES/django.po
	apps/project_tools/locale/bg/LC_MESSAGES/django.po
	apps/project_tools/locale/fr/LC_MESSAGES/django.po
	apps/project_tools/locale/nl_NL/LC_MESSAGES/django.po
	apps/project_tools/locale/pt_BR/LC_MESSAGES/django.po
	apps/scheduler/locale/bg/LC_MESSAGES/django.po
	apps/scheduler/locale/fr/LC_MESSAGES/django.po
	apps/scheduler/locale/nl_NL/LC_MESSAGES/django.po
	apps/scheduler/locale/pt_BR/LC_MESSAGES/django.po
	apps/smart_settings/locale/bg/LC_MESSAGES/django.po
	apps/smart_settings/locale/de_DE/LC_MESSAGES/django.po
	apps/smart_settings/locale/fr/LC_MESSAGES/django.po
	apps/smart_settings/locale/nl_NL/LC_MESSAGES/django.po
	apps/smart_settings/locale/pt_BR/LC_MESSAGES/django.po
	apps/sources/locale/bg/LC_MESSAGES/django.po
	apps/sources/locale/fr/LC_MESSAGES/django.po
	apps/sources/locale/nl_NL/LC_MESSAGES/django.po
	apps/sources/locale/pt_BR/LC_MESSAGES/django.po
	apps/tags/locale/bg/LC_MESSAGES/django.po
	apps/tags/locale/fr/LC_MESSAGES/django.po
	apps/tags/locale/nl_NL/LC_MESSAGES/django.po
	apps/tags/locale/pt_BR/LC_MESSAGES/django.po
	apps/user_management/locale/bg/LC_MESSAGES/django.po
	apps/user_management/locale/de_DE/LC_MESSAGES/django.po
	apps/user_management/locale/fr/LC_MESSAGES/django.po
	apps/user_management/locale/nl_NL/LC_MESSAGES/django.po
	apps/user_management/locale/pt_BR/LC_MESSAGES/django.po
	apps/web_theme/locale/bg/LC_MESSAGES/django.po
	apps/web_theme/locale/de_DE/LC_MESSAGES/django.po
	apps/web_theme/locale/fr/LC_MESSAGES/django.po
	apps/web_theme/locale/nl_NL/LC_MESSAGES/django.po
	apps/web_theme/locale/pt_BR/LC_MESSAGES/django.po
2012-10-01 10:51:39 -04:00
Roberto Rosario 6f1c1a8b98 Remove the old language processing scripts and backport the process_message python utility from the development branch 2012-10-01 09:05:09 -04:00
Roberto Rosario fe058894f4 Sort translation resource for easier handling 2012-10-01 08:57:39 -04:00
Bertrand Bordage 853f4d3a6a Updates Transifex configuration.
Conflicts:

	.tx/config
2012-10-01 08:50:30 -04:00
Roberto Rosario f0c5d0b016 Initial support to upgrade a Mayan EDMS installation automatically 2012-10-01 04:05:01 -04:00
Roberto Rosario 416729fee0 Split the create_database task into create_database and create_user tasks 2012-10-01 02:34:58 -04:00
Roberto Rosario 79fb7e65cd Rename drop_username function to drop_user 2012-10-01 02:31:37 -04:00
Roberto Rosario e8951c8bed Add Stephen Knox to contributors file 2012-08-24 14:53:12 -04:00
Roberto Rosario e14238bb70 Move tags app links to a separate file 2012-08-21 09:16:13 -04:00
Roberto Rosario 8a27f90fcf Fix document statistics minimum page documents calculation 2012-08-21 08:59:01 -04:00
Roberto Rosario e02f39a6e0 Remove confusing double selected menu items during metadata setup 2012-08-21 08:55:32 -04:00
Roberto Rosario 37febb3308 Allow searching for documents via their metadata types too (Stephen Knox) 2012-08-21 08:31:54 -04:00
Roberto Rosario 5b1457a2bc Move document types link to be last 2012-08-15 01:53:38 -04:00
Roberto Rosario c05b9d0c3a Show document types to index in index list view 2012-08-15 01:52:49 -04:00
Roberto Rosario 15254f994c Backport translation file and additional languages from development branch 2012-08-14 16:30:25 -04:00
Roberto Rosario 26019a81d7 Backport language translation utility from development branch 2012-08-14 16:26:47 -04:00
Roberto Rosario db905a2a13 Backport support to limit an index to a particular set of document types, as well as balance the index tree template permissions 2012-08-14 16:02:34 -04:00
Roberto Rosario 5ba0c35894 Remove debug statement 2012-08-14 00:41:15 -04:00
Roberto Rosario 2f7ed43713 Don't truncate document type id string from url 2012-08-14 00:40:52 -04:00
Roberto Rosario 1ec255ee06 Backport Git repository support for the installation report app 2012-08-14 00:35:26 -04:00
Roberto Rosario b139350891 Use locking to prevent race condition at installation app posting 2012-08-14 00:30:24 -04:00
Roberto Rosario f3b7b39768 Rollback transaction for installion app during syncdb 2012-08-14 00:26:56 -04:00
Roberto Rosario fe080d497c Update APScheduler to latest version (2.0.3) 2012-08-14 00:24:49 -04:00
Roberto Rosario bfb9f14f0e Shutdown scheduler on management commands and on every exit 2012-08-14 00:24:26 -04:00
Roberto Rosario 60c7491f37 Improve document type setup views navigation 2012-08-14 00:06:43 -04:00
Roberto Rosario 7b526305dc Do some more updates to the .gitignore file 2012-07-30 17:13:22 -04:00
Roberto Rosario 278a7ee878 Add missing template from fabfile installer (Thanks to Pierre Host) 2012-07-30 16:53:55 -04:00
Roberto Rosario a143c04e12 Only ignore the top settings_local.py file 2012-07-30 16:53:47 -04:00
Roberto Rosario 82f6c928f5 Remove debug print statement 2012-07-02 01:05:30 -04:00
Roberto Rosario a8e26a4602 Add collectstatic step to update instructions 2012-07-01 00:29:46 -04:00
Roberto Rosario bdcc7debcc Update psutil version to 0.5.1
Conflicts:

	requirements/production.txt
2012-07-01 00:21:39 -04:00
Roberto Rosario e7f9eed638 Remove Cyrillic to allow PDF building 2012-06-30 04:11:33 -04:00
Roberto Rosario 167d783764 Merge branch 'hotfix/v0.12.2' 2012-06-30 03:47:48 -04:00
Roberto Rosario 04de24ea51 Update oficial description to include digital signature mention and point to new logo file 2012-06-30 03:42:48 -04:00
Roberto Rosario ba37a8a79c Update login, about, README and favicon logos to new oficial logo 2012-06-30 03:42:14 -04:00
Roberto Rosario ac2eccf6eb Bump version to 0.12.2 2012-06-30 01:33:29 -04:00
Roberto Rosario 92a627ed03 Documentation updates 2012-06-29 03:48:28 -04:00
Roberto Rosario 0d077e76dc Move uuid setting from __init__ to model 2012-06-29 03:46:43 -04:00
Roberto Rosario 3046be3c81 Add installation data submition code 2012-06-29 03:13:57 -04:00
Roberto Rosario 1b076bbc5d Remove comment 2012-06-29 02:39:46 -04:00
Roberto Rosario e6d861abf5 Refactor installation app to move code to model and display more information 2012-06-29 02:39:13 -04:00
Roberto Rosario 2c8832e879 Bump documentation version to 0.12.2 2012-06-28 17:11:31 -04:00
Roberto Rosario cb7fcb0ba7 Fix settings description 2012-06-28 17:11:20 -04:00
Roberto Rosario 6fe5876366 Update release notes for 0.12.2 2012-06-28 17:11:07 -04:00
Roberto Rosario 4e93da6e80 Add support to specifying the compressed documents download filename 2012-06-28 16:13:26 -04:00
Roberto Rosario 03f799e527 Move documents apps history events to a separate file 2012-06-28 16:03:22 -04:00
Roberto Rosario 41085154c7 Remove comments 2012-06-28 15:57:29 -04:00
Roberto Rosario 80131656ff Fix typo, add user to the forceful check in event description 2012-06-28 15:56:59 -04:00
Roberto Rosario e9210c5f7a Implement forcefull document check ins 2012-06-28 15:56:43 -04:00
Roberto Rosario 83990ce1bf Default value for event expressions is a dictionary not a list 2012-06-28 14:55:05 -04:00
Roberto Rosario 1a4f74849f Implement document auto check in history event 2012-06-28 11:47:11 -04:00
Roberto Rosario 9fe31d70a3 Add event for document automatic check in, and forcefull checkin 2012-06-28 11:46:41 -04:00
Roberto Rosario b1f4ead6de Add comments 2012-06-28 11:38:01 -04:00
Roberto Rosario 9309b00c1e Update auto admin field names 2012-06-28 11:37:49 -04:00
Roberto Rosario f503045aa1 Move the auto admin creation from the post_sync signal to the post_migrate signal, only deletec auto admin properties when password has been really changed 2012-06-28 11:35:58 -04:00
Roberto Rosario 2ac89baa8c Reduce auto admin model field names, add password_hash field to detect when the password has been really changed 2012-06-28 11:34:59 -04:00
Roberto Rosario 000271b8d8 Update checkouts TODO comments 2012-06-18 12:51:44 -04:00
Roberto Rosario 50b42238eb Initial commit to support random auto admin password and first run wizard 2012-06-18 12:51:20 -04:00
Roberto Rosario 1bfa23c58a Release notes update 2012-06-17 19:25:27 -04:00
Roberto Rosario c926447f05 Add simple POSIX detection to the installation app 2012-06-17 19:20:21 -04:00
Roberto Rosario 341e965d1e Update translation files 2012-06-17 19:14:23 -04:00
Roberto Rosario 1033328e0f Update German language translation files 2012-06-17 19:13:58 -04:00
Roberto Rosario 39bea8d389 Add German language to the list of supported languages 2012-06-17 19:12:49 -04:00
Roberto Rosario 8ff54449d4 Translation files updates 2012-06-17 18:29:33 -04:00
Roberto Rosario 919254429f Update language source file 2012-06-17 18:11:18 -04:00
Roberto Rosario 09d33d378d Update Transifex resource file 2012-06-17 18:11:05 -04:00
Roberto Rosario f77539aed0 Setup the installation and scheduler apps for translation 2012-06-17 18:10:18 -04:00
Roberto Rosario 208071b7eb Remove the feedback app 2012-06-17 18:04:51 -04:00
Roberto Rosario c1c02812b7 Add scheduled interval list view to the scheduler app 2012-06-17 18:01:26 -04:00
Roberto Rosario 4fc33b1bd5 Add installation environment details app 2012-06-17 17:32:54 -04:00
Roberto Rosario 30f9ff73ff Move history app links to a seprate file 2012-06-17 16:54:53 -04:00
Roberto Rosario 35213d9982 Add link to filter event list by event type, update code to be more up to speed with other apps 2012-06-17 16:49:24 -04:00
Roberto Rosario dc3825f2b7 Merge remote-tracking branch 'origin/feature/document_checkout' into hotfix/v0.12.2 2012-06-17 08:14:28 -04:00
Roberto Rosario 9104ff4c4b Update documentation for version 0.12.2 2012-06-17 01:31:56 -04:00
Roberto Rosario 4bf6310d1d Only impose check out limitations to non original user and not admin, add checkout limitation overriding permission 2012-06-17 01:08:47 -04:00
Roberto Rosario d34714bafa Add split time delta validation exception when empty 2012-06-17 00:40:46 -04:00
Roberto Rosario 0e47bbb10b Add history events 'check out' and 'check in' logging 2012-06-17 00:39:54 -04:00
Roberto Rosario a6e1df9b3a Allow giving access to the history of specific documents via ACLs 2012-06-17 00:38:00 -04:00
Roberto Rosario 669f699f45 Fix ACL calculation when user doesn't belong to any group or role 2012-06-17 00:35:27 -04:00
Roberto Rosario ec9cc0635d Rename 'Event details' to 'Additional details' and make it optional 2012-06-17 00:24:52 -04:00
Roberto Rosario 87917ca394 Add automatic check in of documents after check out expiration happens 2012-06-16 23:31:13 -04:00
Roberto Rosario c01b375b98 Redirect to checkout info if document is already checked out 2012-06-16 23:30:48 -04:00
Roberto Rosario 1a2813adcb Properly catch exception in checkout view 2012-06-16 02:08:08 -04:00
Roberto Rosario b8e289b3d2 Remove remarked code 2012-06-16 02:07:53 -04:00
Roberto Rosario b3c530068c Add TODO item 2012-06-16 02:07:36 -04:00
Roberto Rosario f1fc13f739 Move widgets code from forms.py to widgets.py 2012-06-16 02:07:13 -04:00
Roberto Rosario c39f1aa8a0 Add form field clean method to detect if documents are already checked out 2012-06-16 02:03:14 -04:00
Roberto Rosario 4a1acbbaac Preserve filename existing extension if new filename doesn't has one
Fixes issue #24
2012-06-16 01:19:22 -04:00
Roberto Rosario 4322ac0a02 Add support for selectively blocking new document version uploads when checking out documents 2012-06-15 19:30:08 -04:00
Roberto Rosario cd89bbd488 Show document checkout information on checked out document list view 2012-06-15 19:29:28 -04:00
Roberto Rosario 8fdd361071 Add NewDocumentVersionNotAllowed exception to documents app 2012-06-15 19:28:22 -04:00
Roberto Rosario 30842d5d9b Rename main menu checkout link text 2012-06-15 19:27:41 -04:00
Roberto Rosario 6ddbc5156c Return the primary key of document not of checkout entry 2012-06-15 17:45:55 -04:00
Roberto Rosario 44908c90e7 Update README.md 2012-06-13 04:05:18 -04:00
Roberto Rosario f2cf069e19 Add logo display markup 2012-06-13 03:57:22 -04:00
Roberto Rosario 853e9d08dd Add Mayan landscape logo 2012-06-13 03:55:08 -04:00
Roberto Rosario 2a7588deac Move checkout status widget code to a separate file 2012-06-13 03:40:22 -04:00
Roberto Rosario 4d8c930852 Add checkouts app static media 2012-06-13 03:40:01 -04:00
Roberto Rosario a4af59527a Finish all views (check info, check out and check in) 2012-06-13 03:39:39 -04:00
Roberto Rosario fb25728202 Add user object field to checkout model 2012-06-13 03:39:12 -04:00
Roberto Rosario df8be16e9d Add document_checkout_info and document_checkout_state manager methods 2012-06-13 03:38:45 -04:00
Roberto Rosario 79c4a47251 Add literals for checkout state and state icons 2012-06-13 03:38:20 -04:00
Roberto Rosario 4234285923 Apply proper permissions to link definitions 2012-06-13 03:38:02 -04:00
Roberto Rosario 35322b194c Add permission_checkin_override to document class permissions 2012-06-13 03:37:27 -04:00
Roberto Rosario 41b654695d Finish checkout form, custom fields and custom widgets 2012-06-13 03:36:30 -04:00
Roberto Rosario 897fc031ec Add improved migrations 2012-06-13 03:36:13 -04:00
Roberto Rosario fae74e8791 Update view to new form definition 2012-06-12 22:44:25 -04:00
Roberto Rosario 6f108c32f5 Tweak model options 2012-06-12 22:43:28 -04:00
Roberto Rosario 03cd450839 Add conditional display to check in and out links 2012-06-12 22:41:48 -04:00
Roberto Rosario 144e01dc97 Add sample custom field and widget to fashion the split checkout expiration field from this one 2012-06-12 22:41:01 -04:00
Roberto Rosario e01c38b9a3 Improve checkout view 2012-06-12 02:49:36 -04:00
Roberto Rosario 6568e64c1f Update model to try to detect consecutive checkout of the same document 2012-06-12 02:48:21 -04:00
Roberto Rosario b412a6bf43 Rename link name 2012-06-12 02:43:28 -04:00
Roberto Rosario e265715c7d Reduce fields size, compose expiration datetime from the form inputs 2012-06-12 02:42:51 -04:00
Roberto Rosario 8ff727c50b Initial commit adding document checkout support 2012-06-11 01:25:02 -04:00
Roberto Rosario d0c8f23dfe Update the requests package required version (version 0.10.1 causes vagrant box to drop SSH connection)
Conflicts:

	requirements/production.txt
2012-06-08 23:11:28 -04:00
Roberto Rosario b896ab9eec Update README.md escaped chars 2012-06-03 23:03:54 -04:00
Roberto Rosario 297d39019a Update fabfile url 2012-06-03 23:00:02 -04:00
Roberto Rosario 992e77a1c6 Add fabfile instructions to README.MD file 2012-06-03 22:55:42 -04:00
Roberto Rosario 980d8c3331 Merge branch 'hotfix/v0.12.1' 2012-06-03 22:38:21 -04:00
Roberto Rosario 001f7f1695 Remove cyrillic characters from doc utils makepdf error is resolved 2012-06-03 22:37:02 -04:00
Roberto Rosario 91c4477f27 Update version 0.12.1 release notes 2012-06-03 22:36:40 -04:00
Roberto Rosario 05ec39e6f0 Add Fedora,fabfile,appsembler install steps 2012-06-03 22:36:13 -04:00
Roberto Rosario 2849fd6e79 Detect blank pages with the PopplerParser, raise ParserError to fallback to OCR if all parsers fail 2012-06-03 21:08:22 -04:00
Roberto Rosario b88fd35b8a Update compressed fabric file 2012-06-03 04:47:48 -04:00
Roberto Rosario 57f2fe3d4a Autodetect version of Python being executed 2012-06-03 04:40:27 -04:00
Roberto Rosario c4e3c1a65e Add python-dev to the list of Ubuntu/Debian dependencies (required by Pillow) 2012-06-03 04:21:10 -04:00
Roberto Rosario d5b27bb229 Fix mayan github repository url 2012-06-03 04:20:45 -04:00
Roberto Rosario f47d202b4e Add per host settings, Add host group support via server_config.json or server_config.yaml files (requires pyyaml)
http://fueledbylemons.com/blog/2011/04/09/server-configs-and-fabric/
2012-06-03 03:03:28 -04:00
Roberto Rosario a4bc5dbd63 Display database password 2012-06-03 03:02:52 -04:00
Roberto Rosario 4b4dc9d96f Add support for Debian, merge Debian/Ubuntu platforms 2012-06-03 02:46:41 -04:00
Roberto Rosario cf88bf759e Display the supported configurations 2012-06-02 01:55:01 -04:00
Roberto Rosario 50032767cb Update compressed fabfile 2012-06-02 01:42:20 -04:00
Roberto Rosario a0193ca78b Add Fedora support to the fabfile (Tested on Fedora 17) 2012-06-02 01:41:23 -04:00
Roberto Rosario f9e028e134 Update compressed fabfile 2012-06-01 05:03:09 -04:00
Roberto Rosario be5ac9f733 Remove extra decorator 2012-06-01 05:02:47 -04:00
Roberto Rosario 0d76a4b6c6 Update compressed fabfile 2012-06-01 04:18:05 -04:00
Roberto Rosario cfbefa965f Add database.drop_username task 2012-06-01 04:17:40 -04:00
Roberto Rosario bfc588fa3e Add compressed fabfile script, and latest fabfile 2012-06-01 03:54:49 -04:00
Roberto Rosario 2e0b2f6535 Finish uninstall task 2012-06-01 03:39:06 -04:00
Roberto Rosario f8226e662e Small fix to apache site template 2012-06-01 03:22:28 -04:00
Roberto Rosario cd4d8b6f33 Add missing import 2012-06-01 03:22:14 -04:00
Roberto Rosario 81492db807 Add django.collectstatic task 2012-06-01 03:21:56 -04:00
Roberto Rosario 2b1af0c4c4 Add database_host to database creation task 2012-06-01 03:21:34 -04:00
Roberto Rosario b2522d8158 Add random password generator 2012-06-01 03:21:10 -04:00
Roberto Rosario 60a7cee93b Add colorization and logo 2012-06-01 03:20:26 -04:00
Roberto Rosario 66e3e4d7b5 Add Django tasks, update setting_local and apache site template render, fix os vs. env error 2012-06-01 02:42:21 -04:00
Roberto Rosario 9f0d7966bc Update fabfile to user global environment configuration, abstracted tasks for platform, webserver and database manager 2012-06-01 01:55:09 -04:00
Roberto Rosario ccf41ae67d Merge remote-tracking branch 'origin/hotfix/v0.12.1' into hotfix/v0.12.1 2012-05-31 21:36:40 -04:00
Roberto Rosario ac500e48a4 Initial commit of the fabric file for automatic installation 2012-05-31 20:38:25 -04:00
Roberto Rosario ddfe650390 Release notes remark about OCR default change 2012-05-31 08:46:09 -04:00
Roberto Rosario c7ea5271e4 Add logging to converter.api 2012-05-31 01:42:01 -04:00
Roberto Rosario c6dc854b94 Set the HOME environment to allow libreoffice to run when launched from apache 2012-05-31 01:41:25 -04:00
Roberto Rosario eed1f6aa7b Add missing import 2012-05-30 19:35:17 -04:00
Roberto Rosario f2f99bf0ad Change default value of OCR_AUTOMATIC_OCR to True 2012-05-30 19:27:23 -04:00
Roberto Rosario 86d23f2656 The OCR and parsing queue is now active as soon as it is created 2012-05-30 19:26:50 -04:00
Roberto Rosario 166a952f8e Release note update 2012-05-30 18:54:07 -04:00
Roberto Rosario 0cf8fe2dec Update PDFTOTEXT_PATH config option description 2012-05-30 18:53:28 -04:00
Roberto Rosario 7bc61e0cff Documentation update 2012-05-30 18:53:08 -04:00
Roberto Rosario f21a96ae5b Update compiled translation fixes for Italian 2012-05-30 18:37:43 -04:00
Roberto Rosario b9d88d2859 Sync Italian translation sources from Transifex 2012-05-30 18:35:50 -04:00
Roberto Rosario c754a48c92 Initial v0.12.1 release notes 2012-05-30 16:57:49 -04:00
Roberto Rosario d1ccca4d2e Final updates for the PopplerParser 2012-05-30 16:15:57 -04:00
Roberto Rosario 200e5f3947 Add setting to specify the location of the pdftotext binary 2012-05-30 16:15:30 -04:00
Roberto Rosario bf12814e0c Log ocr task errors properly 2012-05-30 16:14:53 -04:00
Roberto Rosario babd3ec2f3 Refacto parser system to be class based, add poppler based PDF parser, allow multiple parsers for each mimetype with fallback 2012-05-30 12:57:25 -04:00
Roberto Rosario 036ec09234 Move the copyfile function to the common app 2012-05-30 12:56:56 -04:00
Roberto Rosario 29791999c2 Allow document mimetypes to be None 2012-05-29 23:54:07 -04:00
Roberto Rosario d235ca406f Add improve office document conversion with new office converter backend 2012-05-29 04:23:18 -04:00
Roberto Rosario 4331c00b79 Update index view name to display again multi document actions in the index instance view 2012-05-29 03:32:33 -04:00
Roberto Rosario 2ee3542e05 Bump documentation version 2012-05-29 03:18:08 -04:00
Roberto Rosario ec23b95afe Add Mailing list link to top 2012-05-29 03:07:12 -04:00
Roberto Rosario a6ee0c9188 Add installation test step 2012-05-29 03:06:54 -04:00
Roberto Rosario fbed4678fe Add libpng-dev and libjpeg-dev to the installation instructions 2012-05-29 02:49:02 -04:00
Roberto Rosario 26705d1506 Catch OSError exception when calculating document filesystem stats 2012-05-29 02:46:30 -04:00
Roberto Rosario 1f75b76f96 Remove pre-South migration script 2012-05-29 02:40:29 -04:00
Roberto Rosario 7141f5814e Bump version to v0.12.1 2012-05-29 02:37:19 -04:00
Roberto Rosario b03f9237ef Improve document statistics performance, fix None/0 error when calculating statistics on a empty DB 2012-05-29 02:36:35 -04:00
Roberto Rosario f36d3d1a44 Update the required version of South to latest (0.7.5) 2012-05-22 13:13:10 -04:00
Roberto Rosario 774b5bc8dc Don't install python-gnupg from upstream but from my github fork 2012-04-06 01:08:33 -04:00
Roberto Rosario e7d7ae0c88 Simplify auto admin creation code 2012-03-27 23:10:26 -04:00
Roberto Rosario f82cda218d Remove Flattr button 2012-03-19 09:04:44 -04:00
Roberto Rosario c69397485e Don't import metadata info on top level __init__.py
Not being used anyway, causes problems with Appsembler
2012-03-06 00:34:42 -04:00
Roberto Rosario b908f5e258 Fix staging file filename hashing not working with unicode filenames 2012-03-04 20:31:09 -04:00
Roberto Rosario 365df067ad Preserve unicode data in URL query 2012-03-04 20:30:48 -04:00
Roberto Rosario f7cd663cc7 Call Django's urlencode directly to ensure unicode data preservation 2012-03-04 20:30:40 -04:00
Roberto Rosario 0170f237b7 Merge branch 'development' 2012-02-27 14:46:26 -04:00
Roberto Rosario 723dbdb7e4 Allow preview and deletion of staging files with either the DOCUMENT_CREATE or NEW_VERSION permissions 2012-02-27 14:45:39 -04:00
Roberto Rosario 92aadcc4ee Allow access to objects that doesn't have a content type 2012-02-27 14:41:36 -04:00
Roberto Rosario f72b08d931 Merge branch 'release/v0.12' into development 2012-02-27 12:57:39 -04:00
Roberto Rosario 84c47d4ab6 Merge branch 'release/v0.12'
Conflicts:
	apps/documents/models.py
	apps/history/api.py
	apps/ocr/__init__.py
2012-02-27 12:57:11 -04:00
Roberto Rosario d84a42769f Bump version to 0.12 2012-02-27 12:50:46 -04:00
Roberto Rosario 504a215c22 Added another example to the debug section 2012-02-27 11:16:20 -04:00
Roberto Rosario b743521cee Add descriptions to some settings 2012-02-27 11:07:45 -04:00
Roberto Rosario 8e395f54ee Add section headers to the customization chapter 2012-02-27 11:07:19 -04:00
Roberto Rosario ce8fb41301 Russian translation updated (Sergei Glita) 2012-02-27 10:47:31 -04:00
Roberto Rosario db741b9e8b Fix typo 2012-02-26 17:00:51 -04:00
Roberto Rosario 1f1b9629e5 Split documentation and translation chapter from the development chapter of the documentation 2012-02-26 16:58:49 -04:00
Roberto Rosario 0667a26f2f Add documenation URL 2012-02-26 16:51:18 -04:00
Roberto Rosario e49db7769c Add customization documentation page 2012-02-26 16:49:46 -04:00
Roberto Rosario 750fafdc72 Updated Webfaction installation instructions (Michael Terretta) 2012-02-26 00:47:19 -04:00
Roberto Rosario cebb22731c Calculate a staging file id from the hash of its full filepath and not of the contents
Can finally close issue #1
2012-02-25 23:45:48 -04:00
Roberto Rosario 71dfb5f46a Correctly match a new node instance to it's respective parent 2012-02-23 13:53:50 -04:00
Roberto Rosario 244aa4aaa8 Don't create the index's root node on the view, call the root node created when the index is created 2012-02-23 13:52:42 -04:00
Roberto Rosario 8b80798283 Capture all index evaluation errors 2012-02-23 10:45:18 -04:00
Roberto Rosario 94c86aa3a3 Merge branch 'feature/polish' into development 2012-02-22 16:15:42 -04:00
Roberto Rosario 83c27dffec Updates translation scripts to add Polish 2012-02-22 16:15:28 -04:00
Roberto Rosario 144540de9d Update credits and release notes to add mic and Polish translation 2012-02-22 16:15:01 -04:00
Roberto Rosario da6d1c474b Update compiled translation files 2012-02-22 16:14:40 -04:00
Roberto Rosario a888b11dec Portuguese translation strings update 2012-02-22 16:07:29 -04:00
Roberto Rosario 1f2b25152f Italian translation strings update 2012-02-22 16:07:07 -04:00
Roberto Rosario 4e1c8ff0eb Initial Polish translation by mic (https://www.transifex.net/accounts/profile/mic/) 2012-02-22 16:05:53 -04:00
Roberto Rosario 1cbe8f78e8 Add column showing index and index node enabled/disabled status 2012-02-22 15:58:58 -04:00
Roberto Rosario 3768835219 Add sanity check when assembling a full path 2012-02-22 15:01:54 -04:00
Roberto Rosario 27081240cf Fix PermissionDenied exception import 2012-02-22 14:52:14 -04:00
Roberto Rosario 81cd25eaac Merge branch 'feature/pep8_cleanup' into development 2012-02-22 14:37:25 -04:00
Roberto Rosario 145afedd89 tag app cleanups 2012-02-22 14:37:11 -04:00
Roberto Rosario 27293d3396 feedback app cleanups 2012-02-22 14:34:20 -04:00
Roberto Rosario edca055856 acl app cleanups 2012-02-22 14:34:05 -04:00
Roberto Rosario f484e1a9c3 PEP8 and general cleanups 2012-02-22 11:57:00 -04:00
Roberto Rosario af9be90849 Improve tag app menu highlighting 2012-02-22 11:56:18 -04:00
Roberto Rosario 5bc61ca70e Remove unused test files 2012-02-22 11:55:48 -04:00
Roberto Rosario 3b22489be1 Don't hide index rebuilding errors if DEBUG is True 2012-02-22 09:40:16 -04:00
Roberto Rosario edaf682607 Shutdown scheduler on South's pre_migrate signal 2012-02-21 15:51:49 -04:00
Roberto Rosario df1cc7121e Remove remarked lines 2012-02-21 15:47:16 -04:00
Roberto Rosario 87b042101d Convert app to use project tools new dynamic children view regex 2012-02-21 15:45:45 -04:00
Roberto Rosario 91d1e5a33c Copy project setup's dynamic children view regex solution 2012-02-21 15:45:08 -04:00
Roberto Rosario ae86d1cd4b Update all apps to register their own children views regular expressions 2012-02-21 15:33:20 -04:00
Roberto Rosario bcb93639df Improve the dynamic children view regex append code 2012-02-21 15:32:46 -04:00
Roberto Rosario 21d360d8d2 Improve document acl menu highlighting 2012-02-21 12:53:35 -04:00
Roberto Rosario a13052222b Fix key management app menu hightlighting 2012-02-21 12:53:13 -04:00
Roberto Rosario 15219b27b9 Fix acl app menu highlight 2012-02-21 12:52:50 -04:00
Roberto Rosario 4bb441b572 Improve the document indexing app menu highlighting 2012-02-21 12:27:42 -04:00
Roberto Rosario c596c8e24e Update a setup top menu entry children_view_regex entries after every new setup sub entry registration 2012-02-21 12:26:38 -04:00
Roberto Rosario a6f6dc9f0a Return the top menu entry after it has been registered for futher modification 2012-02-21 12:25:39 -04:00
Roberto Rosario 1dd6f6f6a2 Fix top menu navigation children_view_regex matching typo 2012-02-21 12:25:02 -04:00
Roberto Rosario 987b0ad0e7 Fix index menu highlighting logic 2012-02-21 11:44:57 -04:00
Roberto Rosario a7dd15124d Versioning diagram update 2012-02-21 11:44:45 -04:00
Roberto Rosario 05fdd47fee Documentation update 2012-02-21 01:47:19 -04:00
Roberto Rosario e0a80f10cb Merge branch 'feature/documentation_updates' into development 2012-02-18 04:21:04 -04:00
Roberto Rosario a510cfe6d0 Link features to the actual chapter where they are discussed 2012-02-18 04:19:56 -04:00
Roberto Rosario d51a5590f8 Updated documentation index 2012-02-18 04:13:49 -04:00
Roberto Rosario 03cdea8920 Add document signatures chapter 2012-02-18 04:13:32 -04:00
Roberto Rosario 8e46f2818e Moved bulk document and user import to a separate chapter 2012-02-18 04:12:59 -04:00
Roberto Rosario 57730bcfbe Add versioning chapter and diagram 2012-02-18 04:12:38 -04:00
Roberto Rosario d0cdb44e2d Add clear_detached_signature manager method 2012-02-15 01:45:22 -04:00
Roberto Rosario 31c6cc3142 Move extra requirements upgrade step to the start, add staging file preview updates 2012-02-15 00:00:49 -04:00
Roberto Rosario 0c1da1b0c2 Add sources app migration instructions for the release notes 2012-02-14 23:56:13 -04:00
Roberto Rosario 6eca8b6699 Make staging source preview width a required field 2012-02-14 23:55:47 -04:00
Roberto Rosario 71f9a3171f Display staging file filename as a title when during preview, treat all staging files as a gallery 2012-02-14 23:46:42 -04:00
Roberto Rosario ffb155366a Add TODO comment for future consideration 2012-02-14 16:36:59 -04:00
Roberto Rosario f78b09229c Fallback to a page count of 1 when slate raise an Exception 2012-02-14 16:35:39 -04:00
Roberto Rosario 9f60cffd0a Use the Document model rename method 2012-02-14 16:35:14 -04:00
Roberto Rosario 614906e6f6 Add document and document version filename rename model method 2012-02-14 16:17:12 -04:00
Roberto Rosario 00e467949f Update metadata and indexes after document is fully created 2012-02-14 15:59:44 -04:00
Roberto Rosario 90112bb9bb Explicitly close descriptors after verifying a file's signatures 2012-02-14 14:41:44 -04:00
Roberto Rosario 6de85b9670 Don't pass the detached_signature descriptor, but clone it to avoid being closed, don't close file descriptors leave it up to caller to do so. 2012-02-14 14:40:48 -04:00
Roberto Rosario ff52506b24 Plug a possible descriptor leak 2012-02-14 14:26:58 -04:00
Roberto Rosario bd4e97b857 Rename delete_detached_signature to delete_detached_signature_file which is more appropiate 2012-02-14 14:26:25 -04:00
Roberto Rosario d0ba46ecde Remove commented default settings
Too hard to maintain, users should use the documentation instead and them by hand
2012-02-14 14:25:18 -04:00
Roberto Rosario a9cd2141b0 Add Gname news server to the help section of the documentation 2012-02-14 14:24:40 -04:00
Roberto Rosario cc3525366c Add Michael Terretta to the contributors file 2012-02-13 02:13:48 -04:00
Roberto Rosario a0ce01fc0c Add missing dot typo 2012-02-12 23:38:22 -04:00
Roberto Rosario 60176ada09 Documentation updates 2012-02-12 17:12:42 -04:00
Roberto Rosario cc0040a88b Language source files updates, Spanish translation updates 2012-02-12 15:33:26 -04:00
Roberto Rosario 1892225d6f Show currently selected document type in upload views 2012-02-12 15:18:21 -04:00
Roberto Rosario 4d8a61b25b Fix document container index nodes 2012-02-12 15:01:07 -04:00
Roberto Rosario 234e5b8c5b Add Latex configuration 2012-02-12 02:21:57 -04:00
Roberto Rosario f253ecf8c1 Gracefully shutdown the scheduler on pre_collectstatic and post_syncdb 2012-02-12 02:06:45 -04:00
Roberto Rosario 31813f3412 Add signaler app to intercept management commands and emit signals 2012-02-12 02:06:06 -04:00
Roberto Rosario d1621c6120 Documentation updates, split indexes and permissions into sections 2012-02-11 21:21:16 -04:00
Roberto Rosario f94f997883 Documentation updates, indexed documentation 2012-02-11 21:13:05 -04:00
Roberto Rosario f19d34cd8c Spanish and Russian language translation updates 2012-02-11 20:30:37 -04:00
Roberto Rosario 028c134bfd The OSError doesn't like unicode text, change it to plain Exception class (Sergei Glita) 2012-02-11 20:05:58 -04:00
Roberto Rosario afb64f7472 Also ensure that the default gpg_home directory is really relative to the installation directory (SaintGermain) 2012-02-11 18:08:54 -04:00
Roberto Rosario 2334a63fe4 Ensure default document_storage directory is really relative to the installation directory (SaintGermain) 2012-02-11 18:08:20 -04:00
Roberto Rosario e7825dedb6 Fix 'get_image_cache_name() takes exactly 3 arguments (2 given)' (Barry Rowlingson, SaintGermain) 2012-02-09 02:24:18 -04:00
Roberto Rosario 7adb3a9ccd Remove debug logging command causing unicode error (Sergei Glita) 2012-02-08 11:23:24 -04:00
Roberto Rosario e2ca6654f4 Improve tag appeareance and elimate obsolete tag block color widget 2012-02-07 15:07:17 -04:00
Roberto Rosario f026ef8bd4 Handle unicode filenames in staging folder preview and upload (Sergei Glita) 2012-02-07 14:40:56 -04:00
Roberto Rosario fe6e347592 Remove delete mode in the permission grant and remove views (Sergei Glita) 2012-02-07 10:42:07 -04:00
Roberto Rosario d457c752fa Ilustrations markup update 2012-02-07 01:48:25 -04:00
Roberto Rosario 17fcf9877c Finished indexes topic of the documentation will full ilustrations 2012-02-07 01:46:20 -04:00
Roberto Rosario aa9d878365 Add missing import 2012-02-07 00:17:07 -04:00
Roberto Rosario 44ca1ccac6 Move dispatch to the correct place 2012-02-06 16:20:00 -04:00
Roberto Rosario 35bd9a1519 Remove repeated update step 2012-02-06 16:01:20 -04:00
Roberto Rosario 02e83d5c77 For folders app migration to depend of document's app migrations 2012-02-06 15:03:50 -04:00
Roberto Rosario 0219598912 Fix bug introduced by last commits 2012-02-06 15:03:26 -04:00
Roberto Rosario eef1114be2 Add transaction rollback 2012-02-06 14:56:27 -04:00
Roberto Rosario 248a5ea82d Add transaction rollback 2012-02-06 14:38:59 -04:00
Roberto Rosario 758661c280 Add requirements installation step to the upgrade procedure 2012-02-06 14:38:08 -04:00
Roberto Rosario 75ecbfdee0 Add PostgreSQL instructions 2012-02-06 14:37:40 -04:00
Roberto Rosario c0d8e6f667 Move the RecentDocumentManager to the models.py file
To be able to return a QuerySet and not a list of recent documents
2012-02-05 23:27:03 -04:00
Roberto Rosario 2147923eb0 Documentation updates, permissions diagrams and inkscape sources 2012-02-05 02:47:11 -04:00
Roberto Rosario 4d546f7415 Remove celery code line 2012-02-05 00:51:31 -04:00
Roberto Rosario 9c03663924 Move tree node widget code to the widgets.py file and prettify a bit 2012-02-05 00:48:31 -04:00
Roberto Rosario 735d3db97a Merge django_gpg's verify_file + verify_w_retry methods 2012-02-05 00:19:54 -04:00
Roberto Rosario a13f048242 Fix indentation 2012-02-04 17:20:13 -04:00
Roberto Rosario a707a3f29e Backport OCR app fixes 2012-02-04 13:59:56 -04:00
Roberto Rosario 5c504af81f Backport history app database sync fix 2012-02-04 13:57:04 -04:00
Roberto Rosario 2be02b2e01 Remove db_index from TextField class fields, this closes issue #12 2012-02-04 13:22:12 -04:00
Roberto Rosario 1a24c18598 Add file storage topic 2012-02-02 16:21:34 -04:00
Roberto Rosario db3b64b35e Add link to Samba, link to settings option 2012-02-02 16:21:11 -04:00
Roberto Rosario 79c793b74b Improve list format 2012-02-02 16:20:55 -04:00
Roberto Rosario 40f6eb6c0c Add permission topic to the documentation 2012-02-02 16:02:59 -04:00
Roberto Rosario a24bf89a2b Merge branch 'feature/doc_type_default_optiongroups' into development 2012-02-02 15:38:00 -04:00
Roberto Rosario ca193252c2 Add option group support to the document type default metadata types and sets view 2012-02-02 15:37:36 -04:00
Roberto Rosario cc9ce7c212 Don't hide and raise errors on assign_remove view when in DEBUG mode 2012-02-02 15:37:06 -04:00
Roberto Rosario 2dfad128e2 Language source and translations updates 2012-02-02 14:56:15 -04:00
Roberto Rosario e870f4ee5a Fix translation scripts 2012-02-02 13:03:10 -04:00
Roberto Rosario 5891a39e41 Added transifex client to the development requirements 2012-02-02 12:50:20 -04:00
Roberto Rosario d2f1dcc181 Merge branch 'feature/feedback_app' into development 2012-02-02 12:49:27 -04:00
Roberto Rosario b3c917a9de Update language related config files for new feedback app 2012-02-02 12:49:10 -04:00
Roberto Rosario 67f3377916 Add feedback app 2012-02-02 12:48:56 -04:00
Roberto Rosario 57846a758a Show index child node count 2012-02-02 11:20:08 -04:00
Roberto Rosario a9d02e08bc Update top menu icon 2012-02-02 11:07:28 -04:00
Roberto Rosario c02dcce043 Merge branch 'feature/indexing_refactor' into development 2012-02-02 10:45:11 -04:00
Roberto Rosario 48922d58ef Documentation update for the document indexing 2012-02-02 10:44:00 -04:00
Roberto Rosario 6b8dcb7240 Update the index mirroring rebuild tool 2012-02-02 10:28:25 -04:00
Roberto Rosario cc78b7d25a Update filesystem mirroring functions 2012-02-02 10:27:46 -04:00
Roberto Rosario 02a762cf73 Remove obsolete indexing config settings and add new FILESYSTEM_SERVING 2012-02-02 10:26:58 -04:00
Roberto Rosario 063d2fca40 Smarted exception catching 2012-02-02 10:26:39 -04:00
Roberto Rosario 7331a87c89 Rename MetadataObject class to MetadataClass 2012-02-02 09:42:37 -04:00
Roberto Rosario cc3632dcfe Remove remarked code 2012-02-02 09:37:31 -04:00
Roberto Rosario ac7a3806ec Use proper try/exception format 2012-02-02 09:37:13 -04:00
Roberto Rosario 2c6339b56a Small updates and fixes 2012-02-02 09:33:28 -04:00
Roberto Rosario 1eabbf90cd Move exception to a single module 2012-02-02 09:23:20 -04:00
Roberto Rosario 2ac6250149 Fix imports 2012-02-02 09:23:07 -04:00
Roberto Rosario 1d3c5241ec Move all widgets code to a single module 2012-02-02 09:22:40 -04:00
Roberto Rosario 95be7cb417 Merge os_specify and filesystem module 2012-02-02 09:17:01 -04:00
Roberto Rosario 2c53c5a2ff Automatically create root template node on index save, add help texts 2012-02-02 09:13:23 -04:00
Roberto Rosario 06cde627d2 Simplify node link generator 2012-02-02 09:12:58 -04:00
Roberto Rosario c6fa070222 Add ACL checks to document_index_list 2012-02-02 09:12:20 -04:00
Roberto Rosario 790dad2df4 Enforce enabled boolean field, silence errors 2012-02-02 09:00:41 -04:00
Roberto Rosario f4ed105c99 Bump version to 0.12 beta 2012-02-02 05:35:06 -04:00
Roberto Rosario d230dd7110 Revert "Bump version to 0.11.2"
This reverts commit f9be37768e.
2012-02-02 05:33:47 -04:00
Roberto Rosario c79d1d0c34 Revert "Merge branch 'hotfix/v0.11.2' into development"
This reverts commit f8e2341f4f, reversing
changes made to 1c8fd9e212.
2012-02-02 05:28:13 -04:00
Roberto Rosario f8e2341f4f Merge branch 'hotfix/v0.11.2' into development
Conflicts:
	apps/documents/statistics.py
	docs/changelog.rst
2012-02-02 05:23:17 -04:00
Roberto Rosario 5300eea31a Merge branch 'hotfix/v0.11.2' 2012-02-02 05:21:52 -04:00
Roberto Rosario c117a907e4 Update changelog 2012-02-02 05:21:32 -04:00
Roberto Rosario f9be37768e Bump version to 0.11.2 2012-02-02 05:21:20 -04:00
Roberto Rosario 1c8fd9e212 Revert "Add Сергей Глита (https://github.com/gsv70) fix for issue #17"
This reverts commit af77cdcf63.
2012-02-02 05:16:04 -04:00
Roberto Rosario 603f6eec3e Add Сергей Глита (https://github.com/gsv70) fix for issue #17 2012-02-02 05:15:47 -04:00
Roberto Rosario af77cdcf63 Add Сергей Глита (https://github.com/gsv70) fix for issue #17 2012-02-02 05:13:58 -04:00
Roberto Rosario 664eda3d20 Add David Herring's monetary donation 2012-02-02 05:13:04 -04:00
Roberto Rosario 59f6f7f8cc Document indexing refactoring update 2012-02-02 05:01:42 -04:00
Roberto Rosario bbf03e3caa Merge branch 'development' into feature/indexing_refactor
Conflicts:
	docs/releases/0.12.rst
2012-02-02 02:59:31 -04:00
Roberto Rosario 7b7153f7f6 Apply same invalid holder check to object ACL holder list manager method 2012-02-02 01:05:15 -04:00
Roberto Rosario a3ccc9c005 Don't assign an ACL to a non existant holder 2012-02-02 01:02:40 -04:00
Roberto Rosario 4ed7c714e0 Don't return non existant class default holders 2012-02-02 01:02:17 -04:00
Roberto Rosario 1ccdbb7973 Add extra logging 2012-02-02 01:01:25 -04:00
Roberto Rosario 4e3a16da82 Return a QuerySet of documents instead 2012-02-02 00:38:58 -04:00
Roberto Rosario 556c0824fb Return a QuerySet instead of a list of documents 2012-02-02 00:16:34 -04:00
Roberto Rosario 78b73b81e3 Increase folder title field size to 128 characters 2012-02-02 00:10:16 -04:00
Roberto Rosario a91d7882f8 Don't display object type on the metadata set member add remove view 2012-02-02 00:05:20 -04:00
Roberto Rosario 3b327ff5b3 Documentation updates, allow settings reference linking from other documents 2012-02-01 17:04:54 -04:00
Roberto Rosario 600fdf0b8a Add djangodoc extension 2012-02-01 17:04:33 -04:00
Roberto Rosario eff399612d Documentation updates 2012-02-01 14:41:45 -04:00
Roberto Rosario a90896e774 Documentation updates 2012-02-01 13:43:24 -04:00
Roberto Rosario 9cb23ffc15 Add new indexing static media 2012-02-01 01:27:04 -04:00
Roberto Rosario 65b20313d7 Add index creation and edit form 2012-02-01 01:26:50 -04:00
Roberto Rosario 8e54649b2a Add indexing migrations and new models 2012-02-01 01:26:33 -04:00
Roberto Rosario 36a077fb7e Add index setup views and related permissions, urls and links 2012-02-01 01:25:22 -04:00
Roberto Rosario 640ff7146c Initial update to support multiple indexes 2012-01-31 22:48:00 -04:00
Roberto Rosario 58bea814f1 Remove deprecated OCR task view 2012-01-27 16:33:29 -04:00
Roberto Rosario 48559e68cd Merge branch 'feature/acl_inheritance' into development 2012-01-27 15:54:25 -04:00
Roberto Rosario 9d52ce6683 Add object_list/queryset ACL inheritance 2012-01-27 15:54:05 -04:00
Roberto Rosario 9057d3c481 Add actor membership access checking 2012-01-27 11:11:05 -04:00
Roberto Rosario e69d24689b Merge branch 'feature/bulk_user_import' into development 2012-01-27 02:27:21 -04:00
Roberto Rosario 0b92fad9c2 Add information about the CSV field order 2012-01-27 00:47:30 -04:00
Roberto Rosario 70aec4a0b7 Add information about the user CSV importer to the documentation 2012-01-27 00:46:13 -04:00
Roberto Rosario ff88e1a422 Add command line function to import a list users from a CSV file 2012-01-27 00:41:15 -04:00
Roberto Rosario 1fe9902144 Set new users' password as unusable until one is set, add column to user list showing if password is usable 2012-01-27 00:40:30 -04:00
Roberto Rosario 5de9b46048 Redirect to user password reset view after a new user is created 2012-01-26 23:17:29 -04:00
Roberto Rosario 4737b393b5 Add email authentication backend note to the documentation 2012-01-26 23:13:13 -04:00
Roberto Rosario 485573c5d6 Validate email in user details edit to avoid email clashes 2012-01-26 23:11:11 -04:00
Roberto Rosario 8ebd5b8062 Make email field full width in email login form 2012-01-26 23:10:28 -04:00
Roberto Rosario 30351225f6 Allow current to edit more details of himself, saner redirection after password change 2012-01-26 22:42:36 -04:00
Roberto Rosario d79e86ae30 Only allow compressed files for bulk upload command 2012-01-26 11:37:44 -04:00
Roberto Rosario 266fcc75df Prevent upload error from desynchonizing the database 2012-01-26 11:37:20 -04:00
Roberto Rosario af58a8ccd0 Added documentation for the bulk uploading command 2012-01-26 11:24:29 -04:00
Roberto Rosario b91e21a928 Merge branch 'feature/bulk_upload' into development 2012-01-26 11:15:09 -04:00
Roberto Rosario 850c6dd69a Add the options --metadata and --document_type to the bulk uploader 2012-01-26 11:14:22 -04:00
Roberto Rosario fd19f4502c Merge branch 'development' into feature/bulk_upload
Conflicts:
	apps/sources/models.py
2012-01-26 10:33:08 -04:00
Roberto Rosario 4c36f9afdb Merge remote-tracking branch 'origin/development' into development 2012-01-26 10:31:37 -04:00
Roberto Rosario e08c93e88b Add out of process bulk document upload 2012-01-26 10:31:07 -04:00
Roberto Rosario cf36e281fe Documentation updates 2012-01-26 09:49:57 -04:00
Roberto Rosario 9afa641b19 Move import to beginning of file 2012-01-26 09:49:50 -04:00
Roberto Rosario c38d10ebf5 Proper redirection on document deletion 2012-01-25 23:52:38 -04:00
Roberto Rosario 7d18735882 Improve feedback messages when uploading files 2012-01-25 23:02:42 -04:00
Roberto Rosario 3d0865b93f Fix uploading of compressed files 2012-01-25 23:02:27 -04:00
Roberto Rosario 1d543cdd0a Prevent database corruption on document saving error 2012-01-25 22:35:55 -04:00
Roberto Rosario 8aa56dc11c Fix typo 2012-01-25 21:51:35 -04:00
Roberto Rosario 376a31db96 Reorder installed apps so that the web theme pagination template is found 2012-01-25 10:33:01 -04:00
Roberto Rosario aa1ea252d8 Remove Changelog view in the about menu, add documentation link to the about template 2012-01-25 04:27:38 -04:00
Roberto Rosario 7276a11171 Fix website address 2012-01-25 03:05:18 -04:00
Roberto Rosario 8ce5c25949 Only list development tools in the development requirements file 2012-01-25 02:58:01 -04:00
Roberto Rosario 7eff8b77fc Show simple error messages when debug is True and debugging tools are not found 2012-01-25 02:55:58 -04:00
Roberto Rosario 7495026d69 Display error on stderr and fallback to system default home on GPG initialization error 2012-01-25 02:55:25 -04:00
Roberto Rosario af04f532ad Add SIGNATURES_GPG_HOME configuration option 2012-01-25 02:43:31 -04:00
Roberto Rosario 0e87b5dc56 Return raw gpg error result 2012-01-25 02:26:49 -04:00
Roberto Rosario 4fe7803ff1 Make GPG key import errors more verbose 2012-01-25 02:17:17 -04:00
Roberto Rosario e7a2aed6a0 Silence HTML validator 2012-01-25 02:17:04 -04:00
Roberto Rosario c56a67e33a Update website address in about view 2012-01-25 02:01:19 -04:00
Roberto Rosario c0ebff580a Add libapache2-mod-xsendfile installation step 2012-01-25 01:13:48 -04:00
Roberto Rosario 194a6b41f9 Fix redirect view name 2012-01-24 16:34:28 -04:00
Roberto Rosario c88777cbc8 Release notes updates 2012-01-24 12:57:31 -04:00
Roberto Rosario b25d446f34 Merge branch 'feature/2_step_download' into development 2012-01-24 12:15:12 -04:00
Roberto Rosario e44ef229b0 Improve single, multiple document and document versions downloads
By using a 2 step document download view
2012-01-24 12:13:53 -04:00
Roberto Rosario 4eaf4bd785 Add cancel button and previous hidden variable support to the generic form template 2012-01-24 12:13:19 -04:00
Roberto Rosario c48d158581 Change the documentation structure to be more like Django's one 2012-01-24 01:51:12 -04:00
Roberto Rosario a63b6e2039 Reorganized app loading order 2012-01-24 01:50:47 -04:00
Roberto Rosario 5a61de3dc4 Updated changelog 2012-01-24 01:50:26 -04:00
Roberto Rosario 808b9488f5 Updated contributors file 2012-01-24 01:50:06 -04:00
Roberto Rosario 06769af186 Merge branch 'feature/github_issue_17' into development 2012-01-23 20:09:31 -04:00
Roberto Rosario 063cc06325 Remove unused import 2012-01-23 20:03:09 -04:00
Roberto Rosario d9aa63f8ca Remove Sentry and celery from Mayan EDMS 2012-01-23 20:00:39 -04:00
Roberto Rosario 8d3824ea51 Only try create the defautl OCR queue after the database has been created 2012-01-23 19:20:37 -04:00
Roberto Rosario c6fe73939a Ignore database errors during the syncdb phase 2012-01-23 19:20:19 -04:00
Roberto Rosario 2bfa30a59e Fix indentation from tab to spaces 2012-01-22 05:44:08 -04:00
Roberto Rosario 040a51348d Added mailing list 2012-01-21 04:46:48 -04:00
Roberto Rosario 2b27feaa34 Merge branch 'feature/apply_default_acls' into development 2012-01-21 04:36:36 -04:00
Roberto Rosario ec461c4f9b Update acl views to use encapsulated objects 2012-01-21 04:07:23 -04:00
Roberto Rosario f37500b0b4 Allow returning on the db stored permissions 2012-01-21 04:06:48 -04:00
Roberto Rosario 7714e62e97 Display proper unicode result for anonymous user class and creator class 2012-01-21 04:04:42 -04:00
Roberto Rosario bf9073fdce Add creator content type icon 2012-01-21 04:04:13 -04:00
Roberto Rosario 95f56cbd5a Enable default acls setup upon creation for documents, folders, tags and smart_links 2012-01-21 04:03:58 -04:00
Roberto Rosario 70953882a7 Implement ClassHolderSelectionForm and HolderSelectionForm forms
Subclassed from BaseHolderSelectionForm
2012-01-21 03:57:26 -04:00
Roberto Rosario d1eb387c16 Start work on the creator pseudo class acl holder 2012-01-20 22:54:26 -04:00
Roberto Rosario 39f47702c0 Finish the apply_default_acls function and enable it for document creation 2012-01-20 22:53:48 -04:00
Roberto Rosario 796dcc908a Move source_object class method to the classes module 2012-01-20 22:52:56 -04:00
Roberto Rosario 6117fde649 Initial default to current acl support 2012-01-19 17:44:34 -04:00
Roberto Rosario f48675b0a8 Merge branch 'feature/pep8_cleanups' into development 2012-01-19 12:04:16 -04:00
Roberto Rosario 8a5825a275 Convert tabs to spaces 2012-01-19 12:04:02 -04:00
Roberto Rosario 3b997f0d8f Silence AlreadyQueued
For the moment until support for queueing document versions is avaiable
2012-01-19 11:55:53 -04:00
Roberto Rosario c01c030ee6 Remove test 2012-01-18 16:34:59 -04:00
Roberto Rosario 44aef884f4 Remove exporter app 2012-01-18 16:06:06 -04:00
Roberto Rosario c9e58bdfac Remove unused import 2012-01-18 16:05:11 -04:00
Roberto Rosario f374596a28 Cleanups, improve comments 2012-01-18 16:01:06 -04:00
Roberto Rosario af106badac Cleanups and remove unused imports 2012-01-18 16:00:30 -04:00
Roberto Rosario 84f3fcd2da Rename holder to actor 2012-01-18 14:43:33 -04:00
Roberto Rosario e069243f7c Add missing import 2012-01-18 14:43:17 -04:00
Roberto Rosario 970cb74d35 PEP8 cleanups 2012-01-18 14:37:15 -04:00
Roberto Rosario ad59734460 Fix document signatures app reverse migration 2012-01-18 14:36:42 -04:00
Roberto Rosario f9a3c4611b PEP8 cleanups, remove OCR_CACHE_URI 2012-01-18 13:53:02 -04:00
Roberto Rosario 8a5d0425b6 PEP8 cleanups, style cleanups, unused imports 2012-01-18 13:52:19 -04:00
Roberto Rosario 1a285d56dc PEP8 cleanups, remove unused imports 2012-01-17 16:40:30 -04:00
Roberto Rosario 93fc581ba0 Remove unused imports, file zf.write argument 2012-01-17 16:33:51 -04:00
Roberto Rosario 5d8a4584aa Add db migration instruction for 0.11.1 -> 0.12 2012-01-17 15:15:57 -04:00
Roberto Rosario 4b3a446d4a Improve metadata app navigation feedback 2012-01-17 15:15:43 -04:00
Roberto Rosario fe5a42240d Fix redirect view name 2012-01-10 15:21:10 -04:00
Roberto Rosario f3fe4edc74 Add --migrate to another instance of syncdb command 2012-01-09 09:08:56 -04:00
Roberto Rosario b34caacf13 Update installation instructions to add --migrate parameter to syncdb step 2012-01-09 09:07:59 -04:00
Roberto Rosario 94e8bf2e74 Update changelog 2012-01-09 09:07:46 -04:00
Roberto Rosario 11a023feed Add Barry Rowlingson to the contributors file 2012-01-09 09:07:25 -04:00
Roberto Rosario 4e85f93ae1 Merge branch 'feature/anonymous_support_for_roles' into development 2012-01-09 08:34:15 -04:00
Roberto Rosario 665ec099a9 Add anonymous user support to the role member add and remove views 2012-01-09 08:33:44 -04:00
Roberto Rosario 8216953bed Add anonymous user content type support to RoleMembers class 2012-01-09 08:33:20 -04:00
Roberto Rosario fe9db003d2 Improve navigation feedback when granting or revoking a role permission 2012-01-09 08:32:49 -04:00
Roberto Rosario 3b3b29cb99 Update the role member add and removal views to use option groups and Role class methods 2012-01-09 08:13:42 -04:00
Roberto Rosario 4da328612d Add option group support to the assign_remove view 2012-01-09 08:12:50 -04:00
Roberto Rosario 9fae7269a6 Move Role class processing from the views to the model as methods 2012-01-09 08:11:59 -04:00
Roberto Rosario 9e3bfddaad Merge branch 'feature/two_level_acl_view_support' into development 2012-01-09 06:43:04 -04:00
Roberto Rosario c330c422b7 Remove app specific ACL new holder links, urls and views 2012-01-09 06:42:35 -04:00
Roberto Rosario 351784a210 Add generic 'new holder' link 2012-01-09 06:41:58 -04:00
Roberto Rosario 304ea15f9e Add sidebar link support for multiple navigation objects 2012-01-09 06:41:06 -04:00
Roberto Rosario 03a3eb1186 Merge branch 'feature/class_default_acl_support' into development 2012-01-09 04:57:32 -04:00
Roberto Rosario 239d59ca0c Remove decrepated context arguments 2012-01-09 04:56:32 -04:00
Roberto Rosario 5230b9ca53 Improve permission granting and revoking messages, improve navigation feedback 2012-01-09 04:51:01 -04:00
Roberto Rosario 86147c234b Add 'get_classes' to the DefaultAccessEntry class 2012-01-09 04:49:52 -04:00
Roberto Rosario af962f5998 Add content type icon mapping for anonymous user 2012-01-09 04:49:10 -04:00
Roberto Rosario a7f1e081c1 Refactor the EncapsulatedObject class 'encapsulate' method 2012-01-09 04:48:17 -04:00
Roberto Rosario 77400fc42f Make api module not dependant on any other 2012-01-09 04:47:41 -04:00
Roberto Rosario 4aad4efad3 Navigation feedback improvements for a few apps 2012-01-09 04:46:46 -04:00
Roberto Rosario 014ca49a7c Call the correct function to get list of registered classes for acl 2012-01-09 02:23:01 -04:00
Roberto Rosario a2e00b7776 Use content type model name and not name when mapping content types to icons 2012-01-09 02:22:25 -04:00
Roberto Rosario 071da14330 Remove moved method and unused import 2012-01-09 02:22:04 -04:00
Roberto Rosario 78c99c7700 Add tags and smartlinks icon mappings 2012-01-09 02:21:17 -04:00
Roberto Rosario 6e24b56e0e Add missing capfirst import 2012-01-09 02:21:01 -04:00
Roberto Rosario 7aabd7a1cc Add 'get_classes' function to acls.api, add function docstrings 2012-01-09 02:20:27 -04:00
Roberto Rosario 78207be926 Updated translation source files for the common app 2012-01-08 07:40:00 -04:00
Roberto Rosario a088590073 Process horizontal list links with the same logic as all other links 2012-01-08 07:38:12 -04:00
Roberto Rosario ac8678b741 Add absolute importing 2012-01-08 07:37:48 -04:00
Roberto Rosario c897fa169d Restrict file format list view to superusers and staff 2012-01-08 07:36:32 -04:00
Roberto Rosario 1039b80831 Remove commented code 2012-01-08 07:36:07 -04:00
Roberto Rosario abd408812f Restrict statistics access to superusers and staff only 2012-01-08 07:35:40 -04:00
Roberto Rosario 7ea9033c02 Change the default return value of the acl tag to False if there is no navigation object available
* This fixes the creation views links for the anonymous users
2012-01-08 06:51:32 -04:00
Roberto Rosario 191386038c Don't update recent documents for anonymous users 2012-01-08 06:50:35 -04:00
Roberto Rosario 9e43b1bd7d Remove FOLDER VIEW permission from the folder list view link
This view is filtered by ACL
2012-01-08 06:49:50 -04:00
Roberto Rosario 14dbeb4266 Remove AnonymousUser class checking 2012-01-08 06:49:26 -04:00
Roberto Rosario fac43006e3 Add translable return text to the anonymous user singleton __unicode__ method 2012-01-08 06:48:45 -04:00
Roberto Rosario 4db37003d9 Call the proper method when adding anonymous user singleton to the new holder list 2012-01-08 06:48:01 -04:00
Roberto Rosario f07c451650 Merge branch 'feature/anonymous_support' into development 2012-01-08 04:59:42 -04:00
Roberto Rosario 51a6abaf11 Add context variable setting helper template tag 2012-01-08 04:59:16 -04:00
Roberto Rosario 3ef44b3d32 Update logout action to not redirect on logout 2012-01-08 04:58:42 -04:00
Roberto Rosario 45031022b6 Update COMMON_ALLOW_ANONYMOUS_ACCESS description wording 2012-01-08 04:58:22 -04:00
Roberto Rosario c3175c7ea4 Add anonymous user support to the permission app 2012-01-08 04:57:54 -04:00
Roberto Rosario 7fd83ddf0b Fix import format 2012-01-08 04:57:02 -04:00
Roberto Rosario f2a263adb7 Move tag model column registration to the tags app 2012-01-08 04:55:54 -04:00
Roberto Rosario ad5dfdd148 Removed remarked lines 2012-01-08 04:55:13 -04:00
Roberto Rosario c2fcbfe299 Add COMMON_ALLOW_ANONYMOUS_ACCESS configuration option to allow access to non authenticated users 2012-01-08 04:54:15 -04:00
Roberto Rosario 467be05baa Select the proper web theme display mode based on the user authentication status 2012-01-08 04:42:01 -04:00
Roberto Rosario 9d73c10b7b Invert authentication test logic from is_anonymous to not is_authenticated
From: http://gdub.wordpress.com/2006/09/23/is_authenticated-vs-is_anonymous/
2012-01-08 04:41:07 -04:00
Roberto Rosario be1658505c Use a context variable (web_theme_view_type) to determine the web theme view mode instead of using the user login status 2012-01-08 04:40:02 -04:00
Roberto Rosario 0c02ac7d40 Add anonymous user support to the dynamic search app's Savedsearch model manager method 2012-01-07 23:36:41 -04:00
Roberto Rosario cbc94e484f Add anonymous user support to the Permission manager models 2012-01-07 23:36:07 -04:00
Roberto Rosario 85875be859 Add further auto admin creation cleanups 2012-01-07 23:33:31 -04:00
Roberto Rosario c7ee18af85 Add anonymous user support to the 'get_object_name' function 2012-01-07 23:33:09 -04:00
Roberto Rosario 4931d9bf49 Update recent document list view to user the 'get_for_user' RecentDocument manager method 2012-01-07 23:30:58 -04:00
Roberto Rosario 367d197cc0 Add 'get_for_user' method to the RecentDocument model 2012-01-07 23:30:35 -04:00
Roberto Rosario 51b63e86de Add corresponding permission check to the source app view links 2012-01-07 23:29:42 -04:00
Roberto Rosario fa94288317 Only add the sentry and admin add and icons if they corresponding apps have been installed 2012-01-07 23:29:03 -04:00
Roberto Rosario df5f50f5d4 Cleanup auto admin user creation using receiver decorator 2012-01-07 23:28:26 -04:00
Roberto Rosario 33513d34a5 Remove remarked code 2012-01-07 23:25:54 -04:00
Roberto Rosario 595e901b64 Add anonymous user support to the acl model manager methods 2012-01-07 23:24:04 -04:00
Roberto Rosario b9f7939e3e Add the anonymous user singleton to the list of avaible holder for an acl 2012-01-07 23:22:55 -04:00
Roberto Rosario d0acea0714 Add anonymous user support to the object encapsulator class 2012-01-07 23:22:03 -04:00
Roberto Rosario 28000ccfec Add proper permission checking to the ACL setup view links 2012-01-07 23:21:22 -04:00
Roberto Rosario a020b011dc Expose main app properties as project properties 2012-01-07 23:20:39 -04:00
Roberto Rosario eb267cae10 Add a Singleton Model class and an AnonymousUserSingleton model to support adding permissions and access to anonymous users 2012-01-07 23:18:42 -04:00
Roberto Rosario 018ab3d7ca Merge branch 'feature/bulk_download' into development 2012-01-04 02:11:19 -04:00
Roberto Rosario 3a517036d1 Add bulk download support to the document app 2012-01-04 02:09:30 -04:00
Roberto Rosario dfcf2b8b17 Add generic class for handling reading, appending and creating Zip files 2012-01-04 02:08:50 -04:00
Roberto Rosario 950aa5a51a Merge branch 'feature/comment_permissions' into development 2012-01-03 18:49:21 -04:00
Roberto Rosario edd344b924 Add ACL support to the document comments app 2012-01-03 18:49:03 -04:00
Roberto Rosario ffd90c0340 Remove unneeded module 2012-01-03 18:48:42 -04:00
Roberto Rosario 268c1386f0 Remove the unimplemented PERMISSION_COMMENT_EDIT permission 2012-01-03 18:48:12 -04:00
Roberto Rosario 1cd3c4e7d0 Add related support to 'filter_objects_by_access' and 'get_allowed_class_objects' methods 2012-01-03 18:47:28 -04:00
Roberto Rosario 4ded57f27d Improved, simplified and optimized the document signature verification model and manager 2012-01-03 06:55:08 -04:00
Roberto Rosario 6a8c86b0a4 Add _post_save_hooks support to the DocumentVersion class 2012-01-03 06:54:34 -04:00
Roberto Rosario c70f915b49 Add 'has_embedded_signature' helper method to the GPG class 2012-01-03 06:53:44 -04:00
Roberto Rosario 5ec2386ec1 Update the OCR app to apply auto OCR queueing to new document version not only to the initial document upload 2012-01-03 04:56:25 -04:00
Roberto Rosario ebfb3e547f Comment style update 2012-01-03 04:56:15 -04:00
Roberto Rosario 1f44b1bc6c Add ACL support to the OCR app 2012-01-03 04:37:30 -04:00
Roberto Rosario b89c55ed18 Codying style update, added comments 2012-01-03 04:37:03 -04:00
Roberto Rosario 19b2412e03 Move the 'PERMISSION_DOCUMENT_NEW_VERSION' permission from the sources to the documents app 2012-01-03 04:26:31 -04:00
Roberto Rosario 24da6f4796 Add ACL support to the metadata app 2012-01-03 04:17:44 -04:00
Roberto Rosario 807444eddd User correct permission for the metadata view form header link, use proper coding style 2012-01-03 04:16:40 -04:00
Roberto Rosario 5de44256bc Improve coding style 2012-01-03 04:16:16 -04:00
Roberto Rosario d270e155a2 Add ACL support to the history app 2012-01-03 03:28:17 -04:00
Roberto Rosario 3833e07d03 Remove repeated import 2012-01-03 03:28:01 -04:00
Roberto Rosario 67c6467df0 Remove old project file 2012-01-03 03:16:18 -04:00
Roberto Rosario f45c8ca2f5 Removed unnedeed top level locale dir 2012-01-03 03:15:10 -04:00
Roberto Rosario 3fd64d230b Add ACL support to the document signatures app 2012-01-03 03:13:58 -04:00
Roberto Rosario 29ef0e3f42 Proper 'PermissionDenied' exception import 2012-01-03 03:13:39 -04:00
Roberto Rosario e5cc2e3f7a Update the apps to the new acls module split 2012-01-03 03:04:32 -04:00
Roberto Rosario 40d3426202 Split acls models module into models, managers, classes and api 2012-01-03 03:03:51 -04:00
Roberto Rosario 32b953db12 Improve tag permissions texts 2012-01-03 02:27:09 -04:00
Roberto Rosario 43c52d64e7 Add empty object_list support to the 'filter_objects_by_access' manager method 2012-01-03 02:26:29 -04:00
Roberto Rosario ae512a79f8 Add missing exception import 2012-01-03 02:22:37 -04:00
Roberto Rosario 3fc6a09703 Enable class acl permissions for the Tag class 2012-01-03 02:22:10 -04:00
Roberto Rosario f312a3d478 Merge branch 'feature/tag_acl' into development 2012-01-02 16:55:35 -04:00
Roberto Rosario f22a6f4ab0 Add proper label and icon for the new holder form submit button 2012-01-02 16:54:39 -04:00
Roberto Rosario 8478c33898 Implement ACL support for tags 2012-01-02 16:54:19 -04:00
Roberto Rosario cc7d55933a Move tag literals to their own module 2012-01-02 16:53:45 -04:00
Roberto Rosario e72173e803 Add documents external migration dependency 2012-01-02 07:23:44 -04:00
Roberto Rosario 7f66a5fad3 Remove remarked code 2012-01-02 07:23:34 -04:00
Roberto Rosario 7100014d96 Add document signatures app external migration dependecy 2012-01-02 07:23:07 -04:00
Roberto Rosario aaee4a3c8c Fixed document_signatures app data migration 2012-01-02 07:16:35 -04:00
Roberto Rosario 877259bdbf Don't change the cursor to a hand on disabled links to let the user know the link is not active 2012-01-02 07:00:58 -04:00
Roberto Rosario 32bc775890 Update comment style 2012-01-02 06:47:53 -04:00
Roberto Rosario 30416a094f Add superuser and staff user support to the filter_objects_by_access acl manager method 2012-01-02 06:47:25 -04:00
Roberto Rosario 09b252453a Simplify document to folder inclusion view, form and logic, add proper acl checking for folder document inclusion, add proper folder permission and acl checks to folder document inclusion form 2012-01-02 06:45:56 -04:00
Roberto Rosario fb62835af5 Remove remarked code 2012-01-02 06:45:37 -04:00
Roberto Rosario db7f748e72 Simplify database creation error catching for the history app 2012-01-02 06:44:55 -04:00
Roberto Rosario 0682736c48 Change comment style 2012-01-02 06:44:38 -04:00
Roberto Rosario d50f0f9910 Add an 'add_document' method to the Folder class 2012-01-02 06:44:12 -04:00
Roberto Rosario 233725cc58 Rename request to actor in more translatable texts 2012-01-02 05:59:07 -04:00
Roberto Rosario 8c19caa37a Initial translation for the acls app 2012-01-02 05:58:49 -04:00
Roberto Rosario 6fd2f02e6a Fix translation related acl app name typo 2012-01-02 05:46:29 -04:00
Roberto Rosario 655e1aa760 Add the acl app to the translation helper scripts 2012-01-02 05:45:00 -04:00
Roberto Rosario 0389b1af14 Add the acl app to the transifex resource file 2012-01-02 05:44:44 -04:00
Roberto Rosario 2cd91baa33 Initial translation files for the acl app 2012-01-02 05:43:33 -04:00
Roberto Rosario e3f01cba81 Fix the folder document remove view 2012-01-02 05:41:55 -04:00
Roberto Rosario 7a14cd1854 Add the remove_document method to the Folder class 2012-01-02 05:41:30 -04:00
Roberto Rosario 14ac963fca Update import type to use () instead of newline char 2012-01-02 05:40:58 -04:00
Roberto Rosario 46c40ea7ba Update acls app view module to use absolute importers, improve text formating so that ugettext doesn't complain 2012-01-02 05:40:15 -04:00
Roberto Rosario b82aa2ccfc Update the acl app to use absolute imports, rename the acl_detail link text from edit to details, fix class default acl links permissions 2012-01-02 05:39:11 -04:00
Roberto Rosario 83551c9b90 Move django_gpg permissions to a separate file 2012-01-02 03:49:19 -04:00
Roberto Rosario 34311fb17e Cleanups, permissions separation into explicit module, absolute import update 2012-01-02 03:48:26 -04:00
Roberto Rosario 2781a211ec Language translation updates 2012-01-02 01:47:14 -04:00
Roberto Rosario 1c0a52c931 Update document signatures app to use the new class based permissions 2012-01-01 20:50:46 -04:00
Roberto Rosario 600ba153af Merge branch 'feature/document_signature_app' into feature/ACL_support_w_permission_refactor
Conflicts:
	apps/django_gpg/__init__.py
	apps/django_gpg/views.py
	apps/tags/__init__.py
2012-01-01 20:50:28 -04:00
Roberto Rosario d54ec02b83 Add schema and data migrations for the new document signatures app 2012-01-01 20:39:41 -04:00
Roberto Rosario a70b12b488 Removed remarked code 2012-01-01 20:26:31 -04:00
Roberto Rosario 6864f14269 PEP8 Cleanups 2012-01-01 20:26:16 -04:00
Roberto Rosario 722f70029b Add document signatures app to the transifex resource file 2012-01-01 20:16:55 -04:00
Roberto Rosario 8c49bf1aa1 Add the document signatures app to the translation helper scripts 2012-01-01 20:16:35 -04:00
Roberto Rosario 992f470039 Add translation file for the new document_signatures app 2012-01-01 20:14:58 -04:00
Roberto Rosario 796475dfd9 Update file access to be smarter and accept either file like objects of file names, use less code to do so too 2012-01-01 20:12:13 -04:00
Roberto Rosario 6cafb394e9 Move manager code to a new managers.py file 2012-01-01 20:11:40 -04:00
Roberto Rosario 3de53dccfa Added document_post_save signal to detect is a document has a signature, improve the pre_open_hook, and added logging 2012-01-01 20:10:52 -04:00
Roberto Rosario 9e71b0bbc5 Don't mask upload errors when the DEBUG flas is True 2011-12-31 03:27:29 -04:00
Roberto Rosario 51464c910b Move more signature functionality to the document signature app 2011-12-31 03:26:25 -04:00
Roberto Rosario 3705007330 Move comments and tags manager statements to their respective apps 2011-12-31 00:22:20 -04:00
Roberto Rosario c0fbec0f8e Add and enable new document singatures app 2011-12-25 16:08:28 -04:00
Roberto Rosario c2419e63df Move document signature handling to the new document signature app 2011-12-25 16:08:03 -04:00
Roberto Rosario d9621dfb1f Add new document signature app 2011-12-25 16:07:45 -04:00
Roberto Rosario 0f12364e0c Add ACLS_EDIT_ACL and ACLS_VIEW_ACL pero object access check 2011-12-25 03:23:44 -04:00
Roberto Rosario 7e9fbf4f47 Add ACL support to the linking app, convert import to absolute 2011-12-25 03:22:05 -04:00
Roberto Rosario eb9fb7141d Simplify multi document views access checking logic 2011-12-25 03:21:22 -04:00
Roberto Rosario 5c74313948 Removed remarked code 2011-12-25 03:21:01 -04:00
Roberto Rosario 53bf3d940d Added logging to the acls tag 2011-12-25 03:20:16 -04:00
Roberto Rosario 8ab692ddc8 Use self.content_type.model instead of name, rename holder to actor, add get_class_permission to the AccessEntry manager, Encapsulation class decapsulation for AccessEntry manager methods, add exception_on_empty to raise PermissionDenied when the result of a filtered list is empty 2011-12-25 03:19:34 -04:00
Roberto Rosario b39a5bc903 Fix folder app ACL navigation 2011-12-25 03:16:54 -04:00
Roberto Rosario a9c5caa994 Add the __str__ method and stored_permission proxy property to the Permission class 2011-12-25 03:15:41 -04:00
Roberto Rosario de49d4a588 Pass a copy of the entire context to the navigation subtemplate when calling it from sublist template 2011-12-25 03:14:19 -04:00
Roberto Rosario 80fab8b70d Add and enable the new PERMISSION_DOCUMENT_NEW_VERSION permission 2011-12-25 03:13:17 -04:00
Roberto Rosario 3b884e8c8a Update get_allowed_class_objects to return a generator instead of a list, filter_objects_by_access to try return to return a queryset and failing that return a filtered list 2011-12-24 01:16:53 -04:00
Roberto Rosario e7c7ec0636 Remove remarked code 2011-12-24 01:16:32 -04:00
Roberto Rosario c187e77acc Fix document_clear_transformations and document_delete multi document ACL calculation 2011-12-24 01:10:10 -04:00
Roberto Rosario 54cb1d29e3 Remove the requirement for global permission for the document view and document recent view
User may not have the global permission, but still have permission to view certain documents via ACL
2011-12-24 01:08:57 -04:00
Roberto Rosario c4508f486b Update folder_view view to use document_list view, fix all absolute related import problems 2011-12-20 02:32:43 -04:00
Roberto Rosario f82a5091ed Update navigation tag to enable ACLs to work with list's items 2011-12-20 02:31:18 -04:00
Roberto Rosario 0fa3a07a73 Improve acl tag logic 2011-12-20 02:31:01 -04:00
Roberto Rosario fed62fb3c3 Rever to absolute import until circular import error is found 2011-12-19 23:54:29 -04:00
Roberto Rosario 2afeabf03e Update folders app to use relative import, move permission to a separate file, import acl usage 2011-12-19 23:49:33 -04:00
Roberto Rosario 4c17910e8c Conver object_list view to use AccessEntry.objects.filter_objects_by_access for simplicity 2011-12-19 23:48:46 -04:00
Roberto Rosario 3338035232 Add convenience manager method filter_objects_by_access 2011-12-19 23:48:07 -04:00
Roberto Rosario 4cd36026b9 Add migrations to convert existing databases to the class based permission system 2011-12-19 17:06:41 -04:00
Roberto Rosario 00875ddea2 Return a sorted permisions list by namespace name 2011-12-19 16:27:37 -04:00
Roberto Rosario 8c455fd42f Merge branch 'feature/testing' into development 2011-12-18 01:21:49 -04:00
Roberto Rosario 5a6414e044 Add document creation, versioning and signature test w/ sample document, signed document and detached signature 2011-12-18 01:21:09 -04:00
Roberto Rosario ebeb426f24 Add simple tag app tests 2011-12-17 23:24:41 -04:00
Roberto Rosario f91f5fd70f Fix get_image_cache_name regression in ocr app 2011-12-17 23:24:13 -04:00
Roberto Rosario c7d1f9aae1 Enable document type permissions 2011-12-17 19:47:17 -04:00
Roberto Rosario 65bc6c88ab Fix typo from method rename 2011-12-17 19:46:59 -04:00
Roberto Rosario b93b227994 Add access checking method to AccessEntry class 2011-12-17 19:46:28 -04:00
Roberto Rosario 367180a3ec Add document type permissions 2011-12-17 19:45:54 -04:00
Roberto Rosario 405eedfeb2 Add document level access control 2011-12-17 19:45:41 -04:00
Roberto Rosario 714f773b13 Add folder literal for content type icon 2011-12-17 19:45:13 -04:00
Roberto Rosario ef1e995177 Add acl tag to the navigation template 2011-12-17 19:44:47 -04:00
Roberto Rosario ec1c5d78dd Add template tag to hangle acl in navigation 2011-12-17 19:44:23 -04:00
Roberto Rosario 8baa84f96b Add folder level access control 2011-12-17 19:44:04 -04:00
Roberto Rosario 84410ac98e Reenable label field until DB migration are calculated 2011-12-17 16:44:01 -04:00
Roberto Rosario 79428117b8 Add new ObjectEncapsulation subclass ClassAccessHolder 2011-12-17 16:43:28 -04:00
Roberto Rosario 1f7b1bc904 Update new holder form to user HTML option groups and remove class permission current holders 2011-12-17 16:42:19 -04:00
Roberto Rosario bdc0a965b4 Fix acls_class_acl_detail view 2011-12-17 16:41:31 -04:00
Roberto Rosario 67485f82a9 Improve the usability of the new holder form
By using more descriptive texts
2011-12-17 14:07:38 -04:00
Roberto Rosario 574ef3c9c8 Update the default class acl setup views to a working state 2011-12-17 14:07:06 -04:00
Roberto Rosario 17b44387c9 Improve enclapsulated class unicode method, add grant and revoke method to the DefaultAccessEntry class 2011-12-17 14:06:12 -04:00
Roberto Rosario 85f05ebdcf Add the tag append and tag remover permissions and document class permissions 2011-12-17 14:05:31 -04:00
Roberto Rosario 175a06182c Add the ACL_VIEW and ACL_EDIT permissions and document class permissions 2011-12-17 14:04:58 -04:00
Roberto Rosario 2d28f23b9a Update the new acls holder form label 2011-12-17 14:04:17 -04:00
Roberto Rosario 5e76bc22f2 Add commented code for ideas 2011-12-14 09:12:05 -04:00
Roberto Rosario 00e5146686 Add acl app static media directory 2011-12-14 09:11:43 -04:00
Roberto Rosario 7dcaa1757a Initial class default ACLs views 2011-12-14 09:11:09 -04:00
Roberto Rosario 742b934bcc Initial db support for default classes ACLs 2011-12-14 09:10:45 -04:00
Roberto Rosario ac4498de12 Add support for classes 2011-12-14 09:10:34 -04:00
Roberto Rosario b1c495e22a Merge branch 'development' into feature/ACL_support_Default_class_ACL 2011-12-13 15:02:43 -04:00
Roberto Rosario 40623ad51a Merge branch 'feature/db_index_remove' into development 2011-12-13 13:02:41 -04:00
Roberto Rosario 7c179f2e90 Update changelog 2011-12-13 13:02:32 -04:00
Roberto Rosario 37dc418774 Updated the FAQ regarding the db_index issue 2011-12-13 13:01:00 -04:00
Roberto Rosario 4c86a9823a Remove db_index from TextField class fields, this closes issue #12 2011-12-13 13:00:19 -04:00
Roberto Rosario fe0e3de898 Update changelog 2011-12-13 12:42:00 -04:00
Roberto Rosario 7415f22d13 Merge branch 'feature/italian_translation_merge' into development 2011-12-13 12:04:36 -04:00
Roberto Rosario 7067130750 Update changelog 2011-12-13 12:03:51 -04:00
Roberto Rosario c99ed273fa Update Italian translation credits 2011-12-13 12:03:28 -04:00
Roberto Rosario 15e935173e Update complete Italian translation 2011-12-13 12:01:59 -04:00
Roberto Rosario 1c91bfd001 Disable document signature verification until circular import is found 2011-12-13 11:50:25 -04:00
Roberto Rosario 0ac79b633a Add metadata class_permissions permissions for the Document class 2011-12-13 11:49:44 -04:00
Roberto Rosario 4c57c788f5 Add documents app class_permissions for Document class 2011-12-13 11:49:21 -04:00
Roberto Rosario b2097eeb75 Updated document_acl app 2011-12-13 11:48:58 -04:00
Roberto Rosario 14f53d5397 Add get_object_name function used by the acl new holder form 2011-12-13 11:46:08 -04:00
Roberto Rosario 796a8fbdb5 Add acl revokation view 2011-12-13 11:45:49 -04:00
Roberto Rosario 418312bc8a Add new acl holder selector form 2011-12-13 11:35:14 -04:00
Roberto Rosario 2f803174b1 Update acls models to the new class based permissions 2011-12-13 11:34:39 -04:00
Roberto Rosario c1fadd0840 Converted the acls app to the new class based permission system 2011-12-13 10:58:49 -04:00
Roberto Rosario ab79b3f729 Removed the label field from the admin interface view 2011-12-13 10:58:13 -04:00
Roberto Rosario 357d1b7430 Improve the linking between the volatile permission and the stored permission classes 2011-12-13 10:57:39 -04:00
Roberto Rosario 227747f469 update website address 2011-12-08 17:09:52 -04:00
Roberto Rosario 974802035b Update the django gpg app to the new class based permissions 2011-12-08 16:52:39 -04:00
Roberto Rosario f4a7a350b8 Update the permissions tag to the new class based permissions 2011-12-08 16:51:24 -04:00
Roberto Rosario c9bf9a4d6e Update the navigation widget to use the new class based permissions 2011-12-08 16:50:56 -04:00
Roberto Rosario c9b6d8411c Update the main app to use the new class based permissions 2011-12-08 16:50:33 -04:00
Roberto Rosario c5518c222a Update the documents app to use the new class based permissions 2011-12-08 16:49:11 -04:00
Roberto Rosario 24c6f60caf Update the user management app to use the new class based permissions 2011-12-08 16:47:35 -04:00
Roberto Rosario 4474069f01 Update the tagging app to use the new class based permissions 2011-12-08 16:47:06 -04:00
Roberto Rosario 314029fe3d Update the ocr app to use the new class based permissions and remove initialization hack 2011-12-08 16:46:25 -04:00
Roberto Rosario c000eade4f Update the document comments app to use the new class based permissions 2011-12-08 16:44:54 -04:00
Roberto Rosario 43cf4b37b0 Update the linking app to the new class based permissions 2011-12-08 16:43:30 -04:00
Roberto Rosario 6bf9b83412 Update the folders app to the new class based permissions 2011-12-08 16:42:58 -04:00
Roberto Rosario bf7dea399f Update sources app to use the new class based permissions 2011-12-08 16:37:39 -04:00
Roberto Rosario 7de54a8102 Update metadata app to use the new class based permissions 2011-12-08 16:37:11 -04:00
Roberto Rosario 3ec2c05f25 Convert history app to use the new class based permissions 2011-12-08 16:36:39 -04:00
Roberto Rosario e5e2117771 Update document indexing app to the new class based permissions 2011-12-08 16:36:09 -04:00
Roberto Rosario 563a1d176f Update permission app to the new class based permissions 2011-12-08 16:35:26 -04:00
Roberto Rosario 8c7d06aa10 Merge branch 'development' into feature/ACL_support 2011-12-07 16:09:45 -04:00
Roberto Rosario f6717e0eb0 Merge branch 'feature/italian_translation' into development 2011-12-07 15:56:33 -04:00
Roberto Rosario 18cc876da8 Add Pierpaolo Baldan to the contributors file, sort translator by language 2011-12-07 15:54:53 -04:00
Roberto Rosario cf3e07d728 Initial Italian language sync 2011-12-07 15:53:04 -04:00
Roberto Rosario 9daa442e71 Add Italian to the language selection list 2011-12-07 15:52:18 -04:00
Roberto Rosario 6c8e20e783 Add Italian language to the language helper scripts 2011-12-07 15:51:54 -04:00
Roberto Rosario e6ae00d357 Update Transifex configuration file to add the Italian language resources 2011-12-07 15:51:28 -04:00
Roberto Rosario 5ed21519e6 Fix statistics 2011-12-07 04:52:59 -04:00
Roberto Rosario 30f668b876 Fix statistics 2011-12-07 04:51:50 -04:00
Roberto Rosario bae50b33d6 Merge branch 'release/v0.11.1' into development 2011-12-07 04:35:12 -04:00
Roberto Rosario d0fe6c4508 Merge branch 'release/v0.11.1' 2011-12-07 04:35:08 -04:00
Roberto Rosario 56b22a8115 Bump version to 0.11.1 2011-12-07 04:34:48 -04:00
Roberto Rosario 51936cb8ae Merge branch 'development' 2011-12-07 04:33:12 -04:00
Roberto Rosario 76aced48e8 Improve post metadata set delete redirection 2011-12-07 04:31:59 -04:00
Roberto Rosario 5f3656c43f Call the correct gpg method 2011-12-07 04:23:02 -04:00
Roberto Rosario 6bf8a3df10 Fix document delete regresion 2011-12-07 04:22:34 -04:00
Roberto Rosario bee7567327 Catch the correct exception KeyImportError and not KeyFetchingError 2011-12-06 23:40:20 -04:00
Roberto Rosario b20369f694 Merge branch 'release/v0.11' into development 2011-12-06 03:32:44 -04:00
Roberto Rosario e91aeb869b Merge branch 'release/v0.11' 2011-12-06 03:32:40 -04:00
Roberto Rosario f7776b3300 Bumped version to 0.11 2011-12-06 03:32:32 -04:00
Roberto Rosario d6a62feefa Home screen translation update 2011-12-06 03:30:27 -04:00
Roberto Rosario 4cc0ff3386 Added home template text 2011-12-06 03:30:11 -04:00
Roberto Rosario ac1c1ff6a4 Documentation update 2011-12-06 03:22:14 -04:00
Roberto Rosario 265a4c6b1d Translation updates 2011-12-06 02:26:59 -04:00
Roberto Rosario 6b87c8fab1 Remove the filename re use checkbox from the document edit form 2011-12-06 02:05:05 -04:00
Roberto Rosario 197d3b4642 Disable private key views until document signing is implemented 2011-12-06 02:03:33 -04:00
Roberto Rosario 2d015d768e Improve the logic of the signature download conditional disabling 2011-12-06 01:56:39 -04:00
Roberto Rosario fb3da99a02 Merge branch 'feature/detached_signatures' into development 2011-12-06 01:51:20 -04:00
Roberto Rosario 2e829b3be4 Add views to upload and download detached signatures 2011-12-06 01:51:00 -04:00
Roberto Rosario 755d140132 Add detached signature support to the django_gpg API 2011-12-06 01:50:38 -04:00
Roberto Rosario 11edaaf4e7 Added signature file to the document model and the related method to add, verify and open the signature file 2011-12-06 01:49:45 -04:00
Roberto Rosario 2b6530d9d3 Use cStringIO whenever possible 2011-12-05 22:49:24 -04:00
Roberto Rosario a41372f6e7 Remove CACHE dicctionary from repository, didn't fix problem with compressor + DjangoZoom 2011-12-05 22:48:17 -04:00
Roberto Rosario 7d604322ac Merge branch 'master' into development
Conflicts:
	apps/main/__init__.py
2011-12-05 22:47:58 -04:00
Roberto Rosario 0439e0edf7 Merge branch 'development' into feature/ACL_support
Conflicts:
	requirements/development.txt
	requirements/production.txt
	urls.py
2011-12-05 16:01:21 -04:00
Roberto Rosario fff202e5b4 Bumped version to 0.10-hotfix4 2011-12-05 15:32:24 -04:00
Roberto Rosario acf61bbb27 Disable django-compress 2011-12-05 15:27:31 -04:00
Roberto Rosario 811d5c4e94 Add CACHE directory to repository in hopes this fixed the problem with DjangoZoom & django-compressor 2011-12-05 15:20:10 -04:00
Roberto Rosario 5ec7898c55 Merge branch 'hotfix/0.10-hotfix2' into development
Conflicts:
	apps/main/__init__.py
2011-12-05 15:17:56 -04:00
Roberto Rosario 4ff13e768a Merge branch 'hotfix/0.10-hotfix2' 2011-12-05 15:01:07 -04:00
Roberto Rosario dd34b9b6dd Bump version to 0.10-hotfix2 2011-12-05 15:00:48 -04:00
Roberto Rosario d299ec86e3 Fallback to the 'activo' theme during offline compression 2011-12-05 14:59:38 -04:00
Roberto Rosario 623fa8276f Merge branch 'hotfix/v0.10-hf1' into development
Conflicts:
	apps/main/__init__.py
	docs/changelog.rst
2011-12-05 14:46:17 -04:00
Roberto Rosario 0d3d6f75b1 Merge branch 'hotfix/v0.10-hf1' 2011-12-05 14:42:05 -04:00
Roberto Rosario 52a8fca5d9 Bump version to 0.10.1 2011-12-05 14:41:46 -04:00
Roberto Rosario 068b24b4cc Update documentation 2011-12-05 14:41:28 -04:00
Roberto Rosario 42e622b8d0 Update requirements to include new django-compressor version 2011-12-05 14:41:05 -04:00
Roberto Rosario 1a973723f2 Fix typo 2011-12-05 14:21:17 -04:00
Roberto Rosario 882e935311 Add the django_gpg to the list of transifex resources 2011-12-05 13:55:46 -04:00
Roberto Rosario 3b943af6d8 Update translation files 2011-12-05 13:55:33 -04:00
Roberto Rosario 5464ee2544 Updated language script to include django_gpg app 2011-12-05 13:55:04 -04:00
Roberto Rosario 0adcf584f3 Update text mapping to avoid ugettext from complaining 2011-12-05 13:40:25 -04:00
Roberto Rosario afc85bf1f1 Merge branch 'feature/signing_tool_views' into development 2011-12-05 13:38:23 -04:00
Roberto Rosario 553d73020d Add key management view to the setup menu, add keyserver query view, add keyserver key import, add respective icons 2011-12-05 13:37:24 -04:00
Roberto Rosario 8b3e391e05 Change default keyserver 2011-12-05 13:36:47 -04:00
Roberto Rosario 7e5be301cd Add 'python-hkp' to the requirements 2011-12-05 13:35:56 -04:00
Roberto Rosario f5211313b7 Dont fetch public keys when creating document version 2011-12-05 13:35:15 -04:00
Roberto Rosario 292d3ffc3d Dont import deprecated 'get_encoding', simplify decrypted data encapsulation 2011-12-05 07:28:02 -04:00
Roberto Rosario b5a7321f75 Merge branch 'feature/embedded_signature_handling' into development 2011-12-05 06:56:47 -04:00
Roberto Rosario a32b92b5fc Add signature state field to the Document model, update it whenever a new version is added, use it to return the raw or the decrypted content when calling the open method 2011-12-05 06:54:41 -04:00
Roberto Rosario 7ed3b329dc Fix document main menu highlighting 2011-12-05 06:54:03 -04:00
Roberto Rosario 9271ded217 Move signatute state literals to the api module, inspect a document raw content only, display signature type (embedded, detached) 2011-12-05 06:52:51 -04:00
Roberto Rosario d8f487de7c Move human readable signature state literal from the view to the api module 2011-12-05 06:52:03 -04:00
Roberto Rosario ba5b54e1aa Add migration to add the signature state field to the Document model 2011-12-05 06:51:26 -04:00
Roberto Rosario 24f443fe1a Improve document version views navigation and active menu feedback 2011-12-04 06:16:37 -04:00
Roberto Rosario 071139c5bf Add document signature verification app 2011-12-04 05:52:09 -04:00
Roberto Rosario 071fed8996 Add new version upload option to use new file filename as the document filename 2011-12-04 03:21:34 -04:00
Roberto Rosario a4127f39ff Merge branch 'feature/fix_print' into development 2011-12-04 02:44:52 -04:00
Roberto Rosario f5c3fa21d7 Add a size property to the DocumentVersion model 2011-12-04 02:44:08 -04:00
Roberto Rosario fafadfaca2 Fix document print view 2011-12-04 02:37:11 -04:00
Roberto Rosario 64e73a9c9d Update the 'invalidate_cached_image' to supply a version pk as now required by the version aware 'get_cached_image_name' method 2011-12-04 02:20:44 -04:00
Roberto Rosario 03620f5331 Update the 'find duplicates' view to work with document versions 2011-12-04 02:15:57 -04:00
Roberto Rosario 479e3d5cec Update the REST API call 'is_zoomable' to catch more errors 2011-12-04 02:15:33 -04:00
Roberto Rosario 7b29adc59a Merge branch 'feature/version_revert' into development 2011-12-04 02:03:38 -04:00
Roberto Rosario ae0ecb20a6 Update the 'is_zoomable' api call to be version aware 2011-12-04 02:02:34 -04:00
Roberto Rosario f0b1f9e6b3 Remove removed code 2011-12-04 02:02:16 -04:00
Roberto Rosario 73950ef750 Disable the revert link for the current version of a document 2011-12-04 02:01:48 -04:00
Roberto Rosario 2d119b853f Update the 'get_document_image' view to be version aware 2011-12-04 02:01:24 -04:00
Roberto Rosario 255cb8eaf2 Updated the smart document widget to be version aware 2011-12-04 02:00:28 -04:00
Roberto Rosario 7de09aae0f Add version support to the document image generation code 2011-12-04 02:00:04 -04:00
Roberto Rosario 2ec134e172 Add document version revert support 2011-12-04 01:11:12 -04:00
Roberto Rosario c3eaacb6c6 Make document date_added not editable, fix document version delete method, add revert method to document version 2011-12-04 01:10:10 -04:00
Roberto Rosario a37a212857 Merge branch 'feature/document_versioning' into development 2011-12-04 00:02:46 -04:00
Roberto Rosario aa66085165 Update the document list view, the page update view and the remaining references of 'file_filename' to 'filename' 2011-12-04 00:01:21 -04:00
Roberto Rosario e6d3453800 Update the linking app to be compatible with the new document versioning fields 2011-12-04 00:00:07 -04:00
Roberto Rosario 43b17456d1 Remove the auto_add_now property from the date_added document field 2011-12-03 23:42:29 -04:00
Roberto Rosario 986b7e39e4 Fix the new version fields in the upload form 2011-12-03 23:37:00 -04:00
Roberto Rosario e81a02b18d Improve document multi version migrations 2011-12-03 23:29:52 -04:00
Roberto Rosario 90863025d8 Fix permission import 2011-12-03 20:54:35 -04:00
Roberto Rosario 699f7e7caa Update document page navigation views to use the new 'siblings' DocumentPage method 2011-12-03 20:44:04 -04:00
Roberto Rosario 4bbf5d3514 Add 'siblings' convenience method to the DocumentPage model 2011-12-03 20:43:30 -04:00
Roberto Rosario 0cf8d68db0 Add the page number on top of the page widget in the multiple page carousel widget 2011-12-03 20:30:44 -04:00
Roberto Rosario d81e734f59 Update REST API to new document multi version methods and structures 2011-12-03 20:10:08 -04:00
Roberto Rosario a3befc6b7d Remove remarked code 2011-12-03 20:09:44 -04:00
Roberto Rosario 28208c4a2a Update sources app to support multiple versions 2011-12-03 19:35:36 -04:00
Roberto Rosario 11725c943b Update documents app to support multiple versions 2011-12-03 19:35:03 -04:00
Roberto Rosario 9f7e5de5ac Add migration to remove old file fields 2011-12-03 19:32:40 -04:00
Roberto Rosario d4a70c0fc1 Cleanup remarks from migration 2011-12-03 19:31:59 -04:00
Roberto Rosario 1e38369919 Update parser to use the latest version of a document when extracting text 2011-12-02 05:56:34 -04:00
Roberto Rosario 8c02c4c426 Disable ocr document queue signal
It appears Django executes signals using the same process
as the caller, effectively blocking the view until the OCR process
completes which could take several minutes :/
2011-12-02 05:55:42 -04:00
Roberto Rosario e92a0f7996 Updated version to 0.11beta2 and add python authoring structures 2011-12-02 05:55:01 -04:00
Roberto Rosario 5905dbd3e0 Updated changelog 2011-12-02 05:54:36 -04:00
Roberto Rosario 3e471f702e Add document version list view and document version download 2011-12-02 05:54:00 -04:00
Roberto Rosario 640a1c2966 Add two new migrations, one to fix a field name, the other to add a comment field to the document versions 2011-12-02 05:53:12 -04:00
Roberto Rosario d83e8b5428 Initial set of model, form and API changes to support document versions 2011-12-02 02:51:59 -04:00
Roberto Rosario b38d84f663 South schema and data migrations to support document versions 2011-12-02 02:51:15 -04:00
Roberto Rosario 41de49916f Pass exc_info to logger for better debugging 2011-12-01 23:38:50 -04:00
Roberto Rosario 60c05317b3 Fix indentation 2011-12-01 23:38:29 -04:00
Roberto Rosario 53ff2d2935 Merge branch 'feature/clear_image_cache_view' into development 2011-12-01 05:25:06 -04:00
Roberto Rosario 93fdd0c559 Update changelog 2011-12-01 05:24:53 -04:00
Roberto Rosario da1ab56202 Add maintenace view to clear the document image cache 2011-12-01 05:24:31 -04:00
Roberto Rosario 13826a0a4a Update changelog 2011-12-01 04:54:33 -04:00
Roberto Rosario 922971274f Add office document text extractor 2011-12-01 04:54:14 -04:00
Roberto Rosario 6d9b6f9ada Add more debugging logging and update to only process 1 queue item per execution
Previously the task_process_document_queues processed all the pending queue
items it could find, this could lead to the of inexisting queue items
from a stale queryset
2011-12-01 04:48:24 -04:00
Roberto Rosario c63721cbf6 Move OCR queue document requeueing from the view to the model and add proper exception 2011-12-01 04:47:27 -04:00
Roberto Rosario 31ea558b60 Update the REPLICATION_DELAY default to be 0 seconds 2011-12-01 04:46:00 -04:00
Roberto Rosario 29f547ee48 Update the queue signal processor to only trigger ocr queue processing on newly submitted documents and not requeued documents 2011-12-01 04:44:38 -04:00
Roberto Rosario cb8b4a4def Add more logging 2011-12-01 04:43:59 -04:00
Roberto Rosario 8a2d526e94 Add RTF text file to the list of office document mimetypes 2011-12-01 04:31:52 -04:00
Roberto Rosario cf9b28ad30 Separate unoconv command line arguments and add further logging 2011-12-01 04:30:38 -04:00
Roberto Rosario a4513951ed Add '=' to unoconv command line 2011-12-01 02:15:15 -04:00
Roberto Rosario 394762047a Fix documents not saving the file encoding 2011-11-30 20:04:29 -04:00
Roberto Rosario f76baa4efc Changed office documents mimetypes strings to unicode 2011-11-30 20:03:46 -04:00
Roberto Rosario 2b7c379822 Add new office document mimetype
* application/vnd.ms-office
2011-11-30 09:45:29 -04:00
Roberto Rosario cded3fafae Merge branch 'feature/filename_extension_merge' into development 2011-11-30 09:34:09 -04:00
Roberto Rosario 1e22d1099e Update api and filesystem modules to new os_specifics
renames
2011-11-30 09:33:32 -04:00
Roberto Rosario a646997ab8 Rename os_agnostic.py to the more appropiate os_specifics
to encapsulate file system unique filename and path handling
2011-11-30 09:31:32 -04:00
Roberto Rosario d37b36bce3 Updated document indexing app modules for the new
filename and extension merged field
2011-11-30 08:55:19 -04:00
Roberto Rosario f554655688 Updated documents app admin, model and view modules to use the merged
filename and extension
2011-11-30 08:54:37 -04:00
Roberto Rosario c6f8534208 Initial migrations for the documents app
These migrations are to merge the filename and extension
fields into a single filename field
Mayan can't assume filesystem convetion
of extension separator as the OS where the
document was uploaded might be differente
that the OS running Mayan
2011-11-30 08:52:18 -04:00
Roberto Rosario 188c7f1efd Added South to the requirements 2011-11-30 08:52:00 -04:00
Roberto Rosario 0fc2853903 Updated contributors file 2011-11-28 12:00:23 -04:00
Roberto Rosario 6ef9b5840f Removed extra slash in ajax-loader.gif URL fixes #15, thanks to IHLeanne for finding this one 2011-11-28 11:57:18 -04:00
Roberto Rosario d81a2ca574 Merge branch 'release/v0.10' into development 2011-11-22 18:04:44 -04:00
Roberto Rosario 4511dc8baf Merge branch 'release/v0.10' 2011-11-22 18:04:39 -04:00
Roberto Rosario 5fe495e967 Bumped version to 0.10 2011-11-22 18:04:29 -04:00
Roberto Rosario 94490def2e Updated sphinx documentation version number to 0.10 2011-11-22 18:03:28 -04:00
Roberto Rosario ef0d29bf5a Updated changelog 2011-11-22 18:03:16 -04:00
Roberto Rosario deb09d3d83 Re enabled tesseract language specific OCR processing and added a 1 time language neutral retry for failed language specific OCR 2011-11-22 17:46:18 -04:00
Roberto Rosario 667af2a442 Added multiple document OCR submit link 2011-11-22 17:45:56 -04:00
Roberto Rosario c21cb65791 Fixed posible error on multiple document metadata editing 2011-11-22 17:45:08 -04:00
Roberto Rosario 4b03a1f289 Spanish translation updates 2011-11-22 17:04:26 -04:00
Roberto Rosario 5a916eb4b3 Further Russian translation updates (Сергей Глита [Sergey Glita]) 2011-11-22 15:51:01 -04:00
Roberto Rosario eb09ac10c2 Merge branch 'feature/lock_manager_update' into development 2011-11-22 15:48:22 -04:00
Roberto Rosario 95c300137c Updated changelog 2011-11-22 15:48:12 -04:00
Roberto Rosario 290fcc925b Added signal processing to the ocr queue to speed up ocr queue processing 2011-11-22 15:42:41 -04:00
Roberto Rosario dc63c3225e Updated ocr task to use the new lock manager abstracted class 2011-11-22 15:42:04 -04:00
Roberto Rosario 1367fb9c66 Added lock manager abstraction 2011-11-22 15:41:32 -04:00
Roberto Rosario 78685b9fc5 Reduce the ocr lock name size 2011-11-22 15:22:20 -04:00
Roberto Rosario c9e8f2fac0 Updated the ocr app to use the lock manager 2011-11-22 15:07:29 -04:00
Roberto Rosario a6151fd9e5 Added non working memcache backend to the lock manager app 2011-11-22 15:07:09 -04:00
Roberto Rosario 614ece827f Updated FAQ with unoconv information 2011-11-22 15:06:33 -04:00
Roberto Rosario c65b6a0309 Added aditional loggin to the locking app 2011-11-22 15:06:21 -04:00
Roberto Rosario 8a70e325c1 Simplyfied and updated the lock manager app 2011-11-22 15:03:06 -04:00
Roberto Rosario 7e4110450b Removed vestigial mentions of the word 'group' from the linking app 2011-11-22 12:00:30 -04:00
Roberto Rosario 33b2f69e7f Spanish translation updates 2011-11-22 11:45:52 -04:00
Roberto Rosario a31c153dff Updated language script 2011-11-22 11:29:36 -04:00
Roberto Rosario eabc694b56 Updated language source file 2011-11-22 11:29:21 -04:00
Roberto Rosario acbdd0bfd4 Updated changelog 2011-11-22 10:19:13 -04:00
Roberto Rosario 1773ed3c13 Updated translation related scripts and Transifex configuration file for the grouping -> linking app rename 2011-11-22 10:18:26 -04:00
Roberto Rosario 37eb1c04cc Updated contributor file 2011-11-22 09:54:15 -04:00
Roberto Rosario cbacdcb348 Russian translation updates Сергей Глита [Sergey Glita] 2011-11-22 09:53:12 -04:00
Roberto Rosario 23f7126f10 Updated changelog 2011-11-22 09:48:41 -04:00
Roberto Rosario f7303c7eb8 Removed Grappelli dependency 2011-11-22 09:48:24 -04:00
Roberto Rosario 083baaee88 Merge branch 'feature/base64_thumbnails' into development 2011-11-22 09:24:02 -04:00
Roberto Rosario f73ce55c34 Updated the document smart widget for the new API call format 2011-11-22 09:23:31 -04:00
Roberto Rosario fc344d0c9e Modified the is_zoomable API call to be document pk and document page number based 2011-11-22 09:22:49 -04:00
Roberto Rosario db89cdde55 Updated apps to use the new document widget 2011-11-22 09:05:35 -04:00
Roberto Rosario 3f8e2b5640 Finished new smarter document image widget 2011-11-22 09:05:03 -04:00
Roberto Rosario 9be2aebd3f Reverted back to the previous fancybox initialization method, added thin_border class for the new document widget, fixed a small typo 2011-11-22 09:01:13 -04:00
Roberto Rosario 5097a8b180 Added get_error_icon_url() function to the mimetype app to be used for the new smarted document widget 2011-11-22 07:53:51 -04:00
Roberto Rosario 4cf935925b Added views that return the document image as a base64 encoded string 2011-11-22 07:52:55 -04:00
Roberto Rosario b5a1f92a9c Added support for base64 encoded document images 2011-11-22 07:51:16 -04:00
Roberto Rosario 3a2900ff64 Use jQuery's live to lauch fancybox 2011-11-22 07:47:41 -04:00
Roberto Rosario 336a752dc2 Updated JqueryAsynchImageLoader from version 0.8 to version 0.9.7 2011-11-22 07:46:31 -04:00
Roberto Rosario 87a4c5be6d Merge branch 'feature/optimize_document_widget' into development 2011-11-22 05:51:48 -04:00
Roberto Rosario 2ee236e1c5 Revert back to simple document widget 2011-11-22 05:51:30 -04:00
Roberto Rosario da4457b258 Improve office documents page number detection 2011-11-22 05:51:02 -04:00
Roberto Rosario ba7016b0bc Don't call office converter if not initialized 2011-11-22 05:08:04 -04:00
Roberto Rosario 99e6bf652f Detect invalid office converter backend during initialization 2011-11-22 05:07:19 -04:00
Roberto Rosario 9988a8f543 Invalidate cached values on reentry, added logging 2011-11-22 05:06:41 -04:00
Roberto Rosario f8dbfc068a Added random named pipe support to the OfficeConverter pipe method 2011-11-22 01:22:59 -04:00
Roberto Rosario a6a00cbc15 Document image serving uses now a fixed mimetype provided by converter.DEFAULT_FILE_FORMAT_MIMETYPE to help browser rendering 2011-11-22 00:57:54 -04:00
Roberto Rosario 4e8f2c370b Initial REST API version 0 alpha 2011-11-22 00:56:56 -04:00
Roberto Rosario ffcaec1e91 Updated web app theme to point to the new jquery version 2011-11-22 00:56:09 -04:00
Roberto Rosario 68ded2e4fc Upgraded jquery to version 1.7 2011-11-22 00:55:41 -04:00
Roberto Rosario c598e4ceb3 Instantiate OfficeConverter just once 2011-11-21 08:22:00 -04:00
Roberto Rosario 9212a7027f Merge branch 'feature/improved_office_doc_support' into development 2011-11-21 06:28:30 -04:00
Roberto Rosario e9ff82f696 Corrected multi exception line format in document_html_widget 2011-11-21 06:27:50 -04:00
Roberto Rosario 3f33924d4a Updated document mode to pass the document mimetype when calling convert to avoid a chain of mimetype detections 2011-11-21 06:24:19 -04:00
Roberto Rosario bd24353886 Updated office converter to accept a mimetype argument to avoid yet another file mimetype detection 2011-11-21 06:14:07 -04:00
Roberto Rosario 2bae05f39c Updated the convert app api to reuse the office converter detected mimetype 2011-11-21 05:50:34 -04:00
Roberto Rosario a0218ecb92 Updated the office converter to use mimetype_only argument of the mimetype app and to store the detected mimetype for future use 2011-11-21 05:48:48 -04:00
Roberto Rosario 60ae0a77c1 Update the argument list of the other converter backend so that the mimetype arg doesn't raise errors 2011-11-21 05:47:27 -04:00
Roberto Rosario 244cbc9911 Added icon for the page count update view 2011-11-21 05:47:01 -04:00
Roberto Rosario eacd7837b2 Updated the python conveter backend to use the new mimetype_only argument of get_mimetype and to accept a mimetype argument from the caller thus skipping mimetype detection at all resulting in another slight speedup 2011-11-21 05:45:55 -04:00
Roberto Rosario 7139989649 Added a mimetype_only=False argument to the get_mimetype method to skip detecting the encoding when not needed resulting in a slight speedup 2011-11-21 05:43:47 -04:00
Roberto Rosario 21927c00bb Updated the ocr and document indexing apps to the new maintenante register function 2011-11-21 05:42:53 -04:00
Roberto Rosario 436ad2c3fe Added a new view to update the page count of previously uploaded documents 2011-11-21 05:41:48 -04:00
Roberto Rosario a9d211f32f Added size and page_count properties to the document model 2011-11-21 05:40:41 -04:00
Roberto Rosario 8b6d1d7859 Updated register_maintenance_links to support more than one link per app 2011-11-21 05:40:00 -04:00
Roberto Rosario e8f62874dd Updated generic_config template to store the views' previous url 2011-11-21 05:38:35 -04:00
Roberto Rosario 9b95201b4d Moved project wide schedule instance to the runtime.py file 2011-11-21 05:38:05 -04:00
Roberto Rosario e4b9b135da Added new configuration option CONVERTER_UNOCONV_USE_PIPE to let uniconv use pipes instead of ports to call libreoffice 2011-11-21 02:48:29 -04:00
Roberto Rosario e590cb041c Finished office converter using MIME type detection 2011-11-21 02:47:52 -04:00
Roberto Rosario 67b3e19031 Initial commit of the new office converter class 2011-11-20 02:48:34 -04:00
Roberto Rosario 91203a9593 Merged all document widget generation code into one place 2011-11-19 03:59:09 -04:00
Roberto Rosario c468ca93d6 Merge branch 'feature/document_group_move' into development 2011-11-19 02:02:24 -04:00
Roberto Rosario fbad8375b3 Finished converting grouping app to the linking app 2011-11-19 02:01:55 -04:00
Roberto Rosario d358bd991a Close possible security hole by not trusting user input when saving smart link conditions 2011-11-19 01:06:34 -04:00
Roberto Rosario d422dfaa1a Merge branch 'feature/document_grouping_setup' into development 2011-11-18 23:30:28 -04:00
Roberto Rosario ad53632f7f Added smart linking setup help 2011-11-18 23:29:40 -04:00
Roberto Rosario 7a32eccc19 More document grouping rename updates 2011-11-18 23:29:19 -04:00
Roberto Rosario 9f4112187e Further document grouping rename 2011-11-18 23:08:01 -04:00
Roberto Rosario 8b14cf0df5 Finished adding CRUD views for document groupping and document groupping items, started naming change to smart links and smart link conditions 2011-11-18 21:03:08 -04:00
Roberto Rosario 1f784aa6b0 Started the rename of the document grouping app to smart linking 2011-11-18 18:29:59 -04:00
Roberto Rosario 96e92b296e Improved POST redirect default url from None to '/' 2011-11-17 23:23:18 -04:00
Roberto Rosario 3934b4c535 Add the document grouping setup url to the project setup menu link child urls list 2011-11-17 23:22:33 -04:00
Roberto Rosario fa4a13668b Added views to create, list and delete document groups via the project setup 2011-11-17 23:21:56 -04:00
Roberto Rosario b5ae16b4d0 Merge branch 'hotfix/v0.9.1' into development 2011-11-15 07:10:30 -04:00
Roberto Rosario 484502a717 Merge branch 'hotfix/v0.9.1' 2011-11-15 07:10:25 -04:00
Roberto Rosario 807f8a79b3 Bumped version to 0.9.1 2011-11-15 07:09:58 -04:00
Roberto Rosario c6b555be82 Updated changelog 2011-11-15 07:09:47 -04:00
Roberto Rosario 592cd373a7 Updated FAQ adding solution to the mysql non utf-8 collation issue 2011-11-15 07:03:40 -04:00
Roberto Rosario 946e4fcf50 Handle percent encoded unicode query strings in search URL 2011-11-15 06:34:59 -04:00
Roberto Rosario f0ad541d17 Merge branch 'development' 2011-11-09 07:50:31 -04:00
Roberto Rosario 2adb95f9d1 Updated document version number 2011-11-09 07:50:13 -04:00
Roberto Rosario 9a179ad7aa Merge branch 'release/Version_0.9.0' 2011-11-07 15:53:50 -04:00
Roberto Rosario 4d14806991 Bumped version to 0.9.0 2011-11-07 15:50:54 -04:00
Roberto Rosario 2a40c5d123 Updated changelog 2011-11-07 15:50:20 -04:00
Roberto Rosario 8778746b06 Updated changelog 2011-11-07 15:28:40 -04:00
Roberto Rosario 2ba451b611 Merge branch 'feature/non_3rd_party' into development 2011-11-07 15:25:57 -04:00
Roberto Rosario 742aad2e27 Removed the included 3rd party module django-sendfile 2011-11-07 15:23:54 -04:00
Roberto Rosario 97bdf29152 Updated required Django version to 1.3.1 2011-11-07 14:18:39 -04:00
Roberto Rosario a488df12ff Updated changelog 2011-11-07 02:21:54 -04:00
Roberto Rosario ccdcd4540a Merge branch 'feature/non_clickable_mimetype_icons' into development 2011-11-07 02:20:17 -04:00
Roberto Rosario ab96a7d350 Only allow clickable thumbnails for document with a valid image in the group document list 2011-11-07 02:09:24 -04:00
Roberto Rosario 7121ad86d1 Removed tag count from the widget to conserve vertical space 2011-11-07 02:08:45 -04:00
Roberto Rosario 38a035685b Only allow clickable thumbnails for staging files with a valid image 2011-11-07 02:08:28 -04:00
Roberto Rosario fd2a284505 Only allow clickable thumbnails for document with a valid image in the multi page view 2011-11-07 02:07:56 -04:00
Roberto Rosario b6ccb20988 Only allow clickable thumbnails for document with a valid image 2011-11-07 02:06:33 -04:00
Roberto Rosario 7ec7ed499e Detect invalid transformation argument and reset to empty list [] 2011-11-07 02:05:06 -04:00
Roberto Rosario da33569a4a Updated changelog 2011-11-07 00:35:49 -04:00
Roberto Rosario 1f8c180567 Spanish translation updates 2011-11-07 00:34:15 -04:00
Roberto Rosario d95f3d0f8c Merge branch 'feature/simplify_mimetype_api' into development 2011-11-07 00:10:53 -04:00
Roberto Rosario 557c960094 Updated python converter backend, document model and staging module to use the new get_mimetype API 2011-11-07 00:05:25 -04:00
Roberto Rosario 160950b6f4 Simplified getting mimetypes from files by merging 2 implementations (document based and file based) 2011-11-07 00:04:40 -04:00
Roberto Rosario b739d01ecf Updated changelog 2011-11-06 02:34:21 -04:00
Roberto Rosario bf2f75c76b Merge branch 'feature/russian_ocr' into development 2011-11-06 02:31:51 -04:00
Roberto Rosario 90123623a5 Contributor Sergey Glita name update 2011-11-06 02:31:20 -04:00
Roberto Rosario 7577f5b0e4 Added Russian locale post OCR cleanup backend (Сергей Глита [Sergei Glita]) 2011-11-06 01:21:19 -04:00
Roberto Rosario f0c019f6fc Reduce severity of the messages displayed when no OCR backend is found for a language 2011-11-06 01:06:43 -04:00
Roberto Rosario b2d2449e22 Merge branch 'feature/translation_updates' into development 2011-11-04 13:24:25 -04:00
Roberto Rosario 7d6c5595e4 Updated changelog 2011-11-04 13:24:08 -04:00
Roberto Rosario 6d81185fc1 Updated compiled language files 2011-11-04 13:16:59 -04:00
Roberto Rosario e58e6f8d8a Spanish translation source file updates 2011-11-04 13:14:17 -04:00
Roberto Rosario 5a26ccc4ab Complete Russian translation source messages 2011-11-04 13:13:36 -04:00
Roberto Rosario 0a81fb873d Merge branch 'feature/translations_update' into development 2011-11-03 21:11:00 -04:00
Roberto Rosario b39f5c4ba1 Updated compiles translation files 2011-11-03 21:10:42 -04:00
Roberto Rosario d31c297d13 Spanish translation updates 2011-11-03 21:08:28 -04:00
Roberto Rosario a4a0f0b0fd Added Spanish to the convenience scripts 2011-11-03 21:07:41 -04:00
Roberto Rosario 64e21b64b2 Russian translation update 2011-11-03 21:05:39 -04:00
Roberto Rosario 284f9de6e3 Portuguese translation updates 2011-11-03 20:51:07 -04:00
Roberto Rosario c13b0942e4 Added email for Sergey Glita 2011-11-03 20:40:26 -04:00
Roberto Rosario 7c502703a6 Added animate.css to use CSS to animate flash messages with better fallback on non JS browsers 2011-11-03 20:38:30 -04:00
Roberto Rosario 1d63599a60 Added Portuguese and Russian to the list of included languages 2011-11-03 17:04:41 -04:00
Roberto Rosario f1c15341f1 Updated changelog 2011-11-03 17:04:31 -04:00
Roberto Rosario f5c43b8828 Merge branch 'feature/russian_translation' into development 2011-11-03 16:59:08 -04:00
Roberto Rosario d26176602b Updated string composition so that make messages could process it 2011-11-03 16:58:14 -04:00
Roberto Rosario f71e2a4b62 Further Russian translation updates 2011-11-03 16:57:53 -04:00
Roberto Rosario eea1abbc80 Russian translation update 2011-11-03 16:57:04 -04:00
Roberto Rosario 51b2a989ff Added Russian to the list of available translations 2011-11-03 16:55:53 -04:00
Roberto Rosario 01aa13c162 Fixed Russian locale resource typo 2011-11-03 16:50:47 -04:00
Roberto Rosario b1854cb93b Added Russian language to the compile messages script 2011-11-03 16:41:42 -04:00
Roberto Rosario f59aa5501c Added Russian resources to the transifex resources file 2011-11-03 16:41:17 -04:00
Roberto Rosario de790fabd0 Added Russian language compilation to the make messages script 2011-11-03 16:40:46 -04:00
Roberto Rosario 8e2210b799 Added initial Russian translation files 2011-11-03 16:40:19 -04:00
Roberto Rosario 5a1f1d2957 Merge branch 'feature/portuguese_updates' into development 2011-11-03 16:26:05 -04:00
Roberto Rosario cd4ec8cb1a Added new language translator to the contributors file 2011-11-03 16:24:49 -04:00
Roberto Rosario 52099b17c9 Added convinience scrtip to compile translation files 2011-11-03 16:20:23 -04:00
Roberto Rosario fd92a1cd78 Portuguese translation updates 2011-11-03 16:19:55 -04:00
Roberto Rosario 0f8fb7c788 Added missing resources to the transifex resource file 2011-11-03 16:18:02 -04:00
Roberto Rosario 1557ae829b ACL grant view updates 2011-11-03 12:04:35 -04:00
Roberto Rosario 2b3629f899 Return translatable permission labels and permission namespace label straight from the model 2011-11-03 12:03:47 -04:00
Roberto Rosario d2d7eeff51 Added Meurig Freeman to the contributors file 2011-10-30 20:04:35 -04:00
Roberto Rosario 73ec5665b7 Updated the changelog 2011-10-30 20:04:25 -04:00
Roberto Rosario 4e362d3305 Merge branch 'hotfix/no_hard_coded_admin_sentry' into development 2011-10-30 19:54:46 -04:00
Roberto Rosario 2b71352620 Merge branch 'hotfix/no_hard_coded_admin_sentry' 2011-10-30 19:54:32 -04:00
Roberto Rosario 01e7cb4f8e Bumped version to 0.8.3-hotfix2 2011-10-30 19:53:20 -04:00
Meurig Freeman d01a57491f No longer hard code admin and sentry urls 2011-10-30 19:50:03 -04:00
Roberto Rosario 8a27b1866b Removed imported wrongly copied file 2011-10-29 02:34:38 -04:00
Roberto Rosario 3bf0bb268f Disabled checking for permissions for the acl views, temporarily 2011-10-29 02:29:33 -04:00
Roberto Rosario e22f6c2294 Removed object_name inline with the other apps 2011-10-29 02:28:56 -04:00
Roberto Rosario ffc3b2c1b2 Changed app order in settings.py file 2011-10-29 02:28:22 -04:00
Roberto Rosario b472383bc0 Only show the permissions the users hold on the ACL edit view 2011-10-29 02:26:48 -04:00
Roberto Rosario 0c87b3356f Improved the check_permissions_for_holder method, made method admin and staff users aware 2011-10-29 02:25:59 -04:00
Roberto Rosario fb9f467804 Moved runtime memory structures to their on module to avoid circular imports 2011-10-29 02:24:59 -04:00
Roberto Rosario c9d1b225fd Improved the return_type function 2011-10-29 02:24:35 -04:00
Roberto Rosario e048711d82 Updated permissions app to only return active permissions on the views and querysets 2011-10-29 02:23:33 -04:00
Roberto Rosario 0c512ccaec Use source class as a cache namespace, more expesive lookups to the encapsulate method and made the get method lightweight 2011-10-28 21:47:46 -04:00
Roberto Rosario 548abaaf70 Added get_permission_namespace_label helper function 2011-10-27 07:45:26 -04:00
Roberto Rosario 3f9e79f0bc Added encapsulation and semi working acl edititing view 2011-10-27 07:44:51 -04:00
Roberto Rosario 672c2557bf Updated Changelog 2011-10-24 23:02:35 -04:00
Roberto Rosario 773f0061c4 Added a bit of bottom margin to the new tag widgets 2011-10-24 22:59:50 -04:00
Roberto Rosario 1077e4e2e2 Improved appearance of the document tag widget 2011-10-24 22:55:16 -04:00
Roberto Rosario d45ad40233 Changed development admin serving rom grappelli based to a more generic django admin based 2011-10-24 20:36:52 -04:00
Roberto Rosario 4f1a234c0a Return the namespace and label of a permission object instead of just the label 2011-10-24 20:36:09 -04:00
Roberto Rosario f0f924a1d4 Added function to return a translatable label for a permission object 2011-10-24 20:35:32 -04:00
Roberto Rosario acd23eebab ACL app updates, display generic object proper ACL holders list with content type icon widget 2011-10-24 20:34:01 -04:00
Roberto Rosario 0cb468ca9b Added and enabled the acls and document_acls apps 2011-10-24 12:59:45 -04:00
Roberto Rosario cf2dd00dec Removed repeated import 2011-10-24 12:59:31 -04:00
Roberto Rosario 0f5d68670a Updated to a newer version of django_extensions and Grappelli 2011-10-24 12:58:48 -04:00
Roberto Rosario 6bbaca7745 Added a new docuent_acls app to tie in documents with ACLs 2011-10-24 12:58:14 -04:00
Roberto Rosario 7d1c000352 Initial models and managers to support ACLs for a generic object 2011-10-24 12:57:40 -04:00
Roberto Rosario 01a31949ae Updated Changelog 2011-10-18 11:08:37 -04:00
Roberto Rosario 6c7bc820a6 Added django_compress and cssmin to the requirements files and enalbed django_compress for CSS and JS files 2011-10-18 11:03:51 -04:00
Roberto Rosario 5ac70a2100 Added DjangoZoom screencast link to the documentation, documentation spelling fixes 2011-10-16 09:13:56 -04:00
Roberto Rosario d50b2ef172 Added step to the documentation explaining how to install Mayan EDMS on Webfaction 2011-10-16 08:34:41 -04:00
Roberto Rosario c13e6a5fe9 Updated Changelog and contributors file 2011-10-16 07:49:34 -04:00
Roberto Rosario a4cdde1ae7 Merge branch 'feature/easy_grant_remove' into development 2011-10-16 07:32:09 -04:00
Roberto Rosario b1f8a300a9 Used new multi parameter passing method to improve the usability of the grant/revoke method 2011-10-16 07:30:38 -04:00
Roberto Rosario f634ac6009 Added a new more comprehensive method of passing multiple variables per item in multi item selection views 2011-10-16 07:29:29 -04:00
Roberto Rosario 1e0cbc1fcd Correctly calculate the mimetype icons paths when on development mode 2011-10-16 07:28:51 -04:00
Roberto Rosario cb55b95e66 Added granting and revoking permission methods to the permission model 2011-10-16 07:28:03 -04:00
Roberto Rosario e0110fd15d Merge branch 'feature/Portuguese_translation' into development 2011-10-05 17:55:09 -04:00
Roberto Rosario 45bc761a5f Updated documentation and changelog 2011-10-05 17:54:27 -04:00
Roberto Rosario b3973c9dfa Added initial Portuguese translation, updated settings.py and translation related files 2011-10-05 17:53:56 -04:00
Roberto Rosario be8c9aafbf Updated Readme.md to add link to the transifex project page 2011-09-30 01:39:44 -04:00
Roberto Rosario 0f72ed5d0d Spanish translation updates 2011-09-30 01:30:51 -04:00
Roberto Rosario 9e0edbcd87 Added missing translation files, added transifex resource file 2011-09-30 01:11:49 -04:00
Roberto Rosario 85349bea03 Updated Spanish .po files, added English .po files to add project to Transifex.com 2011-09-29 18:52:11 -04:00
Roberto Rosario f79883021d Merge branch 'hotfix/v0.8.3-hf1' into development 2011-09-13 20:49:51 -04:00
Roberto Rosario 5565991072 Merge branch 'hotfix/v0.8.3-hf1' 2011-09-13 20:49:34 -04:00
Roberto Rosario e803e7410b Fixed the apache contrib file static file directory name 2011-09-13 20:49:06 -04:00
Roberto Rosario a10ae9d382 Added flattr button 2011-09-01 06:18:43 -04:00
Roberto Rosario 8f016eaeff Documentation update 2011-09-01 03:54:24 -04:00
Roberto Rosario f44d135a87 Documentation updates 2011-09-01 03:20:15 -04:00
Roberto Rosario 0a077e9d6d Updated documentation added collectstatic missing step, issue #11 2011-08-31 00:03:50 -04:00
Roberto Rosario cc30f70fed Added build directories to the gitignore file 2011-08-31 00:03:28 -04:00
Roberto Rosario 368b0287a0 Merge branch 'lock_manager' 2011-08-23 17:39:27 -04:00
Roberto Rosario 9185ed335d lock manager app updates 2011-08-23 17:34:05 -04:00
Roberto Rosario b6d2e95a91 Initial commit of the lock manager 2011-08-23 14:51:57 -04:00
Roberto Rosario 3bd5fd45ce Added missing setup options to the documentation 2011-08-19 22:39:27 -04:00
Roberto Rosario 37f200d884 Removed pyramid logo from the documentation, started adding the
setting options to the documentation
2011-08-19 15:00:55 -04:00
Roberto Rosario 4f029cbc01 Documentation and README.md update 2011-08-19 14:18:03 -04:00
Roberto Rosario e55863aaa1 Documentation updates 2011-08-19 09:10:55 -04:00
Roberto Rosario 956aca1482 Merge remote branch 'origin/master' 2011-08-19 08:59:39 -04:00
Roberto Rosario 9277e9cdee Updated the documentation in a Sphinx ready format 2011-08-19 08:58:54 -04:00
Roberto Rosario 1f0a0ca10a Updated document in a Sphinx ready format 2011-08-19 08:57:03 -04:00
Roberto Rosario b4be6115a1 Bumped version to 0.8.3 2011-08-19 04:56:55 -04:00
Roberto Rosario 9366e04f61 Added a contributors file 2011-08-19 04:55:55 -04:00
Roberto Rosario fb8e8e01cc Merge branch 'group_tab' 2011-08-19 04:36:58 -04:00
Roberto Rosario f0cf50b1d8 Fixed the home and document main menu tab position 2011-08-19 04:36:18 -04:00
Roberto Rosario f0d776b316 Converted document grouping subtemplate into a document information tab 2011-08-19 04:35:27 -04:00
Roberto Rosario edd5b32893 Updated the Changelog 2011-08-18 19:49:24 -04:00
Roberto Rosario 059718ffe1 Removed remarked code 2011-08-18 19:46:15 -04:00
Roberto Rosario c7e13576bc Moved OCR links to the tools main menu 2011-08-18 19:45:48 -04:00
Roberto Rosario 5e1936c24b Moved the new button link widget to the navigation app and made it more generic 2011-08-18 19:38:52 -04:00
Roberto Rosario 18899f78f2 Improved tools menu using horizontal button widget just like the project_setup app 2011-08-18 11:24:25 -04:00
Roberto Rosario 531332a5bf Removed debug statements, added comments 2011-08-18 10:53:19 -04:00
Roberto Rosario 109b62c28a Improved the metadata type and metadata set selection widget 2011-08-18 10:48:06 -04:00
Roberto Rosario ad2a3b89f5 Removd debug statement 2011-08-18 10:28:54 -04:00
Roberto Rosario 1c74c4390b Improved button based links compatibility in some drivers 2011-08-18 10:12:25 -04:00
Roberto Rosario dc4142b575 Improved new button based links appearance 2011-08-18 10:12:06 -04:00
Roberto Rosario 113a125742 Merge remote branch 'origin/master' 2011-08-18 02:45:48 -04:00
Roberto Rosario a4cb8c933c Updated readme adding video and fixing the email address 2011-08-18 02:44:34 -04:00
Roberto Rosario c44396fb0d Removed static from the gitignore file, was causing problems with the
apps' static folders
2011-08-18 02:41:26 -04:00
Roberto Rosario e195b245a2 Added a debug css class 2011-08-18 02:41:10 -04:00
Roberto Rosario 1b4d62aa61 Updated Changelog 2011-08-18 02:39:56 -04:00
Roberto Rosario f95df0f32f Merge branch 'settings_dashboard' 2011-08-18 02:38:28 -04:00
Roberto Rosario 36c199f8a9 Added new app 'project_setup' to display a setup dashboard style view instead of a secondary action list 2011-08-18 02:37:32 -04:00
Roberto Rosario 75ae202e66 Added video demonstration, fixed email url 2011-08-16 03:04:35 -03:00
Roberto Rosario aff42d4182 Fixed staging fixed preview via encapsulation to sidestep django 1.3
template callable variable bug
2011-08-15 11:05:13 -04:00
Roberto Rosario 00fe7ca273 Metadata set model doesn't have a name field, not use it to calculate the unicode representation 2011-08-15 11:05:05 -04:00
Roberto Rosario c2a5b2732d Updated Changelog 2011-08-14 23:36:48 -04:00
Roberto Rosario aba9d47ad8 Added a view to the about menu to read the LICENSE file included with Mayan 2011-08-14 23:31:12 -04:00
Roberto Rosario 094a4125dc Updated some apps to use the new top menu sorting method 2011-08-14 23:30:41 -04:00
Roberto Rosario 9cbeccfb98 Improved top menu navigation link sorting 2011-08-14 23:29:37 -04:00
Roberto Rosario c46c52ebdf Added converter backend agnostic image file format descriptions 2011-08-12 04:06:48 -04:00
Roberto Rosario 0a2591d58f Removed unused import, PEP8 cleanups 2011-08-12 02:13:23 -04:00
Roberto Rosario 09f1c2bd2f Disable whitelist and blacklist temporarily, removed document_type field from interactive sources 2011-08-11 23:38:32 -04:00
Roberto Rosario 0b34d58c7f Fully disabled watch folders until they are working correctly 2011-08-11 23:38:03 -04:00
Roberto Rosario 450447a4db Remarked a debug statement 2011-08-11 23:37:40 -04:00
Roberto Rosario b3b545d932 Updated the project name to 'Mayan EDMS' 2011-08-11 04:35:51 -04:00
Roberto Rosario 6efb5142be Updated the requirements to use Pillow instead of PIL to handle images 2011-08-11 04:16:43 -04:00
Roberto Rosario df9d784097 If ghostscript is installed add PDF and PS to the list of supported file formats 2011-08-11 04:11:20 -04:00
Roberto Rosario 501d1c0d9d Pass integers instead of floats to PIL's transform method 2011-08-11 04:09:02 -04:00
Roberto Rosario 4d33cec7b2 Updated the changelog 2011-08-10 04:58:11 -04:00
Roberto Rosario 599cc31706 Added donate button 2011-08-10 04:57:26 -04:00
Roberto Rosario 9703897a9d Updated the static media url in the login excempt url list 2011-08-10 03:22:03 -04:00
Roberto Rosario 41d8138d27 Updated the Changelog 2011-08-09 00:37:32 -04:00
Roberto Rosario 2f07853f1a Merge branch 'djangozoom_static_fix' 2011-08-08 23:39:00 -04:00
Roberto Rosario 08bc9ebf0e Improved handling of Issue #10 2011-08-08 23:38:36 -04:00
Roberto Rosario bf411916a1 Merge branch 'djangozoom_static_fix' 2011-08-08 23:29:15 -04:00
Roberto Rosario 84e12efb43 Added special case handling for DjangoZoom, which executes collectstatic
management command before executing syncdb first to create the db
structure.  Handles issue #10
2011-08-08 23:24:31 -04:00
Roberto Rosario 417a616d60 Updated Changelog 2011-08-08 10:10:45 -04:00
Roberto Rosario f08e0bab2b Perform extra validation of the image cache directory and fallback to
creating a temporary directory on validation failure
2011-08-08 09:44:48 -04:00
Roberto Rosario 32608337c3 Fixed source creation bug, that caused invalid links to a non existing
transformation to appear on the sidebar
2011-08-08 08:32:00 -04:00
Roberto Rosario 05537fcf18 Updated requirements file, grappelli is available fomr pypi 2011-08-08 02:08:29 -04:00
Roberto Rosario 97691d87b9 Fixed requirement files typo 2011-08-08 02:02:20 -04:00
Roberto Rosario c8954153cf Updated the Changelog 2011-08-07 06:30:33 -04:00
Roberto Rosario d886003951 Display language names in uppercase 2011-08-06 21:16:56 -04:00
Roberto Rosario 0584244663 Added changelog view under the about main menu 2011-08-06 21:16:36 -04:00
Roberto Rosario f81f480f32 Removed TODO file 2011-08-06 18:33:35 -04:00
Roberto Rosario 9fe1eddb13 Updated changelog 2011-08-06 18:32:34 -04:00
Roberto Rosario 02381d9858 Bumped version to 0.8.2 2011-08-06 18:11:13 -04:00
Roberto Rosario 7e82df494e Updated .gitignore to ignore static folder, updated examples apache contrib file
disabled settings.py last remaining media handling bits from settings.py
2011-08-06 18:06:07 -04:00
Roberto Rosario 705dc44265 Removed unneeded site_media folder 2011-08-06 18:04:32 -04:00
Roberto Rosario c03a093cf9 Implemented Django 1.3 staticfile handling app, removed grapelli from
the included 3rd party apps folder, updated to a recent version of rosetta
2011-08-06 18:00:01 -04:00
Roberto Rosario 0814a4bd78 Improved language switching widget, removed language switching 'go' button 2011-08-06 06:10:02 -04:00
Roberto Rosario 1bcbfcea04 Moved history app order of loading in INSTALLED_APP 2011-08-06 04:32:27 -04:00
Roberto Rosario a6eb830a6a Removed remarked code 2011-08-05 23:51:50 -04:00
Roberto Rosario 36c7beca84 Added new setting, widget, form and auth backend to allow login via user email address
To enable:
AUTHENTICATION_BACKENDS = ('common.auth.email_auth_backend.EmailAuthBackend',)
COMMON_LOGIN_METHOD = 'email'
2011-08-05 23:36:00 -04:00
Roberto Rosario acd6348dd7 Changed 'django.core.context_processors.auth' to 'django.contrib.auth.context_processors.auth'
as per Django 1.3 DeprecationWarning
2011-08-05 23:23:15 -04:00
Roberto Rosario 066065ccab Implemented document file delete method on Document delete (Needed by Django 1.3) 2011-08-05 21:31:58 -04:00
Roberto Rosario f61874f629 Bumped version to 0.8.1 2011-08-05 10:41:09 -04:00
Roberto Rosario 866ef83896 Updated the required django version to 1.3 2011-08-05 10:39:32 -04:00
Roberto Rosario e524ec1e8b Added new view to create tag from the main menu 2011-08-05 10:37:42 -04:00
Roberto Rosario 50b8102618 Removed source whitelist debug print 2011-08-05 10:37:25 -04:00
Roberto Rosario dccf5a4c72 Disabled setup of watch folder source until race condition in the scheduler is fixed 2011-08-05 10:14:34 -04:00
Roberto Rosario 6c93313203 Added item count column to index instance list view 2011-08-05 10:11:50 -04:00
Roberto Rosario fd5b93021e Updated document indexing widget to show different icon for indexes or indexes that contain documents 2011-08-05 10:11:07 -04:00
Roberto Rosario d8a9193d65 Changed apps loading order to fix source app dependency error 2011-08-05 09:46:54 -04:00
Roberto Rosario 2169bbd0d2 Finished adding encapsulation to lambda functions to get around Django bug #15791 2011-08-05 09:46:28 -04:00
Roberto Rosario 1b7183be85 Added encapsulate factory function to get around Django bug #15791 2011-08-05 09:30:26 -04:00
Roberto Rosario 7b0e177ba2 Added highlight template tag to the web theme app 2011-08-05 07:49:26 -04:00
Roberto Rosario 65f9eb11fb Replaced the Textarea widget with the TextAreaDiv widget on document and document page detail views 2011-08-05 07:42:27 -04:00
Roberto Rosario beea100cd9 Updated the get_page_count logic to let the converter raise UnknownFileFormat
and let the document model handle the exception, defaulting to one page
count and saving a comment on the document description
2011-08-05 03:48:51 -04:00
Roberto Rosario 3108c33c6d Fixed typo, renamed return to raise 2011-08-05 03:48:15 -04:00
Roberto Rosario cd0b1577a7 Renamed the exception UnknownFormat to UnkownFileFormat and updated all
backends get_page_count method to raise it, having the api's get_page_count
function decide how to handle the exception
2011-08-05 03:24:01 -04:00
Roberto Rosario eaea853391 Added TextAreaDiv widget 2011-07-31 01:14:00 -04:00
Roberto Rosario 7189e03de4 Remove unused import, fix staging file deletion 2011-07-29 05:07:58 -04:00
Roberto Rosario b64f98b667 Merged document upload code and moved it to the model, improved method of handling compressed file 2011-07-29 05:01:50 -04:00
Roberto Rosario 9d965face3 Added a new document source: 'watched folder' 2011-07-27 02:43:22 -04:00
Roberto Rosario 529a9e7eca Added the ability to unschedule jobs to the scheduler 2011-07-27 01:27:16 -04:00
Roberto Rosario 85ed58f9bc Added a new option MAIN_DISABLE_ICONS to turn off all the project icons, a look which goes well with the new web_app 'default' theme 2011-07-26 04:06:58 -04:00
Roberto Rosario eaaf97d360 Changed the web_theme app default theme to activo 2011-07-26 04:06:29 -04:00
Roberto Rosario e5159a47cf Updated the web_theme app's theme media file to match upstreams new version 2011-07-26 03:23:25 -04:00
Roberto Rosario e67046adc3 Fix last rename's introduced bug 2011-07-25 05:05:11 -04:00
Roberto Rosario 1507f3afaa Use the new model's tranformation namespace 2011-07-25 05:04:44 -04:00
Roberto Rosario 80bb9810f1 Just display a document page transformation shot name (exclude the document page name) 2011-07-25 05:03:51 -04:00
Roberto Rosario 828ecd2a33 Use a different namespace for the transformation manager's method, but restoring the original 'objects' namespace 2011-07-25 05:03:03 -04:00
Roberto Rosario 5b5b7d43eb Update base template to show a 'related' sidebar link set for each navigation object 2011-07-25 05:01:46 -04:00
Roberto Rosario b5680c03d0 Improved document page views and document page transformation views navigation 2011-07-25 05:01:15 -04:00
Roberto Rosario 03157b72d8 Added document cached image invalidation to the document_clear_transformations view 2011-07-25 04:03:44 -04:00
Roberto Rosario 9169e66abb Updated document page transformation CRUD view to invalidate the document cached image on creation, edition of deletion of transformations 2011-07-25 03:58:31 -04:00
Roberto Rosario 7dceaad599 Updated document page transformation CRUD view to redirect to document page transformation list view instead 2011-07-25 03:45:54 -04:00
Roberto Rosario e94e9407ec Added invalidate_cached_image function for document models instances, remove duplication 2011-07-25 03:42:17 -04:00
Roberto Rosario 055f64c1cf Updated OCR models to use the identical source manager SourceTransformationManager 2011-07-25 03:41:28 -04:00
Roberto Rosario 5e4bb41f07 Use literal_eval instead of eval 2011-07-25 03:40:59 -04:00
Roberto Rosario bcb61c3ca3 Enabled OCR queue transformation processing 2011-07-25 03:40:15 -04:00
Roberto Rosario 26c76a0f5e Use eval_literal instead of eval 2011-07-25 03:39:37 -04:00
Roberto Rosario 5f969351b1 Transformation interpretation error should stop a document image from being displayed 2011-07-25 03:38:38 -04:00
Roberto Rosario 39010d7653 Don't translate argument in help text example 2011-07-25 03:00:06 -04:00
Roberto Rosario 1321491c1f Migrated same solution to ocr queue transformation too 2011-07-25 02:59:39 -04:00
Roberto Rosario a7204ee38f Added a new ocr_queue_edit permission 2011-07-25 02:55:14 -04:00
Roberto Rosario 48adc6d113 Migrate document source transformation validation solution to document page transformation 2011-07-25 02:51:19 -04:00
Roberto Rosario 0b67664598 Moved transformation argument validation to the model 2011-07-25 02:43:02 -04:00
Roberto Rosario c9810e45ed Merge branch 'no_source_help' 2011-07-25 00:18:04 -04:00
Roberto Rosario c761f30567 If no there are no available sources, tell user and provide link to create them 2011-07-25 00:17:08 -04:00
Roberto Rosario c3af7d8ec2 Removed source url magic number 2011-07-25 00:16:39 -04:00
Roberto Rosario 7c47bd7b54 Renamed source creation link 2011-07-25 00:15:34 -04:00
Roberto Rosario 59891082ea Removed old remarked code 2011-07-25 00:15:15 -04:00
Roberto Rosario 4bd208ed91 Moved sources app literals to their own file 2011-07-25 00:14:49 -04:00
Roberto Rosario c8e9fbc182 Added reset view link to the document page view to reset the zoom level and page rotation 2011-07-24 23:44:33 -04:00
Roberto Rosario fc6ff0f83a Merge branch 'staging_preview' 2011-07-24 05:16:33 -04:00
Roberto Rosario 37677e89f0 Added support for showing a staging file's thumbnail 2011-07-24 05:15:56 -04:00
Roberto Rosario 8aa72a954b Bumped version to 0.8.0 2011-07-23 17:26:14 -04:00
Roberto Rosario f604c92818 Merge branch 'job_processor' 2011-07-23 16:55:33 -04:00
Roberto Rosario b7a2e33506 Merge branch 'scheduling' 2011-07-23 16:55:29 -04:00
Roberto Rosario 842d0c8868 Added job_processors app to abstract background job processing 2011-07-23 16:54:45 -04:00
Roberto Rosario 8462341533 Added new scheduler app to abstract job scheduling 2011-07-23 16:05:31 -04:00
Roberto Rosario ec203b5702 Spanish translation update 2011-07-23 02:25:33 -04:00
Roberto Rosario 2338f5c3fe Improved document type, document type filenames and history navigation and link highlight 2011-07-23 00:58:26 -04:00
Roberto Rosario 19ab5d9151 Display document app secondary menu even when a document is selected 2011-07-23 00:26:14 -04:00
Roberto Rosario df46ab1605 Navigation improvements 2011-07-23 00:25:20 -04:00
Roberto Rosario 29976541df Further navigation highlight improvements 2011-07-23 00:09:58 -04:00
Roberto Rosario a3eaf1a0b5 Merge remote branch 'origin/master' 2011-07-22 03:43:02 -04:00
Roberto Rosario f589da84fd Added new mimetype app to handle mimetype guessing and provide mimetype related icons when a preview is not available 2011-07-22 03:42:16 -04:00
Roberto Rosario 8192ce349c Added new mimetype app to hangle mimetype guessing and provide mimetype related icons when a preview is not available 2011-07-22 03:37:26 -04:00
Roberto Rosario 4060a39a4f Consisten link highlight through the project 2011-07-21 21:45:07 -04:00
Roberto Rosario 90e876ca93 Code cleanup 2011-07-21 11:46:15 -04:00
Roberto Rosario 46aa89d924 Don't use ghostscript if it is not installed 2011-07-21 04:37:08 -04:00
Roberto Rosario b29ca040d5 Added missing pdfminer requirement entry 2011-07-21 04:32:28 -04:00
Roberto Rosario d46f000701 Added missing ghostcript dependency 2011-07-21 04:05:56 -04:00
Roberto Rosario b72f72c38f Merge branch 'master_merge_test' 2011-07-21 03:56:31 -04:00
Roberto Rosario d202d23862 Merge branch 'smart_staging' into master_merge_test
Conflicts:
	apps/common/__init__.py
	requirements/development.txt
	requirements/production.txt
2011-07-21 03:55:21 -04:00
Roberto Rosario 28ecd22944 Merge branch 'document_image_caching' into smart_staging 2011-07-21 03:50:19 -04:00
Roberto Rosario 89fc258a59 Adapter the OCR app to the new pre cache and preview generation methods 2011-07-21 03:49:27 -04:00
Roberto Rosario 9ba305222c Removed obsolete option from the converter settings file 2011-07-21 03:48:52 -04:00
Roberto Rosario b8ad2adc06 Removed QUALITY related code from the python converter backend, lowered the default ghostscript PDF dpi 2011-07-21 03:48:08 -04:00
Roberto Rosario c55dd90c88 Moved document preview generation to model, implmented pre caching 2011-07-21 03:47:31 -04:00
Roberto Rosario 01de394b88 Properly import COMMON_TEMPORARY_DIRECTORY, removed more QUALITY related code 2011-07-21 03:45:14 -04:00
Roberto Rosario 8ca9c5d4cd Remove more QUALITY related code 2011-07-21 03:44:11 -04:00
Roberto Rosario 72a037fba2 Removed all obsolete QUALITY related literals 2011-07-21 03:43:15 -04:00
Roberto Rosario b4f5acc09a Validate COMMON_TEMPORARY_DIRECTORY and fallback to use mkdtemp on failure 2011-07-21 03:41:57 -04:00
Roberto Rosario 8579c5081d Improved OCR file conversion 2011-07-19 20:56:21 -04:00
Roberto Rosario 8a017e2af0 Added PDF file support to the python converter backend via ghostscript 2011-07-19 20:55:08 -04:00
Roberto Rosario 57fed7608a Merge branch 'raw_ocr_fallback' into smart_staging 2011-07-19 04:22:51 -04:00
Roberto Rosario 648be556a6 Finished adapting the OCR app to the new transformations refactor 2011-07-19 04:21:36 -04:00
Roberto Rosario 7ea1b87ee0 Made size an optional argument of the convert function 2011-07-19 04:21:12 -04:00
Roberto Rosario 1d579e965c Added convinience model method get_transformation_list to the ocr queue model 2011-07-19 04:20:08 -04:00
Roberto Rosario 6cefef5185 Merge branch 'converter_export' into smart_staging 2011-07-18 04:12:28 -04:00
Roberto Rosario a0297d1053 Merge branch 'fix_ocr_convert' into converter_export 2011-07-18 04:11:35 -04:00
Roberto Rosario 08067e93d2 Merge branch 'migrate_to_ocr_app' into fix_ocr_convert 2011-07-18 04:08:19 -04:00
Roberto Rosario d566dfbb1d Added the first text parser backend (PDF) and updated the requirements files and README 2011-07-18 04:06:59 -04:00
Roberto Rosario 5bfd607b31 Removed pdftotext from the requirements, move unpaper calling to the OCR app 2011-07-18 04:06:19 -04:00
Roberto Rosario ac43e294b3 Added PDF page count support to the python converter backend 2011-07-18 04:04:22 -04:00
Roberto Rosario 49e4c040d8 Removed DENSITY from the supported converter backend transformations 2011-07-18 04:01:11 -04:00
Roberto Rosario 6c7ac588c7 Added mimetype detection utility 2011-07-18 04:00:21 -04:00
Roberto Rosario 5829bbde4d Added per OCR queue transformation models and CRUD views to replace the CONVERTER_OCR_OPTIONS with the new refactored converter transformations systems 2011-07-17 01:32:46 -04:00
Roberto Rosario 970ca0be05 Fixed Imagemagick converter backend 2011-07-16 04:08:17 -04:00
Roberto Rosario 7289cafdfd Added python only converter backend supporting resizing, zooming and rotation 2011-07-16 04:03:17 -04:00
Roberto Rosario 7a5f0fed0b Merge branch 'transformation_refactor' into converter_export 2011-07-16 01:20:19 -04:00
Roberto Rosario 29adcce2a3 flake8 cleanups 2011-07-16 01:15:58 -04:00
Roberto Rosario 0fe032f7c9 Finished fixing new document transformations 2011-07-16 01:09:36 -04:00
Roberto Rosario 389253385c Source, document page and thumbnails working, new document transformations and OCR yet to convert 2011-07-15 20:25:49 -04:00
Roberto Rosario 743ae0fce0 Initial commit of the converter image transformation refactor 2011-07-15 06:16:14 -04:00
Roberto Rosario 358216fac5 Updated README.md 2011-07-14 23:17:43 -04:00
Roberto Rosario 415f0c8daa Refactored the converter backend system 2011-07-13 22:53:33 -04:00
Roberto Rosario 082c3e699c Added sources views user permissions restrictions 2011-07-13 02:43:31 -04:00
Roberto Rosario 6fa40be524 Added view to create source transformations, merged and normalized most source and source transformations views 2011-07-13 02:33:37 -04:00
Roberto Rosario d0da4daa93 Added new view to delete a sources transformations and improved the source tranformation edit view 2011-07-13 01:15:20 -04:00
Roberto Rosario 3ff461a2d3 Improved document sources transacion views 2011-07-09 04:32:16 -04:00
Roberto Rosario ee46653578 Added support for handling navigation for view with more than one main object class 2011-07-09 04:31:08 -04:00
Roberto Rosario 1e944c7130 Initial commit of document source transformations 2011-07-08 15:30:52 -04:00
Roberto Rosario eef6400c22 Initial whitelist/blacklist support 2011-07-08 04:19:16 -04:00
Roberto Rosario a15d3afd07 Added a new famfam graphics radioselect widget and applied it to the webform and stagingform edit and create forms 2011-07-08 03:35:54 -04:00
Roberto Rosario aae3f3c147 Added help texts to the source models and added 2 new icons 2011-07-08 03:35:22 -04:00
Roberto Rosario c41b38b9ab Added the new children_url_regex option to more link for consistent highlighting 2011-07-08 03:34:43 -04:00
Roberto Rosario 9f1ef7cfa9 Updated the upload_interactive view to conserve an invalid form to display its error on the template 2011-07-08 03:13:27 -04:00
Roberto Rosario 038a0ea041 Added options to automatically create an admin user during syncdb 2011-07-07 23:53:15 -04:00
Roberto Rosario f3d3af0552 Removed IntegrityError exception check, not raise during syncdb 2011-07-07 23:52:46 -04:00
Roberto Rosario 89d9d95f59 Rollback transaction on exception, during syncdb (Postgresql @ DjangoZoom) 2011-07-07 23:21:14 -04:00
Roberto Rosario 841b02c969 Use python-magic to determine a document's mimetype otherwise fallback to use python's mimetypes library 2011-07-07 21:38:36 -04:00
Roberto Rosario 47de889163 Remove the included source for python-magic instead fetching it from github 2011-07-07 21:32:54 -04:00
Roberto Rosario 312b10db1e Merge branch 'master' into smart_staging 2011-07-07 20:36:17 -04:00
Roberto Rosario 79cc9dd9c8 Implemented child url regex highlight for regular links, improve the document duplicate list, improved staging file delete view 2011-07-07 00:59:05 -04:00
Roberto Rosario 0b4df31726 Finished document source setup views 2011-07-06 16:38:15 -04:00
Roberto Rosario 0afa35b256 Change metadata set setup link icons 2011-07-06 16:37:48 -04:00
Roberto Rosario 9841743473 Solved conditional highlight problem 2011-07-06 14:30:20 -04:00
Roberto Rosario 83de8c7b49 PEP8 Cleanups 2011-07-06 03:22:53 -04:00
Roberto Rosario 2739ad9027 Implmented conditional show of expand checkbox, initial support for conditional highlight (buggy) 2011-07-06 03:11:48 -04:00
Roberto Rosario ee3abd16ec Document upload working from local and from staging folders 2011-07-06 01:51:29 -04:00
Roberto Rosario 2816c1f86f Got upload view working, staging preview and delete working ok 2011-07-06 01:31:27 -04:00
Roberto Rosario 7417fca835 First commit of new multiple document source app 2011-07-05 19:34:05 -04:00
Roberto Rosario 4199c31985 Merged settings actual value column and existing column 2011-07-05 19:32:37 -04:00
Roberto Rosario 9968492ee9 Show settings name's and descriptions on the same columns to save space and improve appearance 2011-07-05 00:36:17 -04:00
Roberto Rosario 282541f83d Added missing import 2011-07-05 00:18:33 -04:00
Roberto Rosario edece7ba30 Removed the document indexes list subtemplate and added a new document indexes list view as a tab 2011-07-04 04:25:59 -04:00
Roberto Rosario 98d5cf7927 Added missing permission check to a folder app view 2011-07-04 04:25:32 -04:00
Roberto Rosario 8d6dac9495 Added forgotten folder app confirm icon 2011-07-04 04:03:56 -04:00
Roberto Rosario 4fa8be1655 Added new 'add document to folder' link to replace the sidebar template with the same use, added document membership list view, improved other folders apps views 2011-07-04 04:02:52 -04:00
Roberto Rosario b323a37596 Added link to document index content view to navigate the tree upwards 2011-07-04 02:21:07 -04:00
Roberto Rosario b8ba3ef70f Only display an icon for index instances and not for documents 2011-07-04 02:00:05 -04:00
Roberto Rosario 3c4f651ebd Added new tag add/attach view and disabled the previous side bar tag template 2011-07-03 01:06:37 -04:00
Roberto Rosario a6a469ad9c Improved query string cleanup method and blank query detection 2011-07-03 00:43:15 -04:00
Roberto Rosario 348ec5e694 Added new option MAIN_DISABLE_HOME_VIEW to disable the home main menu tab and save some space 2011-07-02 19:44:23 -04:00
Roberto Rosario 801e35d75c Fixed sidebar search support 2011-07-02 19:43:45 -04:00
Roberto Rosario 3503ad7ea1 Updated the search manager to not store recent empty queries 2011-07-02 19:42:07 -04:00
Roberto Rosario 2ac21bd032 Added new option to the web theme app, 'WEB_THEME_VERBOSE_LOGIN' that display a more information on the login screen (version, copyright, logos) 2011-07-02 03:31:32 -04:00
Roberto Rosario a130a2bb31 Cropped small pyramid logo 2011-07-02 03:31:06 -04:00
Roberto Rosario 178dca17bc Shortened 'clear all transformations' to 'clear transformations' link title 2011-07-02 02:37:23 -04:00
Roberto Rosario 2fac05a979 Highligh document top menu when viewing a document's history 2011-07-02 02:35:09 -04:00
Roberto Rosario fb0d43e554 Highlight the documents main tab when viewing grouping app views 2011-07-02 02:23:15 -04:00
Roberto Rosario 65afc6d6d8 Removed asumption that a group of documents will always have the same metadata values, as such removing the clone metadata link from the document group action view 2011-07-02 02:22:20 -04:00
Roberto Rosario 6fea11c6e8 Show document actions if an index instance contains linked documents 2011-07-02 02:08:26 -04:00
Roberto Rosario d20e93336d Added GPL and Django logos to the about page 2011-07-02 01:23:35 -04:00
Roberto Rosario 7c537e7362 Fixed typo in message 2011-07-02 00:53:42 -04:00
Roberto Rosario fa8d9909d7 Removed unused line 2011-07-02 00:51:50 -04:00
Roberto Rosario 0fa1e0c706 Moved get_metadata_string Document class method to the metadata app 2011-07-02 00:44:12 -04:00
Roberto Rosario f183153b1c Fixed wrong name for CONVERTER_PRINT_QUALITY_OPTIONS setting 2011-07-02 00:28:44 -04:00
Roberto Rosario 329b84b5ef Implemented multi item actions for document tags 2011-07-02 00:00:21 -04:00
Roberto Rosario 9823a59eea Added a new permission, PERMISSION_TAG_VIEW to allow users to view a documents tags 2011-07-01 23:36:18 -04:00
Roberto Rosario a434e91c3a Added a confirmation dialog to the document tag removal view 2011-07-01 23:33:52 -04:00
Roberto Rosario 10b7d276a3 Updated the documents apps tab links argument to make sure document details and properties are always first 2011-07-01 21:31:10 -04:00
Roberto Rosario 9802a0a78c Added a positional argument to the register_links function 2011-07-01 21:30:18 -04:00
Roberto Rosario f0f0f4fc2e Updated all apps and widgets with explicit safely marked strings 2011-07-01 20:53:37 -04:00
Roberto Rosario a0b2e5f864 Removed the implicit safe filter to allow for localization of dates 2011-07-01 20:52:52 -04:00
Roberto Rosario ace6948185 Changed layout to make more use of tabbed links 2011-07-01 19:38:59 -04:00
Roberto Rosario a8c4a7487d Bumped version to v0.7.6 2011-06-28 12:51:39 -04:00
Roberto Rosario 83a2ea5799 Specify search hits when creating new recent search entries 2011-06-28 12:50:13 -04:00
Roberto Rosario c8f7170dff Added recent searches per user support and the SEARCH_RECENT_COUNT configuration option 2011-06-28 03:45:25 -04:00
Roberto Rosario b8d17b8448 Removed debug text 2011-06-28 01:58:33 -04:00
Roberto Rosario d2a3a6ad00 Added support for conditional disabling to the document page zoom in and zoom out links 2011-06-28 01:23:47 -04:00
Roberto Rosario 6b49490572 Replaced the degree unicode character with the HTML entity equivalent 2011-06-28 01:23:07 -04:00
Roberto Rosario 03bd0f0f7d Updated document page navigation links to use conditional link disabling 2011-06-28 01:06:56 -04:00
Roberto Rosario 69c354b116 Merged conditional display code from the navigation template into the navigation tag, added support for conditional disabling of links 2011-06-28 01:05:57 -04:00
Roberto Rosario bafda3f7ad Updated document page model to display the current page number in relation to the total page count 2011-06-28 01:05:11 -04:00
Roberto Rosario b9b024dbc1 Updated document page view to display zoom level and rotation degrees in the title 2011-06-28 01:03:36 -04:00
Roberto Rosario 327b677444 Added means to expand or not a compressed file during document creation, removed configuration options UNCOMPRESS_COMPRESSED_LOCAL_FILES and UNCOMPRESS_COMPRESSED_STAGING_FILES 2011-06-28 00:08:22 -04:00
Roberto Rosario ec73dd1874 Raise generic Exception exception instead of raising OSError, apparently OSError can't handle unicode messages 2011-06-27 23:42:28 -04:00
Roberto Rosario 16ddd46352 Spanish translation update 2011-06-27 23:41:59 -04:00
Roberto Rosario 06d3dc35e3 Improved new document form 'quick rename' feature logic 2011-06-27 22:00:12 -04:00
Roberto Rosario ffd86d4bc1 Fixed the document upload current metadata side bar template appearance 2011-06-27 21:36:20 -04:00
Roberto Rosario 276e25be60 Renamed changed the document sibling creation link text, and made it directly related to document class 2011-06-27 21:35:32 -04:00
Roberto Rosario 5d4c18b50a Disabled form auto focus for the document details and advanced detail view 2011-06-27 21:17:25 -04:00
Roberto Rosario 563f369083 Added support for disabling the jQuery auto focus 2011-06-27 21:16:48 -04:00
Roberto Rosario 6389019cac Fixed search main menu highlighting 2011-06-22 16:51:08 -04:00
Roberto Rosario 3f6900881e Spanish translations update for the latest advanced search changes 2011-06-22 11:25:52 -04:00
Roberto Rosario f9190829ae Adv search now redirects to a cleaner results view with a 'search again' button, PEP8 cleanups, removed reduntant code 2011-06-22 01:42:07 -04:00
Roberto Rosario 604ef90f79 Implementes an advanced search feature, which allows for individual field terms 2011-06-22 00:47:37 -04:00
Roberto Rosario ec31f0ecce Fixed the OCR queue properties side bar template appearance 2011-06-20 14:21:21 -04:00
Roberto Rosario de28122c66 Spanish translation updates 2011-06-20 13:44:38 -04:00
Roberto Rosario f06a28c54e Updated the search form submit button and icon when using the side bar search mode 2011-06-20 13:26:30 -04:00
Roberto Rosario a382fbbf6e Bumped version to 0.7.5 2011-06-20 00:33:58 -04:00
Roberto Rosario c4d6db5217 Added a help message to the search view 2011-06-20 00:31:31 -04:00
Roberto Rosario b614c4263f Renamed search form submit button from 'submit' to 'search', updated the submit icon to famfam's zoom icon 2011-06-20 00:18:05 -04:00
Roberto Rosario 05dd113d03 Modified the new document wizard submit button and icon making more intuitive 2011-06-20 00:08:09 -04:00
Roberto Rosario 9f9b2d3854 Added views to setup the default metadata types and sets for a given document type 2011-06-20 00:04:54 -04:00
Roberto Rosario 26efcd5dd3 Added help side bar templates to the document indexing and folders apps 2011-06-19 20:43:46 -04:00
Roberto Rosario c138623329 Added side bar help to convert's file format list, recent document, document type and metadata set and type views 2011-06-19 20:16:46 -04:00
Roberto Rosario d121aae8e7 Added views to created, edit and delete metadata set under the setup menu, added corresponding new permissions for these views 2011-06-19 19:06:22 -04:00
Roberto Rosario e39f162a5e Improved menu highlighting for metadata setup and document metadata view 2011-06-19 00:51:01 -04:00
Roberto Rosario 601c433b7d Added the permission for viewing, creating, editing and deleting metadata types 2011-06-19 00:47:46 -04:00
Roberto Rosario 0490fc64ca Added view to list, create, update and delete metadata type under the setup menu 2011-06-19 00:38:55 -04:00
Roberto Rosario 9250a6bbdc Added view to list supported file formats and reported by the converter backend 2011-06-18 00:51:32 -04:00
Roberto Rosario 5e5d6ee56d Updated metadata views to use smarted redirection 2011-06-17 22:14:19 -04:00
Roberto Rosario c43df0bc87 Added redirection support to multi object action view 2011-06-17 22:13:54 -04:00
Roberto Rosario 218ea0f424 Updated TODO 2011-06-17 22:13:06 -04:00
Roberto Rosario c3c3aa9bfc Renamed 'document list' link to 'all documents' and 'recent document list' to 'recent documents' 2011-06-17 21:43:26 -04:00
Roberto Rosario af59b3a7cd Removed 'change password' link next to the current user's name and added a few view to handle the current user's password, details and editing 2011-06-16 15:14:05 -04:00
Roberto Rosario e6fad805c7 Fixed zip file handling 2011-06-13 09:51:21 -04:00
Roberto Rosario 820588920b Don't highlight "Documents" menu when working document type, highlight "Setup" instead 2011-06-13 00:34:13 -04:00
Roberto Rosario a39f4d2574 Updated all apps permissions namespace title to uppercase 2011-06-13 00:23:13 -04:00
Roberto Rosario f3335287ed Added support for overriding a form's submit button icon, updated assign_remove view to use this feature 2011-06-13 00:22:39 -04:00
Roberto Rosario 4b17894320 Bumped version to 0.7.4 2011-06-13 00:08:39 -04:00
Roberto Rosario 414cfdfb1f Integrated document type view into the setup menu 2011-06-13 00:07:39 -04:00
Roberto Rosario 279aa77cd7 Renamed 'secondary actions' to 'secondary menu' 2011-06-13 00:07:03 -04:00
Roberto Rosario 45fb04f862 Added views to add, edit and delete document type filenames 2011-06-12 23:58:02 -04:00
Roberto Rosario b9e0bd3e88 Fixed issue where document type was not saved for locally uploaded documents, thanks to Brian Huxley for also finding this one 2011-06-12 19:20:36 -04:00
Roberto Rosario 370785ad9d Added view to add, edit and delete document types from the setup menu 2011-06-12 19:18:01 -04:00
Roberto Rosario b1b68bda67 Added meta informartion to the document type model and ordering information [a-z] 2011-06-12 15:12:12 -04:00
Roberto Rosario 46330c2d17 Updated generic_list_subtemplate to only display multi item link when the object list is not empty 2011-06-12 14:42:29 -04:00
Roberto Rosario b04a681422 blank=True is not enough to make models.ForeignKey optional, adding null=True too, thanks to Brian Huxley for finding this one 2011-06-12 12:44:47 -04:00
Roberto Rosario 566fdd389a Fixed Document main menu icon 2011-06-09 20:25:34 -04:00
Roberto Rosario 97e8b9fb9e Fixed document queue properties sidebar template not showing 2011-06-09 20:24:34 -04:00
Roberto Rosario 30b1fea147 PEP8 cleanups, unused imports and bumped version to 0.7.3 2011-06-08 01:39:38 -04:00
Roberto Rosario 8fa4f641e4 Converted apps to the new main menu navigation method and improved navigation links in some apps 2011-06-08 01:26:50 -04:00
Roberto Rosario 2a2c67de4e Refactored main menu navigation 2011-06-08 01:26:06 -04:00
Roberto Rosario cdd772ef8e Added ocr queue disable/enable confirmation icons 2011-06-08 00:52:25 -04:00
Roberto Rosario 664e57bdfd Display multi item link on top of generic lists as well 2011-06-06 17:21:36 -04:00
Roberto Rosario f54cd06be6 Spanish translation updates 2011-05-31 16:01:58 -04:00
Roberto Rosario 96691cbf9f Fixed model field name 2011-05-31 16:01:33 -04:00
Roberto Rosario b236f03a11 Spanish translation updates 2011-05-31 13:24:05 -04:00
Roberto Rosario b76e857ebb Updated requirements to use the latests development version of django-mptt 2011-05-31 13:13:48 -04:00
Roberto Rosario b352e5e87a Improved user folder document removal messages and added confimation dialog icon 2011-05-31 00:54:19 -04:00
Roberto Rosario 6435abb2f7 Added history list view to the tools sidebar menu 2011-05-31 00:42:10 -04:00
Roberto Rosario 54e6ca96ee Merged document view simple and document advanced view (internally) 2011-05-31 00:17:23 -04:00
Roberto Rosario 43f37ffd32 Added ability to specify default metadata or metadataset per document type 2011-05-30 23:44:12 -04:00
Roberto Rosario 12d3ec4ed5 Added comments documenting some methods 2011-05-30 22:59:14 -04:00
Roberto Rosario 39da4d2e6b Recompose the document filename using os.extsep.join 2011-05-30 22:45:56 -04:00
Roberto Rosario 14a6c9d3f0 Added history event source object link to the history list view 2011-05-29 00:01:19 -04:00
Roberto Rosario 9ce75e4671 Added edit source object attribute difference detection and logging to history app 2011-05-28 23:52:54 -04:00
Roberto Rosario 73f39494aa Initial commit for document diff support in history 2011-05-28 22:30:32 -04:00
Roberto Rosario b201236cf7 Merged StagingForm and DocumentForm classes, improved document_type passing and handing 2011-05-28 21:58:22 -04:00
Roberto Rosario 6eef1f399c Moved the global history icon to the tools menu 2011-05-28 16:39:40 -04:00
Roberto Rosario e14dfc5c46 Changed the way to call the history of foreign objects 2011-05-28 16:28:39 -04:00
Roberto Rosario 6c3aa1f37b Initial commit of the generic history app 2011-05-26 05:07:26 -04:00
Roberto Rosario ecdc72f16c If a document doesn't have a metadatatype don't raise error, just don't save it. Fixed multi doc heterogeneous metadata editing. 2011-05-25 02:11:12 -04:00
Roberto Rosario 0bd6258b95 Replace empty string with empty list to allow concatenating other foreign metadata values 2011-05-25 01:59:31 -04:00
Roberto Rosario 00914c165a Added document multi item links in search results 2011-05-25 01:51:31 -04:00
Roberto Rosario 318f99c4ea Added information icon to the about link 2011-05-25 01:39:26 -04:00
Roberto Rosario 761722698d Added Tools menu sidebar navigation 2011-05-25 01:36:19 -04:00
Roberto Rosario 6e67f1e37c Reimplemented first tab link detention in template instead of tag 2011-05-25 01:35:43 -04:00
Roberto Rosario df1dc904fb Added OCR sidebar navigation 2011-05-25 01:35:21 -04:00
Roberto Rosario b2714e4a92 Changed forgotten index menu link icon 2011-05-25 01:13:28 -04:00
Roberto Rosario ed3683c593 Added proper titles to the ocr cleanup and duplicate finder tools 2011-05-25 01:04:41 -04:00
Roberto Rosario 557052dd2d Changed document index links icons and index rebuild confirmation icon, updated list view to display icon for the type of index instance content 2011-05-25 01:01:52 -04:00
Roberto Rosario 89685fb8c6 Added function 'set_namespace_title' to define a translatable title for a permission group namespace 2011-05-25 00:32:47 -04:00
Roberto Rosario 53cb857a8f PEP8 cleanups 2011-05-25 00:00:23 -04:00
Roberto Rosario 2721512514 Updated permission app role grant/revoke permission link icons and confirmation message template icons 2011-05-24 23:47:15 -04:00
Roberto Rosario 581f8cd52d Moved PermissionManager and RoleMemberManager to a separate manager.py file 2011-05-24 23:39:10 -04:00
Roberto Rosario 3fd7a3181e Moved DocumentQueueManager to a separate manager.py file 2011-05-24 23:20:02 -04:00
Roberto Rosario d3ebc6577f Added OCR re-queue confirm dialog icon 2011-05-24 23:14:12 -04:00
Roberto Rosario be2fe20dc6 Organized the file document/forms.py a little better, class renamed, added document content form to advanced document view 2011-05-24 23:02:00 -04:00
Roberto Rosario e747d3f7eb Added extra context support to document list view and updated document group list view to use it 2011-05-24 22:44:50 -04:00
Roberto Rosario 0db6f641ed Fixed typo that was not allowing metadata links to appear in document group list view 2011-05-24 22:44:10 -04:00
Roberto Rosario a93ccd8f5f Replaced makedirs with mkdir to avoid creating indexing root directory if not created by the user 2011-05-24 22:43:27 -04:00
Roberto Rosario d97a862a25 Refactored the permissions registration, checking and definition 2011-05-24 22:31:07 -04:00
Roberto Rosario ebaf4165e2 Fixed document_create_sibling reverse error 2011-05-24 20:19:42 -04:00
Roberto Rosario e7a42a609a Moved RecentDocument manager to a separate managers.py file 2011-05-24 20:01:29 -04:00
Roberto Rosario 59d7fc61ab Added missing '/' to url 2011-05-24 20:01:05 -04:00
Roberto Rosario 549c374ec2 Reduce redundant string in documents app urls 2011-05-24 19:48:21 -04:00
Roberto Rosario d584b7a3d1 Made document_type attribute optional when editing a document 2011-05-24 19:45:24 -04:00
Roberto Rosario 7170baf5f9 Commited changes to make document_type an optional attribute of document 2011-05-24 19:38:14 -04:00
Roberto Rosario 374ee6b60c Changed document_metadata model 'value' field definition 2011-05-24 19:37:41 -04:00
Roberto Rosario 889c1b1d3a Finished adding support to per user staging directories 2011-05-24 02:39:20 -04:00
Roberto Rosario b026f57961 Updated base.html to use the generic_navigation template 2011-05-24 02:38:57 -04:00
Roberto Rosario 5ba2148750 Added new option to navigation links 'keep_query', to make the generated navigation statefull by making the query string persistent 2011-05-23 23:51:24 -04:00
Roberto Rosario 11b630cea4 Initial commit to support per user staging folder 2011-05-21 02:56:15 -04:00
Roberto Rosario 4cb2fdb156 Added icon for the staging file delete confirm message 2011-05-21 01:11:32 -04:00
Roberto Rosario d575c7e3e8 Remove remaining migrations 2011-05-21 00:55:36 -04:00
Roberto Rosario 1b43ec2c96 Really remove South app and change document metadata fields 'value' from a TextField to a CharField(256) 2011-05-21 00:54:36 -04:00
Roberto Rosario 24e2fcc56d Removed South app, change document metadata fields 'value' from a TextField to a CharField(256) 2011-05-21 00:41:06 -04:00
Roberto Rosario 4abb3c5ebc Merge branch 'new_metadata'
Conflicts:
	requirements/development.txt
	requirements/production.txt
	settings.py
2011-05-21 00:13:38 -04:00
Roberto Rosario b436695549 Prevent long titles to slip under the confirm icon 2011-05-20 04:54:32 -04:00
Roberto Rosario 7acf0ba1db Updated about template's small piramid image 2011-05-20 04:33:33 -04:00
Roberto Rosario 7d3a269cb4 Cleaned up the home and about template's HTML code 2011-05-20 04:29:49 -04:00
Roberto Rosario 5ba8158aec Bumped version to v0.7 2011-05-20 04:27:53 -04:00
Roberto Rosario 1ff0d0b1fb Added comment_delete icon 2011-05-20 04:00:36 -04:00
Roberto Rosario d2e4fce100 Added confirm template icons 2011-05-20 03:58:02 -04:00
Roberto Rosario 842c6b8ba7 Updated TODO 2011-05-20 03:57:49 -04:00
Roberto Rosario 28df6b83ca Selected better icons for the page_view, page_edit and page_text views 2011-05-20 03:57:04 -04:00
Roberto Rosario 6cf67c978e Added django-mptt v4.2 to the requirements files 2011-05-20 03:03:15 -04:00
Roberto Rosario 4a4afbf06a Cleaned up files, removed ununsed imports 2011-05-20 00:54:11 -04:00
Roberto Rosario 17c749a80a Removed ununsed import, and did other cleanups 2011-05-20 00:37:53 -04:00
Roberto Rosario 132aaec7c4 Rebuild document indexes correctly when metadata changes 2011-05-20 00:37:25 -04:00
Roberto Rosario 6bdb7431b8 Removed documents permissions from __init__ as they now in literals.py 2011-05-20 00:36:39 -04:00
Roberto Rosario c19144662c Renamed document_view to document_view_advanced to reflect changes in document app view names 2011-05-20 00:35:50 -04:00
Roberto Rosario a02c5c7c8d Added remaining functionality to document indexing (filesystem rebuild, better warning reporting) 2011-05-20 00:34:31 -04:00
Roberto Rosario 7f59c16316 Finished merging document indexing and filesystem serving apps 2011-05-20 00:32:53 -04:00
Roberto Rosario 36da126e82 Unicode update 2011-05-19 22:56:22 -04:00
Roberto Rosario 0a5dfd6aa9 Plug file descriptor leak 2011-05-19 22:55:57 -04:00
Roberto Rosario b7050b4b94 Started adding filesystem linking support to document indexing app 2011-05-18 19:19:37 -04:00
Roberto Rosario 4b0c72633d Moved all filesystem serving app's remaining code to document indexing app 2011-05-18 16:16:11 -04:00
Roberto Rosario a4e00bb493 Fixed metadata remove view not working on multiple documents 2011-05-18 16:15:53 -04:00
Roberto Rosario e8b8904469 Added index rebuilding views 2011-05-18 15:43:32 -04:00
Roberto Rosario 2a2fba9ac6 Added document indexes delete support, started merge with filesystem serving app 2011-05-18 14:34:55 -04:00
Roberto Rosario 1d20a10d49 Added a document indexing list view 2011-05-18 11:45:32 -04:00
Roberto Rosario e83529ae2e Initial commit of the new MPTT based document indexing app 2011-05-17 04:27:43 -04:00
Roberto Rosario 1bd75a1d24 Added generic assign remove view and converted the user management and permissions apps to use it 2011-05-14 23:46:21 -04:00
Roberto Rosario 19c361937f Renamed DocumentMetadataindex model to DocumentIndex and moved it to it's own app 2011-05-14 03:50:06 -04:00
Roberto Rosario 976c4b46c2 Fixed occurrence of member.DoesNotExit to obj.DoesNotExit 2011-05-12 13:54:18 -04:00
Roberto Rosario 8b4efaa15d Updated instances of .id to .pk 2011-05-12 13:51:06 -04:00
Roberto Rosario 9a9da67a88 Updated view name to reflect recent changes 2011-05-12 04:12:58 -04:00
Roberto Rosario fb632d269f Updated the search template to only show results when there is atleast a query string present 2011-05-12 04:04:42 -04:00
Roberto Rosario cef5bbfc08 Simplied the generic_detail template 2011-05-12 04:03:40 -04:00
Roberto Rosario bc252d4ae4 Finished conversion of Mayan to the new document grouping app and paradigm 2011-05-12 04:03:05 -04:00
Roberto Rosario 06bf7e8c50 Removed unused css import 2011-05-11 23:45:31 -04:00
Roberto Rosario 28b6c61876 Fixed the 12 columns grid widths, minified the css and remove unused fixed width 960 grid 2011-05-11 23:42:52 -04:00
Roberto Rosario 2162e99543 Finished converting project to the new subtemplate rendering 2011-05-11 22:08:52 -04:00
Roberto Rosario 5a0ae2eb32 Edited metadata api to allow switchable creation of new document metadata 2011-05-11 21:01:06 -04:00
Roberto Rosario c91d05bff7 Added document to convert to the new metadata tables 2011-05-10 04:20:14 -04:00
Roberto Rosario 6dbf89bdcc Added missing import 2011-05-10 04:15:27 -04:00
Roberto Rosario cd11635443 Added missing import 2011-05-10 03:43:42 -04:00
Roberto Rosario e63cbba171 Use lazy translation instead 2011-05-10 03:43:17 -04:00
Roberto Rosario 69d38c067c Simplified and improved navigation link registration 2011-05-10 03:42:36 -04:00
Roberto Rosario f7f7a1dbdc Splitted common/forms into forms & widgets 2011-05-10 03:42:13 -04:00
Roberto Rosario ea20cde597 Created new metadata app and move all code relating metadata to it 2011-05-10 03:41:35 -04:00
Roberto Rosario b4daa2d52b Fixed permission grant revoke button text no appearing 2011-05-10 03:40:50 -04:00
Roberto Rosario b6d2654cc7 Added changes to expand the scope of the document grouping functionality 2011-05-09 23:57:23 -04:00
Roberto Rosario 94134bc83e Added page per document statistics 2011-05-09 20:04:26 -04:00
Roberto Rosario 07a06617b8 Added South support and initial migrations 2011-05-09 19:08:23 -04:00
Roberto Rosario 69ec591fde Removed print statement, form line cleanup 2011-05-09 03:01:29 -04:00
Roberto Rosario 65fb5dcc9e Updated wizard to skip step 3 if there is no metadata selected, updated metadata and metadata set widget to improve visuals 2011-05-09 02:40:01 -04:00
Roberto Rosario e03a90883a Commited new metadata/document_type paradirm 2011-05-09 02:25:09 -04:00
Roberto Rosario 1b511574d9 Added two state simple template and updated user list view to use it 2011-05-08 15:54:48 -04:00
Roberto Rosario e3db8141ef Bumped version to 0.6 2011-05-08 04:17:14 -04:00
Roberto Rosario 7cc768305f Added view to add or remove users from group, merged common code and moved it to common.utils 2011-05-08 04:15:29 -04:00
Roberto Rosario 5a156bf23d Added group creation, editing, delete support to the user management app; fixed namespace permission checking 2011-05-08 03:38:51 -04:00
Roberto Rosario 3e0a87314e Slight improvement, exit recursion as soon a permission hit is found 2011-05-08 03:17:58 -04:00
Roberto Rosario da3bd654bc Enabled adding and removing of user group as role members 2011-05-08 03:08:06 -04:00
Roberto Rosario 06d3d67572 Unicode updates 2011-05-08 03:07:51 -04:00
Roberto Rosario 2cacae7551 Moved permission checking logic to model, simplyfing it and adding group support too 2011-05-08 03:06:34 -04:00
Roberto Rosario 30a32c0aff Updated permission denied middleware to comform to coding style 2011-05-08 01:58:33 -04:00
Roberto Rosario e692fcc4c4 Discard exception.message to avoid deprecation warning, besided it is not used 2011-05-08 01:56:56 -04:00
Roberto Rosario 4bf64d42ac Added view to reset users password, disallowed editing, deleting, etc of super user or staff users, improved app navigation 2011-05-07 02:28:14 -04:00
Roberto Rosario 0d410b510c Disabled reset_orphans() which causes problems with big clusters increased latency 2011-05-07 01:47:00 -04:00
Roberto Rosario 9e61213241 Created new smart_settings app and move everything related to app settings to it 2011-05-07 01:32:02 -04:00
Roberto Rosario 7f2c563192 Converted whole project to a smarter method of defining app settings 2011-05-07 01:15:40 -04:00
Roberto Rosario 7469fe991f Made the OCR cache backend used for locking configurable, move ocr locking to queued document from periodic task, added again a random delay fallback in case no cache backend is used 2011-05-06 15:31:49 -04:00
Roberto Rosario 472a55f5f3 Updated Spanish translation 2011-05-06 13:42:09 -04:00
Roberto Rosario 0e10d036d4 Keep role permission icon and link together 2011-05-06 13:15:47 -04:00
Roberto Rosario 07e9b12e78 flake8 cleanups, ununsed imports and variables cleanup, changed register_diagnostics to use reverse_lazy instead of reverse 2011-05-06 10:39:54 -04:00
Roberto Rosario c40b3eec66 Allow pop up window named to be specified by view 2011-05-06 02:58:33 -04:00
Roberto Rosario d6aa44c8bd Don't insert a page break on the last page 2011-05-06 02:33:07 -04:00
Roberto Rosario c44a1f947c Added document printing support 2011-05-06 00:46:33 -04:00
Roberto Rosario 0eca667fd4 Changed ugettext to ugettext_lazy, changed comment style 2011-05-05 20:50:56 -04:00
Roberto Rosario 649871b994 Added document and page aspect ration detection, added page size support, print out image dynamic sizing based on page vs. document aspect ratio 2011-05-05 02:31:10 -04:00
Roberto Rosario 9c17a627ec Initial commit of the new_printing branch 2011-05-04 16:59:14 -04:00
Roberto Rosario 0b6934aee1 Fixed document comment side bar link not appearing 2011-05-04 10:20:22 -04:00
Roberto Rosario df35de2759 Added four new highlight color: khaki, coral, orange and lightgrey 2011-05-04 02:11:50 -04:00
Roberto Rosario 5138304720 Display document tags in the document list view 2011-05-04 01:57:43 -04:00
Roberto Rosario 6a9178b8f0 Incresed the default recent document to display from 20 to 40 2011-05-04 01:57:06 -04:00
Roberto Rosario 25d7d17f6d Tweaked the document page widget HTML 2011-05-04 01:33:43 -04:00
Roberto Rosario 9b4ada4fde Reorganized 'documents' menu entries 2011-05-04 01:33:13 -04:00
Roberto Rosario 9dce568ac2 Updates the link displaying template to use conditional link display, updated admin and sentry link to use conditional display, updated main and secondary navigation to use the generic navigation template 2011-05-04 00:25:34 -04:00
Roberto Rosario b5791e7fce Updated active link processing tag to conserve the link properties, added conditional link testing tag 2011-05-04 00:24:28 -04:00
Roberto Rosario 22516a91b5 Updated tools view to limit the tools a user can access by means of permission checking 2011-05-04 00:22:51 -04:00
Roberto Rosario b1c9fbce5e Changed ugetttext to ugettext_lazy 2011-05-04 00:21:15 -04:00
Roberto Rosario 76b67b90e5 Fixed diagnostics template to correctly render the <li> HTML tag 2011-05-04 00:20:29 -04:00
Roberto Rosario 03c8024893 Updated permission checking template tag to allow null arguments 2011-05-04 00:19:07 -04:00
Roberto Rosario 75ebecb92b Fixed document add comment link arguments 2011-05-04 00:17:15 -04:00
Roberto Rosario 01d5cf1f72 Fixed the recent document list view 2011-05-03 23:34:46 -04:00
Roberto Rosario 438e8c89a9 Refactored the tools menu and added method for apps to register tools themselves 2011-05-03 21:58:55 -04:00
Roberto Rosario ae35e89549 Unicode updates 2011-05-03 21:11:35 -04:00
Roberto Rosario 1e0d8d1f25 Added doctring description 2011-05-03 20:58:58 -04:00
Roberto Rosario 6960bff9ef Removed unneeded global variables 2011-05-03 20:15:21 -04:00
Roberto Rosario d58d70623d Moved return_type function to common.utils 2011-05-03 20:14:40 -04:00
Roberto Rosario 4f62e6c9b6 Removed unsafe default values and added unicode updates 2011-05-03 20:13:10 -04:00
Roberto Rosario b1c23c7e48 Improved navigation in the permissions app 2011-05-02 01:46:27 -04:00
Roberto Rosario 5f02d08609 Added Spanish translations for the user management app 2011-05-02 01:17:21 -04:00
Roberto Rosario c6fb47aa37 Added message display when a tag is update successfully 2011-05-02 01:06:39 -04:00
Roberto Rosario a8e175c297 Did some unicode updates 2011-05-02 01:06:15 -04:00
Roberto Rosario b91b89d3b4 Updated permissions view to the new subtemplate renderer 2011-05-02 01:05:57 -04:00
Roberto Rosario a05c622af6 Added user management app (create, edit, delete users) 2011-05-02 01:05:28 -04:00
Roberto Rosario 9626243c10 Updated document_recent_list view to reuser the document_list view 2011-05-02 00:57:44 -04:00
Roberto Rosario c8e8b368d2 Added comments and updated some string to unicode 2011-05-01 23:36:40 -04:00
Roberto Rosario 766567ec49 Added alt attribute to several img html tags 2011-05-01 23:10:51 -04:00
Roberto Rosario 4ed5667bb0 Made all translation string unicode 2011-05-01 22:58:12 -04:00
Roberto Rosario 71049f33bd Display loading spinner while document thumbnail is ready 2011-05-01 22:57:35 -04:00
Roberto Rosario 50636742b1 Updated Changelog 2011-05-01 16:25:30 -04:00
Roberto Rosario 5dacebb083 Made document comments searchable 2011-05-01 16:23:35 -04:00
Roberto Rosario a57c18a680 Updated TODO list 2011-05-01 16:23:12 -04:00
Roberto Rosario 5349b29965 Finished renaming comments app to document_comments 2011-05-01 16:13:34 -04:00
Roberto Rosario e69a85efad Renamed comments app to document_comments to avoid conflics with django comments app 2011-05-01 16:08:34 -04:00
Roberto Rosario 4fffefd367 Made comment sorted by oldest first, made comment subtemplate scrollable 2011-05-01 15:53:45 -04:00
Roberto Rosario c14c9c11c7 Don't specify border color, let the theme do so 2011-05-01 15:53:17 -04:00
Roberto Rosario b66e996b39 Show tagget document link in the tags subtemplate of documents 2011-05-01 15:32:19 -04:00
Roberto Rosario 4c7dbf5971 Show tagged item count in the tag list view 2011-05-01 15:31:01 -04:00
Roberto Rosario e7d6a6e350 Updated tagged documents link icon 2011-05-01 15:30:36 -04:00
Roberto Rosario 4798d33ffc Updated requirements files as per issue #9 2011-05-01 15:16:46 -04:00
Roberto Rosario 9cebfc978b Added comment app with support for adding and deleting comments to and from documents 2011-05-01 04:40:42 -04:00
Roberto Rosario 3261bb08b1 Changed ugettext to ugettext_lazy, fixed a comment typo 2011-05-01 04:40:02 -04:00
Roberto Rosario b61de3d001 Add a 'next' hidden field to allow form to store redirection url 2011-05-01 04:27:24 -04:00
Roberto Rosario 488bb7bd02 Initial commit to support document comments 2011-04-30 04:47:58 -04:00
Roberto Rosario 20c14eed41 Fixed tag removal logic 2011-04-30 04:47:35 -04:00
Roberto Rosario 178eb5949f Converted tag sub template to new subtemplate renderer 2011-04-30 04:47:03 -04:00
Roberto Rosario 52fa716d7b Removed the (required) message from document group form 2011-04-30 04:45:45 -04:00
Roberto Rosario 16061b304e Applied initial merge of the new subtemplate renderer 2011-04-30 04:45:05 -04:00
Roberto Rosario f65dbb46f7 Bumped version to 0.5.1 2011-04-30 02:34:12 -04:00
Roberto Rosario 8c7fbc36ce Exclude tags from all document forms 2011-04-29 11:41:49 -04:00
Roberto Rosario 8552856207 Exclude tags from the local document upload form 2011-04-29 09:32:13 -04:00
Roberto Rosario c99764b486 Updated so that loading spinner is displayed always 2011-04-29 04:53:24 -04:00
Roberto Rosario fd71e86f2a Updated Website link 2011-04-29 01:28:52 -04:00
Roberto Rosario 7c08d67e71 Updated README 2011-04-29 01:27:18 -04:00
Roberto Rosario b73496d01a Changed link title to a more apropiate one 2011-04-28 22:32:02 -04:00
Roberto Rosario 675bdd6112 Added tag editing view and listing documents with an specific tag 2011-04-28 21:30:37 -04:00
Roberto Rosario 2532a0a2d8 Added tag list view and global tag delete support 2011-04-28 19:12:40 -04:00
Roberto Rosario a403c02cd3 Bumped version to 0.5 2011-04-28 01:28:51 -04:00
Roberto Rosario 998985617b Updated CREDITS and Changelog 2011-04-28 01:26:03 -04:00
Roberto Rosario 28f87690b2 Added document tagging support 2011-04-28 01:14:27 -04:00
Roberto Rosario 8fbd174643 Initial changes to support document tags 2011-04-27 17:23:52 -04:00
Roberto Rosario 20dadafd61 Message tweaks and translation updates 2011-04-27 14:44:46 -04:00
Roberto Rosario ab68c696e2 Added loading spinner animation 2011-04-27 12:21:46 -04:00
Roberto Rosario 7a6225f77f Added per app version display tag 2011-04-27 09:34:25 -04:00
Roberto Rosario 53985dc9f8 Added no-parent-history class to document page links so that iframe clicking doesn't affect the parent window history
Fixes back button issue on Chrome 9 & 10
2011-04-27 09:21:00 -04:00
Roberto Rosario d7f483c6f6 Changed the previewing and deleting staging files views to required DOCUMENT_CREATE permission 2011-04-27 08:03:51 -04:00
Roberto Rosario bfa70f114b Converted app cleanups, document pre-cache, magic number removal 2011-04-26 15:02:27 -04:00
Roberto Rosario df60924ebb Implement local task locking using Django locmem cache backend 2011-04-25 16:41:42 -04:00
Roberto Rosario cd77a8ffdf Fixed OCR's active node list view when there are no active nodes 2011-04-25 16:40:33 -04:00
Roberto Rosario 4ed5c8f54c Disabled CELERY_DISABLE_RATE_LIMITS by default 2011-04-25 16:39:54 -04:00
Roberto Rosario f155c0725b Prevented undefined variable use 2011-04-25 12:39:09 -04:00
Roberto Rosario 425e4a0086 Fix document previews 2011-04-25 11:33:16 -04:00
Roberto Rosario f88b011365 Quick update to fix staging file previews 2011-04-25 10:56:04 -04:00
Roberto Rosario a7be566f50 Added OCR view displaying all active OCR tasks from all cluster nodes 2011-04-25 02:17:13 -04:00
Roberto Rosario 386d51e324 Updated TODO 2011-04-25 02:16:59 -04:00
Roberto Rosario 908183fad9 Merged two for loops, and make it so a processing document in a multi select doesn't abort the re-queueing 2011-04-24 04:48:42 -04:00
Roberto Rosario d33ced5e34 Make sure processing documents cannot be deleted 2011-04-24 04:42:49 -04:00
Roberto Rosario c505dad667 Fixed active task checking logic 2011-04-24 04:41:53 -04:00
Roberto Rosario 06900f7cd9 Fixed typo from previous PEP8 cleanup 2011-04-24 04:34:51 -04:00
Roberto Rosario 700bd7071c Removed redundant tranformation calculation 2011-04-24 04:08:02 -04:00
Roberto Rosario b2d0f7c310 Added doc extension to office document format list 2011-04-24 03:59:36 -04:00
Roberto Rosario 947a9ea3e6 Moved transformation string compilation to model 2011-04-24 03:59:19 -04:00
Roberto Rosario 5b5a90100c flake8 cleanups 2011-04-23 23:03:56 -04:00
Roberto Rosario 202bde555b Removed unused imports 2011-04-23 22:49:06 -04:00
Roberto Rosario 5d834b6f5e Updated Changelog 2011-04-23 22:48:46 -04:00
Roberto Rosario fe4ff2c035 Do not redefine imported slugify function 2011-04-23 22:47:49 -04:00
Roberto Rosario a7fb94e208 Updated TODO 2011-04-23 22:37:19 -04:00
Roberto Rosario 333c2d489d Avoid duplicates in recent document list 2011-04-23 22:27:24 -04:00
Roberto Rosario ba8e8b8c99 Added sample configuration files for supervisor and apache under contrib/ 2011-04-23 22:22:00 -04:00
Roberto Rosario 46ec25b139 Added initial support for converting office documents (only ods and docx tested) 2011-04-23 22:20:30 -04:00
Roberto Rosario 221049100c Improved document convertion API 2011-04-23 19:42:15 -04:00
Roberto Rosario 3de2969ec5 Improved unkwnown format detection in the graphicsmagick backend 2011-04-23 19:41:51 -04:00
Roberto Rosario 87c8b26270 Streamlined document preview serving 2011-04-23 19:41:15 -04:00
Roberto Rosario 5306a3e474 Added the OCR_QUEUE_PROCESSING_INTERVAL setting to the settings tab view 2011-04-23 05:53:36 -04:00
Roberto Rosario c18316d3bf Added detection and reset of orphaned ocr documents being left as 'processing' when celery dies 2011-04-23 05:40:24 -04:00
Roberto Rosario ebdcede59f Made the queue processing interval configurable by means of a new setting: OCR_QUEUE_PROCESSING_INTERVAL 2011-04-23 05:38:59 -04:00
Roberto Rosario ad9858bc17 Updated TODO 2011-04-23 05:37:01 -04:00
Roberto Rosario 75bed35d2c Fixed an error introduced in the last PEP8 cleanup 2011-04-23 05:36:17 -04:00
Roberto Rosario 2d24651189 Changed the ocr queue processing task from a Class to a function 2011-04-23 04:53:50 -04:00
Roberto Rosario 84ef3d5aca Added link to close all notifications with one click 2011-04-23 04:49:52 -04:00
Roberto Rosario 5d7587bb1a Improved visual appearance of messages by displaying them outside the main form 2011-04-23 03:23:01 -04:00
Roberto Rosario 70c3c5e948 Removed the obsolote DOCUMENTS_GROUP_MAX_RESULTS setting option 2011-04-23 02:53:13 -04:00
Roberto Rosario 2a744cefea PEP8, pylint cleanups and removal of relative imports 2011-04-23 02:49:07 -04:00
Roberto Rosario 4625e5d792 Made page image label translatable 2011-04-22 08:22:13 -04:00
Roberto Rosario c2d27a231e Reorganized page detail icons 2011-04-22 08:21:52 -04:00
Roberto Rosario 482178e2c8 Display the metadata group numeric total in the metadata group form title 2011-04-22 08:07:47 -04:00
Roberto Rosario 21e0922efc Reduced the document pages widget size 2011-04-22 08:07:18 -04:00
Roberto Rosario 7b091b9820 Reduced the metadata group widget height 2011-04-22 07:54:25 -04:00
Roberto Rosario d81e784167 Added support for metadata group actions 2011-04-22 07:36:35 -04:00
Roberto Rosario f3faf00315 Only add a prefix to the submit button if a form prefix has been specified 2011-04-22 07:35:30 -04:00
Roberto Rosario 024abf4efb Made metadata group generation a manager function of the MetadataGroup model 2011-04-22 06:15:18 -04:00
Roberto Rosario 5e08662965 Increased permissions app permission's label field size 2011-04-22 03:27:58 -04:00
Roberto Rosario ee0b393f00 Merged and reduced the document page zoom and rotation views 2011-04-22 02:56:15 -04:00
Roberto Rosario 7fcdfe5fab Inverted the rotation button, more intuitive this way 2011-04-22 02:55:32 -04:00
Roberto Rosario ec2b313755 Lower image convertion quality if the format is jpg 2011-04-22 02:32:41 -04:00
Roberto Rosario 6cdebb3910 Added the configuration option CONVERTER_GM_SETTINGS to pass GraphicsMagicks specific commands the the GM backend 2011-04-22 02:20:45 -04:00
Roberto Rosario e03cea8886 Updated the Changelog 2011-04-22 00:27:39 -04:00
Roberto Rosario 158061e61a Updated TODO 2011-04-22 00:19:06 -04:00
Roberto Rosario 5b4b281791 Added interactive document page view rotation support 2011-04-21 23:58:41 -04:00
Roberto Rosario 47a9f699fd Added DOCUMENTS_ZOOM_PERCENT_STEP, DOCUMENTS_ZOOM_MAX_LEVEL, DOCUMENTS_ZOOM_MIN_LEVEL configuration options to allow detailed zoom control 2011-04-21 23:27:05 -04:00
Roberto Rosario dc4075d97d Improved zoom detection from url hack 2011-04-21 23:18:57 -04:00
Roberto Rosario dc08f96414 Spanish translation updates 2011-04-21 04:36:40 -04:00
Roberto Rosario 059835b874 Fixed typo 2011-04-21 04:16:23 -04:00
Roberto Rosario f863e02ffb Hide links in search result view 2011-04-21 04:12:51 -04:00
Roberto Rosario 27d7aed25c Added interactive zoom support to document page detail view 2011-04-21 02:32:30 -04:00
Roberto Rosario 680c33227c Reorganized and trimmed document actions links 2011-04-21 01:04:48 -04:00
Roberto Rosario 8e68cb9caa Renamed document page preview string 2011-04-21 01:04:20 -04:00
Roberto Rosario 9940787632 Moved metadata representation string to model 2011-04-21 00:42:07 -04:00
Roberto Rosario c87d5652d9 Added first & last page navigation links to document page view 2011-04-21 00:36:19 -04:00
Roberto Rosario 6c6cf81792 Added grab-scroll to document page view 2011-04-20 23:38:47 -04:00
Roberto Rosario f4fa7e327d Separated document page detail view into document text and document image views 2011-04-20 22:38:26 -04:00
Roberto Rosario e09c524239 Added form header navigation support 2011-04-20 22:37:58 -04:00
Roberto Rosario 0e090798ba Added a direct rename field to the local update and staging upload forms 2011-04-20 05:00:10 -04:00
Roberto Rosario ea25872cbc Improved double submit prevention 2011-04-20 04:45:21 -04:00
Roberto Rosario d0c2e6fd56 Removed the obsolete DOCUMENTS_TRANFORMATION_PREVIEW_SIZE and DOCUMENTS_GROUP_SHOW_THUMBNAIL setting options 2011-04-20 02:52:11 -04:00
Roberto Rosario 2843e14dc3 Made the form display on the setup view display the function's docstring by default 2011-04-20 02:46:37 -04:00
Roberto Rosario e7c580f1a8 Changed the side bar document grouping with carousel style document grouping form widget 2011-04-20 02:45:51 -04:00
Roberto Rosario 01116bf92e Updated the page preview widget to display a infinite-style horizontal carousel of page previews 2011-04-19 23:06:58 -04:00
Roberto Rosario 5528312872 PEP8 and pylint cleanups 2011-04-19 20:30:18 -04:00
Roberto Rosario 4a0b9193c9 Show a blank result list when submit thing a blank query 2011-04-19 20:20:44 -04:00
Roberto Rosario f12ff22a84 Disabled submit buttons and any buttons when during a form submit 2011-04-19 20:20:09 -04:00
Roberto Rosario 2b81774bf9 Show multi document actions in the recent document list view too 2011-04-19 19:12:29 -04:00
Roberto Rosario 7f4be1bb0b Improved the checkboxes behaviour in generic list template 2011-04-19 19:07:47 -04:00
Roberto Rosario 8a28f87fe1 Removed old code 2011-04-19 00:15:24 -04:00
Roberto Rosario 842b975753 Added view to remove documents from folders 2011-04-19 00:15:08 -04:00
Roberto Rosario f4a719f314 Improved folder content view logic, added ownership checking 2011-04-18 17:06:43 -04:00
Roberto Rosario 2cf8b05bfa Added view to add a document to a folder directly from the document detail view 2011-04-18 04:31:44 -04:00
Roberto Rosario 5084f7c871 Added support for per-view side bar templates 2011-04-18 04:30:36 -04:00
Roberto Rosario 1d8531248a Initial set of changes to support user document folders 2011-04-18 03:26:20 -04:00
Roberto Rosario f05fa53b0b Removed old code from 'recent document' merge 2011-04-18 03:25:48 -04:00
Roberto Rosario 78ff5f8584 Added support for listing the most recent accessed documents per user 2011-04-17 05:12:12 -04:00
Roberto Rosario 83671eb75a Added document page navigation 2011-04-16 01:52:32 -04:00
Roberto Rosario 6143ffdb3a Moved path resolving code to navigation.utils 2011-04-16 01:52:04 -04:00
Roberto Rosario 103236a95f Improved messages for all view related to document pages and document page transformations 2011-04-16 01:06:53 -04:00
Roberto Rosario 3be5a6f759 Fixed navigation inside document page 2011-04-16 01:06:32 -04:00
Roberto Rosario eaaaa5b645 Added support for the command line program pdftotext from the poppler-utils packages to extract text from PDF documents without doing OCR 2011-04-15 23:59:52 -04:00
Roberto Rosario 73a52293e8 Order DocumentPage mode by page_number field 2011-04-15 04:24:23 -04:00
Roberto Rosario 7d3ebcf9ca Added a document page edit view 2011-04-15 00:37:36 -04:00
Roberto Rosario bce05d7d83 Added confirmation dialog to document's find missing document file diagnostic 2011-04-15 00:04:31 -04:00
Roberto Rosario e8b23b48a2 Fixed diagnostics url resolution 2011-04-15 00:04:06 -04:00
Roberto Rosario eb5e53f5f0 Made sure the side bar search form submit title doesn't change 2011-04-14 23:35:13 -04:00
Roberto Rosario facfc68fc6 Merged the 'new document page view' 2011-04-14 23:33:51 -04:00
Roberto Rosario 58e4e611e2 Implemented detail form readonly fields the correct way, this fixes copy & paste issues with Firefox 2011-04-14 23:05:57 -04:00
Roberto Rosario 6a83f36770 Replaced page break text with page number when displaying document content 2011-04-14 17:49:51 -04:00
Roberto Rosario af34a5ec5a Fixed document description editing 2011-04-14 15:38:33 -04:00
Roberto Rosario fd0781eb31 Added the SIDE_BAR_SEARCH setting option to the settings view 2011-04-14 15:35:15 -04:00
Roberto Rosario d54696c5bf Changed document_missing_list from url to view resolution 2011-04-13 11:48:35 -04:00
Roberto Rosario bff724176f Catch ZeroDivisionError exceptin in pretty_size function 2011-04-13 11:47:27 -04:00
Roberto Rosario 428433574a Made Grappelli display the project name in the admin site title 2011-04-13 03:30:07 -04:00
Roberto Rosario f87beff00e Fixed Non-ASCII character error in the English OCR cleanup backend 2011-04-13 03:26:55 -04:00
Roberto Rosario 6b5a17af39 Made English the default language for Tesseract if none is specified 2011-04-13 03:25:45 -04:00
Roberto Rosario b547291784 Don't complain if settings_local.py is not found 2011-04-13 03:23:31 -04:00
Roberto Rosario f783481dfb Updated Changelog 2011-04-13 03:17:52 -04:00
Roberto Rosario 82f514aa4f Updated TODO 2011-04-13 03:11:51 -04:00
Roberto Rosario 0b10b43959 Added view to add or remove user to a specific role 2011-04-13 02:56:19 -04:00
Roberto Rosario 14e4396dbd Updated the jQuery packages with the web_theme app to version 1.5.2 2011-04-12 22:43:05 -04:00
Roberto Rosario 9ffce6399e Used document MIME type when downloading otherwise use 'application/octet-stream' if none 2011-04-11 22:32:26 -04:00
Roberto Rosario c6b5f7351e If mime detection fails set mime type to '' instead of 'unknown' 2011-04-11 22:27:50 -04:00
Roberto Rosario 5ab9031101 Updated README 2011-04-11 22:27:29 -04:00
Roberto Rosario e8086904d5 Fixed document download in FireFox for documents containing spaces in the filename 2011-04-11 22:18:25 -04:00
Roberto Rosario 524115de64 PEP8 cleanups 2011-04-11 12:18:35 -04:00
Roberto Rosario 95f17a4307 Fixed typo 2011-04-11 12:05:49 -04:00
Roberto Rosario c3470f2d8b Missed two changes related to the last commit 2011-04-11 10:25:48 -04:00
Roberto Rosario d855280a18 Made AVAILABLE_INDEXING_FUNCTION setting a setting of the documents app instead of the filesystem_serving app 2011-04-11 10:19:10 -04:00
Roberto Rosario 40fd8c9398 Optimized document metadata query and display 2011-04-08 16:58:04 -04:00
Roberto Rosario 6b67cff5d7 Changed the way document page count is parsed from the graphics backend, fixing issue #7 2011-04-08 03:29:48 -04:00
Roberto Rosario 71a3c218f4 PEP8, pylint and django-lint cleanups 2011-04-08 02:09:39 -04:00
Roberto Rosario 1b6806f7d1 PEP8 cleanups 2011-04-08 01:31:39 -04:00
Roberto Rosario 61fb876a81 PEP8 and Pylint cleanups 2011-04-07 17:21:15 -04:00
Roberto Rosario d54fd98ec5 Finished adding language specific ocr cleanup code 2011-04-07 12:23:26 -04:00
Roberto Rosario d86c521858 Merge branch 'master' into ocr_cleanup 2011-04-07 11:28:27 -04:00
Roberto Rosario 72fffb99f2 Redirect user to the website entry point if already logged and lands in the login template 2011-04-07 11:27:16 -04:00
Roberto Rosario d1ff305a3f Initial commit for the ocr_cleanup branch 2011-04-07 04:07:59 -04:00
Roberto Rosario cea79ea240 When deleting staging file, it's cached preview is also deleted 2011-04-06 16:54:33 -04:00
Roberto Rosario b1062c4586 Moved staging file preview creation logic from documents.views to staging.py 2011-04-06 16:15:52 -04:00
Roberto Rosario d1eb09713d Fixed staging file filename regression 2011-04-06 15:51:33 -04:00
Roberto Rosario 5284f273d7 Updated staging files previews to use sendfile instead of serve_file 2011-04-06 15:23:17 -04:00
Roberto Rosario 7e36064909 Changed from using SimpleUploadedFile class to stream file to the simpler File class wrapper 2011-04-06 15:13:37 -04:00
Roberto Rosario 2ab38522fd PEP8 fixes 2011-04-06 15:04:29 -04:00
Roberto Rosario f66c8ec6e2 Fixed error and some warning returned by pylint 2011-04-05 00:04:11 -04:00
Roberto Rosario 283df926d1 Made automatic OCR a function of the OCR app and not of Documents app (via signals)
Renamed setup option DOCUMENT_AUTOMATIC_OCR to OCR_AUTOMATIC_OCR
2011-04-04 15:36:00 -04:00
Roberto Rosario 664ece7a60 Added a new setup option: FILESYSTEM_INDEXING_AVAILABLE_FUNCTIONS - a dictionary to allow users to add custom functions 2011-04-04 14:58:36 -04:00
Roberto Rosario fcc8b0cfe4 Updated TODO 2011-04-04 14:56:28 -04:00
Roberto Rosario 1d48325a92 Clear node name when requeueing a document for OCR 2011-04-04 09:24:25 -04:00
Roberto Rosario 1a3ead157e Updated ChangeLog 2011-04-01 02:58:35 -04:00
Roberto Rosario c2ba7eaf1d Spanish translation updates 2011-04-01 02:45:27 -04:00
Roberto Rosario b00335ec36 Spanish translation updates 2011-04-01 02:38:53 -04:00
Roberto Rosario 2cb6de79ea Added support for editing the metadata of multiple documents at the same time 2011-04-01 02:24:45 -04:00
Roberto Rosario ff9173ac29 Raise ImportError and notify user when specifying a non existant converter graphics backend 2011-03-31 23:57:24 -04:00
Roberto Rosario 18b9964786 Added Graphics magick support by means of user selectable graphic convertion backends 2011-03-31 12:23:58 -04:00
Roberto Rosario c1bb3a90bb Add a user to a default role only when the user is created 2011-03-29 11:17:04 -04:00
Roberto Rosario 043f8f3502 Fixed issue #4, avoid circular import in permissions/__init__.py 2011-03-29 11:04:30 -04:00
Roberto Rosario 7cac524dfb If only one document is deleted, return to document_list view 2011-03-28 23:05:20 -04:00
Roberto Rosario 38bd6276be Added total page count to statistics view 2011-03-28 13:16:17 -04:00
Roberto Rosario 604cd60255 Clear last ocr results when requeueing a document 2011-03-25 16:37:30 -04:00
Roberto Rosario a07b4d0fb3 Updated to the latest rosarior/django-sending repository changeset 2011-03-25 16:24:45 -04:00
Roberto Rosario 1c00514fa3 Added default django-sendfile backend setting 2011-03-25 16:24:00 -04:00
Roberto Rosario daa22f1f36 Added support to disable the default scrolling JS code included in web_theme app 2011-03-25 16:22:09 -04:00
Roberto Rosario d9e1043ca3 Added django-sendfile to CREDITS 2011-03-25 16:20:12 -04:00
Roberto Rosario eefdfbfa38 Added a FAQ entry explaining how to enable x-sendfile support for apache 2011-03-24 16:44:59 -04:00
Roberto Rosario 3ecbd0bb74 Updated the get_document_image view to use the new sendfile app 2011-03-24 16:42:48 -04:00
Roberto Rosario 278d8bcf10 Added 3rd party sendfile app 2011-03-24 16:40:12 -04:00
Roberto Rosario 8f82c82825 Added small optimizations 2011-03-24 14:19:17 -04:00
Roberto Rosario 69f2cb1fa4 Removed the 'exists' column in document list view, this diagnostics superceded this 2011-03-24 13:19:16 -04:00
Roberto Rosario f417344758 Introduce a random delay to each node to further reduce the chance of a race condition, until row locking can be implemented or is implemented by Django 2011-03-23 17:03:00 -04:00
Roberto Rosario f97c43b243 Updated TODO 2011-03-23 16:46:38 -04:00
Roberto Rosario 9765a7f607 Added an additional check to lower the chance of OCR race conditions between nodes 2011-03-23 16:45:49 -04:00
Roberto Rosario 1e66c77cf6 Invalid page numbers now raise Http404, not found 2011-03-23 16:23:00 -04:00
Roberto Rosario a3fbe7f896 Allow OCR requeue of pending documents 2011-03-23 15:45:50 -04:00
Roberto Rosario 0f1526f3d8 Allow deletion of non existing documents from OCR queue 2011-03-23 09:51:54 -04:00
Roberto Rosario e11a92888c Removed custom IE9 html tag 2011-03-23 05:32:56 -04:00
Roberto Rosario 1ff7c60ecd Fixed the issue of the strip spaces middleware with downloads 2011-03-23 05:30:37 -04:00
Roberto Rosario bc181c703d Updated Changelog 2011-03-22 04:27:33 -04:00
Roberto Rosario 4589cd4506 Updated TODO 2011-03-22 04:27:22 -04:00
Roberto Rosario 3cb0f37b5b Made the concurrent ocr code more granular, per node, every node can handle different amounts of concurrent ocr tasks 2011-03-22 04:17:48 -04:00
Roberto Rosario d0942a203b Reimplemented OCR delay code, only delay new document 2011-03-22 03:46:34 -04:00
Roberto Rosario f9ab61647e Reduced default delay time 2011-03-22 03:43:18 -04:00
Roberto Rosario 800dc28938 Small optimization 2011-03-22 03:42:21 -04:00
Roberto Rosario 8f6fac0bae Removed old disabled code 2011-03-22 03:38:58 -04:00
Roberto Rosario ecaa2a1114 Updated Changelog 2011-03-22 01:00:23 -04:00
Roberto Rosario abe64ff102 Updated TODO 2011-03-22 00:59:15 -04:00
Roberto Rosario 70e5e4c470 Moved navigation code to its own app 2011-03-22 00:54:43 -04:00
Roberto Rosario 75dc4c84b3 Removed old code 2011-03-21 18:49:34 -04:00
Roberto Rosario 545adac2e5 Removed debug code 2011-03-21 18:48:51 -04:00
Roberto Rosario 75324ce581 Disabled single OCR document action as multple actions are now enabled by default 2011-03-21 16:32:01 -04:00
Roberto Rosario 5d9302e583 Added multi ocr queued document delete support 2011-03-21 16:29:04 -04:00
Roberto Rosario bef40d958e Added OCR multi document re-queue support 2011-03-21 16:19:19 -04:00
Roberto Rosario bbcc0ead65 * Added a new option OCR_REPLICATION_DELAY to allow the storage some time for replication before attempting to do OCR to a document 2011-03-21 12:24:42 -04:00
Roberto Rosario ed772c6ebb Updated Changelog 2011-03-21 01:01:54 -04:00
Roberto Rosario 447b2f2817 Added a new diagnostics tab under the tools menu 2011-03-21 01:00:56 -04:00
Roberto Rosario 1271037974 Changed document statistic to fetch the id field and not the non existant pk field 2011-03-21 00:59:47 -04:00
Roberto Rosario 0021ec7117 Removed unneeded {% load %} 2011-03-21 00:58:49 -04:00
Roberto Rosario 31d1641fa4 Added simple statistics page (total used storage, total docs, etc) 2011-03-20 04:35:21 -04:00
Roberto Rosario 99ae77f573 Updated Changelog 2011-03-19 03:45:21 -04:00
Roberto Rosario c1edf145c3 Updated TODO 2011-03-19 03:40:59 -04:00
Roberto Rosario e49b47bbec Changed message logic so that a message is displayed per document and not per document group 2011-03-19 03:39:11 -04:00
Roberto Rosario a1aa42c796 Forgot to add the multi_select_as_buttons context variable 2011-03-19 03:38:45 -04:00
Roberto Rosario 13400c5e58 Implemented button based multi item actions 2011-03-18 17:13:29 -04:00
Roberto Rosario 6a9db45cf1 Added multi document delete 2011-03-18 15:01:02 -04:00
Roberto Rosario af7ae23eed Used new variable form_hide_required_text to hide multi item action form's "(required)" text 2011-03-18 14:18:48 -04:00
Roberto Rosario 6f90cee824 Added new context variable form_hide_required_text for hide the word "(required)" from selected forms 2011-03-18 14:15:13 -04:00
Roberto Rosario b4a475cac2 Changed <div> tags to <span> for correctness 2011-03-18 13:56:42 -04:00
Roberto Rosario 001491f93b Final changes to implement multi document actions 2011-03-18 13:22:54 -04:00
Roberto Rosario 102026a169 Merge branch 'master' into multi 2011-03-18 10:22:41 -04:00
Roberto Rosario 12eea963c2 Try to get IE9 NOT to use compatibility mode 2011-03-16 17:25:32 -04:00
Roberto Rosario fe2c031dfb Added missing alt attribute 2011-03-16 17:04:18 -04:00
Roberto Rosario f039f1b842 Removed unneeded HTML class and style 2011-03-16 17:01:37 -04:00
Roberto Rosario 4f8c34dd2d Put span inside <td> tag instead the other way around 2011-03-16 16:45:03 -04:00
Roberto Rosario 066973bd38 Added initial installation documentation 2011-03-16 16:38:27 -04:00
Roberto Rosario 33089ccd08 Don't display an error for the thumbnail of non existant documents 2011-03-16 16:37:30 -04:00
Roberto Rosario 384bdf1af6 Added HTML validation fixes 2011-03-16 16:36:41 -04:00
Roberto Rosario 7a4c11ca32 Removed Issues file as issues are being logged with github 2011-03-16 16:15:34 -04:00
Roberto Rosario f648aa21a1 Merge remote branch 'origin/master' into multi 2011-03-16 08:16:22 -04:00
Roberto Rosario 045e633c0d Updated TODO 2011-03-16 06:20:29 -04:00
Roberto Rosario fdf3e2702a Cleanup search code 2011-03-16 05:30:34 -04:00
Roberto Rosario fe9c7884ea Simplyfied logic 2011-03-16 05:23:43 -04:00
Roberto Rosario 1cf8adb395 Fixed repeated field name 2011-03-16 05:23:05 -04:00
Roberto Rosario f78cbddb87 Merge branch 'master' into multi
Conflicts:
	docs/TODO
2011-03-16 04:59:31 -04:00
Roberto Rosario c9d82da28a Added indexing flags to ocr model 2011-03-16 04:57:59 -04:00
Roberto Rosario fda62e2b86 Small optimization in document list view 2011-03-16 04:57:27 -04:00
Roberto Rosario 23635ccf9d Added models fields indexing flags 2011-03-16 04:52:28 -04:00
Roberto Rosario 3bbcb9f471 Fixed list concatenation 2011-03-16 04:51:51 -04:00
Roberto Rosario bc6bff206e Updated FAQ with database index information 2011-03-16 04:51:15 -04:00
Roberto Rosario adeebfda45 Updated TODO 2011-03-16 04:51:01 -04:00
Roberto Rosario d568719c18 Get attributes for object or parent of object 2011-03-16 04:50:36 -04:00
Roberto Rosario 85b0efcc54 Small search optimization 2011-03-16 03:47:04 -04:00
Roberto Rosario 90606086cc Updated TODO 2011-03-16 02:35:08 -04:00
Roberto Rosario afde18f500 Merge remote branch 'origin/multi' into multi 2011-03-16 02:02:52 -04:00
Roberto Rosario a929a58bd8 Updated TODO 2011-03-16 02:02:16 -04:00
Roberto Rosario d80ec935da Added multi item action subform for generic list subtemplate and related code 2011-03-15 17:34:47 -04:00
Roberto Rosario 709f2a14e3 Display sane message when settings_local is not found 2011-03-15 03:01:35 -04:00
Roberto Rosario 4d6f6b7f69 Updated TODO 2011-03-14 17:05:13 -04:00
Roberto Rosario c08270755e Initial changes to support multi row actions 2011-03-14 17:04:49 -04:00
Roberto Rosario 006f4d41b1 Display "DEBUG mode" string in title if DEBUG variable is set to True 2011-03-14 12:28:13 -04:00
Roberto Rosario 9f69534496 Added the fix-permissions bash script 2011-03-14 10:07:48 -04:00
Roberto Rosario cdff873400 Updated Changelog 2011-03-12 05:06:25 -04:00
Roberto Rosario f1c1746a25 Plugged another file descriptor leak 2011-03-12 05:04:45 -04:00
Roberto Rosario cfae83a88c Updated TODO 2011-03-12 04:23:36 -04:00
Roberto Rosario e69d9c0928 Added comment 2011-03-12 04:23:04 -04:00
Roberto Rosario 5e960d03db Show class name in config settings view 2011-03-12 04:21:12 -04:00
Roberto Rosario ccf33b5eaa Added missing config option from the setup menu 2011-03-12 04:20:47 -04:00
Roberto Rosario 5ced11a5fb Removed debug code 2011-03-12 04:03:29 -04:00
Roberto Rosario 9569992caf Removed debug code 2011-03-12 04:03:11 -04:00
Roberto Rosario db95f06283 Close file descriptor to avoid leaks 2011-03-12 04:02:41 -04:00
Roberto Rosario 8405c9408d Updated Changelog 2011-03-11 15:22:30 -04:00
Roberto Rosario 9b22a349d7 Show document file path in storage 2011-03-11 15:21:44 -04:00
Roberto Rosario 242c39690f Spanish translation updates 2011-03-11 14:36:14 -04:00
Roberto Rosario 8c5ed4a41a Use document preview code for staging file also and error picture literal name removal 2011-03-11 10:16:48 -04:00
Roberto Rosario 9bff8de365 Created 'simple document' for non technical users with all of a document pages content 2011-03-11 03:27:55 -04:00
Roberto Rosario b303df58e4 Disabled the strip_spaces_widdleware as it was causing problems with the document downloads 2011-03-11 03:24:41 -04:00
Roberto Rosario bc3d246f34 Fixed page number detection 2011-03-11 02:59:58 -04:00
Roberto Rosario 1fa8094444 Dont't raise PermissionDenied exception, even while debugging 2011-03-11 02:59:23 -04:00
Roberto Rosario 9de9b05020 Disable role_list view links from the setup menu until issue #4 is fixed 2011-03-11 01:02:13 -04:00
Roberto Rosario 0a91b7ff7d Don't allow duplicate documents in queues 2011-03-11 01:01:56 -04:00
Roberto Rosario 6bef320142 Added new setting: side bar search box 2011-03-10 01:54:31 -04:00
Roberto Rosario ed5578832f Added new transformation preview size setting 2011-03-10 00:24:18 -04:00
Roberto Rosario d3dce59c91 Updated TODO 2011-03-10 00:24:02 -04:00
Roberto Rosario bc4188f1c2 Updated issues 2011-03-10 00:23:51 -04:00
Roberto Rosario 67c8f26d7f Renamed document queue state links 2011-03-10 00:02:04 -04:00
Roberto Rosario cc6e8220c0 Changed ocr status display sidebar from from based to text based 2011-03-10 00:01:30 -04:00
Roberto Rosario a8e11bdc1c Updated Changelog 2011-03-09 23:13:58 -04:00
Roberto Rosario 447a1994ae Added Issues files 2011-03-09 23:13:42 -04:00
Roberto Rosario 3d2a7d5e34 Try extra hard not to assign same uuid to two documents 2011-03-09 22:57:47 -04:00
Roberto Rosario 9bd22f65d1 Do not reinitialize document queue and/or queued document on reentry 2011-03-09 22:50:20 -04:00
Roberto Rosario 9bcd2d33ed Added debuging loging 2011-03-09 22:50:03 -04:00
Roberto Rosario 73e9eb2d42 Evaluation error don't raise exception anymore and are only show to administrative users 2011-03-09 16:31:42 -04:00
Roberto Rosario 170313ea6f Show sentry login for admin users 2011-03-09 15:32:33 -04:00
Roberto Rosario fa073237b2 Show current metadata in document upload view 2011-03-09 15:27:08 -04:00
Roberto Rosario 1148cae5e5 Added geany project file to .gitignore 2011-03-09 14:11:23 -04:00
Roberto Rosario 3a82dbfecb Add content type to avoid strip space middleware conflict 2011-03-09 13:54:34 -04:00
Roberto Rosario 7be725e87a Show error message also if user is superuser 2011-03-09 13:53:41 -04:00
Roberto Rosario f1771158d6 Fixed OCR queue list showing wrong thumbnail 2011-03-09 12:59:16 -04:00
Roberto Rosario 39376269e8 Updated TODO 2011-03-09 12:54:06 -04:00
Roberto Rosario e929d78c0f Remove typo 2011-03-09 12:53:20 -04:00
Roberto Rosario 3cc3e117a3 Moved search code outside of view, correctly calculate show result for multi model searches 2011-03-09 12:07:57 -04:00
Roberto Rosario 0e6e9a4d6c Replaced double quotes with single quotes 2011-03-09 12:07:08 -04:00
Roberto Rosario 9caa7c80e3 DEVEL: Separated search code from view 2011-03-09 10:38:00 -04:00
Roberto Rosario 3341f15779 Initial set for new full string search and dynamic comparison 2011-03-09 10:14:24 -04:00
Roberto Rosario 54bb790e8a Updated changelog 2011-03-09 01:23:44 -04:00
Roberto Rosario 739c2ee299 Converted modules to use the new simpler permission checking 2011-03-09 01:20:07 -04:00
Roberto Rosario 3083f7344d Call PermissioDenied exception instead of custom exception 2011-03-09 01:19:38 -04:00
Roberto Rosario 322c1a40d2 Added new permission denied middleware 2011-03-09 01:19:16 -04:00
Roberto Rosario a3d06f1a32 Fixed model.objects.filter indentation, improved result count calculation 2011-03-09 01:17:51 -04:00
Roberto Rosario 2edd4e055e Updated TODO 2011-03-08 23:36:40 -04:00
Roberto Rosario df2e68cbb1 Removed remaining files 2011-03-08 23:36:10 -04:00
Roberto Rosario baafb6f86b Moved login required middleware to common apps 2011-03-08 23:35:44 -04:00
Roberto Rosario 647874d83b Updated changelog 2011-03-08 03:40:27 -04:00
Roberto Rosario 5a57a58913 Allow search across related fields, optimzed for speed and memory, added LIMIT setting, search elapsed time 2011-03-08 03:35:43 -04:00
Roberto Rosario a116f1807c Added document action to clear all the document's page transformations 2011-03-08 02:15:19 -04:00
Roberto Rosario 17c225601d Added pyramid art to about page 2011-03-08 02:00:11 -04:00
Roberto Rosario 2eafc75d29 Revert ocr issue test 2011-03-08 01:05:32 -04:00
Roberto Rosario 5627d11871 Updated Changelog 2011-03-07 23:54:20 -04:00
Roberto Rosario dfe06c9cad Updated TODO 2011-03-07 23:54:10 -04:00
Roberto Rosario 13c4d1e751 Added configurable location setting for file based storage 2011-03-07 23:46:09 -04:00
Roberto Rosario 3774a2cb5a prepend storage name to differentiate config options 2011-03-07 23:43:07 -04:00
Roberto Rosario 6293a35926 Updated TODO 2011-03-07 23:41:04 -04:00
Roberto Rosario b0700c5729 Try to fix issue #2 2011-03-07 23:40:49 -04:00
Roberto Rosario bc4c3b6c75 Remove unused function 2011-03-07 23:40:35 -04:00
Roberto Rosario 3ccb01254d Improved exception handling of external programs 2011-03-07 23:24:46 -04:00
Roberto Rosario e4912a8d4d Close file descriptors to prevent memory leaks 2011-03-07 23:22:53 -04:00
Roberto Rosario 41161b2ad7 Converter now differentiates between unknown file format and convert errors 2011-03-07 23:00:27 -04:00
Roberto Rosario 4691a487ff Updated TODO 2011-03-07 22:57:10 -04:00
Roberto Rosario efdd180483 Show document thumbnail in document ocr queue list 2011-03-07 19:24:27 -04:00
Roberto Rosario 86ed128dbe Make ocr document date submitted column non breakable 2011-03-07 19:22:00 -04:00
Roberto Rosario af9b21c1d0 Added generic list template column option to make data non-breakable 2011-03-07 19:21:02 -04:00
Roberto Rosario bcbf0785be Updated TODO 2011-03-07 18:26:52 -04:00
Roberto Rosario 118e3d2e4a Merge remote branch 'origin/master' 2011-03-07 18:20:37 -04:00
Roberto Rosario 9c4d9d9211 Mark manage.py, runserver.py and runserver_plus.py as executables 2011-03-07 13:06:47 -04:00
Roberto Rosario 5563e74e77 Fix permissions once more, directories to 755 and files to 644 2011-03-07 12:27:58 -04:00
Roberto Rosario 6a9e114acb Set all *.py files permissions to 644 2011-03-07 12:15:25 -04:00
Roberto Rosario 214a985fd9 Enabled Django's template caching 2011-03-06 02:47:04 -04:00
Roberto Rosario 3f18659f83 Enabled spaceless middleware 2011-03-06 02:40:49 -04:00
Roberto Rosario 7eee9c44f4 * Added document queue property side bar window to the document queue list view 2011-03-06 02:35:42 -04:00
Roberto Rosario 049d91c2ed Added html comments to help html debugging 2011-03-06 02:26:33 -04:00
Roberto Rosario f46dab69d2 Fix html indentation 2011-03-06 02:25:41 -04:00
Roberto Rosario 4f2cbb78d1 Updated TODO 2011-03-06 02:25:00 -04:00
Roberto Rosario 31a3d7e6f0 DetailSelectMultiple widget css class can now be changed 2011-03-06 02:24:28 -04:00
Roberto Rosario 6ad14fb793 Added content_type to document image file serving 2011-03-06 02:23:25 -04:00
Roberto Rosario e1bff0c25a Added middleware to strip html spaces 2011-03-06 02:22:38 -04:00
Roberto Rosario 769690da98 Updated Changelog and inverted order (recent first) 2011-03-06 00:58:52 -04:00
Roberto Rosario d05295bf54 Added links, views and permissions to disable or enable an OCR queue 2011-03-06 00:47:16 -04:00
Roberto Rosario 500da941a2 Spanish translation updates 2011-03-05 20:58:51 -04:00
Roberto Rosario 465ac5a7c8 Updated TODO 2011-03-05 20:58:39 -04:00
Roberto Rosario 6a49ae49d7 Only show language selection list if localemiddleware is active 2011-03-05 20:57:20 -04:00
Roberto Rosario 9f3e595eee Added locale middleware, menu bar language switching works now 2011-03-05 20:31:30 -04:00
Roberto Rosario 819eacd263 Spanish translation update 2011-03-05 20:28:58 -04:00
Roberto Rosario f337cfb425 Optimized document duplicate search 2011-03-05 20:14:48 -04:00
Roberto Rosario f8ea2cb650 Fixed duplicated document search 2011-03-05 20:07:48 -04:00
Roberto Rosario 661d38aa41 Spanish translation updates 2011-03-05 19:52:50 -04:00
Roberto Rosario 87803bac6f Updated TODO 2011-03-05 19:04:04 -04:00
Roberto Rosario 11c5452100 Updated screenshot 2011-03-05 15:36:18 -04:00
Roberto Rosario 6d43cfbcb5 Updated TODO file 2011-03-05 02:34:41 -04:00
Roberto Rosario f2c9c90b55 Started adding configurations setting descriptions 2011-03-05 02:34:34 -04:00
Roberto Rosario 0442eafb0c Added a setting to show document thumbnail in metadata group list 2011-03-05 02:01:31 -04:00
Roberto Rosario c31898b995 If current user is superuser or staff show extra error messages 2011-03-05 01:22:18 -04:00
Roberto Rosario db6260ec35 Updated README 2011-03-04 06:21:47 -04:00
Roberto Rosario a7eee1b192 Implement GridFS storage user settings 2011-03-04 06:16:00 -04:00
Roberto Rosario 30c6292630 Implemented the size method in GridFS storage, updated docs 2011-03-04 02:49:23 -04:00
Roberto Rosario 9674d4d3ee Fixed Gridfs deletes, added dummy size method that return 0 always, updated docs 2011-03-04 02:12:15 -04:00
Roberto Rosario d0bea8ffeb Initial version of the GridFS storage driver 2011-03-04 01:08:20 -04:00
Roberto Rosario 3f71ee1a06 Show current page and total pages for generic lists sub template 2011-03-03 21:57:41 -04:00
Roberto Rosario 3c54afcdac Show famfamfam ticks or crosses for existing or missing paths or executables in settings details view 2011-03-03 21:55:28 -04:00
Roberto Rosario d73f4d881e Remove obsolete DOCUMENTS_STORAGE_DIRECTORY_NAME setting from settings details view 2011-03-03 21:33:59 -04:00
Roberto Rosario c58168516a Finally abstract storage to its own app 2011-03-03 21:27:16 -04:00
Roberto Rosario fc87e3a097 Further decouple document file storage from file based storage 2011-03-03 21:16:39 -04:00
Roberto Rosario a61dbcb7ca Fixed logic to apply default transformations only if none are present 2011-03-03 12:42:36 -04:00
Roberto Rosario 02eba1ab4a Improve storage file handling 2011-03-03 12:14:20 -04:00
Roberto Rosario 60fb0628e0 Note to self: Don't try to fix error in a rush. Really fix 'document fs delete links' 2011-03-03 10:37:52 -04:00
Roberto Rosario 38cb463b7d Fixed forgotten method name change after last filesystem serving app merge 2011-03-03 10:24:20 -04:00
Roberto Rosario 470ff68332 Don't separate links (encose object list links with white-space: nowrap;) 2011-03-03 00:39:08 -04:00
Roberto Rosario ff573b2b2a Updated TODO 2011-03-03 00:38:55 -04:00
Roberto Rosario d46aeedaea Added link to manually re queue failed OCR 2011-03-03 00:36:30 -04:00
Roberto Rosario 18493e036e Add link to document object in OCR queue list 2011-03-02 22:27:57 -04:00
Roberto Rosario c8df76f490 Make nofitication messages fade in, and added a link to dismiss/close them more easily 2011-03-01 03:03:39 -04:00
Roberto Rosario d75396e0c2 Catch missing documents from the ocr queue list and display a message accordingly. 2011-03-01 02:25:21 -04:00
Roberto Rosario 6d2ddb4e48 Order metadata group documents by filename 2011-03-01 01:21:19 -04:00
Roberto Rosario a13fc23091 Updated README 2011-02-27 16:44:25 -04:00
Roberto Rosario c9fd8b106d Updated TODO 2011-02-27 16:44:15 -04:00
Roberto Rosario e1ea11b4a6 Merge remote branch 'origin/master' 2011-02-27 16:16:59 -04:00
Roberto Rosario 2dce544518 Updated TODO 2011-02-26 19:17:49 -04:00
Roberto Rosario 79f6897d8a Extracted document filesystem serving into a separate app, see docs/Changelog.txt to update database accordingly 2011-02-26 12:50:16 -04:00
Roberto Rosario ff77b622a9 Moved document save logic to the document Model 2011-02-26 11:15:57 -04:00
Roberto Rosario 6e4980ad80 Sort OCR queued documents according to submitted date time 2011-02-26 10:00:43 -04:00
Roberto Rosario f3c6cd5494 Added document description to the field search list 2011-02-26 10:00:12 -04:00
Roberto Rosario 2d9eb0a57a Got rid of the distinct() statement, was causing trouble on search with many related models 2011-02-24 11:21:20 -04:00
Roberto Rosario dbddd0f189 Updated TODO 2011-02-22 12:16:47 -04:00
Roberto Rosario fd5381d12b Catch invalid search fields 2011-02-22 12:16:29 -04:00
Roberto Rosario 631c82143c Updated Changelog 2011-02-21 23:51:00 -04:00
Roberto Rosario d793aa667d Updated changelog 2011-02-21 23:47:33 -04:00
Roberto Rosario a9bfe7f088 Added document tool that deletes and re-creates all documents filesystem links 2011-02-21 23:46:25 -04:00
Roberto Rosario 7365113d92 Updated FAQ 2011-02-21 20:26:05 -04:00
Roberto Rosario 5f53970bc9 Updated Changelog 2011-02-21 19:39:55 -04:00
Roberto Rosario 268b4cbb69 Updated TODO 2011-02-21 19:39:32 -04:00
Roberto Rosario 5b4f2ecb57 Final changes to support duplicate document search 2011-02-21 19:32:03 -04:00
Roberto Rosario 5209847ab5 Added a simple generic template to display text on screen 2011-02-21 19:30:43 -04:00
Roberto Rosario f24410b9cb Added missing translation tag 2011-02-21 19:17:23 -04:00
Roberto Rosario c10845ab9c Initial duplicate finder commit 2011-02-20 18:25:11 -04:00
Roberto Rosario 8cc6731d67 Updated settings view, adding missing ones and removing an unused one 2011-02-19 04:39:06 -04:00
Roberto Rosario b7b95547f1 Added favicon credits 2011-02-19 04:29:29 -04:00
Roberto Rosario ed3b9d3453 Added zip file 'uncompress on upload' support 2011-02-19 04:28:40 -04:00
Roberto Rosario b529288750 Fixed role_create link testing for the wrong namespace 2011-02-19 02:33:24 -04:00
Roberto Rosario 22f3c1f255 Fixed role_delete view checking for the wrong namespace 2011-02-19 02:31:06 -04:00
Roberto Rosario c5af3bb6cb Added favicon 2011-02-19 02:29:51 -04:00
Roberto Rosario 81c6b650c8 Added django-sentry to monitor errors and store 2011-02-19 02:20:54 -04:00
Roberto Rosario 417a41bed0 Added celerybeat-schedule and document_storage to .gitignore 2011-02-19 00:40:49 -04:00
Roberto Rosario d3d8c6d966 add ENABLE_SINGLE_DOCUMENT_UPLOAD config setting to settings view 2011-02-19 00:39:14 -04:00
Roberto Rosario ee7e9f34a2 Single document upload can now be enabled or disable to allow users to work faster (1 less click) 2011-02-18 23:35:18 -04:00
Roberto Rosario 875c772e5a Add cancel button to document page transformation delete confirmation 2011-02-18 23:16:59 -04:00
Roberto Rosario 17f75ef5a2 Fixed wrong document variable name 2011-02-18 23:15:09 -04:00
Roberto Rosario 857c28315c Updated TODO 2011-02-18 00:59:33 -04:00
Roberto Rosario 84a5919e96 Updated README 2011-02-18 00:43:31 -04:00
Roberto Rosario 51af1bf796 Improved document page detail view & links 2011-02-18 00:40:47 -04:00
Roberto Rosario 0cc457aacc Added new permission 'Delete document for OCR queue' 2011-02-17 23:46:50 -04:00
Roberto Rosario 9dc101fb0c Changed 'submit to ocr' links icon 2011-02-17 23:44:04 -04:00
Roberto Rosario e012c4c592 Added link to remove document from the OCR queue 2011-02-17 23:42:12 -04:00
Roberto Rosario e3df02185f Show tesseract language setting under setup menu 2011-02-17 23:41:48 -04:00
Roberto Rosario 0debbccd75 Added FAQ file 2011-02-17 23:33:58 -04:00
Roberto Rosario c18cb099c6 Improved tesseract execution handling 2011-02-17 23:31:54 -04:00
Roberto Rosario 5e5fee7330 Added missing queue document state import 2011-02-17 23:31:08 -04:00
Roberto Rosario 13a34338a3 Fixed typo error on document queue admin view 2011-02-17 23:30:15 -04:00
Roberto Rosario 0524e5abc2 Show error column in document ocr queue list 2011-02-17 23:28:10 -04:00
Roberto Rosario 595d7227a2 Added navigation link from document page view and document page transformation back to document view 2011-02-17 23:27:25 -04:00
Roberto Rosario 8a8a42ee19 Updated Spanish translations 2011-02-17 05:00:35 -04:00
Roberto Rosario 77b8a432a2 Added distributed OCR queue support 2011-02-17 04:37:35 -04:00
Roberto Rosario 478fb3502e Changed from python's multiprocessing to celery to handle concurrency 2011-02-17 03:45:30 -04:00
Roberto Rosario 409a52af95 First commit to support ocr subprocess 2011-02-17 01:57:14 -04:00
Roberto Rosario 94fb748020 Try to catch execution execptions 2011-02-16 20:54:43 -04:00
Roberto Rosario dfd101c33b Cleanup file after ocr 2011-02-16 20:54:11 -04:00
Roberto Rosario b1e2f64617 Apply transformation before doing OCR, added unpaper to the OCR pre processing pipe 2011-02-16 03:32:21 -04:00
Roberto Rosario 15afaadc4c Added preliminary views to add/remove document page transformations 2011-02-16 03:31:46 -04:00
Roberto Rosario f974950147 Force fancybox previous and next page button to 'always on' 2011-02-16 00:04:59 -04:00
Roberto Rosario 064d67746b Delete document metadata if left blank on dataentry 2011-02-15 22:00:49 -04:00
Roberto Rosario 95359091e9 If metadata field not required insert a blank placeholder to lookup field 2011-02-15 21:58:44 -04:00
Roberto Rosario ac81a5a2f5 Added 'No' button to document delete confirmation 2011-02-15 20:58:24 -04:00
Roberto Rosario 06d150b8e5 Reformed generic_confirm template better integrate appearance 2011-02-15 20:55:28 -04:00
Roberto Rosario 1b494b4200 Make default transformation application a method of Document, and execute on both upload methods 2011-02-15 20:44:19 -04:00
Roberto Rosario b217470283 Identify current document in a metadata group list 2011-02-15 20:32:34 -04:00
Roberto Rosario 9b0cecb4e0 Don't exclude current document from metadatagroup list, confuses users 2011-02-15 20:32:07 -04:00
Roberto Rosario fd101a4766 Exclude empty metadata from metadata group calculation 2011-02-15 20:25:51 -04:00
Roberto Rosario 35f2b1076e Make menu items clearer for users 2011-02-15 20:04:03 -04:00
Roberto Rosario 0eb9774618 Fixed regression caused by c8d5e26b4c 2011-02-15 19:56:03 -04:00
Roberto Rosario a154e762b4 Make staging file preview non scaling 2011-02-15 15:48:48 -04:00
Roberto Rosario c87b9932c6 Apply default transformations to staging previews 2011-02-15 15:48:31 -04:00
Roberto Rosario c8d5e26b4c Fix error accidental delete of staging file on preview 2011-02-15 15:27:34 -04:00
Roberto Rosario 52c2f7c1d4 Changed document menu layout 2011-02-15 12:06:05 -04:00
Roberto Rosario 081767df3e Updated Changelog 2011-02-15 02:06:24 -04:00
Roberto Rosario a2e6f223f4 Added role editing, creating and permission granting/revoking views 2011-02-15 01:43:25 -04:00
Roberto Rosario 93f74df2df Initial commit of permissions views 2011-02-14 20:48:53 -04:00
Roberto Rosario f66cb4392a Deleted line accidentally 2011-02-14 14:39:31 -04:00
Roberto Rosario 8d07419d01 Reverted unicode changes, made things worse 2011-02-14 14:32:59 -04:00
Roberto Rosario 64dce7ea3f Added missing closing parenthesis 2011-02-14 13:42:57 -04:00
Roberto Rosario e7600fa876 Handle unicode url data from the metadata 2011-02-14 13:41:15 -04:00
Roberto Rosario b2565b8223 Return 1 as page number is the file format is unknown 2011-02-14 13:40:48 -04:00
Roberto Rosario c0a00848c6 Spanish translation update 2011-02-14 02:28:48 -04:00
Roberto Rosario 72eb897e4d Change format as per ugettext request 2011-02-14 02:28:08 -04:00
Roberto Rosario fbc8bc960a Decoupled page transformation interface, added default transformation support 2011-02-14 02:11:39 -04:00
Roberto Rosario 06d7e5a46a Added multipage document support and document page transformation 2011-02-14 00:18:16 -04:00
Roberto Rosario 65d1e5b176 Initial updates to support document tranformations 2011-02-13 17:01:51 -04:00
Roberto Rosario 344a613514 Final changes to support permissions and roles 2011-02-13 04:33:40 -04:00
Roberto Rosario a47ff7c4b4 Initial updates to support permissions 2011-02-12 05:45:34 -04:00
Roberto Rosario 0ece9d1970 Fixed OCR error reporting 2011-02-12 04:45:18 -04:00
Roberto Rosario 1786764e5f New abstracted options to adjust document conversion quality (default, low, high) 2011-02-12 04:12:39 -04:00
Roberto Rosario f3fab1b7d9 Finished adding metadata based groups 2011-02-12 01:57:24 -04:00
Roberto Rosario c83c2e0d46 First commit to add metadata groups 2011-02-11 23:08:00 -04:00
Roberto Rosario 369f89f8a6 Silence development messages 2011-02-11 20:22:05 -04:00
Roberto Rosario 1c41b6e05c Added link to delete a staging file 2011-02-11 20:18:41 -04:00
Roberto Rosario c716f468d3 Disabled unoconv 2011-02-11 11:13:18 -04:00
Roberto Rosario bca50a33bd Initial set of changes to support openoffice 2011-02-11 10:34:08 -04:00
Roberto Rosario c9b66cd46b Changed to a liquid css grid 2011-02-10 23:33:28 -04:00
Roberto Rosario 2aefe3d028 Moved 3 functions from views.py to utils.py 2011-02-10 23:16:19 -04:00
Roberto Rosario 651d5d0ce2 moved the document detail link to be next to the document edit link 2011-02-10 23:05:52 -04:00
Roberto Rosario b3c4144f5a The default for 'upload using same metadata' is to only create one document 2011-02-10 23:05:03 -04:00
Roberto Rosario d4f685cd17 Skip step 1 of create document wizard if only one document type exists 2011-02-10 23:04:33 -04:00
Roberto Rosario 8df0747ec2 Updated TODO 2011-02-10 21:24:25 -04:00
Roberto Rosario 58d6ef7933 Hide header in search results view 2011-02-10 21:24:09 -04:00
Roberto Rosario 492a346560 Updated Changelog 2011-02-10 21:17:42 -04:00
Roberto Rosario 0a91654498 Updated project description 2011-02-10 21:16:51 -04:00
Roberto Rosario 350fdee9c9 Show only document metadata in document list view 2011-02-10 21:16:33 -04:00
Roberto Rosario 81308b1229 Updated the screenshot link in README file 2011-02-10 20:57:24 -04:00
Roberto Rosario f41a2765d9 Updated CREADITS file to include python-magic 2011-02-10 19:16:32 -04:00
Roberto Rosario 07ac315ac8 Added python-magic for smarter MIME type detection and a new document field: file_mime_encoding 2011-02-10 19:01:55 -04:00
Roberto Rosario f7b560853b Changed the label message to better reflect its usage 2011-02-10 19:00:58 -04:00
Roberto Rosario 50ae43537c Cleanups 2011-02-10 16:31:10 -04:00
Roberto Rosario ce12e68c08 try to fix the document name issue when downloading a document 2011-02-10 10:53:58 -04:00
Roberto Rosario 460ba63740 Added a non scaling fancybox for display size view 2011-02-10 10:53:40 -04:00
Roberto Rosario eb022a821f Remarked two imports by mistake 2011-02-10 10:36:37 -04:00
Roberto Rosario 78f125b3ad Added document preview and display size view, merged with 960 grid branch 2011-02-10 10:33:57 -04:00
Roberto Rosario 7960438944 Merge branch '960' into merge_test 2011-02-10 09:28:02 -04:00
Roberto Rosario e8ee0cdaaa Spanish translation updates 2011-02-10 09:22:13 -04:00
Roberto Rosario ae2ea5c48f Updated TODO 2011-02-10 02:46:28 -04:00
Roberto Rosario 1bf3c92491 Improved document thumbnail creation logic 2011-02-10 01:47:33 -04:00
Roberto Rosario b1516acb4b Added a cache_cleanup function 2011-02-10 01:39:01 -04:00
Roberto Rosario a1da232ee9 Improved image cache filename creation 2011-02-10 01:29:39 -04:00
Roberto Rosario adf4608a0c It's more reliable to calculate the document checksum on the view and not on the save method, cache thumbnails and previews using document checksum and not the uuid 2011-02-10 01:06:28 -04:00
Roberto Rosario 07403954b5 Updated TODO 2011-02-10 00:16:32 -04:00
Roberto Rosario 4ecbf5c13f Removed colums definitions as they are now define in __init__.py 2011-02-10 00:16:07 -04:00
Roberto Rosario 9374448eb0 Improved the text of the link 2011-02-10 00:15:00 -04:00
Roberto Rosario f58c17e6c7 Clean up 2011-02-10 00:14:33 -04:00
Roberto Rosario b12ddb7cc4 Added method to link a model with it's column list to display on the generic list template, this way the same column layout is displayed regarless of the view that generates it. 2011-02-10 00:13:30 -04:00
Roberto Rosario fbafb385e5 Changed to a more descriptive message 2011-02-09 23:41:22 -04:00
Roberto Rosario 4c09c87aa6 Only display OCR link in document details 2011-02-09 23:40:51 -04:00
Roberto Rosario ce2c061a3a Change single quotes to doublequotes 2011-02-09 23:40:32 -04:00
Roberto Rosario 9c601757a1 Finished document metadata editing changes 2011-02-09 23:22:52 -04:00
Roberto Rosario 9d046a96af Initial updates to add document metadata editing 2011-02-09 16:43:40 -04:00
Roberto Rosario f3f763d762 Added new view to quickly upload a new document using another document's metadata 2011-02-09 16:18:44 -04:00
Roberto Rosario ba64dbb4e2 Recreased severity when creating filesystem links 2011-02-09 14:09:49 -04:00
Roberto Rosario d6afcc64bb Changed file permissions 2011-02-09 13:55:01 -04:00
Roberto Rosario 0a966ab4a4 Removed debug statement 2011-02-09 13:51:41 -04:00
Roberto Rosario 07d4166d1f Fixed convert argumnet passing 2011-02-09 13:49:42 -04:00
Roberto Rosario 57704f3cd0 Added view to display project settings 2011-02-09 12:31:27 -04:00
Roberto Rosario 77aa263304 Added sanity checks and better error handling 2011-02-09 12:31:01 -04:00
Roberto Rosario ef8ced4013 Fixed typos in the settings names 2011-02-09 12:30:35 -04:00
Roberto Rosario afdf87305f Better handling of the convert subprocess 2011-02-09 12:30:09 -04:00
Roberto Rosario d3d9ac38a1 Check for functions before dictionaries, some lambda functions were being interpreted as dict() 2011-02-09 12:29:26 -04:00
Roberto Rosario 600b94bbda Added setting for the converter, ocr and a missing one from document app 2011-02-09 12:28:48 -04:00
Roberto Rosario 1dbce31971 Readded TODO 2011-02-09 10:50:47 -04:00
Roberto Rosario bd38a32af1 Merge remote branch 'origin/master'
Conflicts:
	docs/TODO
2011-02-09 10:47:33 -04:00
Roberto Rosario e2fd97043e Updated TODO 2011-02-09 02:37:51 -04:00
Roberto Rosario f47f1e11a4 Updated README 2011-02-09 02:27:32 -04:00
Roberto Rosario ca271f5b0c Updated README 2011-02-09 02:21:28 -04:00
Roberto Rosario da780b8f43 Updated about template 2011-02-09 02:21:16 -04:00
Roberto Rosario 50b6164bd8 Updated Readme, added CREDITS file 2011-02-09 02:12:37 -04:00
Roberto Rosario 6569faad11 Added OCR capabilites 2011-02-09 02:12:14 -04:00
Roberto Rosario 52bee20025 Added document thumbnail previews in document list view 2011-02-08 20:35:29 -04:00
Roberto Rosario 0c5b03b715 Moved pretty_size function to common.utils 2011-02-08 19:47:42 -04:00
Roberto Rosario 37f74a3f26 Moved the converter to its own app 2011-02-08 19:46:46 -04:00
Roberto Rosario 584f525783 Added document size display and now the preview link is available in any view 2011-02-08 19:22:01 -04:00
Roberto Rosario dabe8fad19 Added document preview link and download link 2011-02-08 19:07:00 -04:00
Roberto Rosario 79d7932df0 Added staging file previews support 2011-02-08 17:57:12 -04:00
Roberto Rosario e2bec1745c Merge remote branch 'origin/master'
Conflicts:
	docs/TODO
2011-02-08 02:25:01 -04:00
Roberto Rosario 52843c3e98 Updated TODO 2011-02-08 02:18:23 -04:00
Roberto Rosario e146e2f0e2 First try at implementing required / optional metadata 2011-02-08 02:18:02 -04:00
Roberto Rosario 9a985028eb Cleanups 2011-02-08 02:17:23 -04:00
Roberto Rosario e40686f593 Cleanups 2011-02-08 02:17:06 -04:00
Roberto Rosario 90a0eb23b0 Updated TODO 2011-02-08 02:16:49 -04:00
Roberto Rosario b2aaee514f Make document metadata readonly until signal are implemented 2011-02-08 02:16:25 -04:00
Roberto Rosario 2f22e8b848 Cleanups 2011-02-08 02:16:14 -04:00
Roberto Rosario 0674dedd4a Completed refactoring of filesystem indexing 2011-02-08 01:35:24 -04:00
Roberto Rosario 5b9369057b Updated TODO 2011-02-07 20:21:41 -04:00
Roberto Rosario 9d23754bcf Added a messages block for general use 2011-02-07 20:21:25 -04:00
Roberto Rosario 2c9306c04f Initial commit of the new filesystem indexing system 2011-02-07 20:20:57 -04:00
Roberto Rosario b36f34e570 Merge remote branch 'origin/master' 2011-02-07 18:18:31 -04:00
Roberto Rosario 1a686a4e60 Redirect to login url after logout 2011-02-07 18:18:11 -04:00
Roberto Rosario c618952f00 Added css grid support to generic_forms template 2011-02-07 17:30:41 -04:00
Roberto Rosario c096e95522 Updated TODO 2011-02-07 16:21:39 -04:00
Roberto Rosario 791742811f Staging file are now indexed by a file content hash, fixed staging file rename on upload 2011-02-07 16:04:17 -04:00
Roberto Rosario 2ddab79ff5 Added translatable label for staing files 2011-02-07 16:03:21 -04:00
Roberto Rosario 765606315d Function is called get_full_name, not full_name 2011-02-07 14:38:20 -04:00
Roberto Rosario d6bca8a858 Fix typo from last commit 2011-02-07 14:35:35 -04:00
Roberto Rosario f2aae01780 Display user full name then fallback to username and only display change password link is user has usable password 2011-02-07 14:34:26 -04:00
Roberto Rosario be267c476c Catch error when listing staging files fails 2011-02-07 14:33:58 -04:00
Roberto Rosario a8bd7da2e2 Spanish translation 2011-02-07 01:43:52 -04:00
Roberto Rosario 7aef3dc245 Update TODO 2011-02-07 01:20:13 -04:00
Roberto Rosario d30395e480 Improved data added format in document view and document list views 2011-02-07 01:19:32 -04:00
Roberto Rosario fbd5f0f213 Have everybody call the same return_attrib function 2011-02-07 01:17:01 -04:00
Roberto Rosario 07e2ca0e7f Successfully merged staging file upload and local file upload views and forms 2011-02-07 00:58:09 -04:00
Roberto Rosario 33e8dcf4dc Allow generic form template to handle multiple form on the same page 2011-02-07 00:57:33 -04:00
Roberto Rosario 7da543f7d3 Make document type available names list, available in document edit view 2011-02-06 23:20:16 -04:00
Roberto Rosario c0989f016f Updated TODO 2011-02-06 22:45:30 -04:00
Roberto Rosario 966f8328d1 Added comments to class 2011-02-06 22:45:21 -04:00
Roberto Rosario a3af46e25e Add Document model method to check if a document exists in the storage backend 2011-02-06 22:44:16 -04:00
Roberto Rosario 1d70d68505 Document file storage is can now be changed from the settings.py file, better configuration options names 2011-02-06 22:22:01 -04:00
Roberto Rosario f38561099c Added option to enable/disable staging file uploads, added better error reporting when creating staging files list 2011-02-06 20:01:55 -04:00
Roberto Rosario 0ee072f294 Increased fieldsizes 2011-02-06 19:43:48 -04:00
Roberto Rosario 79d7c037ee Updated TODO 2011-02-06 13:25:59 -04:00
Roberto Rosario 0e250073f3 Update staging files metadata from url query 2011-02-06 13:25:33 -04:00
Roberto Rosario 5c99f8bcb5 Fixed typo 2011-02-06 04:21:16 -04:00
Roberto Rosario 23dada1b01 Fixed typo in readme, added LICENSE file 2011-02-06 04:20:51 -04:00
Roberto Rosario 411b701cb0 Added Readme file 2011-02-06 04:16:36 -04:00
Roberto Rosario 8a32e053a8 Minor typo, updated TODO 2011-02-06 04:16:22 -04:00
Roberto Rosario 7ce3a894d0 Implemeted deleting staging files after upload 2011-02-06 04:04:46 -04:00
Roberto Rosario 858592fc5b Implemented lookups in metadata 2011-02-06 03:51:10 -04:00
Roberto Rosario b0f31f2a8f Reverted back to previous upload method, but now using SimpleUploadedFile to upload staging files 2011-02-06 03:29:39 -04:00
Roberto Rosario 729514c9da Updated application defaults 2011-02-05 23:02:18 -04:00
Roberto Rosario 7396d8b172 list only files in staging, ignore directories 2011-02-05 23:01:59 -04:00
Roberto Rosario d8d8c75a28 Complete refactoring to allow out of order document, document file or metadata creation 2011-02-05 21:00:23 -04:00
Roberto Rosario 52b0da385e Added missing import 2011-02-05 03:19:13 -04:00
Roberto Rosario c59d6640f4 Removed unneeded html tags 2011-02-05 03:14:36 -04:00
Roberto Rosario 31de721ea8 Updated TODO 2011-02-05 03:13:12 -04:00
Roberto Rosario a45012b40e Mark null mimetypes as 'unknown', fixing the mimetype NULL not allowed on document save error 2011-02-05 03:12:23 -04:00
Roberto Rosario 828bd4e020 Further improved exception reporting when creating or deleting filesystem links 2011-02-05 03:05:58 -04:00
Roberto Rosario 2ec201e5e4 Added placeholder remarked default settings to the settings.py file 2011-02-05 03:05:24 -04:00
Roberto Rosario 5e4456c0bd Added document edit view 2011-02-05 02:37:33 -04:00
Roberto Rosario 9a518f6c63 Improved link navigation and added document details links 2011-02-05 02:18:44 -04:00
Roberto Rosario ab34061e52 Added forced login middleware 2011-02-05 02:18:28 -04:00
Roberto Rosario f709a40a27 Implemented document delete view 2011-02-05 02:02:36 -04:00
Roberto Rosario 03f7b7c9ab Created views to upload a single or multiple documents with same metadata 2011-02-05 01:30:32 -04:00
Roberto Rosario b3b704346f Initial staging file handling 2011-02-04 16:43:02 -04:00
Roberto Rosario 96219860d0 Added production requeriments file 2011-02-04 15:33:35 -04:00
Roberto Rosario f87a146734 Initial instructions for serving files with samba 2011-02-04 15:32:39 -04:00
Roberto Rosario 16125bbdd0 Added enable/disable support to document rename model 2011-02-04 15:16:57 -04:00
Roberto Rosario e479bb0f55 Added wsgi file 2011-02-04 13:21:28 -04:00
Roberto Rosario 1a10e77918 Fixed typo 2011-02-04 13:17:58 -04:00
Roberto Rosario c7b098b41f Improved error message reporting when creating filesystem directories or links 2011-02-04 13:17:36 -04:00
Roberto Rosario d80584d087 Added user configurable document checksumming 2011-02-04 13:09:43 -04:00
Roberto Rosario 68fea011f6 Fixed duplicated search results 2011-02-04 02:30:06 -04:00
Roberto Rosario 8e4e923531 Updated TODO 2011-02-04 02:25:00 -04:00
Roberto Rosario 07006f5b78 Updated TODO 2011-02-04 02:07:58 -04:00
Roberto Rosario 80d0a2a359 Added support for filerenaming on upload 2011-02-04 02:07:06 -04:00
Roberto Rosario 58a635412c Register document meta data values in search 2011-02-04 01:47:27 -04:00
Roberto Rosario 6243a2f1f6 Hide the document type field if document type is specified in the form's initial values 2011-02-04 01:39:39 -04:00
Roberto Rosario 5e524fb825 Better solution to the extension separator problem 2011-02-04 01:19:15 -04:00
Roberto Rosario 50e471bf6b Updated TODO 2011-02-04 01:12:59 -04:00
Roberto Rosario b723dc3c42 Improved administration views 2011-02-04 01:12:46 -04:00
Roberto Rosario a1a05d4b10 Added support for the NO SLUGIFY option and fixed problem with filename extension separator when re composing the filename 2011-02-04 01:12:02 -04:00
Roberto Rosario 6d361cf420 Added metadata symlink creation 2011-02-04 01:02:14 -04:00
Roberto Rosario 34493262fd Removed setup top menu 2011-02-03 23:18:54 -04:00
Roberto Rosario 1105c1f839 Updated project description 2011-02-03 22:52:54 -04:00
Roberto Rosario 4336ffd44b Updated TODO 2011-02-03 22:52:41 -04:00
Roberto Rosario 327a00ede6 Added search app 2011-02-03 22:52:25 -04:00
Roberto Rosario 5854a1ce50 Added document detail view 2011-02-03 22:46:51 -04:00
Roberto Rosario e275b58fd8 Merge remote branch 'origin/master' 2011-02-03 21:07:15 -04:00
Roberto Rosario ba170bacd3 Enable Metadata's default option, using user definable functions 2011-02-03 21:05:06 -04:00
Roberto Rosario c455f1b453 Pre focus the first editable field in form unsing jquery 2011-02-03 21:04:37 -04:00
Roberto Rosario 5ff9fe41df Installed grappelli inline with the source 2011-02-03 20:31:38 -04:00
Roberto Rosario 38b363f2bd Readded media file again 2011-02-03 20:26:23 -04:00
Roberto Rosario 930b25da03 Deleted submodule web_theme/media 2011-02-03 20:24:50 -04:00
Roberto Rosario bb0d884eea Readded synlink 2011-02-03 20:19:34 -04:00
Roberto Rosario e27cb07398 Deleted synlink 2011-02-03 20:18:45 -04:00
Roberto Rosario d862dfc2a6 Cleanups 2011-02-03 20:18:29 -04:00
Roberto Rosario f75f7e2ac4 Added development requirements file 2011-02-03 20:17:44 -04:00
Roberto Rosario 2921f8c67a Multiple document upload support 2011-02-03 17:27:23 -04:00
Roberto Rosario 986dc5d805 Document upload and metadata input working 2011-02-03 17:17:04 -04:00
Roberto Rosario fc6545f45a Updated gitignore to ignore all sqlite databases 2011-02-03 12:44:14 -04:00
Roberto Rosario 2b1e1be680 First commit 2011-02-03 12:39:23 -04:00
2499 changed files with 306758 additions and 2270 deletions
+10
View File
@@ -0,0 +1,10 @@
[run]
source=
mayan
omit=
mayan/bin/mayan-edms.py
mayan/wsgi.py
mayan/settings/*
tests.py
mayan/apps/*/tests/*
*migrations*
+28
View File
@@ -0,0 +1,28 @@
*.orig
*.pyc
*.pyo
*.sqlite
*.sqlite3
settings_local.py
/celerybeat-schedule
document_storage/
/misc/mayan.geany
mayan/media/document_cache/
build/
_build/
gpg_home/
/mayan/media/static/
/whoosh_index/
/fabfile_install
/venv/
.coverage
/dist/
.idea/
static_collected/
*egg-info*
mayan/settings/local.py
.vagrant
.tox/
coverage.xml
.coverage.tox*
htmlcov/
+35
View File
@@ -0,0 +1,35 @@
image: python:2.7
services:
- mysql
- postgres
before_script:
- apt-get update -qq
- apt-get install -qq python-dev gcc tesseract-ocr tesseract-ocr-deu unpaper ghostscript libjpeg-dev libpng-dev libtiff-dev poppler-utils libreoffice
variables:
POSTGRES_DB: "mayan_edms"
POSTGRES_PASSWORD: "postgres"
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
MYSQL_DATABASE: "mayan_edms"
#test:mysql:
# script:
# - pip install -r requirements/testing.txt
# - pip install -q mysql-python
# - apt-get install -qq mysql-client
# - mysql -h"$MYSQL_PORT_3306_TCP_ADDR" -P"$MYSQL_PORT_3306_TCP_PORT" -uroot -p"$MYSQL_ENV_MYSQL_ROOT_PASSWORD" -e "ALTER DATABASE $MYSQL_DATABASE CHARACTER SET utf8 COLLATE utf8_unicode_ci;"
# - coverage run manage.py runtests --settings=mayan.settings.testing.gitlab-ci.db_mysql --nomigrations
# - bash <(curl https://raw.githubusercontent.com/codecov/codecov-bash/master/codecov) -t $CODECOV_TOKEN
# tags:
# - mysql
#test:postgres:
# script:
# - pip install -r requirements/testing.txt
# - pip install -q psycopg2
# - coverage run manage.py runtests --settings=mayan.settings.testing.gitlab-ci.db_postgres --nomigrations
# - bash <(curl https://raw.githubusercontent.com/codecov/codecov-bash/master/codecov) -t $CODECOV_TOKEN
# tags:
# - postgres
#test:sqlite:
# script:
# - pip install -r requirements/testing.txt
# - coverage run manage.py runtests --settings=mayan.settings.testing.gitlab-ci --nomigrations
# - bash <(curl https://raw.githubusercontent.com/codecov/codecov-bash/master/codecov) -t $CODECOV_TOKEN
+21
View File
@@ -0,0 +1,21 @@
language: python
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-dev gcc tesseract-ocr tesseract-ocr-deu unpaper ghostscript libjpeg-dev libpng-dev poppler-utils
install:
- pip install -r requirements/testing.txt
- pip install -q mysql-python
- pip install -q psycopg2
before_script:
- mysql -u root -e 'create database mayan_edms;'
- psql -c 'create database mayan_edms;' -U postgres
script:
- export TEST_APPS="acls authentication django_gpg document_indexing document_signatures documents dynamic_search folders lock_manager ocr permissions sources tags"
- coverage run manage.py test $TEST_APPS --settings=mayan.settings.testing.base
- coverage run manage.py test $TEST_APPS --settings=mayan.settings.magnum.db_mysql
- coverage run manage.py test $TEST_APPS --settings=mayan.settings.magnum.db_postgres
after_script:
- coveralls
services:
- mysql
- postgresql
+34
View File
@@ -0,0 +1,34 @@
language: python
python:
- 2.7
env:
matrix:
- DB=mysql
- DB=postgres
- DB=sqlite
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-dev gcc tesseract-ocr tesseract-ocr-deu unpaper ghostscript libjpeg-dev libpng-dev poppler-utils libreoffice
install:
- "pip install -r requirements/testing.txt"
- if [[ $DB == mysql ]]; then pip install -q mysql-python; fi
- if [[ $DB == postgres ]]; then pip install -q psycopg2; fi
before_script:
- mysql -e 'create database mayan_edms;'
- psql -c 'create database mayan_edms;' -U postgres
script:
- if [[ $DB == mysql ]]; then coverage run manage.py runtests --settings=mayan.settings.testing.travis.db_mysql --nomigrations; fi
- if [[ $DB == postgres ]]; then coverage run manage.py runtests --settings=mayan.settings.testing.travis.db_postgres --nomigrations; fi
- if [[ $DB == sqlite ]]; then coverage run manage.py runtests --settings=mayan.settings.testing.base --nomigrations; fi
after_success:
- coveralls
branches:
only:
- master
- development
notifications:
email:
recipients:
- roberto.rosario@mayan-edms.com
on_success: never
on_failure: always
+194
View File
@@ -0,0 +1,194 @@
[main]
host = https://www.transifex.com
[mayan-edms.acls-2-0]
file_filter = mayan/apps/acls/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/acls/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.appearance-2-0]
file_filter = mayan/apps/appearance/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/appearance/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.authentication-2-0]
file_filter = mayan/apps/authentication/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/authentication/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.checkouts-2-0]
file_filter = mayan/apps/checkouts/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/checkouts/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.common-2-0]
file_filter = mayan/apps/common/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/common/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.converter-2-0]
file_filter = mayan/apps/converter/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/converter/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.django_gpg-2-0]
file_filter = mayan/apps/django_gpg/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/django_gpg/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.documents-2-0]
file_filter = mayan/apps/documents/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/documents/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.document_comments-2-0]
file_filter = mayan/apps/document_comments/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/document_comments/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.document_indexing-2-0]
file_filter = mayan/apps/document_indexing/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/document_indexing/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.document_signatures-2-0]
file_filter = mayan/apps/document_signatures/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/document_signatures/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.document_states-2-0]
file_filter = mayan/apps/document_states/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/document_states/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.dynamic_search-2-0]
file_filter = mayan/apps/dynamic_search/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/dynamic_search/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.events-2-0]
file_filter = mayan/apps/events/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/events/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.folders-2-0]
file_filter = mayan/apps/folders/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/folders/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.installation-2-0]
file_filter = mayan/apps/installation/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/installation/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.linking-2-0]
file_filter = mayan/apps/linking/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/linking/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.lock_manager-2-0]
file_filter = mayan/apps/lock_manager/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/lock_manager/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.mailer-2-0]
file_filter = mayan/apps/mailer/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/mailer/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.metadata-2-0]
file_filter = mayan/apps/metadata/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/metadata/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.mirroring-2-0]
file_filter = mayan/apps/mirroring/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/mirroring/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.mirroring-2-0]
file_filter = mayan/apps/mirroring/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/mirroring/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.motd-2-0]
file_filter = mayan/apps/motd/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/motd/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.ocr-2-0]
file_filter = mayan/apps/ocr/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/ocr/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.permissions-2-0]
file_filter = mayan/apps/permissions/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/permissions/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.rest_api-2-0]
file_filter = mayan/apps/rest_api/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/rest_api/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.smart_settings-2-0]
file_filter = mayan/apps/smart_settings/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/smart_settings/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.sources-2-0]
file_filter = mayan/apps/sources/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/sources/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.statistics-2-0]
file_filter = mayan/apps/statistics/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/statistics/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.storage-2-0]
file_filter = mayan/apps/storage/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/storage/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.tags-2-0]
file_filter = mayan/apps/tags/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/tags/locale/en/LC_MESSAGES/django.po
type = PO
[mayan-edms.user_management-2-0]
file_filter = mayan/apps/user_management/locale/<lang>/LC_MESSAGES/django.po
source_lang = en
source_file = mayan/apps/user_management/locale/en/LC_MESSAGES/django.po
type = PO
+200
View File
@@ -0,0 +1,200 @@
2.1.4 (2016-XX-XX)
==================
- Add missing link to the 2.1.3 release notes in the index file.
- Improve TempfileCheckMixin.
2.1.3 (2016-06-29)
==================
- Add help message when initialsetup migration phase fails. Relates to GitLab issue #296.
- Start using self.setdout instead of print as per documentation.
- Fix GitLab issue #295, "When editing a user the top bar jumps to the name of the user".
- Normalize handling of temporary file and directory creation.
- Fix GitLab issue #309, "Temp files quickly filling-up my /tmp (1GB tmpfs)".
- Explicitly check for residual temporary files in tests.
- Add missing temporary file cleanup for office documents.
- Fix file descriptor leak in the document signature download test.
2.1.2 (2016-05-20)
==================
- Sort document languages and user profile locale language lists. GitLab issue #292.
- Fix metadata lookup for {{ users }} and {{ group }}. Fixes GitLab #290.
- Add Makefile for common development tasks
2.1.1 (2016-05-17)
==================
- Fix navigation issue that make it impossible to add new sources. GitLab issue #288.
- The Tesseract OCR backend now reports if the requested language file is missing. GitLab issue #289.
- Ensure the automatic default index is created after the default document type.
2.1 (2016-05-14)
================
- Upgrade to use Django 1.8.13. Issue #246.
- Upgrade requirements.
- Remove remaining references to Django's User model. GitLab issue #225
- Rename 'Content' search box to 'OCR'.
- Remove included login required middleware using django-stronghold instead (http://mikegrouchy.com/django-stronghold/).
- Improve generation of success and error messages for class based views.
- Remove ownership concept from folders.
- Replace strip_spaces middleware with the spaceless template tag. GitLab issue #255
- Deselect the update checkbox for optional metadata by default.
- Silence all Django 1.8 model import warnings.
- Implement per document type document creation permission. Closes GitLab issue #232.
- Add icons to the document face menu links.
- Increase icon to text spacing to 3px.
- Make document type delete time period optional.
- Fixed date locale handling in document properties, checkout and user detail views.
- Add new permission: checkout details view.
- Add HTML5 upload widget. Issue #162.
- Add Message of the Day app. Issue #222
- Update Document model's uuid field to use Django's native UUIDField class.
- Add new split view index navigation
- Newly uploaded documents appear in the Recent document list of the user.
- Document indexes now have ACL support.
- Remove the document index setup permission.
- Status messages now display the object class on which they operate not just the word "Object".
- More tests added.
- Handle unicode filenames in staging folders.
- Add staging file deletion permission.
- New document_signature_view permission.
- Add support for signing documents.
- Instead of multiple keyservers only one keyserver is now supported.
- Replace document type selection widget with an opened selection list.
- Add mailing documentation chapter.
- Add roadmap documentation chapter.
- API updates.
2.0.2 (2016-02-09)
==================
- Install testing dependencies when installing development dependencies.
- Fix GitLab issue #250 "Empty optional lookup metadata trigger validation error".
- Fix OCR API test.
- Move metadata form value validation to .clean() method.
- Only extract validation error messages from ValidationError exception instances.
- Don't store empty metadata value if the update checkbox is not checked.
- Add 2 second delay to document version tests to workaround MySQL limitation.
- Strip HTML tags from the browser title.
- Remove Docker and Docker Compose files.
2.0.1 (2016-01-22)
==================
- Fix GitLab issue #243, "System allows a user to skip entering values for a required metadata field while uploading a new document"
- Fix GitLab issue #245, "Add multiple metadata not possible"
- Updated Vagrantfile to provision a production box too.
2.0 (2015-12-04)
================
- New source homepage: https://gitlab.com/mayan-edms/mayan-edms
- Update to Django 1.7
- New Bootstrap Frontend UI
- Easier theming and rebranding
- Improved page navigation interface
- Menu reorganization
- Removal of famfam icon set
- Improved document preview generation
- Document submission for OCR changed to POST
- New YAML based settings system
- Removal of auto admin creation as separate app
- Removal of dependencies
- ACL system refactor
- Object access control inheritance
- Removal of anonymous user support
- Metadata validators refactor
- Trash can support
- Retention policies
- Support for sharing indexes as FUSE filesystems
- Clickable preview images titles
- Removal of eval
- Smarter OCR, per page parsing or OCR fallback
- Improve failure tolerance (not all Operational Errors are critical now)
- RGB tags
- Default document type and default document source
- Link unbinding
- Statistics refactor
- Apps merge
- New signals
- Test improvements
- Indexes recalculation after document creation too
- Upgrade command
- OCR data moved to ocr app from documents app
- New internal document creation workflow return a document stub
- Auto console debug logging during development and info during production
- New class based and menu based navigation system
- New class based transformations
- Usage of Font Awesome icons set
- Management command to remove obsolete permissions: `purgepermissions`
- Normalization of 'title' and 'name' fields to 'label'
- Improved API, now at version 1
- Invert page title/project name order in browser title
- Django's class based views pagination
- Reduction of text strings
- Removal of the CombinedSource class
- Removal of default class ACLs
- Removal of the ImageMagick and GraphicsMagick converter backends
- Remove support for applying roles to new users automatically
- Removal of the DOCUMENT_RESTRICTIONS_OVERRIDE permission
- Removed the page_label field
1.1.1 (2015-05-21)
==================
- Update to Django 1.6.11
- Fix make_dist.sh script
- Add test for issue #163
- Activate tests for the sources app
- Removal of the registration app
- New simplified official project description
- Improvements to the index admin interface
- Removal of installation statistics gathering
- Remove unused folder tag
- Fix usage of ugettext to ugettext_lazy
- Increase size of the lock name field
- New style documentation
1.1 (2015-02-10)
================
- Uses Celery for background tasks
- Removal of the splash screen
- Adds a home view with common function buttons
- Support for sending and receiving documents via email
- Removed custom logging app in favor of django-actvity-stream
- Adds watch folders
- Includes Vagrant file for unified development and testing environments
- Per user locale profile (language and timezone)
- Includes news document workflow app
- Optional and required metadata types
- Improved testings. Automated tests against SQLite, MySQL, PostgreSQL
- Many new REST API endpoints added
- Simplified text messages
- Improved method for custom settings
- Addition of CORS support to the REST API
- Per document language setting instead of per installation language setting
- Metadata validation and parsing support
- Start of code updates towards Python 3 support
- Simplified UI
- Stable PDF previews generation
- More technical documentation
1.0 (2014-08-27)
================
- New home @ https://github.com/mayan-edms/mayan-edms
- Updated to use Django 1.6
- Translation updates
- Custom model properties removal
- Source code improvements
- Removal of included 3rd party modules
- Automatic testing and code coverage check
- Update of required modules and libraries versions
- Database connection leaks fixes
- Support for deletion of detached signatures
- Removal of Fabric based installations script
- Pluggable OCR backends
- OCR improvements
- License change, Mayan EDMS in now licensed under the Apache 2.0 License
- PyPI package, Mayan EDMS in now available on PyPI: https://pypi.python.org/pypi/mayan-edms/
- New REST API
+13
View File
@@ -0,0 +1,13 @@
Copyright 2011-2015 Roberto Rosario
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+3
View File
@@ -0,0 +1,3 @@
include README.rst LICENSE HISTORY.rst
recursive-include mayan *.txt *.html *.css *.ico *.png *.jpg *.js *.po *.mo *.ttf *.woff *.woff2 LICENSE
global-exclude mayan/settings/local.py mayan/settings/travis/* mayan/media/*
+113
View File
@@ -0,0 +1,113 @@
.PHONY: clean-pyc clean-build
define BROWSER_PYSCRIPT
import sys, webbrowser
webbrowser.open(sys.argv[1])
endef
export BROWSER_PYSCRIPT
BROWSER := python -c "$$BROWSER_PYSCRIPT"
help:
@echo
@echo "clean-build - Remove build artifacts."
@echo "clean-pyc - Remove Python artifacts."
@echo "clean - Remove Python and build artifacts."
@echo "test MODULE=<python module name> - Run tests for a single App, module or test class."
@echo "test-all - Run all tests."
@echo "docs_serve - Run the livehtml documentation generator."
@echo "translations_make - Refresh all translation files."
@echo "translations_compile - Compile all translation files."
@echo "translations_push - Upload all translation files to Transifex."
@echo "translations_pull - Download all translation files from Transifex."
@echo "requirements_dev - Install development requirements."
@echo "requirements_docs - Install documentation requirements."
@echo "requirements_testing - Install testing requirements."
@echo "sdist - Build the source distribution package."
@echo "wheel - Build the wheel distribution package."
@echo "release - Package (sdist and wheel) and upload a release."
@echo "runserver - Run the development server."
# Cleaning
clean: clean-build clean-pyc
clean-build:
rm -fr build/
rm -fr dist/
rm -fr *.egg-info
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
# Testing
test:
python -Wall ./manage.py test $(MODULE) --settings=mayan.settings.testing --nomigrations
test-all:
python -Wall ./manage.py runtests --settings=mayan.settings.testing --nomigrations
# Documentation
docs_serve:
$(BROWSER) http://127.0.0.1:8000
cd docs;make livehtml
# Translations
translations_make:
contrib/scripts/process_messages.py -m
translations_compile:
contrib/scripts/process_messages.py -c
translations_push:
tx push -s
translations_pull:
tx pull
# Requirements
requirements_dev:
pip install -r requirements/development.txt
requirements_docs:
pip install -r requirements/documentation.txt
requirements_testing:
pip install -r requirements/testing.txt
# Releases
release: clean
python setup.py sdist bdist_wheel upload
sdist: clean
python setup.py sdist
ls -l dist
wheel: clean
python setup.py bdist_wheel
ls -l dist
# Dev server
runserver:
$(BROWSER) http://127.0.0.1:8000
./manage.py runserver
+73
View File
@@ -0,0 +1,73 @@
|PyPI badge| |Build Status| |Coverage badge| |License badge|
|Logo|
Description
-----------
Free Open Source Electronic Document Management System.
`Website`_
`Video demostration`_
`Documentation`_
`Translations`_
`Mailing list (via Google Groups)`_
|Animation|
License
-------
This project is open sourced under `Apache 2.0 License`_.
Installation
------------
To install Mayan EDMS, simply do:
.. code-block:: bash
$ virtualenv venv
$ source venv/bin/activate
$ pip install mayan-edms
$ mayan-edms.py initialsetup
$ mayan-edms.py runserver
Point your browser to 127.0.0.1:8000 and use the automatically created admin
account.
Contribute
----------
- Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
- Fork `the repository`_ on GitLab to start making your changes to the **development** branch (or branch off of it).
- Write a test which shows that the bug was fixed or that the feature works as expected.
- Add yourself to the `contributors file`_.
- Send a merge request.
.. _Website: http://www.mayan-edms.com
.. _Video demostration: http://bit.ly/pADNXv
.. _Documentation: http://readthedocs.org/docs/mayan/en/latest/
.. _Translations: https://www.transifex.com/projects/p/mayan-edms/
.. _Mailing list (via Google Groups): http://groups.google.com/group/mayan-edms
.. _Apache 2.0 License: https://www.apache.org/licenses/LICENSE-2.0.txt
.. _`the repository`: http://gitlab.com/mayan-edms/mayan-edms
.. _`contributors file`: https://gitlab.com/mayan-edms/mayan-edms/blob/master/docs/topics/contributors.rst
.. |Build Status| image:: https://gitlab.com/mayan-edms/mayan-edms/badges/master/build.svg
:target: https://gitlab.com/mayan-edms/mayan-edms/commits/master
.. |Logo| image:: https://gitlab.com/mayan-edms/mayan-edms/raw/master/docs/_static/mayan_logo.png
.. |Animation| image:: https://gitlab.com/mayan-edms/mayan-edms/raw/master/docs/_static/overview.gif
.. |PyPI badge| image:: http://img.shields.io/pypi/v/mayan-edms.svg?style=flat
:target: http://badge.fury.io/py/mayan-edms
.. |License badge| image:: http://img.shields.io/badge/license-Apache%202.0-green.svg?style=flat
.. |Analytics| image:: https://ga-beacon.appspot.com/UA-52965619-2/mayan-edms/readme?pixel
.. |Coverage badge| image:: https://codecov.io/gitlab/mayan-edms/mayan-edms/coverage.svg?branch=master
:target: https://codecov.io/gitlab/mayan-edms/mayan-edms?branch=master
|Analytics|
Vendored
+33
View File
@@ -0,0 +1,33 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provider :lxc do |v, override|
override.vm.box = "fgrehm/trusty64-lxc"
end
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
# Development box
config.vm.define "development", autostart: false do |development|
development.vm.network "forwarded_port", guest: 8000, host: 8000
development.vm.synced_folder ".", "/mayan-edms-repository"
development.vm.provision :shell, :path => "contrib/scripts/install/development.sh", privileged: false
development.vm.provision "file", destination: "/home/vagrant/mayan-edms/mayan/settings/celery_redis.py", source: "contrib/settings/celery_redis.py"
development.vm.provision "file", destination: "/home/vagrant/mayan-edms/mayan_edms_worker.sh", source: "contrib/misc/mayan_edms_worker.sh"
end
# Production box
config.vm.define "production", autostart: false do |production|
production.vm.network "forwarded_port", guest: 80, host: 8080
production.vm.provision :shell, :path => "contrib/scripts/install/production.sh", privileged: true
end
end
View File
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
DJANGO_SETTINGS_MODULE='mayan.settings.celery_redis' celery -A mayan worker -l DEBUG -Ofair -B
+22
View File
@@ -0,0 +1,22 @@
server {
listen 80;
server_name localhost;
location / {
include uwsgi_params;
uwsgi_pass unix:/usr/share/mayan-edms/uwsgi.sock;
client_max_body_size 30M; # Increse if your plan to upload bigger documents
proxy_read_timeout 30s; # Increase if your document uploads take more than 30 seconds
}
location /static {
alias /usr/share/mayan-edms/mayan/media/static;
expires 1h;
}
location /favicon.ico {
alias /usr/share/mayan-edms/mayan/media/static/appearance/images/favicon.ico;
expires 1h;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.
@@ -0,0 +1,83 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP Universal 2.9.1 (Build 347)
mQENBE4rh5YBCADKxVsY///jvdY94GTyQopyzTDBBVdftJNlXrLdEz/YJTQV6Jty
ggUAgATw1bSZmKixgqGGD90QAt5+FXTdLJCKl9OKR/AyXnpp4OebmN+xw2jKzRcW
xJmrBoqcSH/b13QtPRt4AektgMKSKdaIbZ8bPYf91iQ8AxB4mwkYyO+QBGXZw6Vc
KmKiEkxYOx5NPVSI/GqyTqVZpb6qRkXzG7N+r7kIM0jesZM7IznR5dsGcqWwKBEz
o8dhO4jmSJsiIp/Cy3pOKLG1+qEqjlc7vBAARFtvzSNZTRGouXTDDDathEYAkex7
HtNF70CtSLSDbPhwriXfZkXqiL1PqYyZSfd7ABEBAAG0NFJvYmVydG8gUm9zYXJp
byA8cm9iZXJ0by5yb3NhcmlvLmdvbnphbGV6QGdtYWlsLmNvbT6JAT4EEwECACgF
Ak4rh5YCGyMFCQlmAYAGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEF8/f3XS
EHJNEUAH/1fsYyLF9tVnKyoCfOvPHhP1EytL6hti1iwS05DTIzkSLnVgpIvEEbq2
+IS32PU9c32+XW12fuAxMK5R3inmMyNIga4WSVsMI9JLSe2gvA7Bc+StldOQGv5f
GxHM1abaknJ2rKprS8qKsem/cq9NnnSxLljGQn3v6oC63wNaZLhP7heWGQrJdJid
O566CBEoRCbJxA1toTMT9nhEACYCIX9aE2BDk5PI6UJHeUMo9iD7y1ag+mCEGxVT
Vz/X8Hc8tSNieqI4iuhdTJzbtvSDqsOmceHMQFISuhnEHJM+4CQOtmsS3Ds+GUkP
5z48bjJuqGKcpdfzBq+w5WOKEoEFPmaJASIEEAECAAwFAlO4UvkFAwASdQAACgkQ
lxC4m8pXrXwGZAgAvQcsH+sUTW303M2T9/0FO3cPMhfTVctqHSiK3nWET93eW4lC
sKK/f/cxb9XdGOXhTePyXBvZHUQN4eC1+bLX5kjL/ZV9nkBT4gJ8+2lnPASJxOKp
vM89C1GC8hzSQTE1sxvOmyfn7DfgXzg6an7Zqxhk6lUPOqKe68HPP4W37Vp5QfAh
p931AUWlICgO+CvoIQ0Rkk1+Ro/jiXsYjjeBhgicxaFD7Q2zdlo3pms0L7oHvtv7
UBnygLKfr0HAOngP+zj0HZKhUnI1D+fsBBqGTb33qDcvn7YjZmu+E1gqGO/4Pnwz
6xxZg2GrK3hho1ahgvAXUcfykyA60CQzbmzbq7kBDQROK4eWAQgA0VP+ueoBQgNH
8wzBSbXo3XSMrpfO9sNAGR3k9D8Q8fUriJ1LCVd14yM6LC265tpuHciQBiGfWhVf
PU0L4oJLrPNlvM1wNJDpqkS1cXunLGhEcLfu3vl2torauqZdD76nSKxsLfTB/72m
u13FuWXI5pxT/aoHC/qmhOD3dXYEfAlfI/KM9VIpgpSP/qWUOOFRA718BNLiDRZG
AZsHCUdn90SyzMAESIz8wzVLhe9BwFhbK9kdOASrJTU+fq523VHGFH2qy8zeUrRj
MqB6p+Lw4eZBEfb86mJveWHCG9yd8EQT10uxoaqVOArozAsoYXHiAeZIhgI4tL5o
7ptQ1MdplwARAQABiQElBBgBAgAPBQJOK4eWAhsMBQkJZgGAAAoJEF8/f3XSEHJN
gvkH/1eGO6bjQf+h/SQDnOgdQ7k80ruR0G5+9OcEUy4HTJ8CrBInm0PX01L5Rdg4
PeJKsYjAdCDw8qFLmeX0xrzh1PXGplDXAQ/EK4Z5O0yywjd/H/S7jIuHJTeFKbhW
RkiJ0CQ5DSErrtFaC1V5YzTlj/ePSbnn7DQoBvL3vn0k86K1kbvmFG+dTr9MA8Ue
ZCk5uhGdfmgdWXjBjKM9huhG7ftLwmukFhRbX+KbWfmEoU0PA3FzcdnADbdwiwr3
V/eysQR3iWXrvgfWwk6WT+QmpDwwW7nvvsp8Vmm2gXHKV/0t6Cw8lJmEbJFt0wAA
G61jPawxT56NG/n3M+4i9VyoeOC5Ag0EUea3/gEQANUOBIyWZQr4a3qFgF5pvJrn
RSsXRGSYcnsuSkCz6rqkcePWhBAprlXyl7Qst0PqSk4kTsqkV+/zwe2lyziypWTH
vWpCX9XBvGa4NvHZSAxEUU41dsohfIxwxjqWvEAYQTMO6qjXbRY1rB+nkHrUzOTO
NXW7CTbkHS5LR+yH6dM80PyXXRlhRkd0vGmEzboQm7/ktphU9MyUbwtqPI4ou/fJ
bpO6Nz+D4qgm6nRuJP6oBwV1AFOe4gZO5m91zj7p9zaVHRk/+vMfi+LhYWR2h6Th
QJyOmH9mDgYs+NuSwo4LJbUFjA/ex/C7oa1EtPniLfntfVipPbzUL4j5aLiZeBE7
zuDRE411lpym1/Fp0uHKre5iCkvVUY43JMC4uB2UN48ZrWk7hXbLs/HtpJg2n+Zn
VkPkXOVEMM0lsUYJ7QkUnsQHw+pGxLBWe+OZbwYoUoXmAscKl8VvDoBHEqNX9IPM
mlrXQbnowJmgOQRxYw/OMJx3Q/KWhru3apF4Qvd22/J5GUZLlLohnVuWG76SSHhB
KAhvybl+p05Dr8fhVxrz+Km86fdb+4GHbLPPmcVNUNx9caLmbD0DQmRyf8yPUOWd
HGjUaPo2p9u7ggZKF4rykykKV95hakwI6MtDGBa7dPAGi0YP14kQt2zQmqvUqJ+N
94MPIkq1UJG/yUGhiCIfABEBAAGJA0QEGAECAA8FAlHmt/4CGwIFCQHhM4ACKQkQ
Xz9/ddIQck3BXSAEGQECAAYFAlHmt/4ACgkQ+dt4ozsoqdQBvA//eesB4+Q6+05C
kxgYndv3rDMEgX4vx3GNgGS0MC0wjXSv1SQKyZpNNy7PEUMQ5yefrf453L+X9w5J
Qi6KhGsDSH56kelqi+wh6TXMURETm1Le6fJMNWDCqOoiRZvyBs/za/WvluxZtFT7
7k5tE3JVFQCxWifvK3iTDLbK1vGM0IbZzjuIf3wqKb+yy4wmWt/PhRQTI6aGMe9F
LzEU1Zy/NgkFRx/t+2RfH+EIDri0WhardVD7gWsH1SHtWIo0cYSUc4CZn9H8aryb
LbACR3yP9OF+Ufz1FlUO1rtISq07XoGWTDR1yRgI/DOMquywDadxZn94nzGpDyQu
6B1UT8PxfKtrqrOONfJhkpFeGYarjJ4Lyhz2246YRBzhaMJ7cP6pMpFbkOYcIaad
ABrl30TusiQQ7EvZ5es3FO4cG3kUCNK1hZEU2spg5PEKoRVckrx3mC2JotdGcGF/
JKmDeOji/gbI7/k9lbGg1cFDGWUK1F83AW+HF6QAtlmz8YIUeP4C6Ik6zuS3bm39
PdepO4CuxVgGy+7qDl7Jvgw/tYCRydI7+0e7cdgAkxS47gtZM8k3uvx4/h+zgZ+2
J3lyvADPx9k2ZPerRcaKIQmL9fyJUqt6NX5a4+OL+ylrdsKv+HJ5agMOp+TJeW7n
ZVFunJFZ6LmnN5Q8deugyNUmZuFYyMWdSQf8CbtlXuPa+KtkEHBiBZhncjLJBE7d
uxtb28F+ooDMds+EXyS7S59beOv6rgvRR+1mbILg2b/CzbNeQgWR3AkflZvo6D4R
+EwbD4L5rHKOF++QQhKIdjlne8DL5g47rgQRDrSfiRq+sHjQQTJTl06GNvatRhnt
rJDOU58+8mnrMm3clU2+rTwf9sEM6eApr1Slq7o2Va/IKVLhK1MO4ZItixgW+57e
h3surgTSiY/2l9+uZaSqjsqhEKLh5/ZKqSAZoVDGYoe+wDiwmJhRSQ4ZE+Y4uV2h
5zjUThSGCAXj1POdvoams+3yZQ6iDQG80/Fp2vg2XbYQYHb8ADymbPXwpLkCDQRR
5rkXARAAm9HpmBe3DJfedn/sWUKddh3/lHHLa+JMVYdwngN/G2RM9No4Bkw9nfuC
D6gGJGFDffM3wTtWMc4nn6Jb2jOfXpmgh8WeYHith5yvBA7ruRy18McLAvHIJvPU
y3vRmATZQ/h5TC4AY0TaQb+o4YBXafWhodV8oscTX8te8NLDAIWgFoBzlHArflI0
lObbSPXsLlzuQeB0qki5cNiljEzZuklIhJGeiuLDwN9a3L/1iYNdZA9swEfIKFvR
qujfZ+1Oz9RO7PrQwFNz7JLqnwWLYNQ44JPoWKANYoPaHT5T2bF6sQAtsrzJi0/S
0H+O0U61MNb6HqmYjxZC1/RTDGIjEempC6vcpjBXcEdGL5sGGARz0OUpx0+vlZvx
GPFp8bN2q47BCT8kcFxPjm4tKG2wrBsKR4irkABtrLH7h5ajBO6Ru5XRM9yGpBIX
2r1ds9jtlrdNkrUjfoJQWNKCNCJG+/YDqyGEb3S3kKqGlotFlq4Row5u4nW/NG51
knNPUWftMnuTsNQ4NQYDLd8aFjYSCdZqc6wsX2tLJehLUBqk93F11PPPKfgrg2MQ
+GIp/x/QXgoSnYfpGt6YsHet/R+f2I7xLaSxVFHjRJK6yHUhxJkfxrVHXPOuGayz
SpDa+Tx2bfnGiFIrPTfg7kUGM8DCBeevOZCrLvRhhuXi5Ne78u8AEQEAAYkBJQQY
AQIADwUCUea5FwIbDAUJAeEzgAAKCRBfP3910hByTXpIB/0RhvyqszTWmDWSgIx2
oYibWEXX4SrCWtQ69LTEy49vv7gcfT+hzgfayQv1WzMIgS91F1+WUM833el2iriS
JK+VwX4emsZ/yYO0ailtbhqKg52wDMk84Jk1pagZQLoFzSwYgAt4p9NP/M1ToTIn
8T8/MH7upsrCSZK3uTBLQjI97Nj/kKrjIfS+S3MHuwj78NFx68Lrr918VkXESbtq
gJXr8RJ/bPAnO4/5DI9EXaEr9WYpYMi3BlBZ8ViMVDDkIV52O7kgBtlaIEXipQMn
RqJ8cYPEAMjxU5YYO7KJNXByZEEeYqOpn7Qaq/YkKg6T1mCVaj3MwrquiM7s2Gdw
1zzs
=izbf
-----END PGP PUBLIC KEY BLOCK-----
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

+1
View File
@@ -0,0 +1 @@
flake8 --ignore=E501 mayan/apps | grep -v "F401 'models' imported but unused" | grep -v "F811 redefinition of unused 'models'"| grep -v "F401 'db' imported but unused" | grep -v "F812 list comprehension redefines 'user_id'" | grep -v "F812 list comprehension redefines 'document_id'" |less
+25
View File
@@ -0,0 +1,25 @@
!/bin/bash
Directories[0]="."
# Setup find correctly.
export IFS=$'\n'
# Loop through our array.
for x in ${Directories[@]}
do
# Find all directories & subdirectories
for i in $(find $x -type d)
do
# Fix Permissions
chmod -c 775 $i
chown -c www-data:www-data $i
done
# Find all Files
for i in $(find $x -type f)
do
# Fix Permissions
chmod -c 664 $i
chown -c www-data:www-data $i
done
done
+72
View File
@@ -0,0 +1,72 @@
#!/usr/bin/env bash
INSTALLATION_DIRECTORY=/home/vagrant/mayan-edms/
DB_NAME=mayan_edms
DB_PASSWORD=test123
cat << EOF | sudo tee -a /etc/motd.tail
**********************************sudo apt
Mayan EDMS Vagrant Development Box
**********************************
EOF
# Update sources
echo -e "\n -> Running apt-get update & upgrade \n"
sudo apt-get -qq update
sudo apt-get -y upgrade
echo -e "\n -> Installing core binaries \n"
sudo apt-get -y install git-core python-virtualenv gcc python-dev libjpeg-dev libpng-dev libtiff-dev tesseract-ocr poppler-utils libreoffice
echo -e "\n -> Cloning development branch of repository \n"
git clone /mayan-edms-repository/ $INSTALLATION_DIRECTORY
cd $INSTALLATION_DIRECTORY
git checkout development
git reset HEAD --hard
echo -e "\n -> Setting up virtual env \n"
virtualenv venv
source venv/bin/activate
echo -e "\n -> Installing python dependencies \n"
pip install -r requirements.txt
echo -e "\n -> Running Mayan EDMS initial setup \n"
./manage.py initialsetup
echo -e "\n -> Installing Redis server \n"
sudo apt-get install -y redis-server
pip install redis
echo -e "\n -> Installing testing software \n"
pip install coverage
echo -e "\n -> Installing MySQL \n"
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password '$DB_PASSWORD
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password '$DB_PASSWORD
sudo apt-get install -y mysql-server libmysqlclient-dev
# Create a passwordless root and travis users
mysql -u root -p$DB_PASSWORD -e "SET PASSWORD = PASSWORD('');"
mysql -u root -e "CREATE USER 'travis'@'localhost' IDENTIFIED BY '';GRANT ALL PRIVILEGES ON * . * TO 'travis'@'localhost';FLUSH PRIVILEGES;"
mysql -u travis -e "CREATE DATABASE $DB_NAME;"
pip install mysql-python
echo -e "\n -> Installing PostgreSQL \n"
sudo apt-get install -y postgresql postgresql-server-dev-all
sudo -u postgres psql -c 'create database mayan_edms;' -U postgres
sudo cat > /etc/postgresql/9.3/main/pg_hba.conf << EOF
local all postgres trust
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all peer
# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections:
host all all ::1/128 md5
EOF
pip install -q psycopg2
+171
View File
@@ -0,0 +1,171 @@
#!/usr/bin/env bash
# ====== CONFIG ======
INSTALLATION_DIRECTORY=/usr/share/mayan-edms/
DB_NAME=mayan_edms
DB_USERNAME=mayan
DB_PASSWORD=test123
# ==== END CONFIG ====
cat << EOF | tee -a /etc/motd.tail
**********************************
Mayan EDMS Vagrant Production Box
**********************************
EOF
echo -e "\n -> Running apt-get update & upgrade \n"
apt-get -qq update
apt-get -y upgrade
echo -e "\n -> Installing core binaries \n"
apt-get install nginx supervisor redis-server postgresql libpq-dev libjpeg-dev libmagic1 libpng-dev libreoffice libtiff-dev gcc ghostscript gpgv python-dev python-virtualenv tesseract-ocr poppler-utils -y
echo -e "\n -> Setting up virtualenv \n"
rm -f ${INSTALLATION_DIRECTORY}
virtualenv ${INSTALLATION_DIRECTORY}
source ${INSTALLATION_DIRECTORY}bin/activate
echo -e "\n -> Installing Mayan EDMS from PyPI \n"
pip install mayan-edms
echo -e "\n -> Installing Python client for PostgreSQL, Redis, and uWSGI \n"
pip install psycopg2 redis uwsgi
echo -e "\n -> Creating the database for the installation \n"
echo "CREATE USER mayan WITH PASSWORD '$DB_PASSWORD';" | sudo -u postgres psql
sudo -u postgres createdb -O $DB_USERNAME $DB_NAME
echo -e "\n -> Creating the directories for the logs \n"
mkdir /var/log/mayan
echo -e "\n -> Making a convenience symlink \n"
cd ${INSTALLATION_DIRECTORY}
ln -s lib/python2.7/site-packages/mayan .
echo -e "\n -> Creating an initial settings file \n"
mayan-edms.py createsettings
echo -e "\n -> Updating the mayan/settings/local.py file \n"
cat >> mayan/settings/local.py << EOF
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': '$DB_NAME',
'USER': '$DB_USERNAME',
'PASSWORD': '$DB_PASSWORD',
'HOST': 'localhost',
'PORT': '5432',
}
}
BROKER_URL = 'redis://127.0.0.1:6379/0'
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'
EOF
echo -e "\n -> Migrating the database or initialize the project \n"
mayan-edms.py initialsetup
echo -e "\n -> Disabling the default NGINX site \n"
rm -f /etc/nginx/sites-enabled/default
echo -e "\n -> Creating a uwsgi.ini file \n"
cat > uwsgi.ini << EOF
[uwsgi]
chdir = ${INSTALLATION_DIRECTORY}lib/python2.7/site-packages/mayan
chmod-socket = 664
chown-socket = www-data:www-data
env = DJANGO_SETTINGS_MODULE=mayan.settings.production
gid = www-data
logto = /var/log/uwsgi/%n.log
pythonpath = ${INSTALLATION_DIRECTORY}lib/python2.7/site-packages
master = True
max-requests = 5000
socket = ${INSTALLATION_DIRECTORY}uwsgi.sock
uid = www-data
vacuum = True
wsgi-file = ${INSTALLATION_DIRECTORY}lib/python2.7/site-packages/mayan/wsgi.py
EOF
echo -e "\n -> Creating the directory for the uWSGI log files \n"
mkdir -p /var/log/uwsgi
echo -e "\n -> Creating the NGINX site file for Mayan EDMS, /etc/nginx/sites-available/mayan \n"
cat > /etc/nginx/sites-available/mayan << EOF
server {
listen 80;
server_name localhost;
location / {
include uwsgi_params;
uwsgi_pass unix:${INSTALLATION_DIRECTORY}uwsgi.sock;
client_max_body_size 30M; # Increse if your plan to upload bigger documents
proxy_read_timeout 30s; # Increase if your document uploads take more than 30 seconds
}
location /static {
alias ${INSTALLATION_DIRECTORY}mayan/media/static;
expires 1h;
}
location /favicon.ico {
alias ${INSTALLATION_DIRECTORY}mayan/media/static/appearance/images/favicon.ico;
expires 1h;
}
}
EOF
echo -e "\n -> Enabling the NGINX site for Mayan EDMS \n"
ln -s /etc/nginx/sites-available/mayan /etc/nginx/sites-enabled/
echo -e "\n -> Creating the supervisor file for the uWSGI process, /etc/supervisor/conf.d/mayan-uwsgi.conf \n"
cat > /etc/supervisor/conf.d/mayan-uwsgi.conf << EOF
[program:mayan-uwsgi]
command = ${INSTALLATION_DIRECTORY}bin/uwsgi --ini ${INSTALLATION_DIRECTORY}uwsgi.ini
user = root
autostart = true
autorestart = true
redirect_stderr = true
EOF
echo -e "\n -> Creating the supervisor file for the Celery worker, /etc/supervisor/conf.d/mayan-celery.conf \n"
cat > /etc/supervisor/conf.d/mayan-celery.conf << EOF
[program:mayan-worker]
command = ${INSTALLATION_DIRECTORY}bin/python ${INSTALLATION_DIRECTORY}bin/mayan-edms.py celery --settings=mayan.settings.production worker -Ofair -l ERROR
directory = ${INSTALLATION_DIRECTORY}
user = www-data
stdout_logfile = /var/log/mayan/worker-stdout.log
stderr_logfile = /var/log/mayan/worker-stderr.log
autostart = true
autorestart = true
startsecs = 10
stopwaitsecs = 10
killasgroup = true
priority = 998
[program:mayan-beat]
command = ${INSTALLATION_DIRECTORY}bin/python ${INSTALLATION_DIRECTORY}bin/mayan-edms.py celery --settings=mayan.settings.production beat -l ERROR
directory = ${INSTALLATION_DIRECTORY}
user = www-data
numprocs = 1
stdout_logfile = /var/log/mayan/beat-stdout.log
stderr_logfile = /var/log/mayan/beat-stderr.log
autostart = true
autorestart = true
startsecs = 10
stopwaitsecs = 1
killasgroup = true
priority = 998
EOF
echo -e "\n -> Collecting the static files \n"
mayan-edms.py collectstatic --noinput
echo -e "\n -> Making the installation directory readable and writable by the webserver user \n"
chown www-data:www-data ${INSTALLATION_DIRECTORY} -R
echo -e "\n -> Restarting the services \n"
/etc/init.d/nginx restart
/etc/init.d/supervisor restart
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
python setup.py sdist
pip wheel --no-index --no-deps --wheel-dir dist dist/*.tar.gz
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
find 'fabfile' -depth -name '*.pyc' -exec rm {} \;
tar -czvf contrib/fabfile.tar.gz fabfile
+114
View File
@@ -0,0 +1,114 @@
#!/usr/bin/env python
import os
import optparse
import sh
APP_LIST = (
'acls', 'appearance', 'authentication', 'checkouts', 'common',
'converter', 'django_gpg', 'document_comments', 'document_indexing',
'document_signatures', 'document_states', 'documents', 'dynamic_search',
'events', 'folders', 'installation', 'linking', 'lock_manager', 'mailer',
'metadata', 'mirroring', 'motd', 'navigation', 'ocr', 'permissions',
'rest_api', 'smart_settings', 'sources', 'statistics', 'storage', 'tags',
'user_management'
)
LANGUAGE_LIST = (
'ar', 'bg', 'bs_BA', 'da', 'de_DE', 'en', 'es', 'fa', 'fr', 'hu', 'id',
'it', 'nl_NL', 'pl', 'pt', 'pt_BR', 'ro_RO', 'ru', 'sl_SI', 'vi_VN',
'zh_CN',
)
makemessages = sh.Command('django-admin.py')
makemessages = makemessages.bake('makemessages')
compilemessages = sh.Command('django-admin.py')
compilemessages = compilemessages.bake('compilemessages')
transifex_client = sh.Command('tx')
pull_translations = transifex_client.bake('pull')
push_translations = transifex_client.bake('push')
BASE_DIR = os.path.abspath(
os.path.join(os.path.dirname(__file__), '..', '..', 'mayan')
)
def process(command, app_list, language_list):
if command == makemessages:
print 'Making messages'
elif command == compilemessages:
print 'Compiling messages'
elif command == pull_translations:
print 'Pulling translation files'
elif command == push_translations:
print 'Pushing translation files'
if command in [compilemessages, makemessages]:
for app in app_list:
print 'Processing app: %s...' % app
app_path = os.path.join(BASE_DIR, 'apps', app)
os.chdir(app_path)
for lang in language_list:
print 'Doing language: %s' % lang
command(locale=lang)
elif command == pull_translations:
for lang in language_list:
print 'Doing language: %s' % lang
command('-f', '-l', lang)
elif command == push_translations:
for lang in language_list:
print 'Doing language: %s' % lang
command('-s', '-l', lang)
if __name__ == '__main__':
parser = optparse.OptionParser()
parser.add_option(
'-m', '--make', help='create message sources file', dest='make',
default=False, action='store_true'
)
parser.add_option(
'-c', '--compile', help='compile message files', dest='compile',
default=False, action='store_true'
)
parser.add_option(
'-p', '--pull', help='pull translation files', dest='pull',
default=False, action='store_true'
)
parser.add_option(
'-u', '--push', help='push translation files', dest='push',
default=False, action='store_true'
)
parser.add_option(
'-a', '--app', help='specify which app to process', dest='app',
action='store', metavar='appname'
)
parser.add_option(
'-l', '--lang', help='specify which language to process', dest='lang',
action='store', metavar='language'
)
(opts, args) = parser.parse_args()
if not opts.make and not opts.compile:
parser.print_help()
if opts.app:
app_list = [opts.app]
else:
app_list = APP_LIST
if opts.lang:
language_list = [opts.lang]
else:
language_list = LANGUAGE_LIST
if opts.make:
process(makemessages, app_list, language_list)
elif opts.compile:
process(compilemessages, app_list, language_list)
elif opts.pull:
process(pull_translations, app_list, language_list)
elif opts.push:
process(push_translations, app_list, language_list)
+35
View File
@@ -0,0 +1,35 @@
#!/bin/bash
NAME="mayan-edms"
DJANGODIR=/usr/share/mayan-edms
SOCKFILE=/var/tmp/filesystem.sock
USER=www-data
GROUP=www-data
NUM_WORKERS=3
DJANGO_SETTINGS_MODULE=mayan.settings.production
DJANGO_WSGI_MODULE=mayan.wsgi
TIMEOUT=600
echo "Starting $NAME as `whoami`"
# Activate the virtual environment
cd $DJANGODIR
source bin/activate
export DJANGO_SETTINGS_MODULE=$DJANGO_SETTINGS_MODULE
export PYTHONPATH=$DJANGODIR:$PYTHONPATH
# Create the run directory if it doesn't exist
RUNDIR=$(dirname $SOCKFILE)
test -d $RUNDIR || mkdir -p $RUNDIR
# Start your Django Unicorn
# Programs meant to be run under supervisor should not daemonize themselves (do not use --daemon)
exec bin/gunicorn ${DJANGO_WSGI_MODULE}:application \
--name $NAME \
--workers $NUM_WORKERS \
--user=$USER --group=$GROUP \
--log-level=debug \
--bind=unix:$SOCKFILE \
--timeout=$TIMEOUT
+5
View File
@@ -0,0 +1,5 @@
from .local import *
CELERY_ALWAYS_EAGER = False
BROKER_URL = 'redis://127.0.0.1:6379/0'
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'
+26
View File
@@ -0,0 +1,26 @@
[program:mayan-worker]
command = /usr/share/mayan-edms/bin/python /usr/share/mayan-edms/bin/mayan-edms.py celery --settings=mayan.settings.production worker -Ofair -l ERROR
directory = /usr/share/mayan-edms
user = www-data
stdout_logfile = /var/log/mayan/worker-stdout.log
stderr_logfile = /var/log/mayan/worker-stderr.log
autostart = true
autorestart = true
startsecs = 10
stopwaitsecs = 10
killasgroup = true
priority = 998
[program:mayan-beat]
command = /usr/share/mayan-edms/bin/python /usr/share/mayan-edms/bin/mayan-edms.py celery --settings=mayan.settings.production beat -l ERROR
directory = /usr/share/mayan-edms
user = www-data
numprocs = 1
stdout_logfile = /var/log/mayan/beat-stdout.log
stderr_logfile = /var/log/mayan/beat-stderr.log
autostart = true
autorestart = true
startsecs = 10
stopwaitsecs = 1
killasgroup = true
priority = 998
+6
View File
@@ -0,0 +1,6 @@
[program:mayan-uwsgi]
command = /usr/share/mayan-edms/bin/uwsgi --ini /usr/share/mayan-edms/uwsgi.ini
user = root
autostart = true
autorestart = true
redirect_stderr = true
-78
View File
@@ -1,78 +0,0 @@
/*
project: web application template
author: luka cvrk (www.solucija.com)
*/
*{ margin: 0; padding: 0; }*
body { margin: 50px 0 0; background: #fff url(../images/bg.gif) repeat-x; font: .74em "Trebuchet MS", Arial, Sans-Serif; color: #444; }
h1 { font-size: 3em; font-weight: normal; float: left; }
h1 a { text-decoration: none; }
h2 { font-size: 2em; color: #FFF2B3; font-weight: normal; margin: 0 0 .8em; }
h3 { font-size: 1.5em; border-bottom: 1px solid #eee; margin: 0 0 .8em; }
h4 { font-size: 1.2em; margin: 0 0 .4em;}
h5 { font-size: 1.1em; margin: 0 0 .3em; text-decoration: underline;}
p { margin: 0 0 1em 0; line-height: 1.6em;}
em { border-bottom: 1px dotted #fff; cursor: pointer; }
a { color: #9D2900; }
a:hover { color: #A0000E; text-decoration: none; }
img { border: 0; }
.red { color: #9D2900; }
.wrap { width: 900px; margin: 0 auto; }
#header { width: 900px; height: 50px; margin: 0 auto; }
#menu { float: right; padding: 6px 0 0 0; list-style: none; }
#menu li { display: inline; }
#menu a { display: block; float: left; margin-left: 30px; padding: 7px; text-decoration: none; font-size: 13px; color: #000000; }
#menu a:hover { color: #000; border-bottom: 2px solid #ccc; }
#menu .active a { border-bottom: 2px solid #C70012; color: #9D2900;}
#teaser { clear: both; height: 259px; background: #fff url(../images/teaserbg.jpg) repeat-x; }
.box { float: left; padding: 66px 0 0; width: 480px; color: #C7E3EE; }
#image { float: right; width: 388px; position: relative; top: 16px; background: url(../images/logotype.jpg) no-repeat top right; height: 258px; }
#bar { height: 40px; margin: 0 0 30px; padding: 8px 0 0 0; background: url(../images/bar.gif) repeat-x; }
.step { color: #FAFDDD; padding: 4px 0 0 11px; margin: 0 35px 0 0; font-size: 1.4em; float: left; text-align: center; background: url(../images/step.gif) no-repeat; height: 30px; }
.step a { color: #fff; margin: 0 10px 0 0; }
.col { float: left; width: 276px; margin: 0 30px 16px 0; }
.last { float: right; margin: 0; }
.info { border: 1px solid #e0e0e0; background: #f4f4f4; padding: 7px; }
#footer { clear: both; width: 900px; margin: 0 auto; padding: 15px; border-top: 1px solid #e0e0e0; background: #fff url(../images/small_logotype.jpg) no-repeat right 13px; }
#footer .right { float: right; margin: 0 55px 0 0; }
#footer a { color: #808080; font-weight: bold; }
.screenshot {
border: 1px solid black;
}
pre { background: #000; color: #fff; padding: 15px; margin-left: 0px; padding:0px;}
.center {display: block; margin-left: auto; margin-right: auto;}
.tc {text-align: center;}
ul.piramid_bullets > li {
list-style-image:url("../images/bullet.png");
margin-left: 20px;
list-style-type:square;
}
ul.news > li {margin-bottom: 4em;}
ul.support > li {margin-bottom: 3em;}
ul.other_site > li {margin-bottom: 3em;}
ul {
list-style:circle;
margin-left: 20px;
}
.gplus { margin-left: 10px; }
.horizontal li
{
display: inline;
list-style-type: none;
padding-right: 20px;
}
+133
View File
@@ -0,0 +1,133 @@
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
@echo " dirhtml to make HTML files named index.html in directories"
@echo " singlehtml to make a single large HTML file"
@echo " pickle to make pickle files"
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@echo " qthelp to make HTML files and a qthelp project"
@echo " devhelp to make HTML files and a Devhelp project"
@echo " epub to make an epub"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " latexpdf to make LaTeX files and run them through pdflatex"
@echo " text to make text files"
@echo " man to make manual pages"
@echo " changes to make an overview of all changed/added/deprecated items"
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
clean:
-rm -rf $(BUILDDIR)/*
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
singlehtml:
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
@echo
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
pickle:
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
@echo
@echo "Build finished; now you can process the pickle files."
json:
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
@echo
@echo "Build finished; now you can process the JSON files."
htmlhelp:
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in $(BUILDDIR)/htmlhelp."
qthelp:
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/MayanEDMS.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/MayanEDMS.qhc"
devhelp:
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/MayanEDMS"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/MayanEDMS"
@echo "# devhelp"
epub:
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
@echo "Run \`make' in that directory to run these through (pdf)latex" \
"(use \`make latexpdf' here to do that automatically)."
latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
make -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
text:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
@echo
@echo "Build finished. The text files are in $(BUILDDIR)/text."
man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
@echo
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
changes:
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
@echo
@echo "The overview file is in $(BUILDDIR)/changes."
linkcheck:
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in $(BUILDDIR)/linkcheck/output.txt."
doctest:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(BUILDDIR)/doctest/output.txt."
livehtml:
sphinx-autobuild -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
+229
View File
@@ -0,0 +1,229 @@
"""
Sphinx plugins for Django documentation.
"""
import os
import re
from docutils import nodes, transforms
try:
import json
except ImportError:
try:
import simplejson as json
except ImportError:
try:
from django.utils import simplejson as json
except ImportError:
json = None
from sphinx import addnodes, roles, __version__ as sphinx_ver
from sphinx.builders.html import StandaloneHTMLBuilder
from sphinx.writers.html import SmartyPantsHTMLTranslator
from sphinx.util.console import bold
from sphinx.util.compat import Directive
# RE for option descriptions without a '--' prefix
simple_option_desc_re = re.compile(
r'([-_a-zA-Z0-9]+)(\s*.*?)(?=,\s+(?:/|-|--)|$)')
def setup(app):
app.add_crossref_type(
directivename = "setting",
rolename = "setting",
indextemplate = "pair: %s; setting",
)
app.add_crossref_type(
directivename = "templatetag",
rolename = "ttag",
indextemplate = "pair: %s; template tag"
)
app.add_crossref_type(
directivename = "templatefilter",
rolename = "tfilter",
indextemplate = "pair: %s; template filter"
)
app.add_crossref_type(
directivename = "fieldlookup",
rolename = "lookup",
indextemplate = "pair: %s; field lookup type",
)
app.add_description_unit(
directivename = "django-admin",
rolename = "djadmin",
indextemplate = "pair: %s; django-admin command",
parse_node = parse_django_admin_node,
)
app.add_description_unit(
directivename = "django-admin-option",
rolename = "djadminopt",
indextemplate = "pair: %s; django-admin command-line option",
parse_node = parse_django_adminopt_node,
)
app.add_config_value('django_next_version', '0.0', True)
app.add_directive('versionadded', VersionDirective)
app.add_directive('versionchanged', VersionDirective)
app.add_builder(DjangoStandaloneHTMLBuilder)
class VersionDirective(Directive):
has_content = True
required_arguments = 1
optional_arguments = 1
final_argument_whitespace = True
option_spec = {}
def run(self):
env = self.state.document.settings.env
arg0 = self.arguments[0]
is_nextversion = env.config.django_next_version == arg0
ret = []
node = addnodes.versionmodified()
ret.append(node)
if not is_nextversion:
if len(self.arguments) == 1:
linktext = 'Please see the release notes </releases/%s>' % (arg0)
xrefs = roles.XRefRole()('doc', linktext, linktext, self.lineno, self.state)
node.extend(xrefs[0])
node['version'] = arg0
else:
node['version'] = "Development version"
node['type'] = self.name
if len(self.arguments) == 2:
inodes, messages = self.state.inline_text(self.arguments[1], self.lineno+1)
node.extend(inodes)
if self.content:
self.state.nested_parse(self.content, self.content_offset, node)
ret = ret + messages
env.note_versionchange(node['type'], node['version'], node, self.lineno)
return ret
class DjangoHTMLTranslator(SmartyPantsHTMLTranslator):
"""
Django-specific reST to HTML tweaks.
"""
# Don't use border=1, which docutils does by default.
def visit_table(self, node):
self._table_row_index = 0 # Needed by Sphinx
self.body.append(self.starttag(node, 'table', CLASS='docutils'))
# <big>? Really?
def visit_desc_parameterlist(self, node):
self.body.append('(')
self.first_param = 1
self.param_separator = node.child_text_separator
def depart_desc_parameterlist(self, node):
self.body.append(')')
if sphinx_ver < '1.0.8':
#
# Don't apply smartypants to literal blocks
#
def visit_literal_block(self, node):
self.no_smarty += 1
SmartyPantsHTMLTranslator.visit_literal_block(self, node)
def depart_literal_block(self, node):
SmartyPantsHTMLTranslator.depart_literal_block(self, node)
self.no_smarty -= 1
#
# Turn the "new in version" stuff (versionadded/versionchanged) into a
# better callout -- the Sphinx default is just a little span,
# which is a bit less obvious that I'd like.
#
# FIXME: these messages are all hardcoded in English. We need to change
# that to accomodate other language docs, but I can't work out how to make
# that work.
#
version_text = {
'deprecated': 'Deprecated in Django %s',
'versionchanged': 'Changed in Django %s',
'versionadded': 'New in Django %s',
}
def visit_versionmodified(self, node):
self.body.append(
self.starttag(node, 'div', CLASS=node['type'])
)
title = "%s%s" % (
self.version_text[node['type']] % node['version'],
len(node) and ":" or "."
)
self.body.append('<span class="title">%s</span> ' % title)
def depart_versionmodified(self, node):
self.body.append("</div>\n")
# Give each section a unique ID -- nice for custom CSS hooks
def visit_section(self, node):
old_ids = node.get('ids', [])
node['ids'] = ['s-' + i for i in old_ids]
node['ids'].extend(old_ids)
SmartyPantsHTMLTranslator.visit_section(self, node)
node['ids'] = old_ids
def parse_django_admin_node(env, sig, signode):
command = sig.split(' ')[0]
env._django_curr_admin_command = command
title = "django-admin.py %s" % sig
signode += addnodes.desc_name(title, title)
return sig
def parse_django_adminopt_node(env, sig, signode):
"""A copy of sphinx.directives.CmdoptionDesc.parse_signature()"""
from sphinx.domains.std import option_desc_re
count = 0
firstname = ''
for m in option_desc_re.finditer(sig):
optname, args = m.groups()
if count:
signode += addnodes.desc_addname(', ', ', ')
signode += addnodes.desc_name(optname, optname)
signode += addnodes.desc_addname(args, args)
if not count:
firstname = optname
count += 1
if not count:
for m in simple_option_desc_re.finditer(sig):
optname, args = m.groups()
if count:
signode += addnodes.desc_addname(', ', ', ')
signode += addnodes.desc_name(optname, optname)
signode += addnodes.desc_addname(args, args)
if not count:
firstname = optname
count += 1
if not firstname:
raise ValueError
return firstname
class DjangoStandaloneHTMLBuilder(StandaloneHTMLBuilder):
"""
Subclass to add some extra things we need.
"""
name = 'djangohtml'
def finish(self):
super(DjangoStandaloneHTMLBuilder, self).finish()
if json is None:
self.warn("cannot create templatebuiltins.js due to missing simplejson dependency")
return
self.info(bold("writing templatebuiltins.js..."))
xrefs = self.env.domaindata["std"]["objects"]
templatebuiltins = {
"ttags": [n for ((t, n), (l, a)) in xrefs.items()
if t == "templatetag" and l == "ref/templates/builtins"],
"tfilters": [n for ((t, n), (l, a)) in xrefs.items()
if t == "templatefilter" and l == "ref/templates/builtins"],
}
outfilename = os.path.join(self.outdir, "templatebuiltins.js")
f = open(outfilename, 'wb')
f.write('var django_template_builtins = ')
json.dump(templatebuiltins, f)
f.write(';\n')
f.close();
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 628 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

+4
View File
@@ -0,0 +1,4 @@
<h3>Support</h3>
<p>
Consulting, support, customization, rebranding, and plug-in development are available. Email for information to: <a href='mailto:info@mayan-edms.com'>info@mayan-edms.com</a>
</p>
+252
View File
@@ -0,0 +1,252 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
#
# Mayan EDMS documentation build configuration file, created by
# sphinx-quickstart on Fri Aug 19 05:13:38 2011.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
import sys, os
sys.path.insert(0, os.path.abspath('..'))
import mayan
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "_ext")))
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
#extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode']
#extensions = ["djangodocs", "sphinx.ext.intersphinx"]
extensions = ['djangodocs', 'sphinxcontrib.blockdiag']
blockdiag_antialias = True
blockdiag_html_image_format = "SVG"
blockdiag_latex_image_format = "PDF"
blockdiag_tex_image_format = "PDF"
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# The suffix of source filenames.
source_suffix = '.rst'
# The encoding of source files.
# source_encoding = 'utf-8-sig'
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = mayan.__title__
copyright = mayan.__copyright__
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = mayan.__version__
# The full version, including alpha/beta/rc tags.
release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True
# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
add_module_names = False
# If true, sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
# -- Options for HTML output ---------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'classic'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#html_title = None
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
#html_favicon = None
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
#html_last_updated_fmt = '%b %d, %Y'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
#html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
#html_sidebars = {}
# Additional templates that should be rendered to pages, maps page names to
# template names.
#html_additional_pages = {}
# If false, no module index is generated.
#html_domain_indices = True
# If false, no index is generated.
#html_use_index = True
# If true, the index is split into individual pages for each letter.
#html_split_index = False
# If true, links to the reST sources are added to the pages.
#html_show_sourcelink = True
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
#html_show_sphinx = True
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
#html_show_copyright = True
# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
# base URL from which the finished HTML is served.
#html_use_opensearch = ''
# This is the file name suffix for HTML files (e.g. ".xhtml").
#html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'MayanEDMSdoc'
# -- Options for LaTeX output --------------------------------------------------
# The paper size ('letter' or 'a4').
#latex_paper_size = 'letter'
# The font size ('10pt', '11pt' or '12pt').
#latex_font_size = '10pt'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'MayanEDMS.tex', 'Mayan EDMS Documentation',
mayan.__author__, 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
# the title page.
#latex_logo = None
# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
#latex_use_parts = False
# If true, show page references after internal links.
#latex_show_pagerefs = False
# If true, show URL addresses after external links.
#latex_show_urls = False
# Additional stuff for the LaTeX preamble.
#latex_preamble = ''
# Documents to append as an appendix to all manuals.
#latex_appendices = []
# If false, no module index is generated.
#latex_domain_indices = True
# -- Options for manual page output --------------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'mayanedms', 'Mayan EDMS Documentation',
[mayan.__author__], 1)
]
# -- Custom options
import alabaster
html_theme_path = [alabaster.get_path()]
extensions.append('alabaster')
html_theme = 'alabaster'
html_sidebars = {
'**': [
'about.html', 'donate.html', 'navigation.html', 'searchbox.html',
]
}
html_theme_options = {
'description': mayan.__description__,
'github_button': False,
'travis_button': False,
'gratipay_user': 'rosarior',
'github_banner': False,
}
html_logo = '_static/logo_pyramid_only.png'
+47
View File
@@ -0,0 +1,47 @@
Welcome to Mayan EDMS!
======================
Mayan EDMS is a `Free Open Source`_ `Electronic Document Management System`_, coded in
the Python language using the Django_ web application framework and released
under the `Apache 2.0 License`_. It provides an electronic vault or repository for electronic documents.
The easiest way to use Mayan EDMS is by using a Debian based Linux distribution
and install it from PyPI with the following commands:
.. code-block:: bash
sudo apt-get install libjpeg-dev libmagic1 libpng-dev libreoffice libtiff-dev gcc ghostscript gpgv python-dev python-virtualenv tesseract-ocr poppler-utils -y
virtualenv venv
source venv/bin/activate
pip install mayan-edms
mayan-edms.py initialsetup
mayan-edms.py runserver
Point your browser to 127.0.0.1:8000 and use the automatically created admin
account.
.. image:: /_static/overview.gif
:alt: Overview
.. toctree::
:hidden:
Features <topics/features>
Installation <topics/installation>
Deploying <topics/deploying>
Release notes and upgrading <releases/index>
Concepts <topics/index>
Development <topics/development>
App creation <topics/app_creation>
Roadmap <topics/roadmap>
Translations <topics/translations>
Contributors <topics/contributors>
Screenshots <topics/screenshots>
Licensing <topics/license>
FAQ <topics/faq>
Contact <topics/contact>
.. _Django: http://www.djangoproject.com/
.. _Free Open Source: http://en.wikipedia.org/wiki/Open_source
.. _Electronic Document Management System: https://en.wikipedia.org/wiki/Document_management_system
.. _Apache 2.0 License: https://www.apache.org/licenses/LICENSE-2.0.txt
+155
View File
@@ -0,0 +1,155 @@
@ECHO OFF
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set BUILDDIR=_build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
)
if "%1" == "" goto help
if "%1" == "help" (
:help
echo.Please use `make ^<target^>` where ^<target^> is one of
echo. html to make standalone HTML files
echo. dirhtml to make HTML files named index.html in directories
echo. singlehtml to make a single large HTML file
echo. pickle to make pickle files
echo. json to make JSON files
echo. htmlhelp to make HTML files and a HTML help project
echo. qthelp to make HTML files and a qthelp project
echo. devhelp to make HTML files and a Devhelp project
echo. epub to make an epub
echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
echo. text to make text files
echo. man to make manual pages
echo. changes to make an overview over all changed/added/deprecated items
echo. linkcheck to check all external links for integrity
echo. doctest to run all doctests embedded in the documentation if enabled
goto end
)
if "%1" == "clean" (
for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
del /q /s %BUILDDIR%\*
goto end
)
if "%1" == "html" (
%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
echo.
echo.Build finished. The HTML pages are in %BUILDDIR%/html.
goto end
)
if "%1" == "dirhtml" (
%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
echo.
echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
goto end
)
if "%1" == "singlehtml" (
%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
echo.
echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
goto end
)
if "%1" == "pickle" (
%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
echo.
echo.Build finished; now you can process the pickle files.
goto end
)
if "%1" == "json" (
%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
echo.
echo.Build finished; now you can process the JSON files.
goto end
)
if "%1" == "htmlhelp" (
%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
echo.
echo.Build finished; now you can run HTML Help Workshop with the ^
.hhp project file in %BUILDDIR%/htmlhelp.
goto end
)
if "%1" == "qthelp" (
%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
echo.
echo.Build finished; now you can run "qcollectiongenerator" with the ^
.qhcp project file in %BUILDDIR%/qthelp, like this:
echo.^> qcollectiongenerator %BUILDDIR%\qthelp\MayanEDMS.qhcp
echo.To view the help file:
echo.^> assistant -collectionFile %BUILDDIR%\qthelp\MayanEDMS.ghc
goto end
)
if "%1" == "devhelp" (
%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
echo.
echo.Build finished.
goto end
)
if "%1" == "epub" (
%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
echo.
echo.Build finished. The epub file is in %BUILDDIR%/epub.
goto end
)
if "%1" == "latex" (
%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
echo.
echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
goto end
)
if "%1" == "text" (
%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
echo.
echo.Build finished. The text files are in %BUILDDIR%/text.
goto end
)
if "%1" == "man" (
%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
echo.
echo.Build finished. The manual pages are in %BUILDDIR%/man.
goto end
)
if "%1" == "changes" (
%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
echo.
echo.The overview file is in %BUILDDIR%/changes.
goto end
)
if "%1" == "linkcheck" (
%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
echo.
echo.Link check complete; look for any errors in the above output ^
or in %BUILDDIR%/linkcheck/output.txt.
goto end
)
if "%1" == "doctest" (
%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
echo.
echo.Testing of doctests in the sources finished, look at the ^
results in %BUILDDIR%/doctest/output.txt.
goto end
)
:end
+10
View File
@@ -0,0 +1,10 @@
Version 0.10.1
--------------
* Upgraded django-compressor to version 1.1.1, run::
$ pip install --upgrade -r requirements/production.txt
to upgrade
* django-compressor is now disabled by default, users must explicitly
enable it adding COMPRESS_ENABLED=True to their settings_local.py file
+51
View File
@@ -0,0 +1,51 @@
Version 0.10
------------
* Added a proper setup views for the document grouping functionality.
* Document grouping is now called smart linking as it relates better to
how it actually works. The data base schema was changed and users must
do the required::
$ ./manager syncdb
for the new tables to be created.
* Grappelli is no longer required as can be uninstalled.
* New smarter document preview widget that doesn't allow zooming or viewing
unknown or invalid documents.
* New office document converter, requires:
* LibreOffice (https://www.libreoffice.org/)
* unoconv [version 0.5] (https://github.com/dagwieers/unoconv)
* The new office documents converter won't convert files with the extension
.docx because these files are recognized as zip files instead. This
is an issue of the libmagic library.
* New configuration option added ``CONVERTER_UNOCONV_USE_PIPE`` that controls
how unoconv handles the communication with LibreOffice. The default of
``True`` causes unoconv to use **pipes**, this approach is slower than using
**TCP/IP** ports but it is more stable.
* Initial `REST` `API` that exposes documents properties and one method, this
new `API` is used by the new smart document widget and requires the
package ``djangorestframework``, users must issue a::
$ pip install -r requirements/production.txt
to install this new requirement.
* MIME type detection and caching performance updates.
* Updated the included version of ``jQuery`` to 1.7
* Updated the included version of ``JqueryAsynchImageLoader`` to 0.9.7
* Document image serving response now specifies a MIME type for increased
browser compatibility.
* Small change in the scheduler that increases stability.
* Russian translation updates Sergey Glita
* Improved and generalized the OCR queue locking mechanism, this should
eliminate any posibility of race conditions between Mayan EDMS OCR nodes.
* Added support for signals to the OCR queue, this results in instant OCR
processing upon submittal of a document to the OCR queue, this works in
addition to the current polling processing which eliminates the
posibility of stale documents in the OCR queue.
* Added multiple document OCR submit link
* Re enabled tesseract language specific OCR processing and added a one
(1) time language neutral retry for failed language specific OCR
+8
View File
@@ -0,0 +1,8 @@
Version 0.11.1
--------------
* Fixed a document deletion regression
* Improves error detection when importing keys from a keyserver, catching
the exception KeyImportError and not KeyFetchingError
* Fixes a wrong method call when verifying signatures for the first time upon document uploading
* django-compress is now disabled by default to avoid problems when deploying with DjangoZoom
* Improve post metadata set delete redirection
+34
View File
@@ -0,0 +1,34 @@
Version 0.11
------------
* Support for signed documents verification added, embedded and detached
signatures are supported. When verifying a document Mayan EDMS will
try to fetch the public key from the list of keyservers provided in the
configuration option SIGNATURES_KEYSERVERS (which defaults to
'pool.sks-keyservers.net'). A public key management view has been added
to the setup menu as well as a key query and fetching view to manually
import keys from a keyserver.
* Added support for document versions. Users can upload unlimited amount
of versions for a document using a very flexible document version numbering
system, users can also revert to a previous document version.
* OCR queue processing improvements.
* Office documents handling improvements.
* Text extraction support for office documents.
* RTF text documents are now handled as office documents.
* Added a view to delete the document image cache, useful when switching
converter backends or doing diagnostics.
* Added South to the requirements.
* Merged documents' filename and extension database fiels into a single
filename field, filename are store as uploaded not manipulation is done
Users with existing data must install South and run the appropiate
migrate commands::
$ pip install -r requirements/production.txt
$ ./manager syncdb
$ ./manage.py migrate documents 0001 --fake
$ ./manage.py migrate documents
* Added new office document mimetype
* application/vnd.ms-office
* Fixed documents not saving the file encoding
* Removed extra slash in ajax-loader.gif URL fixes #15, thanks to
IHLeanne for finding this one
+116
View File
@@ -0,0 +1,116 @@
================================
Mayan EDMS v0.12.1 release notes
================================
*May 2012*
This is the first maintenance release of the 0.12 series.
Overview
========
While bug fixes and minor feature were the focus for this release, some
bigger changes were included because of their importance. The parsing of
documents saw a complete rewrite being now class based and allows for more
than one parser per mimetype with sequencial fallback. This provides the
best text extraction on deployments where users have control over the
installation and basic extraction when deploying on the cloud or other
environments where users don't have the ability to install OS level
binaries.
What's new in Mayan EDMS v0.12.1
================================
Fabric file (fabfile)
~~~~~~~~~~~~~~~~~~~~~
A Fabric file is included to help users not very familiar with Ubuntu,
Python and Django install Mayan EDMS, or for system administrators
looking to automate the install whether in local or remote systems.
At the moment the fabfile will install Mayan EDMS in the same configurations
listed in this documentation, that is: (Ubuntu/Debian/Fedora) + virtualenv + Apache + MySQL.
Feel free to submit your configuration settings and files for different databases,
webserver or Linux distribution. More configurations will be added to
the fabfile as more are tested.
Documentation update
~~~~~~~~~~~~~~~~~~~~
The installation instructions were updated to include the installation of
the libpng-dev and libjpeg-dev libraries as well as the installation of
the poppler-utils package. An additional step to help users test their
new installation of Mayan EDMS was also added.
Translations
~~~~~~~~~~~~
The Italian translation has been synchronized with the source files at
Transifex and finished to %100 completion.
Usability improvements
~~~~~~~~~~~~~~~~~~~~~~
The index instance view now feature the same multi document action
buttons (Submit to OCR, delete, download, etc) as the mail and recent
document views.
Better office document conversion
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A new method of converting office documents has been implemented, this
new method doesn't require the use of the command line utility ``UNOCONV``.
If this new method proves to work better than previous solutions the use
of ``UNOCONV`` may be deprecated in the future. The conversion method
adds just one new configuration option: `CONVERTER_LIBREOFFICE_PATH`
which defaults to '/usr/bin/libreoffice'.
Better PDF text parsing
~~~~~~~~~~~~~~~~~~~~~~~
Brian E. submitted a patch to use the Poppler package pdftotext utility to
extract text from PDF files. This is now the default method Mayan EDMS
will execute to try to extract text from a PDF and failing that will
fallback to the previous method. This change add a new configuration
option: `OCR_PDFTOTEXT_PATH` to specify the location of the ``pdftotext``
executable, it defaults to '/usr/bin/pdftotext'. Be sure to install the
``poppler-utils`` os package to take advantage of this new parser.
Changed defaults
~~~~~~~~~~~~~~~~
The OCR queue is now active by default when first created during the
``syncdb`` phase and the `OCR_AUTOMATIC_OCR` option now defaults
to ``True``. These two changes are made to reduce the steps required for
new users to start enjoying the benefits of automatic text extraction from
uploaded documents without having to read the documentation and have a more
functional default install.
Upgrading from a previous version
=================================
Start off by adding the new requirements::
$ pip install -r requirements/production.txt
Migrate existing database schema with::
$ ./manage.py migrate documents
Install the ``poppler-utils`` package:
* Ubuntu, Debian::
$ apt-get install -y poppler-utils
* Fedora::
$ yum install -y poppler-utils
The upgrade procedure is now complete.
Backward incompatible changes
=============================
* None
Bugs fixed
==========
* Issue #25 "Office document conversion error"
Stuff removed
=============
* None
+115
View File
@@ -0,0 +1,115 @@
================================
Mayan EDMS v0.12.2 release notes
================================
*June 2012*
This is the second maintenance release of the 0.12 series.
Overview
========
As with the previous release bug fixes and minor feature were the focus
for this release too. `issue #24`_ has been fixed and document
check outs have been added too as per the feature request posted as `issue #26`_.
The way the history events for a document are presented has been improved and
it is now more useful as it provides filtering by event type. To improve
the diagnosis of installation of runtime error a simple view showing the
number of internal interval jobs being used by Mayan EDMS as well as a
new app which shows a detail of the current installation enviroment were added.
What's new in Mayan EDMS v0.12.2
================================
Smarter auto admin creation
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mayan EDMS creates a administrator user during the
database creation phase to reduce the amount of steps required for a
functional install. The creation of this account is controlled by the configuration
option `COMMON_AUTO_CREATE_ADMIN`, the username of the account is
specified with the configuration option `COMMON_AUTO_ADMIN_USERNAME`
and the password of this account by the option `COMMON_AUTO_ADMIN_PASSWORD`.
Previously the `COMMON_AUTO_ADMIN_PASSWORD` defaulted to 'admin' which
created an administrator account of username 'admin' with a password of
'admin'. The new default is to randomize an initial password and show this password
at the login screen until the administrator password is changed.
Document check outs
~~~~~~~~~~~~~~~~~~~
As per the feature request filed under `issue #26`_, a new document
check out and check in functionality has been added. Users can now
check out a document and lock new version of it from being uploaded to avoid
editing conflicts. Document check outs have an expiration period after which
Mayan EDMS will automatically check them back in to avoid a permanent
document lockout. Only the user who has checked out a document can upload
new versions of it or check the document back in before the expiration period,
unless being granted the ``Allow overriding check out restrictions`` or
``Forcefully check in documents`` permission respectively.
Installation environment app
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diagnosting remote installations of web based applications without access to the
command line can be a bit hard, to alleviate this situation a new installation
environment details app has been added. The purpose of this app is to provide
support staff information about the physical environment where Mayan EDMS has
been installed. To avoid possible security compromises only administrators
can access this app.
Editable compressed documents filename
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Previously when downloading more than one document in a compressed manner,
Mayan EDMS would produce a file with the name ``document_bundle.zip`` for
download. A different filename can now be specified at the same download dialog.
German translation
~~~~~~~~~~~~~~~~~~
A German language translation has been added thanks to Tetja Rediske
and Tilmann Sittig.
Statistics gathering
~~~~~~~~~~~~~~~~~~~~
Previous attempts at gathering usage statistics have been met with deficient results.
User participation in surveys as well as the quality of the data entered by users
was disappointing. That is why this version of Mayan EDMS features an
anonymous statistics gathering functionality.
Upgrading from a previous version
=================================
Start off by adding the new requirements::
$ pip install -r requirements/production.txt
Migrate existing database schema with::
$ ./manage.py migrate common 0001 --fake
$ ./manage.py migrate common
$ ./manage.py migrate checkouts
$ ./manage.py migrate installation
Add new static media::
$ ./manage.py collectstatic --noinput
The upgrade procedure is now complete.
Backward incompatible changes
=============================
* None
Bugs fixed
==========
* `issue #24`_ "Duplicated filename extension when uploading a new version of a document"
* `issue #26`_ "checkout feature request"
Stuff removed
=============
* Feedback app
.. _issue #24: https://github.com/rosarior/mayan/issues/24
.. _issue #26: https://github.com/rosarior/mayan/issues/26
+231
View File
@@ -0,0 +1,231 @@
==============================
Mayan EDMS v0.12 release notes
==============================
*February 2012*
Welcome to Mayan EDMS v0.12!
This release commemorates Mayan EDMS first aniversary!
Overview
========
Aside from new features, the focus of this release of Mayan EDMS also
been about improving the code and documentation quality standard
even further. The permission system has been completely overhauled to make
it entire class based. The other big change is the addition of object
level permissions, with this new system being applied to documents,
folder, tags and smart links. There is also a small batch of navigation
improvements. Big code cleanup and lots of changes 'under the hood',
most of these are not visible to the end user, but make the code cleaner
and more manageable so that more and better features can be added in future
releases:
* Absolute imports used throught the code
* All app permissions have been move to a separate permissions.py file
per app
* Complete permission system refactor.
* Document signining code move to it's own app
* Initial unit tests
* A lot of logging used throught the entire project.
* Much functionality moved to model managers.
* A lot of code converted into classes.
* Coding style improvements.
* Template user authentication state logic improvements, for stonger
prevention against intrusion or unintentional display or access
of restricted data.
* Removal of remarked code.
What's new in Mayan EDMS v0.12
==============================
ACL support
~~~~~~~~~~~
* Object level access control is now in place for documents, folders,
tags and smart links. What this means is that administrators can now
grant permissions to users, groups or roles on for specific objects.
A more in-depth explanation of how this new ACL system can be found in
the :doc:`3 tier access control <../topics/permissions>` section of the
permissions chapter.
* Default class ACL support. Administrators can setup the access control
lists that new documents, folders and tags will automatically inheric
when created. Aside from asigning permission to users, groups and roles
to specific objects, there is a special user called `Creator`, use to
allow the access control list that the actual creator of an object will
inherit.
Anonymous user support
~~~~~~~~~~~~~~~~~~~~~~
Anonymous user support is a two tier function, first is the addition of
the `COMMON_ALLOW_ANONYMOUS_ACCESS` configuration option that
allows non authenticated user to browse all the pages of a Mayan EDMS installation.
The second part of this support is the ability to assign permissions
or individual access to objects to anonymous users.
Translations
~~~~~~~~~~~~~~~~~~~
A new Italian translation is available, provided by SeeOpen.IT
(www.seeopen.it, info@seeopen.it) as well as complete Russian translation
update by Sergei Glita. Included in this release also the initial translation
to Polish by mic.
Usability improvements
~~~~~~~~~~~~~~~~~~~~~~
* Detached signature behavior improved, uploading a new detached signature
erases the previous one.
* Usability improvement in the role member's add/removal form, by using
HTML's option groups tag property
2 Step download process
~~~~~~~~~~~~~~~~~~~~~~~
The code for downloading single and multiple document and document versions
has been merged with compression support also added. This allows for the
download of documents in their original format or compressed and well as
the download of several documents in a single compressed file.
Customizable GPG home directory
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Addition of the `SIGNATURES_GPG_HOME` configuration option to let
administrators set Mayan EDMS's GPG instance home directory, used to
store keyrings and other GPG configuration files.
Out of process bulk uploading
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A management command has been added to help upload a large number of documents
from a compressed file. For information about this new feature check the Initial data loading chapter.
Out of process user import
~~~~~~~~~~~~~~~~~~~~~~~~~~
A management command has been added to import a large number users
from a CSV file. More information about this new feature can also be found
in the Initial data loading chapter.
Refactored document indexing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:doc:`The document indexing <../topics/indexes>` functionality has been
improved and moved from experimental
stage to beta stage. Index configuration menus are now available on the
``Setup`` menu and allows administrators to create skeleton trees that will
be populated with document links depending on their metadata and properties.
These populated trees can also be mirrored on the physical filesystem and shared
using Samba or another filesharing server giving users a structured view
of the documents contained within Mayan EDMS from the ``Indexes`` tab
or from a mirrored index shared via the network. A new configuration option
has been added, `DOCUMENT_INDEXING_FILESYSTEM_SERVING`, which maps
the index internal name with the physical directory where such index will be
mirrored on disk.
Help shape Mayan EDMS's future
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Included in this version is a small feedback application, found under the
``About`` main menu, where users by just answering some questions can
help determine the priority of the next planned features on the pipeline,
or even help add new features if enough requests are received. All questions
are optional but answering as many as possible will help greatly understand
the need of the Mayan EDMS user base.
Staging file previews
~~~~~~~~~~~~~~~~~~~~~
The staging file previews now show the filename for easier
identification and speedier upload selection. The staging files previews
are now treated as a gallery which means that users can preview an entire
page of staging files without having to click and close each one
individually.
Upgrading from a previous version
=================================
Start off by adding the new requirements::
$ pip install -r requirements/production.txt
Then create the new database structures with::
$ ./manage.py syncdb
Afterwards migrate existing database schema with::
$ ./manage.py migrate permissions 0001 --fake
$ ./manage.py migrate permissions
When the following message appears
::
The following content types are stale and need to be deleted:
permissions | permission
Any objects related to these content types by a foreign key will also
be deleted. Are you sure you want to delete these content types?
If you're unsure, answer 'no'.
Type 'yes' to continue, or 'no' to cancel:
Type ``yes`` and press **Enter**
And continue migrating database schema with::
$ ./manage.py migrate documents
$ ./manage.py migrate document_signatures
$ ./manage.py migrate folders 0001 --fake
$ ./manage.py migrate folders
$ ./manage.py migrate document_indexing 0001 --fake
$ ./manage.py migrate document_indexing
$ ./manage.py migrate sources 0001 --fake
$ ./manage.py migrate sources
Again when a similar messages appears
::
The following content types are stale and need to be deleted:
document_indexing | indexinstance
Any objects related to these content types by a foreign key will also
be deleted. Are you sure you want to delete these content types?
If you're unsure, answer 'no'.
Type 'yes' to continue, or 'no' to cancel:
Type ``yes`` and press **Enter**
The upgrade procedure is now complete.
Backward incompatible changes
=============================
The permission system has been completely reworked so sadly this is a
place where even data migration can't help and the permissions assigned
to roles will be lost during the upgrade to version 0.12. Users, groups
and roles will be preserved only permissions need to be assigned again,
so write down your role permission setup before upgrading.
Bugs fixed
==========
* Issue #17, special thanks to Dave Herring for all the help including
access to a machine suffering with the issue, and to Sergei Glita for
his research and eventual find of the core cause.
* Statistics fixes.
* Fixed get_image_cache_name regression in the OCR app.
Stuff removed
=============
* Support for Celery and Sentry has been drop
for now.
* Removed the 'db_index' argument from Text fields definition and
migrations as it was causing error messages for MySQL users, thanks to
Sergei Glita for reporting this one.
* Configuration options removed:
* OCR_CACHE_URI
* DOCUMENT_INDEXING_FILESYSTEM_FILESERVING_PATH - Use the newest `DOCUMENT_INDEXING_FILESYSTEM_SERVING`
* DOCUMENT_INDEXING_FILESYSTEM_FILESERVING_ENABLE - Use the newest `DOCUMENT_INDEXING_FILESYSTEM_SERVING`
+162
View File
@@ -0,0 +1,162 @@
================================
Mayan EDMS v0.13 release notes
================================
*December 2012*
Welcome to Mayan EDMS v0.13!
Overview
========
Initially this version was meant as a the third maintenance release of
the 0.12 series, but with the amount of changes and updates that were included
it was obvious this was not just a bug fix version anymore hence the version
jump to 0.13 instead of 0.12.3
What's new in Mayan EDMS v0.13
================================
Django 1.3.5
~~~~~~~~~~~~
This release updates the required version of Django to 1.3.5 to take advantage
of the security fixes added to that version of the framework.
Bulk document tagging and untagging
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
As requested by issue `issue #31`_ this feature has been implemented and enabled in this version.
Attaching or removing tags from a large number of documents is now much easier.
Registration
~~~~~~~~~~~~
Based on requests made by the community for greater commercial support and services for
Mayan EDMS, a new feature has been added that allows users to register their
copies of Mayan EDMS and better help users with commercial support packages.
Registration for non commercial users is voluntary and optional, and in no way
affects the functionality of Mayan EDMS. However even for non commercial users
registration offers the advantage of automatically branding the user's copy
of Mayan EDMS with their name or the company name in the title area.
Per document type indexing
~~~~~~~~~~~~~~~~~~~~~~~~~~
Index can now be restricted to update only on specific document types, this
greatly increases the usefulness of indexes, and prevents unwanted index
updates.
Bootstrap
~~~~~~~~~
Setting up Mayan EDMS after installation has been indetified by users as the
main difficulty when knowledge about Mayan EDMS is relatively low. To
address this situation a new feature that provides preconfigured setups has been
added. These preconfigured setups are published in the Mayan EDMS website and
upon synchonization are available to users, this gives users access and integrators
access to new setups without having to wait for new versions of Mayan EDMS.
Aside from including preconfigured setups, the new bootstrap app
has the ability of dumping an user's current setup into a serialized text file
which can be tweaked by hand and sent via email to other users. The possibilities
enabled by this range from company wide defaults setups to consultants providing
their clients with customized setups without having to access their clients'
Mayan EDMS instances. ``JSON``, ``YAML`` and a custom ``YAML`` format
(http://djangosnippets.org/snippets/2461/) are supported by this new app.
Add documents to folders in bulk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
As requested, the ability to add more than one document at a time to a selected
folder has been added.
Translation updates
~~~~~~~~~~~~~~~~~~~
The translation for all the current languages were synchronized to the
latest transifex project sources.
Model updates
~~~~~~~~~~~~~
Several small fixes to the behavior of some model were added, namely that
the names of some models should be unique. The document type name as well
as the metadata set name were two models that were updated to behave this way.
Navigation updates
~~~~~~~~~~~~~~~~~~
There were some additions and changes to the navigation to make it more intuitive
or to add an alternate way to access the same information better. The bulk
attachment of tags was one of these. Previously users were added or removed from groups,
now users can be assigned to groups without leaving the user view. The name of an
existing metadata set can now be edited and what was previously called metadata set edit
is now more aptly named metadata members which adds or removes metadata types into a
single organizational unit. An error that caused a duplicate menu link in the
document type filename view was also fixed.
Support for UNOCONV dropped
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Support for converting office documents by calling LibreOffice via UNOCONV
has been disabled for a while ever since LibreOffice start including
document conversion support from the command line. This version completly
removes any traces of code and configuration options related to UNOCONV.
Optimizations
~~~~~~~~~~~~~
Inspired by the idea of getting Mayan EDMS running effectively on low power hardware such as
the Raspberry Pi, several rounds or profiling and optimization were done.
Some caching optimization were introduced to the permission model, resulting in
a speed increase of 33% in rendering time on views with heavy permission checking
and a 18% query reduction on cache hits.
Upgrading from a previous version
=================================
If you installed Mayan EDMS by cloning the Git repository issue the commands::
$ git reset --hard HEAD
$ git pull
otherwise download the compressed archived and uncompress it overriding the existing installation.
Next add the new requirements::
$ pip install -r requirements/production.txt
Migrate existing database schema with::
$ ./manage.py migrate document_indexing
$ ./manage.py migrate metadata 0001 --fake
$ ./manage.py migrate metadata
$ ./manage.py migrate bootstrap
$ ./manage.py migrate documents
$ ./manage.py migrate registration
Add new static media::
$ ./manage.py collectstatic --noinput
The upgrade procedure is now complete.
Backward incompatible changes
=============================
* None
Bugs fixed or issues closed
===========================
* `issue #28`_ "Document indexing based on filesystem problem"
* `issue #29`_ Default ACL documentation
* `issue #30`_ "Ubuntu 12.0.4 LTS complaining about mising 'fabfile/templates/settings_local.py' (master branch)"
* `issue #31`_ "Bulk add tags Feature request"
* `issue #32`_ "Error run $python manage.py syncdb"
* `issue #33`_ "Fetches translations from Transifex. "
* `issue #34`_ "Initial syncdb fails because of import time database access"
* `issue #35`_ "Fix first install syncdb on Postgres"
* `issue #37`_ "When 19 >= &document_type_id >= 10 in url, error page not found"
* `issue #39`_ Feature request "Bulk move folders"
.. _issue #28: https://github.com/rosarior/mayan/issues/28
.. _issue #29: https://github.com/rosarior/mayan/issues/29
.. _issue #30: https://github.com/rosarior/mayan/issues/30
.. _issue #31: https://github.com/rosarior/mayan/issues/31
.. _issue #32: https://github.com/rosarior/mayan/issues/32
.. _issue #33: https://github.com/rosarior/mayan/issues/33
.. _issue #34: https://github.com/rosarior/mayan/issues/34
.. _issue #35: https://github.com/rosarior/mayan/issues/35
.. _issue #37: https://github.com/rosarior/mayan/issues/37
.. _issue #39: https://github.com/rosarior/mayan/issues/39
+10
View File
@@ -0,0 +1,10 @@
Version 0.5.1
-------------
* Applied initial merge of the new subtemplate renderer
* Fixed tag removal logic
* Initial commit to support document comments
* Updated so that loading spinner is displayed always
* Exclude tags from the local document upload form
* Added document tagging support
- Requires installing ``django-taggit`` and doing a ``sync-db``
+300
View File
@@ -0,0 +1,300 @@
Version 0.5
-----------
* Added tag list view and global tag delete support
* Added tag editing view and listing documents with an specific tag
* Changed the previewing and deleting staging files views to required
``DOCUMENT_CREATE`` permission
* Added no-parent-history class to document page links so that iframe clicking doesn't affect the parent window history
- Fixes back button issue on Chrome 9 & 10
* Added per app version display tag
* Added loading spinner animation
* Messages tweaks and translation updates
* Converter app cleanups, document pre-cache, magic number removal
* Added OCR view displaying all active OCR tasks from all cluster nodes
* Disabled ``CELERY_DISABLE_RATE_LIMITS`` by default
* Implement local task locking using Django locmem cache backend
* Added doc extension to office document format list
* Removed redundant transformation calculation
* Make sure OCR in processing documents cannot be deleted
* PEP8, pylint cleanups and removal of relative imports
* Removed the obsolete ``DOCUMENTS_GROUP_MAX_RESULTS`` setting option
* Improved visual appearance of messages by displaying them outside the
main form
* Added link to close all notifications with one click
* Made the queue processing interval configurable by means of a new
setting: ``OCR_QUEUE_PROCESSING_INTERVAL``
* Added detection and reset of orphaned ocr documents being left as
'processing' when celery dies
* Improved unknown format detection in the graphicsmagick backend
* Improved document convertion API
* Added initial support for converting office documents (only ods and
docx tested)
* Added sample configuration files for supervisor and apache under
contrib/
* Avoid duplicates in recent document list
* Added the configuration option CONVERTER_GM_SETTINGS to pass
GraphicsMagicks specific commands the the GM backend
* Lower image convertion quality if the format is jpg
* Inverted the rotation button, more intuitive this way
* Merged and reduced the document page zoom and rotation views
* Increased permissions app permission's label field size
- DB Update required
* Added support for metadata group actions
* Reduced the document pages widget size
* Display the metadata group numeric total in the metadata group form
title
* Reorganized page detail icons
* Added first & last page navigation links to document page view
* Added interactive zoom support to document page detail view
* Spanish translation updates
* Added ``DOCUMENTS_ZOOM_PERCENT_STEP``, ``DOCUMENTS_ZOOM_MAX_LEVEL``,
``DOCUMENTS_ZOOM_MIN_LEVEL`` configuration options to allow detailed
zoom control
* Added interactive document page view rotation support
* Changed the side bar document grouping with carousel style document
grouping form widget
* Removed the obsolete ``DOCUMENTS_TRANFORMATION_PREVIEW_SIZE`` and
``DOCUMENTS_GROUP_SHOW_THUMBNAIL`` setting options
* Improved double submit prevention
* Added a direct rename field to the local update and staging upload
forms
* Separated document page detail view into document text and document
image views
* Added grab-scroll to document page view
* Disabled submit buttons and any buttons when during a form submit
* Updated the page preview widget to display a infinite-style horizontal
carousel of page previews
* Added support user document folders
- Must do a ``syncdb`` to add the new tables
* Added support for listing the most recent accessed documents per user
* Added document page navigation
* Fixed diagnostics url resolution
* Added confirmation dialog to document's find missing document file
diagnostic
* Added a document page edit view
* Added support for the command line program pdftotext from the
poppler-utils packages to extract text from PDF documents without
doing OCR
* Fixed document description editing
* Replaced page break text with page number when displaying document
content
* Implemented detail form readonly fields the correct way, this fixes
copy & paste issues with Firefox
* New document page view
* Added view to add or remove user to a specific role
* Updated the jQuery packages with the web_theme app to version 1.5.2
* Made ``AVAILABLE_INDEXING_FUNCTION`` setting a setting of the documents
app instead of the filesystem_serving app
* Fixed document download in FireFox for documents containing spaces in
the filename
* If mime detection fails set mime type to '' instead of 'unknown'
* Use document MIME type when downloading otherwise use
'application/octet-stream' if none
* Changed the way document page count is parsed from the graphics
backend, fixing issue #7
* Optimized document metadata query and display
* Implemented OCR output cleanups for English and Spanish
* Redirect user to the website entry point if already logged and lands
in the login template
* Changed from using SimpleUploadedFile class to stream file to the
simpler File class wrapper
* Updated staging files previews to use sendfile instead of serve_file
* Moved staging file preview creation logic from documents.views to
staging.py
* When deleting staging file, it's cached preview is also deleted
* Added a new setup option:
- ``FILESYSTEM_INDEXING_AVAILABLE_FUNCTIONS`` - a dictionary to allow users
to add custom functions
* Made automatic OCR a function of the OCR app and not of Documents app (via signals)
- Renamed setup option ``DOCUMENT_AUTOMATIC_OCR`` to ``OCR_AUTOMATIC_OCR``
* Clear node name when requeueing a document for OCR
* Added support for editing the metadata of multiple documents at the
same time
* Added Graphics magick support by means of user selectable graphic convertion backends
- Some settings renamed to support this change:
+ ``CONVERTER_CONVERT_PATH`` is now ``CONVERTER_IM_CONVERT_PATH``
+ ``CONVERTER_IDENTIFY_PATH`` is now ``CONVERTER_IM_IDENTIFY_PATH``
- Added options:
+ ``CONVERTER_GM_PATH`` - File path to graphicsmagick's program.
+ ``CONVERTER_GRAPHICS_BACKEND`` - Backend to use: ``ImageMagick`` or
``GraphicMagick``
* Raise ImportError and notify user when specifying a non existant
converter graphics backend
* Fixed issue #4, avoid circular import in permissions/__init__.py
* Add a user to a default role only when the user is created
* Added total page count to statistics view
* Added support to disable the default scrolling JS code included in
web_theme app, saving some KBs in transfer
* Clear last ocr results when requeueing a document
* Removed the 'exists' column in document list view, diagnostics
superceded this
* Added 3rd party sendfile app (support apache's X-sendfile)
* Updated the get_document_image view to use the new sendfile app
* Fixed the issue of the strip spaces middleware conflicting with
downloads
* Removed custom IE9 tags
* Closed Issue #6
* Allow deletion of non existing documents from OCR queue
* Allow OCR requeue of pending documents
* Invalid page numbers now raise Http404, not found instead of error
* Added an additional check to lower the chance of OCR race conditions
between nodes
* Introduce a random delay to each node to further reduce the chance of
a race condition, until row locking can be implemented or is
implemented by Django
* Moved navigation code to its own app
* Reimplemented OCR delay code, only delay new document
Added a new field: delay, update your database schema accordingly
* Made the concurrent ocr code more granular, per node, every node can
handle different amounts of concurrent ocr tasks
Added a new field: node_name, update your database schema acordinging
* Reduced default ocr delay time
* Added a new diagnostics tab under the tools menu
* Added a new option ``OCR_REPLICATION_DELAY`` to allow the storage some
time for replication before attempting to do OCR to a document
* Added OCR multi document re-queue and delete support
* Added simple statistics page (total used storage, total docs, etc)
* Implemented form based and button based multi item actions (button
based by default)
* Added multi document delete
* Fixed a few HTML validation errors
* Issues are now tracked using github
* Added indexing flags to ocr model
* Small optimization in document list view
* Small search optimization
* Display "DEBUG mode" string in title if ``DEBUG`` variable is set to True
* Added the fix-permissions bash script under misc/ folder
* Plugged another file descriptor leak
* Show class name in config settings view
* Added missing config option from the setup menu
* Close file descriptor to avoid leaks
* Don't allow duplicate documents in queues
* Don't raise ``PermissionDenied`` exception in ``PermissionDenied middleware``,
even while debugging
* Fixed page number detection
* Created 'simple document' for non technical users with all of a
document pages content
* Use document preview code for staging file also
* Error picture literal name removal
* Spanish translation updates
* Show document file path in regards of its storage
* Added new setting: side bar search box
* Implemented new ``PermissioDenied`` exception middleware handler
* Permissions app api now returns a ``PermissionDenied`` exception instead
of a custom one
* Added new 403 error template
* Updated the 404 template to display only a not found message
* Moved the login required middleware to the common app
* Fixed search app's model.objects.filter indentation, improved result
count calculation
* Added dynamic comparison types to search app
* Separated search code from view code
* Correctly calculate show result count for multi model searches
* Fixed OCR queue list showing wrong thumbnail
* Fixed staging file preview
* Show current metadata in document upload view sidebar
* Show sentry login for admin users
* Do not reinitialize document queue and/or queued document on reentry
* Try extra hard not to assign same uuid to two documents
* Added new transformation preview size setting
* Renamed document queue state links
* Changed ocr status display sidebar from form based to text based
* Added document action to clear all the document's page transformations
* Allow search across related fields
* Optimzed search for speed and memory footprint
* Added ``LIMIT`` setting to search
* Show search elapsed time on result page
* Converter now differentiates between unknown file format and convert
errors
* Close file descriptors when executing external programs to
prevent/reduce file descriptior leaks
* Improved exception handling of external programs
* Show document thumbnail in document ocr queue list
* Make ocr document date submitted column non breakable
* Fix permissions, directories set to mode 755 and files to mode 644
* Try to fix issue #2, "random ORM field error on search while doing OCR"
* Added configurable location setting for file based storage
* Prepend storage name to differentiate config options
* Fixed duplicated document search
* Optimized document duplicate search
* Added locale middleware, menu bar language switching works now
* Only show language selection list if localemiddleware is active
* Spanish translation updates
* Added links, views and permissions to disable or enable an OCR queue
* Enabled Django's template caching
* Added document queue property side bar window to the document queue
list view
* Added HTML spaceless middleware to remove whitespace in HTML code
* If current user is superuser or staff show thumbnail & preview
generation error messages
* Added a setting to show document thumbnail in metadata group list
* Started adding configurations setting descriptions
* Initial GridFS storage support
* Implemented size and delete methods for GridFS
* Implement GridFS storage user settings
* Added document link in the OCR document queue list
* Link to manually re queue failed OCR
* Don't separate links (encose object list links with white-space:
nowrap;)
* Added document description to the field search list
* Sort OCR queued documents according to submitted date & time
* Document filesystem serving is now a separate app
- Steps to update (Some warnings may be returned, but these are not
fatal as they might be related to missing metadata in some documents):
+ rename the following settings:
+ ``DOCUMENTS_FILESYSTEM_FILESERVING_ENABLE`` to ``FILESYSTEM_FILESERVING_ENABLE``
+ ``DOCUMENTS_FILESYSTEM_FILESERVING_PATH`` to ``FILESYSTEM_FILESERVING_PATH``
+ ``DOCUMENTS_FILESYSTEM_SLUGIFY_PATHS`` to ``FILESYSTEM_SLUGIFY_PATHS``
+ ``DOCUMENTS_FILESYSTEM_MAX_RENAME_COUNT`` to ``FILESYSTEM_MAX_RENAME_COUNT``
+ Do a ./manage.py syncdb
+ Execute 'Recreate index links' locate in the tools menu
+ Wait a few minutes
* Added per document duplicate search and a tools menu option to seach
all duplicated documents
* Added document tool that deletes and re-creates all documents
filesystem links
* Increased document's and document metadata index filename field's size
to 255 characters
* Added sentry to monitor and store error for later debugging
* Zip files can now be uncompressed in memory and their content uploaded
individually in one step
* Added support for concurrent, queued OCR processing using celery
* Apply default transformations to document before OCR
* Added unpaper to the OCR convertion pipe
* Added views to create, edit and grant/revoke permissions to roles
* Added multipage documents support (only tested on pdfs)
- To update a previous database do: [d.update_page_count() for d in Document.objects.all()]
* Added support for document page transformation (no GUI yet)
* Added permissions and roles support
* Added python-magic for smarter MIME type detection
(https://github.com/ahupp/python-magic).
* Added a new Document model field: file_mime_encoding.
* Show only document metadata in document list view.
* If one document type exists, the create document wizard skips the
first step.
* Changed to a liquid css grid
* Added the ability to group documents by their metadata
* New abstracted options to adjust document conversion quality (default,
low, high)
+32
View File
@@ -0,0 +1,32 @@
Version 0.7.3
-------------
* Refactored main menu navigation and converted all apps to this new
system
* Multi item links are now displayed on top of generic lists as well as
on the bottom
* Spanish translation updates
* Updated requirements to use the latest development version of
django-mptt
* Improved user folder document removal views
* Added ability to specify default metadata or metadataset per
document type
* Converted filename handling to use os.path library for improved
portability
* Added edit source object attribute difference detection and logging
to history app
* Missing metadata type in a document during a multi document editing doesn't raise errors anymore.
- This allows for multi document heterogeneous metadata editing in a single step.
* Added document multi item links in search results
- Direct editing can be done from the search result list
* Permissions are now grouped and assigned a group name
* Improved role management views
* Document type is now an optional document property
- Documents can be created without an explicit document type
* Added support for per user staging directories
* Updated logos
+6
View File
@@ -0,0 +1,6 @@
Version 0.7.4
-------------
* Renamed 'secondary actions' to 'secondary menu'
* Added document type setup views to the setup menu
* Added document type file name editing views to the setup menu
* Fixed document queue properties sidebar template not showing
+16
View File
@@ -0,0 +1,16 @@
Version 0.7.5
-------------
* Added a help messages to the sidebar of some views
* Renamed some forms submit button to more intuitive one
- 'Search' on the submit button of the search form
- 'Next step' on the document creation wizard
* Added view to list supported file formats and reported by the
converter backend
* Added redirection support to multi object action views
* Renamed 'document list' link to 'all documents' and
'recent document list' to 'recent documents'
* Removed 'change password' link next to the current user's name and
added a few views to handle the current user's password, details and
details editing
+23
View File
@@ -0,0 +1,23 @@
Version 0.7.6
-------------
* Added recent searches per user support
- The ammount of searches stored is controlled by the setup option
``SEARCH_RECENT_COUNT``
* The document page zoom button are now disabled when reaching the minimum
or maximum zoom level
* The document page navigation links are now disabled when view the first
and last page of a document
* Document page title now displays the current page vs the total page
count
* Document page title now displays the current zoom level and rotation
degrees
* Added means set the expansion compressed files during document creation,
via web interface removing the need for the configuration options:
``UNCOMPRESS_COMPRESSED_LOCAL_FILES`` and ``UNCOMPRESS_COMPRESSED_STAGING_FILES``
* Added 'search again' button to the advances search results view
* Implementes an advanced search feature, which allows for individual field terms
- Search fields supported: document type, MIME type, filename,
extension, metadata values, content, description, tags, comments
+13
View File
@@ -0,0 +1,13 @@
Version 0.7
-----------
* Added confirmation dialogs icons
* Added comment app with support for adding and deleting comments to
and from documents
* Updated requirements files as per issue #9
* Show tagged item count in the tag list view
* Show tagget document link in the tags subtemplate of documents
* Made comment sorted by oldest first, made comment subtemplate
scrollable
* Rename comments app to document_comment to avoid conflict with
Django's comment app
* Made document comments searchable
+32
View File
@@ -0,0 +1,32 @@
Version 0.8.1
-------------
* Tags can now also be created from the main menu
* Added item count column to index instance list view
* Updated document indexing widget to show different icon for indexes or
indexes that contain documents
* Replaced the Textarea widget with the TextAreaDiv widget on document
and document page detail views
- This change will allow highlighting search terms in the future
* Unknown document file format page count now defaults to 1
- When uploading documents which the selected converted backend doesn't
understand, the total page count will fallback to 1 page to at least
show some data, and a comment will be automatically added to the
document description
* Added new MAIN_DISABLE_ICONS to turn off all icons
- This options works very well when using the ``default`` theme
* The default theme is now ``activo``
* Improved document page views and document page transformation views
navigation
* Added OCR queue document transformations
- Use this for doing resizing or rotation fixes to improve OCR results
* Added reset view link to the document page view to reset the zoom
level and page rotation
* Staging files now show a thumbnail preview instead of preview link
+24
View File
@@ -0,0 +1,24 @@
Version 0.8.2
-------------
* Moved code to Django 1.3
- Users have to use the ``collectstatic`` management command::
$ ./manage.py collectstatic
- The ``site_media`` directory is no more, users must update the media
serving directives in current deployments and point them to the
``static`` directory instead
* The changelog is now available under the ``about`` main menu
* ``Grappelli`` no longer bundled with Mayan
- Users must install Grappelli or execute::
$ pip install --upgrade -r requirements/production.txt
* Even easier UI language switching
* Added email login method, to enable it, set::
AUTHENTICATION_BACKENDS = ('common.auth.email_auth_backend.EmailAuthBackend',)
COMMON_LOGIN_METHOD = 'email'
+29
View File
@@ -0,0 +1,29 @@
Version 0.8.3
-------------
* Added a Contributors file under the docs directory
* Moved the document grouping subtemplate windows into a document
information tab
* Change the mode the setup options are shown, opting to use a more of a
dashboard style now
* Changed the tool menu to use the same button layout of the setup menu
* Moved OCR related handling to the tools main menu
* Improved the metadata type and metadata set selection widget during
the document upload wizard
* Added a view to the about menu to read the LICENSE file included with
Mayan
* Added converter backend agnostic image file format descriptions
* Disable whitelist and blacklist temporarily, removed document_type
field from interactive sources
* Fully disabled watch folders until they are working correctly
* Updated the project title to 'Mayan EDMS'
* If ghostscript is installed add PDF and PS to the list of file formats
by the python converter backend
* Use Pillow (http://pypi.python.org/pypi/Pillow) instead of PIL
- Pillow is a fork of PIL with several updated including better jpeg and png library detection
- Users must uninstall PIL before installing Pillow
* Updated the static media url in the login excempt url list
* Added remediatory code to sidestep issue #10 caused by DjangoZoom's deployment script executing the collectstatic command before creating the database structure with syncdb. Thanks to Joost Cassee (https://github.com/jcassee) for reporting this one.
* Perform extra validation of the image cache directory and fallback to creating a temporary directory on validation failure
* Fixed a source creation bug, that caused invalid links to a non existing source transformation to appear on the sidebar
+62
View File
@@ -0,0 +1,62 @@
Version 0.8
-----------
* Distributed OCR queue processing via celery is disabled for the time
being
* Added support for local scheduling of jobs
- This addition removes celery beat requirement, and make is optional
* Improve link highlighting
* Navigation improvements
* Documents with an unknown file format now display a mime type place
holder icon instead of a error icon
* Mayan now does pre caching of document visual representation improving
overall thumbnail, preview and display speed
- Page image rotation and zooming is faster too with this update
* Removed all QUALITY related settings
* ``COMMON_TEMPORARY_DIRECTORY`` is now validated when Mayan starts and if
not valid falls back to creating it's own temporary folder
* Added PDF file support to the python converter backend via ghostscript
- This requires the installation of:
+ ghostscript python package
+ ghostscript system binaries and libraries
* Added PDF text parsing support to the python converter backend
- This requires the installation of:
+ pdfminer python package
* Added PDF page count support to the python converter backend
* Added python only converter backend supporting resizing, zooming and rotation
- This backend required the installation of the python image library (PIL)
- This backend is useful when Graphicsmagick or Imagemagick can not be installed for some reason
- If understand fewer file format than the other 2 backends
* Added default tranformation support to document sources
* Removed ``DOCUMENT_DEFAULT_TRANSFORMATIONS`` setup options
* Document sources are now defined via a series of view under the setup main menu
* This removes all the ``DOCUMENT_STAGING`` related setup options
- Two document source types are supported local (via a web form),
and staging
- However multiple document sources can be defined each with their own
set of transformations and default metadata selection
* Use ``python-magic`` to determine a document's mimetype otherwise
fallback to use python's mimetypes library
* Remove the included sources for ``python-magic`` instead it is now fetched
from github by pip
* Removed the document subtemplates and changed to a tabbed style
* Added link to document index content view to navigate the tree upwards
* Added new option ``MAIN_DISABLE_HOME_VIEW`` to disable the home main menu
tab and save some space
* Added new option to the web theme app, ``WEB_THEME_VERBOSE_LOGIN``
that display a more information on the login screen
(version, copyright, logos)
* Added a confirmation dialog to the document tag removal view
+7
View File
@@ -0,0 +1,7 @@
Version 0.9.1
-------------
* Added handling percent encoded unicode query strings in search URL,
thanks to Sergei Glita for reporting.
* Added a FAQ explaing how to fix MySQL collation related error when
doing searches also thanks to Sergei Glita for
reporting this one.
+44
View File
@@ -0,0 +1,44 @@
Version 0.9
-----------
* Simplified getting mimetypes from files by merging 2 implementations
(document based and file based)
* Updated python converter backend, document model and staging module
to use the new get_mimetype API
* Only allow clickable thumbnails for document and staging files with a
valid image
* Removed tag count from the group document list widget to conserve
vertical space
* Updated required Django version to 1.3.1
* Removed the included 3rd party module django-sendfile, now added to
the requirement files.
* User should do a pip install -r requirements/production.txt to update
* Changed to Semantic Versioning (http://semver.org/), with
recommendations 7, 8 and 9 causing the most effect in the versioning number.
* Added Russian locale post OCR cleanup backend Sergei Glita
* Reduced severity of the messages displayed when no OCR cleanup backend
is found for a language
* Complete Portuguese translation (Emerson Soares and Renata Oliveira)
* Complete Russian translation Sergei Glita)
* Added animate.css to use CSS to animate flash messages with better
fallback on non JS browsers
* The admin and sentry links are no longer hard-coded (Meurig Freeman)
* Improved appearance of the document tag widget
(https://p.twimg.com/Ac0Q0b-CAAE1lfA.png:large)
* Added django_compress and cssmin to the requirements files and enabled
django_compress for CSS and JS files
* Added granting and revoking permission methods to the permission model
* Correctly calculate the mimetype icons paths when on development mode
* Added a new more comprehensive method of passing multiple variables
per item in multi item selection views
* Used new multi parameter passing method to improve the usability of
the grant/revoke permission view, thanks to Cezar Jenkins
(https://twitter.com/#!/emperorcezar) for the suggestion
* Added step to the documentation explaining how to install Mayan EDMS
on Webfaction
* Added an entry in the documentation to the screencast explaining how
to install Mayan EDMS on DjangoZoom
* Added required changes to add Mayan EDMS to Transifex.com
* Fixed the apache contrib file static file directory name
* Added improved documentation
+190
View File
@@ -0,0 +1,190 @@
=============================
Mayan EDMS v1.0 release notes
=============================
*August 26, 2014*
Welcome to Mayan EDMS v1.0!
Overview
========
After a year of low activity the focus of this release was to get the code
updated to work with the most recent version of Django and the most recent
version of the dependencies Mayan EDMS uses. The goal was to have a strong
and stable 1.0 release so reduction, trimming, warning reductions and bug
fixes were the primary focus of this cycle. Because of this not much
emphasis was placed on adding new features, or at least new features
that could have the potential to break things.
What's new in Mayan EDMS v1.0
=============================
New home
~~~~~~~~
The growth and reach of the project has necessitaded for a while the move
of the project to its own organization in Github. This move has finally been
done, the new URL of the project is: https://github.com/mayan-edms/mayan-edms
Django 1.6
~~~~~~~~~~
This release updates the required version of Django to 1.6, bringing with it
not only new features, but also a lot of security updates, a new project
directory structure and new deployment methods.
Translation updates
~~~~~~~~~~~~~~~~~~~
The translation for all languages were synchronized to the latest transifex project sources.
Translation completion as reported by Transifex:
* English - 100%
* Spanish - 100%
* Arabic - 96%
* Bosnian - 96%
* French - 96%
* German - 96%
* Romanian - 96%
* Russian - 96%
* Italian - 77%
* Portuguese - 76%
* Dutch - 68%
* Portugese (Brazil) - 67%
* Bulgarian - 62%
* Danish - 42%
* Vietnamese - 40%
* Polish - 39%
* Hungarian - 27%
* Indonesian - 18%
* Slovenian - 17%
* Persian - 6%
* Croatian - 3%
* Turkish - 3%
Model updates
~~~~~~~~~~~~~
There were some convenience properties created to allow quick access to
a document's version and pages. These custom properties were removed and
an official method to access these properties as provided by Django is now
used.
Source code improvements
~~~~~~~~~~~~~~~~~~~~~~~~
A circular import of metadata and document_index apps code from the documents app
was removed. Document index updates are now handled via signals, not called
directly as before. Hundreds of PEP8 style fixes, unused import removals,
unused variables removals and removal of remarked or unused code. Removal of the
DEVELOPMENT flag (was used to trigger static media serving during development),
this is now handled by the DEBUG flag. The DEBUG flag is now set to `True` by
default as per Django 1.6 defaults. Removed usage of Django's JSON libraries
using Python's JSON library instead. Update of time and date use to use Django's
new timezone aware data and time handling. Removal of custom code in favor of using
modules provided by Django or by existing 3rd party libraries. Unification of code
used for equal or similar purpose in various modules.
Removal of included 3rd party modules
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
One last 3rd party module was included with the source code of Mayan EDMS.
This module is now available on PyPI and fetched during the installation instead
of being included.
Automatic testing and code coverage check
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some initial tests were added, which will help with the detection of
regressions or bugs when adding new features. More tests are needed, but
the initial work has being started.
Update of required modules and libraries versions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Many of the required modules and libraries have been updated to a more
recent version if not to their most recent released version.
Database connection leaks
~~~~~~~~~~~~~~~~~~~~~~~~~
Stale database connection being left open by scheduler tasks are now explictly
closed. This avoids consumption of the pool of database connections, increases
stability and reduces memory usage.
Deletion of detached signatures
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Detached signatures can now be deleted, if accidentally added to the wrong document.
Removal of fabric based installations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
These files are now part of their own project and located at https://github.com/mayan-edms/mayan-fabric
Pluggable OCR backends
~~~~~~~~~~~~~~~~~~~~~~
A commonly requested feature, it is now possible to write backends drivers
to do document OCR using software or services other than Tesseract.
OCR improvements
~~~~~~~~~~~~~~~~
OCR queue state is now reset when reloading Mayan EMDS, avoiding the OCR queue
to remain locked. `unpaper` binary is now an optional pre OCR requirement, the OCR
queue will now continue working is `unpaper` is not installed. Addition of post
OCR processing support for French and German.
License change
~~~~~~~~~~~~~~
Mayan EDMS is now licensed under the Apache 2.0 license. This means many
things but the main change is that inclusion of Mayan EDMS into
commercial products is now explicitly allowed.
PyPI package
~~~~~~~~~~~~
Mayan EDMS has been packaged and submitted to the PyPI_ Python Package Index
making it even easier to install and use.
New REST API
~~~~~~~~~~~~
This release feature a completely new REST API and automatic API documentation.
This new API is also used internally by *Mayan EDMS* itself.
Other changes
~~~~~~~~~~~~~
More office document types are now recognized and supported. More file types are now
supported as text files and properly previewed and parsed. Removal of the legacy
runserver.sh and runserver_plus.sh scripts. New document preview generation and
display pipeline, faster, simpler. Inclusion of a proof of concept compressed storage
backend.
Upgrading from a previous version
=================================
If you installed Mayan EDMS by cloning the Git repository issue the commands::
$ git reset --hard HEAD
$ git pull
otherwise download the compressed archived and uncompress it overriding the existing installation.
Next upgrade/add the new requirements::
$ pip install --upgrade -r requirements.txt
Migrate existing database schema with::
$ mayan-edms.py migrate acls 0001 --fake
$ mayan-edms.py migrate taggit 0001 --fake
$ mayan-edms.py migrate ocr 0001 --fake
$ mayan-edms.py migrate
Add new static media::
$ mayan-edms.py collectstatic --noinput
The upgrade procedure is now complete.
Backward incompatible changes
=============================
* If using the SQLite3 database option, rename the file named `mayan.sqlite` file to `db.sqlite3` and
move it to the new `media` provided folder.
* Also move to the `media` folder any `gpg_home`, `document_storage` and `image_cache` folders
from your previous installation.
Bugs fixed or issues closed
===========================
* None
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/
+72
View File
@@ -0,0 +1,72 @@
===============================
Mayan EDMS v1.1.1 release notes
===============================
Released: May 21, 2015
What's new
==========
Update to Django 1.6.11
~~~~~~~~~~~~~~~~~~~~~~~
The required version of Django has been updated to version 1.6.11_.
Minor changes
~~~~~~~~~~~~~
- Fix make_dist.sh script
- Add test for issue #163
- Activate tests for the sources app
- Removal of the registration app
- New simplified official project description
- Improvements to the index admin interface
- Removal of installation statistics gathering
- Remove unused folder tag
- Fix usage of ugettext to ugettext_lazy
- Increase size of the lock name field
- New style documentation
Upgrading from a previous version
=================================
Using PIP
~~~~~~~~~
Type in the console::
$ pip install mayan-edms==1.1.1
the requirements will also be updated.
Using Git
~~~~~~~~~
If you installed Mayan EDMS by cloning the Git repository issue the commands::
$ git reset --hard HEAD
$ git pull
otherwise download the compressed archived and uncompress it overriding the existing installation.
Next upgrade/add the new requirements::
$ pip install --upgrade -r requirements.txt
Common steps
~~~~~~~~~~~~
Add new static media::
$ mayan-edms.py collectstatic --noinput
The upgrade procedure is now complete.
Backward incompatible changes
=============================
None
Bugs fixed or issues closed
===========================
None
.. _1.6.11: https://docs.djangoproject.com/en/1.8/releases/1.6.11/
+372
View File
@@ -0,0 +1,372 @@
=============================
Mayan EDMS v1.1 release notes
=============================
Released: February 10, 2015
Welcome to Mayan EDMS v1.1
What's new in Mayan EDMS v1.1
=============================
Celery
~~~~~~
All background tasks processing has been converted to use Celery_. By default
Mayan EDMS runs in "Eager" until a broker and result backend are configured
as per `Celery's documentation`_. This change made the built-in scheduler and
job_processing apps obsolete, both were removed.
Views namespaces
~~~~~~~~~~~~~~~~
All views are namespaced_ with the name of the app which defines them. If you have
developed 3rd party apps for Mayan EDMS be sure to update any reference to a view
by prepending the app name to the view name.
Removal of the splash screen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The static image home screen has been replaced with a quick links view, showing
the most used actions: Uploading documents, viewing recent documents, viewing
all documents and searching documents.
Sending and receiving documents via email
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A link or entire documents can be sent as attachments via email. Documents can
also be received via email with the addition of two document sources named IMAP and POP3
which correspond to the mail protocol used to fetch the documents. Read Django's
`email configuration settings documentation`_ for more details on how to set up
mail serving.
Update to Django 1.6.8
~~~~~~~~~~~~~~~~~~~~~~
Mayan EDMS has been updated to use Django 1.6.8.
Events app
~~~~~~~~~~
The built-in history app has been removed in favor of a new events wrapper app
for `Django activity stream`_
Watch folders
~~~~~~~~~~~~~
Filesystem folders can be monitored for change and their files automatically
uploaded as documents in Mayan EDMS.
Vagrant file included
~~~~~~~~~~~~~~~~~~~~~
A vagrant file is now included to allow developers to provision a virtual machine
with the latest development version of Mayan EDMS.
User locale profile (language and timezone)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Interface language and locale setting can now be setup for each user and are not
installation wide as before. Date and times offsets are automatically ajusted to
each user's timezone settings.
Document states
~~~~~~~~~~~~~~~
A new simple workflow app that can represent document states has been included.
Explicit document types needed per index
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Indexes can now be tied to document types, eliminating the need to update
indexes for every document update. Indexes will only update when a document of
the type to which they are associated is updated.
Optional and required metadata types
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Metadata types can now be assigned in two ways to documents types, as optional or
required. Values for required metadata types as the name implies, must be entered
for documents to be able to be uploaded. Optional metadata types on the other hand
can be left blank by the user.
Bulk document type change
~~~~~~~~~~~~~~~~~~~~~~~~~
It is now possible to change the document type of previously uploaded documents.
When the document type of a document is changed the metadata values are reset and
the metadata types of the new document type are automatically assigned.
New release cycle
~~~~~~~~~~~~~~~~~
Starting with this version a new release cycle methodology will come into effect.
The goal of this release cycle is to allow two series of versions of Mayan EDMS to be
active at a given time: A new major version with new functionality and a minor version
providing upgrades and fixes. This release (1.1) will be active and supported
during releases of versions 2.x, but will go into end-of-life as soon as
version 3.0 is released, at which time version series 2.x will go into
maintenance mode.
Deprecation of Python 2.6
~~~~~~~~~~~~~~~~~~~~~~~~~
Series 1.0 of Mayan EDMS will be the last series supporting Python 2.6. Series
2.0 will be using Django 1.7.x which itself requires Python 2.7 or later.
Improved testings
~~~~~~~~~~~~~~~~~
Mayan EDMS is now automatically tested against SQLite, MySQL and PostgreSQL.
API updates
~~~~~~~~~~~
Many new API endpoints have been added exposing the majority of Mayan EDMS functionality.
Messages contextual improvements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Many updates and simplifications were made to the source text messages to reduce the
difficulty of translating Mayan EDMS and maintaing the contextual meaning of the
text messages.
Improved method for custom settings
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Custom settings now use a string based value, it is longer needed to import
classes when customizing a setting::
from custom_app.backends import CustomStorageBackend
DOCUMENTS_STORAGE_BACKEND = CustomStorageBackend
Instead the fully qualified name of the class must be passed as the setting value::
DOCUMENTS_STORAGE_BACKEND = 'custom_app.backends.CustomStorageBackend'
Removal of the OCR config setting
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OCR behavior is now a document type property meaning that it can be turned
on or off for specific document types.
Per document language setting
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Previously the document language used for OCR was specified for the entire
installation. If documents in multiple languages were uploaded some suffered
lower success rates. Now the language of each document can be specified.
Metadata validation and parsing support
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It is now possible to create functions to validate metadata value input or
parse and store corrected values. Three sample metadata validations functions
are included: ``Parse date and time``, ``Parse date`` and ``Parse time``.
Removal of 960 grid system in favor Pure CSS's grid system
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
By using Pure CSS's columns based grid system, the move towards a
Bootstrap UI migration has advanced greatly.
Simplified UI
~~~~~~~~~~~~~
All user actions as well as the logout button are now under the user functions
section.
Stable PDF previews generation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The way PDF were being generated has been improved greatly eliminating
spurious segmentation faults at the expense of a small speed penalty.
More technical documentation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Many new sub topics were added to the development section of the documentation
to allow developers to better understand the inner workings and philosophies
of Mayan EDMS.
Other changes
~~~~~~~~~~~~~
* Removal of the MAIN_SIDE_BAR_SEARCH setting
* Removal of THEMES and themes support
* Removal of VERBOSE_LOGIN setting
* Removal of graphics backend supported file format list view
* Removal of the MAIN_DISABLE_ICONS setting
* Removal of specialized Sentry support
* Removal of the MAIN_ENABLE_SCROLL_JS setting
* Remove hardcoded root (/) redirections
* Removal of APSCheduler as a requirement
* Removal of the scheduled jobs view
* Removal of the web_theme app
* Removal of the sources icon selection support
* Removal of the in-app help panels
* Removal of the duplicate document search feature
* Removal of filesystem document indexes mirroring feature
* Improve sources app model sub classes and inheritance handling
* Addition of CORS support to the API
Upgrading from a previous version
=================================
IMPORTANT! Before running the upgrade make sure none of your documents have
duplicated metadata types, meaning that the same metadata type must not appear
twice for any given document.
If you installed Mayan EDMS by cloning the Git repository issue the commands::
$ git reset --hard HEAD
$ git pull
otherwise download the compressed archived and uncompress it overriding the existing installation.
Next upgrade/add the new requirements::
$ pip install --upgrade -r requirements.txt
Migrate existing database schema with::
$ mayan-edms.py migrate dynamic_search 0001 --fake
$ mayan-edms.py migrate history 0001 --fake
$ mayan-edms.py migrate linking 0001 --fake
$ mayan-edms.py migrate lock_manager 0001 --fake
$ mayan-edms.py migrate tags 0001 --fake
$ mayan-edms.py migrate
During the migration several messages of stale content types can occur:
.. code-block:: bash
The following content types are stale and need to be deleted:
metadata | documenttypedefaults
metadata | metadataset
metadata | metadatasetitem
ocr | documentqueue
ocr | queuedocument
sources | watchfolder
sources | outofprocess
sources | webform
sources | stagingfolder
tags | tagproperties
Any objects related to these content types by a foreign key will also
be deleted. Are you sure you want to delete these content types?
If you're unsure, answer 'no'.
Type 'yes' to continue, or 'no' to cancel:
You can safely answer "yes".
Add new static media::
$ mayan-edms.py collectstatic --noinput
Remove unused dependencies::
$ pip uninstall APScheduler
$ pip uninstall django-taggit
The upgrade procedure is now complete.
Backward incompatible changes
=============================
* You will have to redefine your document sources due to the new extended models
for this app.
* Check your configurations of smart links and indexes to use the newly provided
arguments.
Bugs fixed or issues closed
===========================
* `issue #30 <https://github.com/mayan-edms/mayan-edms/issues/30>`_ Document workflows
* `issue #32 <https://github.com/mayan-edms/mayan-edms/issues/32>`_ Watched folders
* `issue #34 <https://github.com/mayan-edms/mayan-edms/issues/34>`_ Postprocessing document queue
* `issue #35 <https://github.com/mayan-edms/mayan-edms/issues/35>`_ Metadata validation
* `issue #37 <https://github.com/mayan-edms/mayan-edms/issues/37>`_ Add from __future__ import unicode_literals
* `issue #39 <https://github.com/mayan-edms/mayan-edms/issues/39>`_ Capitalization of messages
* `issue #40 <https://github.com/mayan-edms/mayan-edms/issues/40>`_ Update references to root ('/') path
* `issue #46 <https://github.com/mayan-edms/mayan-edms/issues/46>`_ Advanced search past 1st page
* `issue #49 <https://github.com/mayan-edms/mayan-edms/issues/49>`_ Problems with large pdf files
* `issue #50 <https://github.com/mayan-edms/mayan-edms/issues/50>`_ raise CommandNotFound(path)
* `issue #51 <https://github.com/mayan-edms/mayan-edms/issues/51>`_ Search with ANONYMOUS error
* `issue #55 <https://github.com/mayan-edms/mayan-edms/issues/55>`_ Document approval cicle?
* `issue #56 <https://github.com/mayan-edms/mayan-edms/issues/56>`_ Removal of non essential features, views, models
* `issue #57 <https://github.com/mayan-edms/mayan-edms/issues/57>`_ Migrate to Celery for task query and periodic tasks
* `issue #64 <https://github.com/mayan-edms/mayan-edms/issues/64>`_ Pluralize messages properly
* `issue #65 <https://github.com/mayan-edms/mayan-edms/issues/65>`_ Backport the ability to receive documents via email
* `issue #66 <https://github.com/mayan-edms/mayan-edms/issues/66>`_ Python 3 compatibility: Add from __future__ import unicode_literals and remove all u''
* `issue #68 <https://github.com/mayan-edms/mayan-edms/issues/68>`_ Revise and update the use gettext vs. gettext_lazy
* `issue #69 <https://github.com/mayan-edms/mayan-edms/issues/69>`_ Feature removal: remove "Unregistered" message from the title bar
* `issue #71 <https://github.com/mayan-edms/mayan-edms/issues/71>`_ Add retry support to the converter task
* `issue #72 <https://github.com/mayan-edms/mayan-edms/issues/72>`_ Delete unused static icons
* `issue #74 <https://github.com/mayan-edms/mayan-edms/issues/74>`_ Cache a document's first document version
* `issue #75 <https://github.com/mayan-edms/mayan-edms/issues/75>`_ Move automatic OCR queueing from a configuration settings to a property of Document Type model
* `issue #77 <https://github.com/mayan-edms/mayan-edms/issues/77>`_ Add document view permission support to the search app
* `issue #78 <https://github.com/mayan-edms/mayan-edms/issues/78>`_ COMMON_TEMPORARY_DIRECTORY seems not to be used everywhere
* `issue #79 <https://github.com/mayan-edms/mayan-edms/issues/79>`_ Error installing
* `issue #82 <https://github.com/mayan-edms/mayan-edms/issues/82>`_ Make document type a required field
* `issue #83 <https://github.com/mayan-edms/mayan-edms/issues/83>`_ Simplify source app views and navigation
* `issue #84 <https://github.com/mayan-edms/mayan-edms/issues/84>`_ Remove template context variable 'object_name' to improve translations
* `issue #85 <https://github.com/mayan-edms/mayan-edms/issues/85>`_ Reset page count for a single document
* `issue #86 <https://github.com/mayan-edms/mayan-edms/issues/86>`_ Move migrations to new 'south_migrations' folders
* `issue #87 <https://github.com/mayan-edms/mayan-edms/issues/87>`_ Per document language selection
* `issue #88 <https://github.com/mayan-edms/mayan-edms/issues/88>`_ Remove metadata type selection from the upload wizard
* `issue #89 <https://github.com/mayan-edms/mayan-edms/issues/89>`_ Allow metadata types to be required for specific document types
* `issue #90 <https://github.com/mayan-edms/mayan-edms/issues/90>`_ Remove the app_registry app
* `issue #91 <https://github.com/mayan-edms/mayan-edms/issues/91>`_ Don't preserve the ?page= URL query string value when switching sources during document upload
* `issue #92 <https://github.com/mayan-edms/mayan-edms/issues/92>`_ Make register_multi_item_links class aware
* `issue #95 <https://github.com/mayan-edms/mayan-edms/issues/95>`_ Installation error on Mac OSX; OSError: [Errno 2] No such file or directory
* `issue #96 <https://github.com/mayan-edms/mayan-edms/issues/96>`_ Remove hard code User model references
* `issue #97 <https://github.com/mayan-edms/mayan-edms/issues/97>`_ Make multi item links a drop down list
* `issue #104 <https://github.com/mayan-edms/mayan-edms/issues/104>`_ Finish polishing metadata validation patch
* `issue #105 <https://github.com/mayan-edms/mayan-edms/issues/105>`_ Tie smart links setups to document types
* `issue #106 <https://github.com/mayan-edms/mayan-edms/issues/106>`_ Convert document indexing app actions to Celery
* `issue #107 <https://github.com/mayan-edms/mayan-edms/issues/107>`_ Restrict document metadata addition and removal
* `issue #108 <https://github.com/mayan-edms/mayan-edms/issues/108>`_ New home screen
* `issue #109 <https://github.com/mayan-edms/mayan-edms/issues/109>`_ Add Roles API endpoints
* `issue #111 <https://github.com/mayan-edms/mayan-edms/issues/111>`_ Add Checkouts API endpoints
* `issue #112 <https://github.com/mayan-edms/mayan-edms/issues/112>`_ Add OCR API endpoints
* `issue #114 <https://github.com/mayan-edms/mayan-edms/issues/114>`_ Implement UI language as user preference
* `issue #116 <https://github.com/mayan-edms/mayan-edms/issues/116>`_ Add documentation topic explicitly noting the binary requirements
* `issue #118 <https://github.com/mayan-edms/mayan-edms/issues/118>`_ When a metadata type is removed from a document type, remove it from all the documents of that type
* `issue #119 <https://github.com/mayan-edms/mayan-edms/issues/119>`_ When a required metadata type is added to a document type, add it to all documents of that type
* `issue #126 <https://github.com/mayan-edms/mayan-edms/issues/126>`_ Failing migration with SQLite
* `issue #127 <https://github.com/mayan-edms/mayan-edms/issues/127>`_ Failing migration with Postgres
* `issue #128 <https://github.com/mayan-edms/mayan-edms/issues/128>`_ Add Indexes API endpoints
* `issue #129 <https://github.com/mayan-edms/mayan-edms/issues/129>`_ Search api shouldn't memorize requested page as part of the query
* `issue #130 <https://github.com/mayan-edms/mayan-edms/issues/130>`_ Users API is not working correctly
* `issue #131 <https://github.com/mayan-edms/mayan-edms/issues/131>`_ Is there an API to update a user's password?
* `issue #137 <https://github.com/mayan-edms/mayan-edms/issues/137>`_ Enhancement of language selection
* `issue #138 <https://github.com/mayan-edms/mayan-edms/issues/138>`_ Possibility to keep zoom factor
* `issue #139 <https://github.com/mayan-edms/mayan-edms/issues/139>`_ Translatability of language selection
* `issue #140 <https://github.com/mayan-edms/mayan-edms/issues/140>`_ Thumbnail creation for ods crashing
* `issue #143 <https://github.com/mayan-edms/mayan-edms/issues/143>`_ Exception Value: 'exceptions.ValueError' object has no attribute 'messages'
* `issue #144 <https://github.com/mayan-edms/mayan-edms/issues/144>`_ Behavior of 'Edit metadata' (Recent Documents)
* `issue #146 <https://github.com/mayan-edms/mayan-edms/issues/146>`_ Periodic task not initiated for mail boxes and watch folders
* `issue #149 <https://github.com/mayan-edms/mayan-edms/issues/149>`_ Attribute error in document download
* `issue #150 <https://github.com/mayan-edms/mayan-edms/issues/150>`_ Double second menu entry
* `issue #152 <https://github.com/mayan-edms/mayan-edms/issues/152>`_ Document content empty
* `issue #153 <https://github.com/mayan-edms/mayan-edms/issues/153>`_ south migration with postgres: documents: 031_remove_orphan_documents
* `issue #154 <https://github.com/mayan-edms/mayan-edms/issues/154>`_ south migration with postgres: tags: 0002_auto__add_tag__chg_field_tagproperties_tag
* `issue #157 <https://github.com/mayan-edms/mayan-edms/issues/157>`_ upload new version of a document not working
* `issue #158 <https://github.com/mayan-edms/mayan-edms/issues/158>`_ Plural form not matching singular form in ocr app bug i18n
.. _Celery: http://www.celeryproject.org/
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/
.. _Celery's documentation: http://celery.readthedocs.org/en/latest/configuration.html
.. _namespaced: https://docs.djangoproject.com/en/1.6/topics/http/urls/#url-namespaces
.. _email configuration settings documentation: https://docs.djangoproject.com/en/1.6/ref/settings/#email-host
.. _Django activity stream: https://github.com/justquick/django-activity-stream
+99
View File
@@ -0,0 +1,99 @@
===============================
Mayan EDMS v2.0.1 release notes
===============================
Released: January 22, 2016
Welcome to Mayan EDMS v2.0.1
What's new in Mayan EDMS v2.0.1
===============================
Required metadata was not enforce correctly
-------------------------------------------
Fixed a situation where documents having required metadata could still be
uploaded without entering a value for the required metadata.
Fix multiple document metadata adding
-------------------------------------
Fixed a bug when adding metadata to multiple documents.
Fix multiple document metadata editing
--------------------------------------
Fixed a bug that made it impossible to edit multiple documents' metadata values
if one of the documents had no previous value for it's metadata.
Updated Vagrant file
--------------------
The included Vagrant file now provide 2 boxes: development and production.
Selection which kind of box to provision is as easy as executing::
vagrant up development
or
vagrant up production
Other changes
-------------
* None
Removals
--------
* None
Upgrading from a previous version
---------------------------------
Using PIP
~~~~~~~~~
Type in the console::
$ pip install -U mayan-edms
the requirements will also be updated automatically.
Using Git
~~~~~~~~~
If you installed Mayan EDMS by cloning the Git repository issue the commands::
$ git reset --hard HEAD
$ git pull
otherwise download the compressed archived and uncompress it overriding the
existing installation.
Next upgrade/add the new requirements::
$ pip install --upgrade -r requirements.txt
Common steps
~~~~~~~~~~~~
Migrate existing database schema with::
$ mayan-edms.py performupgrade
Add new static media::
$ mayan-edms.py collectstatic --noinput
The upgrade procedure is now complete.
Backward incompatible changes
=============================
* None
Bugs fixed or issues closed
===========================
* `GitLab issue #243 <https://gitlab.com/mayan-edms/mayan-edms/issues/243>`_ System allows a user to skip entering values for a required metadata field while uploading a new document
* `GitLab issue #245 <https://gitlab.com/mayan-edms/mayan-edms/issues/245>`_ Add multiple metadata not possible
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/
+94
View File
@@ -0,0 +1,94 @@
===============================
Mayan EDMS v2.0.2 release notes
===============================
Released: February 15, 2016
Welcome to Mayan EDMS v2.0.2
What's new
==========
Fine tune "Update" checkbox from the metadata entry form
--------------------------------------------------------
Previously the update checkbox was ignored during the metadata step of the
document upload wizard with the wizard always creating a metadata entry for the
new document even if the entry was left blank. The checkbox now controls whether
or not the wizard will store try to create the metadata entry.
Fix empty optional lookup metadata fields behavior
--------------------------------------------------
An edge case was fixed that caused validation to be executed for empty metadata
fields that had a value lookup list.
Remove Docker files
-------------------
Included Docker and Docker Compose files were removed since the Mayan EDMS Docker
(https://gitlab.com/mayan-edms/mayan-edms-docker) repository is stable.
Other changes
-------------
- Only extract validation error messages from ValidationError exception instances.
- Add 2 second delay to document version tests to workaround MySQL not storing
the millisecond part of the document version's timestamp.
- Install testing dependencies when installing development dependencies.
- Fix OCR API test for document version page OCR content.
- Move metadata form value validation to .clean() method.
- Add HTML tags stripping to the browser title generation template.
Removals
--------
* None
Upgrading from a previous version
---------------------------------
Using PIP
~~~~~~~~~
Type in the console::
$ pip install -U mayan-edms
the requirements will also be updated automatically.
Using Git
~~~~~~~~~
If you installed Mayan EDMS by cloning the Git repository issue the commands::
$ git reset --hard HEAD
$ git pull
otherwise download the compressed archived and uncompress it overriding the
existing installation.
Next upgrade/add the new requirements::
$ pip install --upgrade -r requirements.txt
Common steps
~~~~~~~~~~~~
Migrate existing database schema with::
$ mayan-edms.py performupgrade
Add new static media::
$ mayan-edms.py collectstatic --noinput
The upgrade procedure is now complete.
Backward incompatible changes
=============================
* None
Bugs fixed or issues closed
===========================
* `GitLab issue #250 <https://gitlab.com/mayan-edms/mayan-edms/issues/250>`_ Empty optional lookup metadata trigger validation error.
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/
File diff suppressed because it is too large Load Diff
+87
View File
@@ -0,0 +1,87 @@
===============================
Mayan EDMS v2.1.1 release notes
===============================
Released: May 17, 2016
What's new
==========
This is a bugfix release and all users are encouraged to upgrade.
Fix object column resolution issue in navigation app
----------------------------------------------------
Version 2.1 includes a navigation feature that allows model instances from a
queryset generated using the .defer() or .only() Django filter optimization
features to resolve to their parent class transparently. This optimization
caused problems with the sources app which uses a
Missing Tesseract language files
--------------------------------
The Tesseract OCR backend now reports if the tesseract language file is missing
for the requested document's language.
Other changes
-------------
- Ensure the automatic default index is created after the default document type.
Removals
--------
* None
Upgrading from a previous version
---------------------------------
Using PIP
~~~~~~~~~
Type in the console::
$ pip install -U mayan-edms
the requirements will also be updated automatically.
Using Git
~~~~~~~~~
If you installed Mayan EDMS by cloning the Git repository issue the commands::
$ git reset --hard HEAD
$ git pull
otherwise download the compressed archived and uncompress it overriding the
existing installation.
Next upgrade/add the new requirements::
$ pip install --upgrade -r requirements.txt
Common steps
~~~~~~~~~~~~
Migrate existing database schema with::
$ mayan-edms.py performupgrade
Add new static media::
$ mayan-edms.py collectstatic --noinput
The upgrade procedure is now complete.
Backward incompatible changes
=============================
* None
Bugs fixed or issues closed
===========================
* `GitLab issue #288 <https://gitlab.com/mayan-edms/mayan-edms/issues/288>`_ Can't add sources in mayan-edms 2.1.
* `GitLab issue #289 <https://gitlab.com/mayan-edms/mayan-edms/issues/289>`_ OCR fails with Exception.
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/
+86
View File
@@ -0,0 +1,86 @@
===============================
Mayan EDMS v2.1.2 release notes
===============================
Released: May 20, 2016
What's new
==========
This is a bugfix release and all users are encouraged to upgrade.
Language list sorting
---------------------
The document language list and the user locale profile language list are now
sorted to make it easier to find the desired language.
Fixed the metadata lookup options: {{ users }} and {{ groups }}
---------------------------------------------------------------
When configuring metadata type lookup options the {{ users }} and {{ groups }}
special options can be used to display a list of users or a list of groups.
These options where producing a list in the wrong format and were updated.
Other changes
-------------
- Add Makefile for common development tasks
Removals
--------
* None
Upgrading from a previous version
---------------------------------
Using PIP
~~~~~~~~~
Type in the console::
$ pip install -U mayan-edms
the requirements will also be updated automatically.
Using Git
~~~~~~~~~
If you installed Mayan EDMS by cloning the Git repository issue the commands::
$ git reset --hard HEAD
$ git pull
otherwise download the compressed archived and uncompress it overriding the
existing installation.
Next upgrade/add the new requirements::
$ pip install --upgrade -r requirements.txt
Common steps
~~~~~~~~~~~~
Migrate existing database schema with::
$ mayan-edms.py performupgrade
Add new static media::
$ mayan-edms.py collectstatic --noinput
The upgrade procedure is now complete.
Backward incompatible changes
=============================
* None
Bugs fixed or issues closed
===========================
* `GitLab issue #290 <https://gitlab.com/mayan-edms/mayan-edms/issues/290>`_ Unicode characters not supported as metadata values
* `GitLab issue #292 <https://gitlab.com/mayan-edms/mayan-edms/issues/292>`_ Sort languages by name not by abbreviation
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/
+87
View File
@@ -0,0 +1,87 @@
===============================
Mayan EDMS v2.1.3 release notes
===============================
Released: June 29, 2016
What's new
==========
This is a bug-fix release and all users are encouraged to upgrade.
Temporary files cleanup
-----------------------
When uploading PDF files that had been OCRed by previous software, the text
parser backend that uses Poppler, would leave behind some temporary files in
the /tmp folder. The issue has been resolved and from the fix a test mixin
system check has been devised that will identify places in the codebase with
similar behaviors, reducing the recurrence of similar issues in the future.
Other changes
-------------
- Add help message when initialsetup migration phase fails. Relates to GitLab issue #296
- Start using self.setdout instead of print as per documentation.
- Fix GitLab issue #295, "When editing a user the top bar jumps to the name of the user".
- Normalize handling of temporary file and directory creation.
- Explicitly check for residual temporary files in tests.
- Add missing temporary file cleanup for office documents.
- Fix file descriptor leak in the document signature download test.
Removals
--------
* None
Upgrading from a previous version
---------------------------------
Using PIP
~~~~~~~~~
Type in the console::
$ pip install -U mayan-edms
the requirements will also be updated automatically.
Using Git
~~~~~~~~~
If you installed Mayan EDMS by cloning the Git repository issue the commands::
$ git reset --hard HEAD
$ git pull
otherwise download the compressed archived and uncompress it overriding the
existing installation.
Next upgrade/add the new requirements::
$ pip install --upgrade -r requirements.txt
Common steps
~~~~~~~~~~~~
Migrate existing database schema with::
$ mayan-edms.py performupgrade
Add new static media::
$ mayan-edms.py collectstatic --noinput
The upgrade procedure is now complete.
Backward incompatible changes
=============================
* None
Bugs fixed or issues closed
===========================
* `GitLab issue #295 <https://gitlab.com/mayan-edms/mayan-edms/issues/295>`_ When editing a user the top bar jumps to the name of the user
* `GitLab issue #309 <https://gitlab.com/mayan-edms/mayan-edms/issues/309>`_ Temp files quickly filling-up my /tmp (1GB tmpfs)
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/
+238
View File
@@ -0,0 +1,238 @@
=============================
Mayan EDMS v2.1 release notes
=============================
Released: May 14, 2016
What's new
==========
Upgrade to use Django 1.8.13
----------------------------
With the end of life support for Django 1.7, moving to the next Mayan EDMS
minor version was a target for this release. The Django minor release chosen was
1.8 as it is very compatible with 1.7 and required minimal changes. Django 1.8
is an LTS release (Long Term Support) meaning that is no new big feature of a
new Django version is required, the project can stay in Django 1.8 for a good
amount of time with no downsides.
Remove remaining references to Django's User model
--------------------------------------------------
The few remaining hard code references to Django's User model that were missed
in a previous release have been removed. Using a custom User model with Mayan
should present very little if any obstacles.
Remove included login required middleware
-----------------------------------------
The custom middleware include with Mayan EDMS that forces user to be
authenticated before being able to access any view has been removed in favor of
a dedicated 3rd party Django app for that purpose. The app chosen was
django-stronghold (http://mikegrouchy.com/django-stronghold/).
Improve generation of success and error messages for class based views
----------------------------------------------------------------------
In the past success messages for actions would show a generic mention to the
object being manipulated (document, folder, tag). Now the errors and success
messages with be more explicit in describing what the view has or was trying
to manipulate.
Remove ownership concept from folders
-------------------------------------
Currently Folders in Mayan EDMS have a field that stores a reference to the
user that has created that folders. One of the design decisions of Mayan EDMS
is that there should never be any explicit ownership of any object. Ownership
is relative and is defined by the Access Control List of an object. The
removal of the user field from the Folders model brings this app in line with
the defined behavior.
Replacement of strip_spaces middleware with the spaceless template tag
----------------------------------------------------------------------
As a size optimization technique HTML content was dynamically stripped of spaces
as it was being served. The technique used involved detecting the MIME type of
the content being served and if found to be of text/HTML type spaces between
tags were stripped. An edge case was found where this did not worked always.
The approached has been changed to use Django's official tag to strip spaces.
In addition to using an official approach, the removal of spaces only happens
when the template is compiled and not at each HTTP response. The optimization
is minimal but since it happened at every response a small increase in speed
is expected for all deployment scenarios.
Deselect the update checkbox for optional metadata by default
-------------------------------------------------------------
During the last releases the behavior of the of metadata edit checkbox has seen
several tune ups. Thanks to community feedback one small change has been
introduced. The edit checkbox will be deselected by default for all optional
document type metadata entries.
Implement per document type document creation permission
--------------------------------------------------------
If is now possible to grant the document creation permission to a role for a
document type. Previously document creation was a "blanket" permission. Having
the permission meant that user could create any type of document. With this
change it is now possible to restrict which types of document users of a
specific role can create.
Make document type delete time period optional
----------------------------------------------
The entries that defined after how long a document in the trash would be
permanently deleted have been made optional. This means that if a document
type has this option blank, the corresponding document of this type would never
be deleted from the trash can.
Fixed date locale handling in document properties, checkout and user detail views
---------------------------------------------------------------------------------
A few releases back the ability to for users to set their timezone was added.
This change also included a smart date rendering update to adjust the dates
and times fields to the user's timezone. Some users reported a few views where
this timezone adjustment was not happening, this has been fully fixed.
Default index
-------------
During new installations a default index that organizes document by year/month
when they were uploaded will be created to help users better understand the
concept of indexes in Mayan EDMS.
HTML5 upload widget
-------------------
A common request is the ability to just drap and drop documents from other
windows into Mayan EDMS's document upload wizard. This release includes that
capability and will also show a completion bar for the upload. Document
uploading is sped up dramatically with this change.
Message of the Day app
----------------------
Administrators wanting to display announcements has no other way to do so
than to customize the login template. To avoid this a new app has been added
that allows for the creation of messages to be shown at the user login
screen. These messages can have an activation and an expiration date and
time. These messages are useful for display company access policies,
maintenance announcement, etc.
Document signing
----------------
The biggest change for this release if the addition of document signing from
within the UI. Enterprise users request this feature very often as in those
environments cryptographic signatures are a basic requirement. Previously
Mayan EDMS had the ability to automatically check if a document was signed and
if signed, verify the validity of the signature. However, to sign documents
user had to download the document, sign the document offline, and either
re-upload the signed document as a new version or upload a detached
signature for the existing document version. Aside from being now able to sign
documents from the web user interface, the way keys are handled has been
rewritten from scratch to support distributed key storage. This means that
a key uploaded in one computer by one user can be used transparently by
other users in other computers to sign documents. The relevant access control
updates were added to the new document signing system. Users wanting to sign a
document need the singing permission for the document (or document type),
for the private key they intend to use, and the passphrase (if the key has one).
Finally documents are now checked just once for signatures and not every time
they are accessed, this provides a very sizable speed improvement in document
access and availability.
Other changes
=============
- Upgrade Python requirements to recent versions.
- Rename 'Content' search box to 'OCR'.
- Silence all Django 1.8 model import warnings.
- Add icons to the document face menu links.
- Increase icon to text spacing to 3px.
- Add new permission: checkout details view.
- Add HTML tags stripping to the browser title generation template.
- Folder and Tag creation API calls now return the id of the created instances.
- Update Document model's uuid field to use Django's native UUIDField class.
- Add new split view index navigation
- Newly uploaded documents appear in the Recent document list of the user.
- Start migration from django-sendfile to django-downloadview.
- Index more model fields.
- Navigation system support querysets using .defer() or .only() optimizations.
- API fixes and improvements.
- Increase total test count to 311.
- Increase test coverage to 77%.
- Documentation improvements.
- Handle unicode filenames in staging folders.
- Add staging file deletion permission.
- New document_signature_view permission.
- Instead of multiple keyservers only one keyserver is now supported.
- Replace document type selection widget with an opened selection list.
- Add roadmap documentation chapter.
Removals
--------
* None
Upgrading from a previous version
---------------------------------
Using PIP
~~~~~~~~~
Type in the console::
$ pip install -U mayan-edms
the requirements will also be updated automatically.
Using Git
~~~~~~~~~
If you installed Mayan EDMS by cloning the Git repository issue the commands::
$ git reset --hard HEAD
$ git pull
otherwise download the compressed archived and uncompress it overriding the
existing installation.
Next upgrade/add the new requirements::
$ pip install --upgrade -r requirements.txt
Common steps
~~~~~~~~~~~~
Migrate existing database schema with::
$ mayan-edms.py performupgrade
Add new static media::
$ mayan-edms.py collectstatic --noinput
The upgrade procedure is now complete.
Backward incompatible changes
=============================
* None
Bugs fixed or issues closed
===========================
* `GitLab issue #137 <https://gitlab.com/mayan-edms/mayan-edms/issues/137>`_ Add app creation chapter to documentation.
* `GitLab issue #147 <https://gitlab.com/mayan-edms/mayan-edms/issues/147>`_ Add in app document signing.
* `GitLab issue #161 <https://gitlab.com/mayan-edms/mayan-edms/issues/161>`_ Email backend setup documentation.
* `GitLab issue #162 <https://gitlab.com/mayan-edms/mayan-edms/issues/162>`_ Add HTML5 file uploader.
* `GitLab issue #191 <https://gitlab.com/mayan-edms/mayan-edms/issues/191>`_ Split index contents title into title and path/breadcrumb widget.
* `GitLab issue #206 <https://gitlab.com/mayan-edms/mayan-edms/issues/206>`_ Support for dynamic LOGIN_EXEMPT_URLS.
* `GitLab issue #208 <https://gitlab.com/mayan-edms/mayan-edms/issues/208>`_ Add tagging step to upload wizard.
* `GitLab issue #218 <https://gitlab.com/mayan-edms/mayan-edms/issues/218>`_ Cookie cutter template for Mayan apps.
* `GitLab issue #222 <https://gitlab.com/mayan-edms/mayan-edms/issues/222>`_ Add notice board or Message of the Day.
* `GitLab issue #225 <https://gitlab.com/mayan-edms/mayan-edms/issues/225>`_ Remove hard coded User model.
* `GitLab issue #232 <https://gitlab.com/mayan-edms/mayan-edms/issues/232>`_ "Create documents" is a blanket permission for a user to create a document of any document type.
* `GitLab issue #246 <https://gitlab.com/mayan-edms/mayan-edms/issues/246>`_ Upgrade to Django version 1.8 as Django 1.7 is end-of-life.
* `GitLab issue #251 <https://gitlab.com/mayan-edms/mayan-edms/issues/251>`_ Add method to disable metadata edit form "update" checkbox when not needed.
* `GitLab issue #255 <https://gitlab.com/mayan-edms/mayan-edms/issues/255>`_ UnicodeDecodeError in apps/common/middleware/strip_spaces_widdleware.py.
* `GitLab issue #256 <https://gitlab.com/mayan-edms/mayan-edms/issues/256>`_ typo in locale settings (Dutch).
* `GitLab issue #261 <https://gitlab.com/mayan-edms/mayan-edms/issues/261>`_ Feature: Document Access Audit Logging.
* `GitLab issue #265 <https://gitlab.com/mayan-edms/mayan-edms/issues/265>`_ Indexes show list (show indexe only if the user has ACLs on document type).
* `GitLab issue #266 <https://gitlab.com/mayan-edms/mayan-edms/issues/266>`_ Smart links : Dynamic label with Postgresql.
* `GitLab issue #267 <https://gitlab.com/mayan-edms/mayan-edms/issues/267>`_ Release 2.1 RC1 : Notes and ideas.
* `GitLab issue #268 <https://gitlab.com/mayan-edms/mayan-edms/issues/268>`_ Release 2.1 RC1 : Bug to access inside an indexes.
* `GitLab issue #270 <https://gitlab.com/mayan-edms/mayan-edms/issues/270>`_ Release 2.1 RC1 : Bug statistics.
* `GitLab issue #274 <https://gitlab.com/mayan-edms/mayan-edms/issues/274>`_ [Release 2.1 RC2] Web Tests.
* `GitLab issue #275 <https://gitlab.com/mayan-edms/mayan-edms/issues/275>`_ [Release 2.1 RC2] Notes.
* `GitLab issue #276 <https://gitlab.com/mayan-edms/mayan-edms/issues/276>`_ [Release 2.1 RC2] API Tests.
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/
+109
View File
@@ -0,0 +1,109 @@
=============
Release notes
=============
Release notes for the official Mayan EDMS releases. Each release note will tell you
what's new in each version, and will also describe any backwards-incompatible
changes made in that version.
For those upgrading to a new version of Mayan EDMS, you will need to check
all the backwards-incompatible changes and deprecated features for
each 'final' release from the one after your current Mayan EDMS version,
up to and including the latest version.
Final releases
==============
Below are release notes through Mayan EDMS |version| and its minor releases. Newer
versions of the documentation contain the release notes for any later releases.
2.0 series
----------
.. toctree::
:maxdepth: 1
2.1.3
2.1.2
2.1.1
2.1
2.0.2
2.0.1
2.0
1.0 series
----------
.. toctree::
:maxdepth: 1
1.1.1
1.1
1.0
0.13 release
------------
.. toctree::
:maxdepth: 1
0.13
0.12 release
------------
.. toctree::
:maxdepth: 1
0.12.2
0.12.1
0.12
0.11 release
------------
.. toctree::
:maxdepth: 1
0.11.1
0.11
0.10 release
------------
.. toctree::
:maxdepth: 1
0.10.1
0.10
0.9 release
-----------
.. toctree::
:maxdepth: 1
0.9.1
0.9
0.8 release
-----------
.. toctree::
:maxdepth: 1
0.8.3
0.8.2
0.8.1
0.8
0.7 release
-----------
.. toctree::
:maxdepth: 1
0.7.6
0.7.5
0.7.4
0.7.3
0.7
0.5 release
-----------
.. toctree::
:maxdepth: 1
0.5.1
0.5
+73
View File
@@ -0,0 +1,73 @@
====================
Access control lists
====================
Besides the permissions system explained in :doc:`permissions`, Mayan EDMS
provides per object permission granting. This feature is used to grant a
permission to a role, but this permission can only be executed for a limited
number of objects (documents, folders, tags) instead of being effective
system-wide.
.. blockdiag::
blockdiag {
document [ label = 'Document' ];
role [ label = 'Role' ];
permission [ label = 'Permission' ];
role -> document <- permission;
}
Example:
.. blockdiag::
blockdiag {
document [ label = '2015 Payroll report.txt', width=200 ];
role [ label = 'Accountants' ];
permission [ label = 'View document' ];
role -> document <- permission;
}
In this scenario only users in groups belonging to the ``Accountants`` role
would be able to view the ``2015 Payroll report.txt`` document.
Inherited access control
========================
It is also possible to grant a permission to a role for a specific document type (:doc:`document_types`).
Under this scheme all users in groups belonging to that role will inherit that
permission for all documents of that type.
.. blockdiag::
blockdiag {
document_type [ label = 'Document type' ];
role [ label = 'Role' ];
permission [ label = 'Permission' ];
role -> document_type <- permission;
}
Example:
.. blockdiag::
blockdiag {
document_type [ label = 'Payroll reports', width=200 ];
role [ label = 'Accountants' ];
permission [ label = 'View document' ];
role -> document_type <- permission;
}
The role ``Accountants`` is given the permission ``document view`` for the
document type ``Payroll reports``. Now all users in groups belonging to the
``Accountants`` role can view all documents of the type ``Payroll reports``
without needing to have that permissions granted for each particular
``Payroll reports`` type document.
If access control for the ``Payroll reports`` documents needs to be updated it
only needs to be done for the document type and not for each document of the type
``Payroll reports``.
+143
View File
@@ -0,0 +1,143 @@
============
App creation
============
Mayan EDMS apps are essentially Django app with some extra code to register
navigation, permissions and other relationships.
App modules
===========
- __init__.py
Should be empty if possible. No initialization code should be here, use the
ready() method of the MayanAppConfig class in the apps.py module.
- admin.py
Standard Django app module to define how models are to be presented in the
admin interface.
- api_views.py
REST API views go here. Mayan EDMS uses Django REST Framework API view
classes.
- apps.py
Contains the MayanAppConfig subclass as required by Django 1.7 and up. This
is a place to define the app name and translatable verbose name as well as
code to be execute when the modules of the app are ready.
- classes.py
Hold python classes to be used internally or externally. Any class defined by
the app that is not a model.
- events.py
Define event class instances that are later committed to a log by custom
code.
- exceptions.py
Custom exceptions defined by the app.
- fields.py
Place any custom form field classed you define here.
- forms.py
Standard Django app module that hold custom form classes.
- handlers.py
Contains the signal handlers, functions that will process a given signal
emitted from this or other apps. Connect the handler functions to the
corresponding signal in the ready() method of the MayanAppConfig subclass in
apps.py
- links.py
Defines the links to be used by the app. Import only from the navigation app
and the local permissions.py file.
- literals.py
Stores magic numbers, module choices (if static), settings defaults, and
constants. Should contain all capital case variables. Must not import from
any other module.
- managers.py
Standard Django app module that hold custom model managers. These act as
model class method to performs actions in a series of model instances or
utilitarian actions on external models instances.
- models.py
Standard Django app module that defines ORM persistent data schema.
- permissions.py
Defines the permissions to be used to validate user access by links and views.
Imports only from the permissions app. Link or view conditions such as
testing for is_staff or is_super_user flag are defined in this same module.
- runtime.py
Use this module when you need the same instance of a class for the entire app.
This module acts as a shared memory space for the other modules of the app or
other apps.
- serializers.py
Hold Django REST Framework serializers used by the api_views.py module.
- settings.py
Define the configuration settings instances that the app will use.
- signals.py
Any custom defined signal goes here.
- statistics.py
Provides functions that will compute any sort of statistical information on
the app’s data.
- tasks.py
Code to be execute in the background or as an out-of-process action.
- tests/ directory
Hold test modules. There should be one test_*.py module for each aspect being
tested, examples: test_api.py, test_views.py, test_parsers.py, test_permissions.py
Any shared constant data used by the tests should be added to tests/literals.py
- utils.py
Holds utilitarian code that doesn't fit on any other app module or that is
used by several modules in the app. Anything used internally by the app that
is not a class or a literal (should be as little as possible)
- widgets.py
HTML widgets go here. This should be the only place with presentation
directives in the app (aside the templates).
Views
=====
The module common.generics provides custom generic class based views to be used.
The basic views used to create, edit, view and delete objects in Mayan EDMS
are: SingleObjectCreateView, SingleObjectDetailView, SingleObjectEditView,
and SingleObjectListView
These views handle aspects relating to view permissions, object permissions,
post action redirection and template context generation.
+16
View File
@@ -0,0 +1,16 @@
=======
Backups
=======
To backup your install of Mayan EDMS just copy the actual document files and
the database content. If you are using the default storage backend, the
document files should be found in ``mayan/media/document_storage/``.
To dump the content of your database manager refer to the documentation chapter
regarding database data "dumping".
Example:
- Postgresl: http://www.postgresql.org/docs/current/static/backup.html
- MySQL: https://dev.mysql.com/doc/refman/5.7/en/mysqldump.html
- SQLite: Just copy the file ``mayan/media/db.sqlite3``
+14
View File
@@ -0,0 +1,14 @@
=========
Checkouts
=========
Checkouts are a way to block certain accesses or actions of a document for a
period of time.
An user can choose to checkout a document to work on an update and block new
versions of that document to be uploaded by other users. Document are checked
out for a certain amount of time and if not manually checked in by the original
user, will be checked in automatically by the system.
To be able to check in documents that were checked out by other users, the
permission 'Forcefully check in documents' is required.
+39
View File
@@ -0,0 +1,39 @@
=======
Contact
=======
FAQ
---
* Try the :doc:`FAQ <faq>` -- it's got answers to many common questions.
Mailing list
------------
Search for information in the `archives of the mayan-edms mailing list`_, or
`post a question`_. If you prefer news servers, use the gateway provided by
Gmane_.
Mayan EDMS community developers do their best to reply to basic questions.
Be sure to check the list archives as it may already containt the answers to
your questions.
Twitter
-------
Mayan EDMS has an official Twitter account, `@mayanedms
<http://twitter.com/mayanedms>`_, which is used for announcements and occasional
related news tidbits.
Bugs/ticket tracker
-------------------
Report bugs with Mayan EDMS or search existing ones using Gitlab's `ticket tracker`_.
.. _archives of the mayan-edms mailing list: http://groups.google.com/group/mayan-edms/
.. _post a question: http://groups.google.com/group/mayan-edms
.. _ticket tracker: https://gitlab.com/mayan-edms/mayan-edms/issues
.. _Gmane: http://news.gmane.org/gmane.comp.python.django.mayan-edms
+38
View File
@@ -0,0 +1,38 @@
.. _contributors:
============
Contributors
============
How to contribute?
------------------
You can help further the development of Mayan EDMS by testing, reporting
bugs, submitting documentation or code patches.
Lead developer
--------------
* Roberto Rosario (roberto.rosario@mayan-edms.com) <https://twitter.com/siloraptor>
Contributors (in alphabetical order)
------------------------------------
* Aziz M. Bookwala (https://github.com/azizmb)
* Bertrand Bordage (https://github.com/BertrandBordage)
* Brian E (brian@realize.org)
* David Herring (https://github.com/abadger1406)
* Emlyn Clay (https://github.com/EmlynC)
* Jens Kadenbach (https://github.com/audax)
* Kolmar Kafran
* Helga Carrero
* IHLeanne (https://github.com/IHLeanne)
* Iliya Georgiev (ikgeorgiev@gmail.com)
* Lars Kruse (devel@sumpfralle.de)
* Mathias Behrle <mbehrle@m9s.biz>
* Meurig Freeman (https://github.com/meurig)
* Nate Aune (nate@appsembler.com)
* Paul Whipp [https://github.com/pwhipp] [http://paulwhippconsulting.com]
* Rafael Esparra <rafael.esparra1@upr.edu>
* Sergey Glita (s.v.glita@gmail.com)
* Simone Federici [https://twitter.com/aldaranalton] [https://github.com/simone]
* Webfaction (https://www.webfaction.com)
+258
View File
@@ -0,0 +1,258 @@
=========
Deploying
=========
OS "bare metal"
===============
Like other Django based projects Mayan EDMS can be deployed in a wide variety
of ways. The method provided below is only a bare minimum example.
These instructions are independent of the instructions mentioned in the
:doc:`installation` chapter but assume you have already made a test install to
test the compatibility of your operating system. These instruction are for
Ubuntu 15.04.
Switch to superuser::
sudo -i
Install all system dependencies::
apt-get install nginx supervisor redis-server postgresql \
libpq-dev libjpeg-dev libmagic1 libpng-dev libreoffice \
libtiff-dev gcc ghostscript gpgv python-dev python-virtualenv \
tesseract-ocr unpaper poppler-utils -y
Change to the directory where the project will be deployed::
cd /usr/share
Create the Python virtual environment for the installation::
virtualenv mayan-edms
Activate the virtualenv::
source mayan-edms/bin/activate
Install Mayan EDMS from PyPI::
pip install mayan-edms
Install the Python client for PostgreSQL, Redis, and uWSGI::
pip install psycopg2 redis uwsgi
Create the database for the installation::
sudo -u postgres createuser -P mayan (provide password)
sudo -u postgres createdb -O mayan mayan
Create the directory for the log files::
mkdir /var/log/mayan
Change the current directory to be the one of the installation::
cd mayan-edms
Make a convenience symbolic link::
ln -s lib/python2.7/site-packages/mayan .
Create an initial settings file::
mayan-edms.py createsettings
Append the following to the ``mayan/settings/local.py`` file, paying attention to replace the ``PASSWORD`` value::
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'mayan',
'USER': 'mayan',
'PASSWORD': '<password used when creating postgreSQL user>',
'HOST': 'localhost',
'PORT': '5432',
}
}
BROKER_URL = 'redis://127.0.0.1:6379/0'
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'
Migrate the database or initialize the project::
mayan-edms.py initialsetup
Disable the default NGINX site::
rm /etc/nginx/sites-enabled/default
Create a ``uwsgi.ini`` file with the following contents::
[uwsgi]
chdir = /usr/share/mayan-edms/lib/python2.7/site-packages/mayan
chmod-socket = 664
chown-socket = www-data:www-data
env = DJANGO_SETTINGS_MODULE=mayan.settings.production
gid = www-data
logto = /var/log/uwsgi/%n.log
pythonpath = /usr/share/mayan-edms/lib/python2.7/site-packages
master = True
max-requests = 5000
socket = /usr/share/mayan-edms/uwsgi.sock
uid = www-data
vacuum = True
wsgi-file = /usr/share/mayan-edms/lib/python2.7/site-packages/mayan/wsgi.py
Create the directory for the uWSGI log files::
mkdir /var/log/uwsgi
Create the NGINX site file for Mayan EDMS, ``/etc/nginx/sites-available/mayan``::
server {
listen 80;
server_name localhost;
location / {
include uwsgi_params;
uwsgi_pass unix:/usr/share/mayan-edms/uwsgi.sock;
client_max_body_size 30M; # Increse if your plan to upload bigger documents
proxy_read_timeout 30s; # Increase if your document uploads take more than 30 seconds
}
location /static {
alias /usr/share/mayan-edms/mayan/media/static;
expires 1h;
}
location /favicon.ico {
alias /usr/share/mayan-edms/mayan/media/static/appearance/images/favicon.ico;
expires 1h;
}
}
Enable the NGINX site for Mayan EDMS::
ln -s /etc/nginx/sites-available/mayan /etc/nginx/sites-enabled/
Create the supervisor file for the uWSGI process, ``/etc/supervisor/conf.d/mayan-uwsgi.conf``::
[program:mayan-uwsgi]
command = /usr/share/mayan-edms/bin/uwsgi --ini /usr/share/mayan-edms/uwsgi.ini
user = root
autostart = true
autorestart = true
redirect_stderr = true
Create the supervisor file for the Celery worker, ``/etc/supervisor/conf.d/mayan-celery.conf``::
[program:mayan-worker]
command = /usr/share/mayan-edms/bin/python /usr/share/mayan-edms/bin/mayan-edms.py celery --settings=mayan.settings.production worker -Ofair -l ERROR
directory = /usr/share/mayan-edms
user = www-data
stdout_logfile = /var/log/mayan/worker-stdout.log
stderr_logfile = /var/log/mayan/worker-stderr.log
autostart = true
autorestart = true
startsecs = 10
stopwaitsecs = 10
killasgroup = true
priority = 998
[program:mayan-beat]
command = /usr/share/mayan-edms/bin/python /usr/share/mayan-edms/bin/mayan-edms.py celery --settings=mayan.settings.production beat -l ERROR
directory = /usr/share/mayan-edms
user = www-data
numprocs = 1
stdout_logfile = /var/log/mayan/beat-stdout.log
stderr_logfile = /var/log/mayan/beat-stderr.log
autostart = true
autorestart = true
startsecs = 10
stopwaitsecs = 1
killasgroup = true
priority = 998
Collect the static files::
mayan-edms.py collectstatic --noinput
Make the installation directory readable and writable by the webserver user::
chown www-data:www-data /usr/share/mayan-edms -R
Restart the services::
/etc/init.d/nginx restart
/etc/init.d/supervisor restart
Docker
======
Deploy the Docker image stack::
docker run --name postgres -e POSTGRES_DB=mayan -e POSTGRES_USER=mayan -e POSTGRES_PASSWORD=mysecretpassword -v /var/lib/postgresql/data -d postgres
docker run --name redis -d redis
docker run --name mayan-edms -p 80:80 --link postgres:postgres --link redis:redis -e POSTGRES_DB=mayan -e POSTGRES_USER=mayan -e POSTGRES_PASSWORD=mysecretpassword -v /usr/local/lib/python2.7/dist-packages/mayan/media -d mayanedms/monolithic
After the Mayan EDMS container finishes initializing (about 5 minutes), it will
be available by browsing to http://127.0.0.1. You can inspect the initialization
with::
docker logs mayan-edms
Docker Compose
==============
Create a file named ``environment`` with the following content::
POSTGRES_DB=mayan
POSTGRES_PASSWORD=mayanpassword
POSTGRES_USER=mayan
Create a file named ``docker-compose.yml`` with the content::
postgres:
env_file:
- ./environment
image: postgres
volumes:
- /var/lib/postgresql/data
redis:
image: redis
mayan-edms:
env_file:
- ./environment
image: mayanedms/monolithic
links:
- postgres
- redis
ports:
- "80:80"
volumes:
- /usr/local/lib/python2.7/dist-packages/mayan/media
Launch the entire stack (Postgres, Redis, and Mayan EDMS) using::
docker-compose -f docker-compose.yml -p mayanedms up -d
After the Mayan EDMS container finishes initializing (about 5 minutes), it will
be available by browsing to http://127.0.0.1. You can inspect the initialization
with::
docker logs mayanedms_mayan-edms_1
Vagrant
=======
Make sure you have Vagrant and a provider properly installed as per
https://docs.vagrantup.com/v2/installation/index.html
Clone the repository and execute::
vagrant up production
+425
View File
@@ -0,0 +1,425 @@
.. _development:
Development
===========
Mayan EDMS is under active development, and contributions are welcome.
If you have a feature request, suggestion or bug report, please open a new
issue on the `GitLab issue tracker`_. To submit patches, please send a pull
request on GitLab_. Make sure to add yourself to the :ref:`contributors` file.
.. _GitLab: https://gitlab.com/mayan-edms/mayan-edms/
.. _`GitLab issue tracker`: https://gitlab.com/mayan-edms/mayan-edms/issues
Project philosophies
--------------------
How to think about Mayan EDMS when doing changes or adding new features,
why things are the way they are in Mayan EDMS.
- Functionality must be as market/sector independent as possible, code for the
95% of use cases.
- Each user must be able to configure and customize it to their needs after
install.
- Abstract as much as possible, each app must be an expert in just one thing,
for other things they should use the API/classes/functions of other apps.
- Assume as little as possible about anything outside the project
(hardware, OS, storage).
- Provide Python based abstraction so that a default install runs with a single
step.
- No hard dependencies on binaries unless there is no other choice.
- Provide “drivers” or switchable backends to allow users to fine tune the
installation.
- Call to binaries only when there is no other choice or the Python choices are
not viable/mature/efficient.
- Each app is as independent and self contained as possible. Exceptions, the
basic requirements: navigation, permissions, common, main.
- If an app is meant to be used by more than one other app it should be as
generic as possible in regard to the project and another app will bridge the functionality.
- Example: since indexing (document_indexing) only applies to documents, the
app is specialized and depends on the documents app.
Coding conventions
------------------
Follow PEP8
~~~~~~~~~~~
Whenever possible, but don't obsess over things like line length.
.. code-block:: bash
$ flake8 --ignore=E501,E128,E122 |less
Imports
~~~~~~~
Import order should be:
- Standard Python modules
- Installed Python modules
- Core Django modules
- Installed Django modules
- Mayan EDMS modules
- Local imports
Example:
.. code-block:: bash
from __future__ import absolute_import
# Standard Python library
import base64
# 3rd party installed Python libraries
import requests
# Django core modules
from django.db.models import Q
from django.template.defaultfilters import slugify
from django.utils.translation import ugettext
from django.utils.translation import ugettext_lazy as _
# 3rd party installed Django libraries
from rest_framework import APIView
# Mayan apps
from metadata.classes import MetadataClass
# Local app imports (relative)
from .conf.settings import (
AVAILABLE_INDEXING_FUNCTIONS,
MAX_SUFFIX_COUNT, SLUGIFY_PATHS
)
from .exceptions import MaxSuffixCountReached
from .filesystem import (
fs_create_index_directory, fs_create_document_link,
fs_delete_document_link, fs_delete_index_directory,
assemble_suffixed_filename
)
from .models import Index, IndexInstanceNode, DocumentRenameCount
All local app module imports are in relative form, local app module name is to
be referenced as little as possible, unless required by a specific feature,
trick, restriction, ie: Runtime modification of the module's attributes.
Incorrect:
.. code-block:: bash
# documents app views.py model
from documents.models import Document
Correct:
.. code-block:: bash
# documents app views.py model
from .models import Document
Dependencies
~~~~~~~~~~~~
Mayan EDMS apps follow a hierarchical model of dependency. Apps import from
their parents or siblings, never from their children. Think plugins. A parent
app must never assume anything about a possible existing child app. The
documents app and the Document model are the basic entities they must never
import anything else. The common and main apps are the base apps.
Variables
~~~~~~~~~
Naming of variables should follow a Major to Minor convention, usually
including the purpose of the variable as the first piece of the name, using
underscores as spaces. camelCase is not used in Mayan EDMS.
Examples:
Links:
.. code-block:: bash
link_document_page_transformation_list = ...
link_document_page_transformation_create = ...
link_document_page_transformation_edit = ...
link_document_page_transformation_delete = ...
Constants:
.. code-block:: bash
PERMISSION_SMART_LINK_VIEW = ...
PERMISSION_SMART_LINK_CREATE = ...
PERMISSION_SMART_LINK_DELETE = ...
PERMISSION_SMART_LINK_EDIT = ...
Classes:
.. code-block:: bash
class Document(models.Model):
class DocumentPage(models.Model):
class DocumentPageTransformation(models.Model):
class DocumentType(models.Model):
class DocumentTypeFilename(models.Model):
Strings
~~~~~~~
Quotation character used in Mayan EDMS for strings is the single quote.
Double quote is used for multiple line comments or HTML markup.
Migrations
~~~~~~~~~~
Migrations should do only one thing (eg: either create a table, move data to a
new table or remove an old table) to aid retrying on failure.
General
~~~~~~~
Code should appear in their modules in alphabetic order or in their order of
importance if it makes more sense for the specific application. This makes
visual scanning easier on modules with a large number of imports, views or
classes. Class methods that return a value should be pretended with a
``get_`` to differentiate from an object’s properties. When a variable refers
to a file it should be named as follows:
- filename: The file’s name and extension only.
- filepath: The entire path to the file including the filename.
- path: A path to a directory.
Flash messages should end with a period as applicable for the language.
Only exception is when the tail of the message contains an exceptions message
as passed directly from the exception object.
Source Control
--------------
Mayan EDMS source is controlled with Git_.
The project is publicly accessible, hosted and can be cloned from **GitLab** using::
git clone https://gitlab.com/mayan-edms/mayan-edms.git
Git branch structure
--------------------
Mayan EDMS follows a simplified model layout based on Vincent Driessen's
`Successful Git Branching Model`_ blog post.
``develop``
The "next release" branch, likely unstable.
``master``
Current production release (|version|).
``feature/``
Unfinished/unmerged feature.
``series/``
Released versions.
Each release is tagged separately.
When submitting patches, please place your code in its own ``feature/`` branch
prior to opening a Merge Request on GitLab_.
.. _Git: http://git-scm.org
.. _`Successful Git Branching Model`: http://nvie.com/posts/a-successful-git-branching-model/
Steps to deploy a development version
-------------------------------------
.. code-block:: bash
git clone https://gitlab.com/mayan-edms/mayan-edms.git
cd mayan-edms
git checkout development
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
./manage.py initialsetup
./manage.py runserver
Setting up a development version using Vagrant
----------------------------------------------
Make sure you have Vagrant and a provider properly installed as per
https://docs.vagrantup.com/v2/installation/index.html
Start and provision a machine using:
.. code-block:: bash
vagrant up development
To launch a standalone development server
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: bash
vagrant ssh
vagrant@vagrant-ubuntu-trusty-32:~$ cd ~/mayan-edms/
vagrant@vagrant-ubuntu-trusty-32:~$ source venv/bin/activate
vagrant@vagrant-ubuntu-trusty-32:~$ ./manage.py runserver 0.0.0.0:8000
To launch a development server with a celery worker and Redis as broker
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: bash
vagrant ssh
vagrant@vagrant-ubuntu-trusty-32:~$ cd ~/mayan-edms/
vagrant@vagrant-ubuntu-trusty-32:~$ source venv/bin/activate
vagrant@vagrant-ubuntu-trusty-32:~$ ./manage.py runserver 0.0.0.0:8000 --settings=mayan.settings.celery_redis
Then on a separate console launch a celery worker from the same provisioned Vagrant machine:
.. code-block:: bash
vagrant ssh
vagrant@vagrant-ubuntu-trusty-32:~$ cd ~/mayan-edms/
vagrant@vagrant-ubuntu-trusty-32:~$ source venv/bin/activate
vagrant@vagrant-ubuntu-trusty-32:~$ DJANGO_SETTINGS_MODULE='mayan.settings.celery_redis' celery -A mayan worker -l DEBUG -Q checkouts,mailing,uploads,converter,ocr,tools,indexing,metadata -Ofair -B
Contributing changes
--------------------
Once your have created and committed some new code or feature, submit a Pull
Request. Be sure to merge with the development branch before doing a Pull
Request so that patches apply as cleanly as possible. If there are no conflicts,
Merge Requests can be merged directly from the website UI otherwise a manual
command line merge has to be done and your patches might take longer to get
merged.
Debugging
---------
Mayan EDMS makes extensive use of Django's new `logging capabilities`_.
By default debug logging for all apps is turned on. If you wish to customize
how logging is managed turn off automatic logging by setting
`COMMON_AUTO_LOGGING` to ``False`` and add the following lines to your
``settings/local.py`` file::
LOGGING = {
'version': 1,
'disable_existing_loggers': True,
'formatters': {
'verbose': {
'format': '%(levelname)s %(asctime)s %(name)s %(process)d %(thread)d %(message)s'
},
'intermediate': {
'format': '%(name)s <%(process)d> [%(levelname)s] "%(funcName)s() %(message)s"'
},
'simple': {
'format': '%(levelname)s %(message)s'
},
},
'handlers': {
'console':{
'level':'DEBUG',
'class':'logging.StreamHandler',
'formatter': 'intermediate'
}
},
'loggers': {
'documents': {
'handlers':['console'],
'propagate': True,
'level':'DEBUG',
},
'common': {
'handlers':['console'],
'propagate': True,
'level':'DEBUG',
},
}
}
Likewise, to see the debug output of the ``tags`` app, just add the following inside the ``loggers`` block::
'tags': {
'handlers':['console'],
'propagate': True,
'level':'DEBUG',
},
.. _`logging capabilities`: https://docs.djangoproject.com/en/dev/topics/logging
Documentation
-------------
The documentation is written in `reStructured Text`_ format, processed with
Sphinx_, and resides in the ``docs`` directory. In order to build it, you will
first need to install the documentation editing dependencies with::
pip install -r requirements/documentation.txt
Then, to build an HTML version of the documentation, run the following command
from the **docs** directory::
make livehtml
The generated documentation can be viewed by browsing to http://127.0.0.1:8000
or by browsing to the ``docs/_build/html`` directory.
You can also generate the documentation in formats other than HTML. Consult the
Sphinx_ documentation for more details.
.. _`reStructured Text`: http://docutils.sourceforge.net/rst.html
.. _Sphinx: http://sphinx.pocoo.org
Installable package
-------------------
Source file package
~~~~~~~~~~~~~~~~~~~
This is the sequence of step used to produce an installable package:
1. Make sure there are no lingering packages from previous attempts::
rm dist -R
2. Generate the packaged version (will produce dist/mayan-edms-x.y.z.tar.gz)::
python setup.py sdist
3. Do a test install::
cd /tmp
virtualenv venv
source venv/bin/activate
pip install <path of the Git repository>/dist/mayan-edms-x.y.z.tar.gz
mayan-edms.py initialsetup
mayan-edms.py runserver
Wheel package
~~~~~~~~~~~~~
1. Install the development requirements::
$ pip install -r requirements/development.txt
2. Create wheel package using the source file package (Until issue #99 of wheel is fixed: https://bitbucket.org/pypa/wheel/issue/99/cannot-exclude-directory)::
$ pip wheel --no-index --no-deps --wheel-dir dist dist/mayan-edms-x.y.z.tar.gz
3. Do a test install::
$ cd /tmp
$ virtualenv venv
$ source venv/bin/activate
$ pip install <path of the Git repository>/dist/mayan_edms-x.y.z-py2-none-any.whl
$ mayan-edms.py initialsetup
$ mayan-edms.py runserver
+17
View File
@@ -0,0 +1,17 @@
==============
Document types
==============
The basic unit of data in Mayan EDMS is the ``document type``. A document
type can be interpreted also as a document category, a document class, or a
document template. Document types need to be created before documents can be
uploaded. It is not possible to upload documents without assigning them a
document type. Examples of document type: **invoices**, **blueprints**,
**receipts**.
Settings and attributes are applied to document types and documents will
inherit those settings and attributes based on the document type they were
assigned when uploaded into Mayan EDMS. A document can only be of one
type at a given moment, but if needed, the type of a document can be changed.
Upon changing its type, the document will lose its previous settings and
attributes, and will inherit the settings and attributes of its new type.
+118
View File
@@ -0,0 +1,118 @@
===
FAQ
===
Frequently asked questions and solutions
**Q: PostgreSQL vs. MySQL**
Since Django abstracts database operations from a functional point of view
Mayan EDMS will behave exactly the same either way. The only concern
would be that MySQL doesn't support transactions for schema modifying
commands. The only moment this could cause problems is when running
South migrations during upgrades, if a migration fails the database
structure is left in a transitory state and has to be reverted manually
before trying again.
**Q: _mysql_exceptions. OperationalError: (1267, "Illegal mix of collations (latin1_swedish_ci, IMPLICIT) and (utf8_general_ci, COERCIBLE) for operation '='")**
* Solution::
$ mayan-edms.py shell
>>> from django.db import connection
>>> cursor = connection.cursor()
>>> cursor.execute('SHOW TABLES')
>>> results=[]
>>> for row in cursor.fetchall(): results.append(row)
>>> for row in results: cursor.execute('ALTER TABLE %s CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;' % (row[0]))
* References:
- http://www.djangoshmango.com/?p=99
- http://stackoverflow.com/questions/1073295/django-character-set-with-mysql-weirdness
**Q: Incorrect string value: ``'\xE2\x80\x95rs6...'`` for column ``'content'`` at row 1**
When using ``MySQL`` and doing OCR on languages other than English
* Solution:
- Use utf-8 collation on MySQL server, or at least in table 'documents_documentpage', 'content' field
- Ref: 1- http://groups.google.com/group/django-users/browse_thread/thread/429447086fca6412
- Ref: 2- http://markmail.org/message/bqajx2utvmtriixi
**Q: Error "django.db.utils.IntegrityError IntegrityError: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`...`.`...`, CONSTRAINT `..._refs_id_b0252274` FOREIGN KEY (`...`) REFERENCES `...` (`...`))')**
* Solution:
- Convert all MySQL tables to the same type, either all MyISAM or InnoDB
**Q: File system links not showing when serving content with ``Samba``**
* Solution:
- Disable unix extensions in the [global] section and enable wide links for the file serving share
- Example::
[global]
unix extensions = no
...
[digitalizacion]
path = /var/local/mayan
guest ok = yes
read only = yes
wide links = yes
follow symlinks = yes
- Ref: 1- http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html
**Q: How do you upload a new version of an existing file?**
* Solution:
- Choose a document, and go to the versions tab, on the right menu at
the bottom under ``Other available action`` there is
``Upload new version``. Clicking it will take you to a very similar
view as the ``Upload new document`` but you will be able to specify
version number and comments for the new version being uploaded.
**Q: Is virtualenv required as specified in the documentation?**
* It is not necessary, it's just a strong recommendation mainly to reduce
dependency conflicts by isolation from the main Python system install.
If not using a virtualenv, pip would install Mayan's dependencies
globally coming in conflict with the distribution's prepackaged Python
libraries messing other Django projects or Python programs, or another
later Python/Django project dependencies coming into conflict causing
Mayan to stop working for no apparent reason.
**Q: Mayan EDMS installed correctly and works, but static files are not served**
Django's development server doesn't serve static files unless the ``DEBUG``
option is set to ``True``, this mode of operation should only be used for
development or testing. For production deployments the management command::
$ mayan-edms.py collectstatic
should be used and the resulting ``static`` folder served from a webserver.
For more information, read https://docs.djangoproject.com/en/dev/howto/static-files/
and https://docs.djangoproject.com/en/1.2/howto/static-files/ or
http://mayan-edms-ru.blogspot.com/2011/11/blog-post_09.html
**Q: Can you change the display order of documents...i.e can they be in alphabetical order?**
A the moment no, but it is something being considered.
+107
View File
@@ -0,0 +1,107 @@
========
Features
========
* :doc:`Document versioning <../topics/versioning>`.
* Store many versions of the same document, download or revert to a previous
version.
* :doc:`Electronic signature verification <../topics/signatures>`.
* Check the authenticity of documents by verifying their embedded
cryptographic signatures or upload detached signatures for document
signed after they were stored.
* Collaboration tools.
* Discuss documents, or comment on new versions of a document.
* Office document format support.
* Mayan EDMS can detect the presence of Libre Office and use it to support
word processing files, spreadsheets and presentations.
* User defined metadata fields.
* Several metadata fields can be matched to a document type as per technical,
legal or structural requirements such as the `Dublin core`_.
* Dynamic default values for metadata.
* Metadata fields can have an initial value, which can be static or determined
by an user provided template code snippet.
* Documents can be uploaded from different sources.
* Local file or server side file uploads, multifunctional copier, or even via
email.
* Batch upload many documents with the same metadata.
* Clone a document's metadata for speedier uploads and eliminate repetitive
data entry.
* Previews for many file formats.
* Mayan EDMS provides image preview generation for many popular file
formats.
* Full text searching.
* Documents can be searched by their text content, their metadata or any other
file attribute such as name, extension, etc.
* Configurable document grouping.
* Automatic linking of documents based on metadata values or document
properties.
* :doc:`Roles support <../topics/permissions>`.
* It is possible to create an unlimited amount of different roles not being
restricted to the traditional admin, operator, guest paradigm.
* :doc:`Fine grained permissions system <../topics/permissions>`.
* There is a permission for every atomic operation performed by users.
* Multi page document support.
* Multiple page PDFs and TIFFs files are supported.
* Automatic OCR processing.
* The task of transcribing text from documents via OCR can be distributed
among several physical or virtual computers to decrease load and increase
availability.
* Multilingual user interface.
* Mayan EDMS being written using the Django_ framework, can be translated
to practically any language spoken in the world. For a list of translated
languages have a look at the Transifex_ project location.
* Multilingual OCR support.
* The current language of the document is passed to the corresponding OCR
engine to increase the text recognition rate.
* :doc:`Plugable storage backends <../topics/file_storage>`.
* It is very easy to use 3rd party plugins such as the ones available for
Amazon EC2.
* Color coded tagging.
* Labeled and color coded tags can be assigned for intuitive recognition.
* Workflows.
* Keep track of the state of documents, along with the log of the previous
state changes.
.. _`Dublin core`: http://dublincore.org/metadata-basics/
.. _Django: https://www.djangoproject.com/
.. _Transifex: https://www.transifex.com/projects/p/mayan-edms/
+35
View File
@@ -0,0 +1,35 @@
============
File storage
============
The files are stored and placed under Mayan EDMS "control" to avoid
filename clashes each file gets renamed to its ``UUID`` (Universally Unique ID),
without extension, and stored in a simple flat arrangement in a directory.
.. blockdiag::
blockdiag {
file [ label = 'mayan_1-1.pdf', width=120];
document [ label = 'mayan/media/document_storage/ab6c1cfe-8a8f-4a30-96c9-f54f606b9248', width=450];
file -> document [label = "upload"];
file -> document;
}
This doesn't stop access to the files but renaming, moving or updating
directly them is not recommended because it would throw the database out
of sync.
Because Mayan EDMS components are as decoupled from each other as possible,
storage in this case is decoupled and its behavior is controlled
not by the project but by the ``Storage`` module class. All the other
modules don't make any assumptions about how the actual document files are
stored. This way files can be saved locally, over the network or even across
the Internet and everything will still operate exactly the same.
The default file storage backend: ``storage.backends.filebasedstorage.FileBasedStorage``
is a simple backend that only supports paths and not IP addresses. In case you
are interested in using remote volumes to store documents (NFS, SAMBA), first
mount these volumes so that they appear as a directories to Mayan EDMS. For
direct support for remote volumes a custom backend would be needed such as those
provided by the Django Storages project (https://django-storages.readthedocs.org/en/latest/).
+27
View File
@@ -0,0 +1,27 @@
Concepts
========
Introductions to all the key parts of Mayan EDMS you'll need to know:
.. toctree::
:maxdepth: 1
document_types
metadata
permissions
sources
acls
transformations
checkouts
versioning
signatures
ocr_backend
indexes
languages
smart_links
tags
mailing
settings
file_storage
backups
screenshots

Some files were not shown because too many files have changed in this diff Show More