Roberto Rosario
c7e9a4dc99
Add keyword arguments
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 02:09:26 -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
799d47054e
Load the converter class on demand
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 02:47:23 -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
c97ab57f51
URL quote the encoded names of the staging files using Django's compat module. (Python 3). Open staging file in explicit binary mode. (Python 3)
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 22:23:43 -04: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
f7a9550bb1
Improve Python 3 support in the sources app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 17:38:17 -04:00
Roberto Rosario
3618778737
Email source code cleanups. Use the header variable returned from flanker to extract the sender and the subject. Remove unsed scanimage usage via sh.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-10 01:52:47 -04:00
Roberto Rosario
63a77d0235
Use Mailgun's flanker library to process the email sources.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-10 01:16:53 -04:00
Michael Price
8590bff6e4
Convert document thumbnails, preview, image preview and staging files to template base widgets. Unify all updated widgets. Display resolution settings are now specified as width and height and not a single resolution value.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:04:05 -04:00
Roberto Rosario
942b7c93ef
Use BytesIO.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-29 02:16:33 -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
4578eacce9
Consolidate the page thumbnail and staging folder thumbnail widgets.
...
Update the staging folder file image API end point to work
in the same way the document page image API works.
2016-11-16 19:05:56 -04:00
Roberto Rosario
28f3b7551d
Consolidate document page image generation as binary or base64 to a single place at the converter class level.
2016-03-21 03:44:45 -04:00
Roberto Rosario
7be6e8c6ed
Add unicode filename test for the StagingFile class.
2016-03-20 15:59:49 -04:00
Roberto Rosario
6ec7a2ca4d
Support unicode filenames in staging folders.
2016-03-20 15:40:42 -04:00
Roberto Rosario
6dcdcdd5c7
Add date time creation column to staging folder upload view.
2015-09-06 04:09:31 -04:00
Roberto Rosario
4527563d89
PEP8 cleanups, specially E501 line too long.
2015-07-22 18:21:37 -04:00
Roberto Rosario
e4623fadcd
PEP8 cleanups
2015-06-23 02:23:23 -04:00
Roberto Rosario
a79dc22bd1
Update staging folders to use the new converter class
2015-06-09 20:24:09 -04:00
Roberto Rosario
506d53c58a
Convert sources app to use new transformation system
2015-06-08 15:56:16 -04:00
Roberto Rosario
d59ea3ede2
Add from __future__ import unicode_literals, issue #37
2015-01-19 04:06:40 -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
e9d53809df
Add missing import
2014-10-20 21:56:57 -04:00
Roberto Rosario
59eb6202fe
Initial commit to support receiving documents via email
2014-10-20 02:22:19 -04:00
Roberto Rosario
85255207cb
Cleanups
2014-07-08 16:35:27 -04:00
Roberto Rosario
b0783e5816
Add support for returning a staging file as a file like object
2014-07-08 15:54:33 -04:00
Roberto Rosario
d10aa1e47e
Enabled deletion of staging files
2014-07-08 15:43:00 -04:00
Roberto Rosario
b430f08509
Use URL safe encoded filename
2014-07-08 15:32:42 -04:00
Roberto Rosario
429d8c07ee
Initial commit to modernize staging file handling including preview generation
2014-07-08 12:35:53 -04:00