Roberto Rosario
0699ad0556
Add support for new document page structure
...
Documents now have their own dedicated DocumentPage
submodel. The old DocumentPage is now called DocumentVersionPage.
This allows mappings between document pages and document version
pages, allowing renumbering, appending pages.
DocumentPages have a content_object to map them to any other
object. For now they only map to DocumentVersionPages.
New option added to the version upload form to append the
pages of the new version.
A new view was added to just append new pages with wraps the
new document version upload form and hides the append pages
checkbox set to True.
Add a new action, reset_pages to reset the pages of the
document to those of the latest version.
Missing: appending tests, checks for proper content_object in OCR and
document parsing.
Author: Roberto Rosario <roberto.rosario@mayan-edms.com >
Date: Thu Oct 11 12:00:25 2019 -0400
2019-10-10 11:55:42 -04:00
Roberto Rosario
30668d9d0b
Merge remote-tracking branch 'origin/versions/micro' into feature/merge_with_micro
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-01 15:31:32 -04:00
Roberto Rosario
80126f2326
Update translations
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-25 00:07:42 -04:00
Roberto Rosario
fb53726888
Update translations
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-24 01:21:02 -04:00
Roberto Rosario
4e6e4789e3
Update translations
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-22 21:15:10 -04:00
Roberto Rosario
0d263c2b76
Update translations
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-04 03:00:06 -04:00
Roberto Rosario
58bcf20a46
Remove tests * imports
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-08-29 23:10:28 -04:00
Roberto Rosario
a250919acc
Merge remote-tracking branch 'origin/versions/micro' into features/micro_merge
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-08-25 23:48:12 -04:00
Roberto Rosario
666c3324e8
Synchronize language translations
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-25 21:55:14 -04:00
Roberto Rosario
c94ed44476
Remove redundant Celery queue declarations
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 14:06:32 -04:00
Roberto Rosario
69af4dd6b3
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-26 18:03:13 -04:00
Roberto Rosario
53928b2ab6
Run EXIFTOOL always regardless of MIME type
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-24 01:57:20 -04:00
Roberto Rosario
b6565effb5
Support wildcard MIME type associations
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-19 01:04:04 -04:00
Roberto Rosario
0b42567179
Remove direct Celery queue update
...
Queue updates are handled by the task manager app.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-17 02:41:00 -04:00
Roberto Rosario
f6febdd221
Remove the smart settings app * import
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-10 01:40:13 -04:00
Roberto Rosario
9564db398f
Backport configuration file improvements
...
Remove support for quoted entried. Support unquoted entries. Support
custom location for the config files.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-09 15:40:20 -04:00
Roberto Rosario
3fb1e079b9
Code cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-05 16:35:43 -04:00
Roberto Rosario
557a20d6cc
Update translations
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-05 03:10:42 -04:00
David Miguel
4de13f23b7
Pt locale msg
2019-07-05 05:18:26 +00:00
Roberto Rosario
1fe45e2613
Add data migration to the file metadata app
...
Synchronizes the document type settings model of existing
document types.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-02 14:47:12 -04:00
Roberto Rosario
e3d2fef687
Update compiled translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-29 02:47:05 -04:00
Roberto Rosario
6eb105be94
Update source translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-29 02:21:29 -04:00
Roberto Rosario
85b8d281cc
Update translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-15 04:53:23 -04:00
Roberto Rosario
72ade29f77
Add Latvian translation
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-09 14:51:03 -04:00
Roberto Rosario
325fe3225a
Update source translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-09 03:25:30 -04:00
Roberto Rosario
268fce138d
Update translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-21 01:28:49 -04:00
Roberto Rosario
4baeb6ce7e
Code cleanups
...
PEP8 cleanups. Add keyword arguments.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-21 00:56:22 -04:00
Roberto Rosario
ab5028887c
Synchronize translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-17 02:57:43 -04:00
Roberto Rosario
dfb368e6dc
Fix file metadata queue definition
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 02:07:34 -04:00
Roberto Rosario
a69e74ac90
Fix warning about missing on_delete
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 23:32:22 -04:00
Roberto Rosario
4617afafb2
Replace get_object_list() with self.object_list
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 01:25:53 -04:00
Roberto Rosario
eb79ebf6bb
Update translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-10 03:32:54 -04:00
Roberto Rosario
6330e40036
Use get_object_list instead of get_queryset
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 03:17:52 -04:00
Roberto Rosario
a0d2000419
Test simplification
...
Unify usage of self.test_document and self.test_documents in
tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 00:54:59 -04:00
Roberto Rosario
9e2891216b
Rewind file pointer before calling exiftool
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 02:37:20 -04:00
Roberto Rosario
95a1df8072
Backport common mixin and generics improvements
...
* Rename get_object_list to get_source_queryset.
* Add uniqueness validation to SingleObjectCreateView.
* Remove MultipleInstanceActionMixin.
* Backport MultipleObjectMixin improvements.
* Remove ObjectListPermissionFilterMixin.
* Add and improve tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 02:07:35 -04:00
Roberto Rosario
ca3a48f92d
Update source and compiled translation files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-05 18:51:10 -04:00
Roberto Rosario
030b7d5d91
Update translation source files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-04 21:43:55 -04:00
Roberto Rosario
d271f1503d
Fix format in file metadata app translations files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-03 14:53:00 -04:00
Roberto Rosario
5f89d228dc
Update compiled translations
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-03 02:19:23 -04:00
Roberto Rosario
73546bd99f
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-03 01:57:41 -04:00
Roberto Rosario
bd9c75cdaa
Update translation source files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-03 01:16:36 -04:00
Roberto Rosario
ea3b513ae3
Add new app to handle all dependencies
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-03 01:12:20 -04:00
Roberto Rosario
825af3152f
Use copyfileobj to save documents to files
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 04:29:43 -04:00
Roberto Rosario
efff750f06
Fix app's indexing, settings, tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 04:01:23 -04:00
Roberto Rosario
5a736d83bc
Use the list facet menu for document type settings
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 00:58:20 -04:00
Roberto Rosario
95123e0078
Update translation source files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 18:52:41 -04:00
Roberto Rosario
041464fc1c
Enable translation of the file metadata app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 18:15:57 -04:00
Roberto Rosario
84c88f9173
Remove app top level star imports
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 03:15:43 -04:00
Roberto Rosario
1c5681c79d
Code style cleanups
...
Sort arguments, methods. Add keyword arguments.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-25 05:06:56 -04:00