Commit Graph

  • 35b6ce5285 Don't set the default document label in the view, do it at the task level which is accesible always. Roberto Rosario 2015-07-08 01:00:32 -04:00
  • afafd45af9 Preserve original filename when saving. Roberto Rosario 2015-07-08 00:59:56 -04:00
  • 68395266a4 Make sure all document types have they ocr_settings entry created. Roberto Rosario 2015-07-08 00:41:51 -04:00
  • 1b756486f2 Test update Roberto Rosario 2015-07-08 00:27:39 -04:00
  • 1e588d87eb Store an empty string if no document description is given. Roberto Rosario 2015-07-08 00:27:13 -04:00
  • 857cf7b1b2 Add browser cookie support for timezone middleware. Roberto Rosario 2015-07-08 00:17:44 -04:00
  • 3861bc351a Remove unused code. Roberto Rosario 2015-07-07 23:37:51 -04:00
  • 8d91ef2858 Update remaining title reference. Roberto Rosario 2015-07-07 23:36:24 -04:00
  • 4e4103803f Rename folder model 'title' field to 'label'. Roberto Rosario 2015-07-07 23:34:27 -04:00
  • 4860b44daf Rename source model title field to 'label'. Roberto Rosario 2015-07-07 23:30:52 -04:00
  • f2efbc95af Document descriptions don't need to allow null. Roberto Rosario 2015-07-07 23:25:39 -04:00
  • f4bcab2341 Rename metadata type title field to label. Roberto Rosario 2015-07-07 23:25:05 -04:00
  • ac5f403997 Rename smart links title and dynamic_title fileds to label and dynamic_label. Roberto Rosario 2015-07-07 23:20:48 -04:00
  • a5cee3c963 Split sources app tests. Roberto Rosario 2015-07-07 22:03:58 -04:00
  • 77157cab2c Split tests into tests for models, views and API, very good recommendation from Two Scoops of Django by @pydanny and @audreyr. Roberto Rosario 2015-07-07 21:49:50 -04:00
  • 0e81ea2ab8 Avoid triggering migration creation using functions for choices and validators choices. Roberto Rosario 2015-07-07 21:21:08 -04:00
  • 7a11fddcc1 Add migrations to sync model options. Roberto Rosario 2015-07-07 21:15:29 -04:00
  • c861799b6b Rename document type model 'name' field to 'label'. Roberto Rosario 2015-07-07 21:12:44 -04:00
  • ab2d4537dc Remove name field. Rename title field to label. Roberto Rosario 2015-07-07 21:04:00 -04:00
  • efad777656 Cleanups. Roberto Rosario 2015-07-07 20:52:10 -04:00
  • e7224474e6 Convert document checkout view to CBV. Roberto Rosario 2015-07-07 20:49:20 -04:00
  • 17c454a53a Add checkout expiration time validation. Sort field arguments according to style guide. Roberto Rosario 2015-07-07 20:48:36 -04:00
  • b96ba86991 Reduce widget complexity. Roberto Rosario 2015-07-07 20:48:04 -04:00
  • 941207eb04 Don't override get_context_data use get_extra_context for this purpose. Roberto Rosario 2015-07-07 20:47:36 -04:00
  • 69ea0a61e8 Get post_action_redirect and action_cancel_redirect from methods to allow overriding with context. Roberto Rosario 2015-07-07 20:46:49 -04:00
  • bd8487848a Disable OCR, not unsed in this test. Roberto Rosario 2015-07-07 03:01:42 -04:00
  • e17bc416b8 Tests updates. Roberto Rosario 2015-07-07 02:59:45 -04:00
  • e82a9d0c9f Add missing import. Roberto Rosario 2015-07-07 02:58:55 -04:00
  • aeac8143ee Use BytesIO instead of StringIO, the last one doesn't work using 'with' context. Roberto Rosario 2015-07-07 01:49:47 -04:00
  • 46b6f908f4 Misc test fixes. Roberto Rosario 2015-07-07 01:30:32 -04:00
  • a59234bb83 Use SharedUploadedFile's new open() method. Roberto Rosario 2015-07-07 01:28:06 -04:00
  • 01cf7780c0 Add reminder. Roberto Rosario 2015-07-07 01:25:52 -04:00
  • 4f044cecc7 Don't use the original's filename as a path. Provide an open() method which return a proper file-like object. Roberto Rosario 2015-07-07 01:24:34 -04:00
  • 091dad9b45 Fix SharedUpload model field name. Roberto Rosario 2015-07-06 14:32:23 -04:00
  • 9784ae88a4 Update release notes. Roberto Rosario 2015-07-06 03:18:54 -04:00
  • 1f6b93616d Update more tests to new internal APIs. Roberto Rosario 2015-07-06 03:18:36 -04:00
  • 51fd266d40 Update documents app tests, disabled several non passing functional test as these will be moved to the common app. Roberto Rosario 2015-07-06 03:04:19 -04:00
  • 8bdd8e032d Update documents app API views. Roberto Rosario 2015-07-06 03:02:17 -04:00
  • 7979b097ef Explictly delete document when deleting a document type. Remove unused code. Pop argument 'to_trash' from document.save to avoid super() error. Roberto Rosario 2015-07-06 02:42:19 -04:00
  • 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. Roberto Rosario 2015-07-06 02:21:56 -04:00
  • b642e4005e PEP8 cleanups Roberto Rosario 2015-07-06 02:07:50 -04:00
  • 6eeba3ee67 Update document indexing test to take into account new trash feature. Roberto Rosario 2015-07-06 02:04:05 -04:00
  • 8727f093e0 Don't initialize a document type's OCR settings via the view, do so via signal on document type creation. Roberto Rosario 2015-07-06 01:36:17 -04:00
  • 3f53d35083 Remove unused import Roberto Rosario 2015-07-06 01:21:58 -04:00
  • 8bd0831ed6 Fix authentication app tests. Roberto Rosario 2015-07-06 01:19:11 -04:00
  • 1c3d88f746 Code style Roberto Rosario 2015-07-06 01:19:00 -04:00
  • 6efb032298 PEP8 cleanups Roberto Rosario 2015-07-06 00:48:40 -04:00
  • f55929403b Add setter to change the value of a setting. Roberto Rosario 2015-07-06 00:48:16 -04:00
  • dcf3a77c66 Don't try to set locale preferences for new users or existing users that have not set any preferences. Roberto Rosario 2015-07-06 00:22:09 -04:00
  • 3c486e14a1 DRY, make development w/ DDT settings inhering from normal development settings file. Roberto Rosario 2015-07-06 00:13:17 -04:00
  • a9c7ea7442 Make celery propagate exceptions for easier debugging. Roberto Rosario 2015-07-06 00:12:51 -04:00
  • dc572cc8ee Add migration to remove obsolete anonymous user singleton. Roberto Rosario 2015-07-06 00:07:07 -04:00
  • aea6772cbf Reimplement the IndexInstanceNodeView CBV view as a multi-inheritance CBV with manual super class resolution. Roberto Rosario 2015-07-06 00:03:21 -04:00
  • 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. Roberto Rosario 2015-07-05 03:33:27 -04:00
  • 8f30932b6f Fix locale and language not updating on edit or on login Roberto Rosario 2015-07-04 04:36:55 -04:00
  • fa4cb686fb Auto add arguments to transformation labels. Roberto Rosario 2015-07-04 04:16:18 -04:00
  • 862de43219 Update tranformation help string. Roberto Rosario 2015-07-04 04:01:20 -04:00
  • a0916afe7c Update converter transformation arguments to be YAML based. Roberto Rosario 2015-07-04 03:59:38 -04:00
  • e856ff62c3 Remove unused variable from recent document list view context. Roberto Rosario 2015-07-04 03:11:53 -04:00
  • a54f6ea5f2 Add reminder Roberto Rosario 2015-07-04 03:09:50 -04:00
  • d55f54b221 Move package metadata to mayan/__init__.py Roberto Rosario 2015-07-04 03:09:25 -04:00
  • ee6bb866c9 Add support for document retention policies. Closes gh-issue #189. Roberto Rosario 2015-07-04 02:25:59 -04:00
  • 589874bec1 Simplify 'trash can' to just 'trash'. Roberto Rosario 2015-07-03 21:04:47 -04:00
  • ab53270942 Add field to store when a document was deleted. Roberto Rosario 2015-07-03 21:00:18 -04:00
  • 7e8e124d09 Add support for emptying the trash can in a single action. Roberto Rosario 2015-07-03 20:50:07 -04:00
  • 924c07c9de Add support for redirection target on confirm dialog cancelation Roberto Rosario 2015-07-03 20:49:28 -04:00
  • 3e299f030a Add support to fully delete documents from trash can. Rename previous delete link and related code to 'move to trash'. gh-issue #188. Roberto Rosario 2015-07-03 18:35:10 -04:00
  • 98b988038e Implement document trash can and soft delete support. First half or gh-issue 188. Roberto Rosario 2015-07-03 03:28:02 -04:00
  • e2e62d7640 Match navigation links by type not to all subclasses of the source. Roberto Rosario 2015-07-03 03:24:51 -04:00
  • 8575d02286 Add missing imports Roberto Rosario 2015-07-03 03:24:20 -04:00
  • 509c944df0 Add mixin to apply an action to many instances Roberto Rosario 2015-07-03 03:20:36 -04:00
  • 3d7e7ae4a2 Add support for getting an office document page count. Roberto Rosario 2015-07-03 03:19:42 -04:00
  • bee9ae32c3 Call the correct super class Roberto Rosario 2015-07-03 03:19:02 -04:00
  • 0a42233e58 Fix ACL app migrations. Roberto Rosario 2015-07-03 01:15:07 -04:00
  • 6522b909f7 Update release notes Roberto Rosario 2015-07-02 21:00:38 -04:00
  • fee9d7ea9e Remove support for auto applying roles after new user creation. Roberto Rosario 2015-07-02 20:56:16 -04:00
  • 2247d4c38e Fix common app setting name Roberto Rosario 2015-07-02 20:51:02 -04:00
  • debd9db317 Remove graphicsmagic and imagemagick backends Roberto Rosario 2015-07-02 20:48:44 -04:00
  • 7771740e59 Remove unused views Roberto Rosario 2015-07-02 20:28:43 -04:00
  • 0e7bf60717 Convert index instance view to CBV. Add smart document count to index instance view. Roberto Rosario 2015-07-02 04:10:28 -04:00
  • e102832b2f Use two state widget to show if a state is the initial state for a workflow. Roberto Rosario 2015-07-02 02:55:29 -04:00
  • ad5709c8ce Remove maintenance tools menu entry, apps now register tools directly to the tools menu. Roberto Rosario 2015-07-02 02:47:46 -04:00
  • c22fd83f3e Add smart document count to document tag list view. Roberto Rosario 2015-07-02 02:15:36 -04:00
  • 18178404c2 Add smart document count to folder list and document folder list views. Add user column to folder list views. Roberto Rosario 2015-07-02 02:14:55 -04:00
  • 01203b2531 Re-add smart tag document counter that takes into account user permission for the document list. Roberto Rosario 2015-07-02 02:08:19 -04:00
  • 963211f45c Remove index previous level navigation link. Roberto Rosario 2015-07-02 01:53:02 -04:00
  • 91a7b66908 Improve index nodes widget icons and spacing. Roberto Rosario 2015-07-02 01:50:58 -04:00
  • 80e855e7b4 Return '#' for invalid indexes (unitialized, indexes with not node instances). Roberto Rosario 2015-07-02 01:50:19 -04:00
  • c3c4fcb2b2 Convert index list view to CBV. Roberto Rosario 2015-07-02 01:49:52 -04:00
  • 51d50672f3 Change index setup list view to CBV. Roberto Rosario 2015-07-02 01:32:03 -04:00
  • d47091df61 Convert resolved smart link document list view to CBV. Roberto Rosario 2015-07-02 01:26:35 -04:00
  • dda604dcbb Convert document smart link list view to CBV. Roberto Rosario 2015-07-02 01:13:34 -04:00
  • daa6777592 Remove obsolete acls model Roberto Rosario 2015-07-02 00:57:37 -04:00
  • 70b0996354 Fix smart link document type assign remove view Roberto Rosario 2015-07-02 00:57:08 -04:00
  • c6ec9fbc33 Rebalance permissions. Roberto Rosario 2015-07-01 20:58:16 -04:00
  • fd11a15bf3 Conver folder list and document folder list views to CBV. Roberto Rosario 2015-07-01 20:57:55 -04:00
  • 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. Roberto Rosario 2015-07-01 20:33:23 -04:00
  • 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. Roberto Rosario 2015-07-01 17:24:39 -04:00
  • b5d2ebc781 Replace user list and group list views with CBVs. Roberto Rosario 2015-07-01 17:11:18 -04:00
  • 23fda5561e Propery filter documents queryset on CBV that return a list of documents. Roberto Rosario 2015-07-01 17:01:41 -04:00