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
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
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
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
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
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
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
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
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
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
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