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
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
382173351a
Source: Change source test behavior
...
Update sourcs to accept a test argument to their check methods.
This is to allow for explicit test behavior like running the
check method code even when the source is disabled and to
not deleted downloaded content during a test.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-04-05 01:05:58 -04:00
Roberto Rosario
1e8030a722
Add view test for compressed files
...
GitLab issue #572 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 18:58:17 -04:00
Jorge E. Gómez
7fb18b14eb
Fixes error: ZipArchive object has no attribute 'children'
2019-03-15 22:58:15 +00:00
Roberto Rosario
a85d33fd8e
Complete staging file caching refactor.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 13:32:41 -04:00
Roberto Rosario
9bc16aabc3
Initial commit to support staging file background image generation and caching.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 03:35:33 -04:00
Roberto Rosario
e5bb00d514
Finish refactor of the new compressed file class support. Closes GitLab issue #7 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 00:40:10 -04:00
Roberto Rosario
64ad07d95d
Add locking for interval sources. This reduces the chance of repeated documents from long running email downloads.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-10 02:26:06 -04:00
Michael Price
e9a365333f
Rename the request_data variable to querystring for clarity. Turn the querystring into an IRI to support international characters in metadata values and allow JSON serializer for Celery.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:30:40 -04:00
Michael Price
05966afe1e
Move post document upload processing of metadata and tags from sources.model to each wizard step.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:30:25 -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
652613452b
Add new document upload wizard step to attach tags. GitLab issue #208 .
2016-02-05 03:25:27 -04:00
Roberto Rosario
2ebb84f18f
Remove remaining direct references to the User model. Closes GitLab issue #225 .
2016-01-28 05:55:15 -04:00
Roberto Rosario
27d8644438
Silence 90% of remaining Django 1.8 model warnings.
2016-01-28 05:43:08 -04:00
Roberto Rosario
923ecc85d8
PEP8 Cleanups.
2015-10-28 02:22:10 -04:00
Roberto Rosario
7392e80fc2
PEP8 Cleanups.
2015-08-24 20:55:45 -04:00
Roberto Rosario
4527563d89
PEP8 cleanups, specially E501 line too long.
2015-07-22 18:21:37 -04:00
Roberto Rosario
c275988c90
PEP8 cleanups, E501: 79 character long lines.
2015-07-19 03:27:41 -04:00
Roberto Rosario
91a9b3b045
Finish document upload task refactor. Increase failure tolerance to database Operational Errors.
2015-07-15 04:36:23 -04:00
Roberto Rosario
1213175112
Sources app upload workflow refactoring.
2015-07-15 01:03:57 -04:00
Roberto Rosario
1b37a13bf5
Rename source upload handling methods to be more meaningful.
2015-07-14 10:20:19 -04:00
Roberto Rosario
e891fe9525
PEP8 cleanups and code style cleanups.
2015-07-10 17:19:36 -04:00
Roberto Rosario
35b6ce5285
Don't set the default document label in the view, do it at the task level which is accesible always.
2015-07-08 01:01:20 -04:00
Roberto Rosario
a59234bb83
Use SharedUploadedFile's new open() method.
2015-07-07 01:28:06 -04:00
Roberto Rosario
e4623fadcd
PEP8 cleanups
2015-06-23 02:23:23 -04:00
Roberto Rosario
dea882d023
Add error logging to document source models
2015-06-09 20:22:58 -04:00
Roberto Rosario
d59ea3ede2
Add from __future__ import unicode_literals, issue #37
2015-01-19 04:06:40 -04:00
Roberto Rosario
9f2692d36a
PEP8 cleanup, unused import removal
2014-11-02 21:20:29 -04:00
Roberto Rosario
12c64bd83b
Update source app views, model method and API calls to use the document app's models, managers.
2014-10-29 05:53:46 -04:00
Roberto Rosario
3da11a023b
Cleanups
2014-10-27 22:51:25 -04:00
Roberto Rosario
f868d44461
Issue #32 , Initial commit to support watch folders
2014-10-25 04:30:58 -04:00
Roberto Rosario
312cb216fc
Add new version upload background task
2014-10-25 01:58:03 -04:00
Roberto Rosario
c23205f464
Add MultiFormView class based view, convert InteractiveUpload view to MultiForm view
2014-10-24 18:18:40 -04:00
Roberto Rosario
4acf88c9a6
Initial commit of the sources upload, new version and new document refactor
2014-10-23 17:10:02 -04:00
Roberto Rosario
e8762e4792
Issue #87 , Per document language selection
2014-10-22 02:35:16 -04:00
Roberto Rosario
2575e08499
Only fetch when source is enabled
2014-10-20 21:57:39 -04:00
Roberto Rosario
7133943963
Issue #65 , complete set of code to implement receiving documents via email (experimental)
2014-10-20 17:48:45 -04:00
Roberto Rosario
36694cc5c5
Set the ignore_result option for the tasks that don't return values
2014-10-11 02:05:40 -04:00
Roberto Rosario
37875df7a1
Add missing imports, PEP8 cleanups
2014-10-09 20:25:55 -04:00
Roberto Rosario
92b35b57ae
Don't pass an user object to the task, pass an user id instead
2014-10-03 23:54:14 -04:00
Roberto Rosario
a754267ca0
Improvements to the queued upload code to support large files
2014-10-03 17:12:56 -04:00
Roberto Rosario
accf323157
Issues #57 , #49 , Initial changes to support queued uploads
2014-10-03 16:35:55 -04:00