Commit Graph

4079 Commits

Author SHA1 Message Date
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