Roberto Rosario
acd8fd2a3e
PEP8 cleanup
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-11 10:22:42 -04:00
Roberto Rosario
ff03ea07ca
Add support for appending pages
...
Add version upload form checkbox.
Add the append_pages keyword argument.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-10 02:40:45 -04:00
Roberto Rosario
7fbb94a8ae
Migration updates
...
Squash version page migrations.
Add manual OCR and parsing migrations.
Fix tests.
Page search updates.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-09 16:38:00 -04:00
Roberto Rosario
8cf807899a
Initial commit to support page mapping
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-08 18:45:53 -04:00
Roberto Rosario
b6976210a5
Add docstrings for almost all models
...
Also adds docstring to some managers and model methods.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 15:19:38 -04:00
Roberto Rosario
36a51eeb73
Switch to full app paths
...
Instead of inserting the path of the apps into the Python app,
the apps are now referenced by their full import path.
This solves name clashes with external or native Python libraries.
Example: Mayan statistics app vs. Python new statistics library.
Every app reference is now prepended with 'mayan.apps'.
Existing config.yml files need to be updated manually.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 02:02:57 -04:00
Roberto Rosario
a372fc5a07
Improve model help texts. Add respective migrations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 02:46:16 -04:00
Roberto Rosario
8e39016f12
Code cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-21 18:57:38 -04:00
Roberto Rosario
c665e75871
Improve serialization migration for the models: Document, DocumentVersion, DocumentMetadata and DocumentTypeOCRSettings
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-01 05:09:43 -04:00
Michael Price
53239385ae
Add the "to=" keyword argument to all ForeignKey, ManayToMany and OneToOne Fields.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:49:04 -04:00
Michael Price
28aa0b913c
Reorganize and sort models and managers according to Mayan's best practices.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:21:37 -04:00
Roberto Rosario
317d07a355
Refactor OCR app. Removes document parsing. Moves OCR processing to
...
model manager. Add submit and finish events.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-23 02:04:57 -04:00
Roberto Rosario
f09321f6ab
Fix deprecation warnings for Django 1.11 and Django 2.0.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-21 00:25:18 -04:00
Roberto Rosario
6c6ca38374
Replace all instances of unicode only handling to use force_text.
...
Replace all __unicode__ methods to __str__ and the
@python_2_unicode_compatible decorator.
Replace all instance of smart_str, smart_unicode, force_uncode
with force_text.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-05 15:03:24 -04:00
Roberto Rosario
b5858ad6f8
Add link to show a document's OCR errors. GitLab issue #291 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-21 15:57:53 -04:00
Roberto Rosario
4527563d89
PEP8 cleanups, specially E501 line too long.
2015-07-22 18:21:37 -04:00
Roberto Rosario
e891fe9525
PEP8 cleanups and code style cleanups.
2015-07-10 17:19:36 -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
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
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
be5d5ce5cf
Increase ocr node field size from 32 to 256 characters
2015-01-05 04:03:39 -04:00
Roberto Rosario
0d38a1239d
PEP8 cleanups
2014-10-18 00:55:55 -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
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
74cf4c413f
Import cleanups, reorganization, PEP8 cleanups
2014-10-02 02:01:08 -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
6a659741af
PEP8 cleanups
2014-06-30 00:57:53 -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
3ec31a890e
Remove all OCR queue transformation code
2014-06-25 10:44:43 -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
eda2592106
Cleanup import, quoting style
2014-06-20 19:59:33 -04:00
Roberto Rosario
ec1745b50b
Initial changes to support the new Django 1.6 project structure
2014-06-15 13:13:21 +02:00