Roberto Rosario
a12c90268f
Add DatabaseWarning to tag SQLite use warning
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 16:22:55 -04:00
Roberto Rosario
a10f2330fd
Fix import after full app path commit
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-09 20:18:07 -04:00
Roberto Rosario
03ba13e5cb
Allow import UUID_FUNCTION
...
Changes related to the document models split commit.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-09 18:05:26 -04:00
Roberto Rosario
335c21488e
Split workflow views into separate modules
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-09 18:05:10 -04:00
Roberto Rosario
d26279275d
Split document app models into separate modules
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-09 00:15:15 -04:00
Roberto Rosario
4f66129a7c
Merge branch 'hotfix' into hotfix_merge
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 23:34:26 -04:00
Roberto Rosario
7d756de3de
Add DOCUMENTS_HASH_BLOCK_SIZE setting
...
This new setting is used to control the size of the file
blocks when calculating a document's checksum. The default
value of 0 disables the features and preserves the current
behavior of reading the entire file into memory.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 22:58:01 -04:00
Roberto Rosario
69bd6c116e
Improve multiple tag wizard step code
...
Previous code produce an error when there were not tag
IDs passed to the wizard.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 22:45:06 -04:00
Roberto Rosario
0065edfae9
Lower the log severity when links don't resolve
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 22:39:42 -04:00
Roberto Rosario
9ec021241c
Update release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 20:41:28 -04:00
Roberto Rosario
3a60155bfa
Add checkout tests
...
Add link tests. Add checkout info view tests. Move common code to
a test mixin.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 01:08:46 -04:00
Roberto Rosario
f6a0a421a5
Update the check out info link permission
...
Update the link permission to match the same required permission
as the view.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 01:07:01 -04:00
Roberto Rosario
7ed26f4d4c
Add checkout details view tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-06 20:17:32 -04:00
Roberto Rosario
daca9dd539
Fix multiple tag selection wizard step
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-06 19:36:14 -04:00
Roberto Rosario
8c1a9c8798
Fix multiple tag selection wizard step
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-06 02:08:22 -04:00
Roberto Rosario
966d8498bc
Update changelog and release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 02:05:34 -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
d35323aa65
Watch folders: Add support for subfolders
...
Add support for subfolder scanning to watch folders. Closes
GitLab issue #498 and #563 .
This commit adds a new field to watch folders called
"include_subdirectories".
The directory walk was also updated to use pathlib2.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 01:03:34 -04:00
Roberto Rosario
9b21275b7e
Split sources models into separate modules
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 00:41:36 -04:00
Roberto Rosario
d493ec34b2
Update build string
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 22:04:18 -04:00
Roberto Rosario
51ea493a26
Use bytes for hash and return the unicode
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 22:03:19 -04:00
Roberto Rosario
49403978b1
Update build string
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 17:09:43 -04:00
Roberto Rosario
8c770d5ba3
Merge branch 'releases/all'
2019-04-04 17:08:03 -04:00
Roberto Rosario
b01e8707a3
Add troubleshooting documenation topic
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 17:07:41 -04:00
Roberto Rosario
8896f58d6f
Add support for skipping a default set of tests
...
Tests to be excluded by default should be tagged
as 'exclude'.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 16:48:11 -04:00
Roberto Rosario
3afb74224d
Update build strings
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:49:05 -04:00
Roberto Rosario
3a4f97c5c2
Bump version to 3.1.10
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:48:00 -04:00
Roberto Rosario
8419facb8a
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:46:25 -04:00
Roberto Rosario
3cbc6435a2
Improve markup in release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:39:57 -04:00
Roberto Rosario
e7627a723e
Remove repeated section
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:39:46 -04:00
Roberto Rosario
e77afeee37
Add API client examples
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:32:02 -04:00
Roberto Rosario
6a5a2350bb
Fix documentation tag chapter reference
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 02:31:26 -04:00
Roberto Rosario
912675bf99
Force object to text
...
Force text display of object when raising PermissionDenied
to avoid UnicodeDecodeError. Thanks to Mathias Behrle
(@mbehrle) for the report and the debug information.
GitLab issue #576 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-04 01:39:06 -04:00
Roberto Rosario
a56e3ca111
Add the MIMETYPE_FILE_READ_SIZE setting
...
This new setting is used to limit the number of bytes read
while determining the MIME type of a new document. A value
of 0 will cause the entire file to be loaded into memory.
1024 appears to be a suitable number for most cases. This
setting defaults to 0 to preserve the current behavior but
might change in a future version.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 22:24:19 -04:00
Roberto Rosario
5f877cdc22
Validate the state completion value before saving
...
Thanks to Manoel Brunnen (@mbru) for the report and debug
information. GitLab issue #557 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 18:28:25 -04:00
Roberto Rosario
d5efd53b5b
Add issue 564 credit.
...
Thanks to the Stéphane (@shoyu) for the report and debug
information.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 16:54:45 -04:00
Roberto Rosario
c156c02376
Fix index list API view
...
Add index create, delete, detail API tests. Fixes GitLab
issue #564 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 16:52:54 -04:00
Roberto Rosario
a196205593
Add missing index API view create permission
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 16:50:44 -04:00
Roberto Rosario
26cf7fb97c
Add release notes for version 3.1.10
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 15:28:19 -04:00
Roberto Rosario
863892f909
Add metadata wizard step test
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-03 14:51:26 -04:00
Roberto Rosario
5a64a3e833
Reject emails attachments of size 0
...
Thanks to Robert Schoeftner (@robert.schoeftner)for the report
and solution. GitLab issue #574 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 23:51:53 -04:00
Roberto Rosario
45786005ab
Update changelog
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 22:39:37 -04:00
Roberto Rosario
f45384e399
Add API to list all templates
...
Remove newlines from the rendered templates.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 22:37:46 -04:00
Roberto Rosario
33a542b9d5
Add support for server side link badges
...
GitLab issue #562 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 22:36:57 -04:00
Roberto Rosario
00d07214b1
Remove notification badge AJAX setup
...
Individual link AJAX workers are obsolete now that the menu
is being rendered by its own AJAX renderer.
GitLab issue #562 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 22:34:54 -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
Roberto Rosario
f6404fbd4b
Merge remote-tracking branch 'origin/master' into hotfix
2019-04-02 18:56:47 -04:00
Roberto Rosario
b59c39261f
Merge branch 'feature/error_ziparchive_children' into 'master'
...
Updates method for getting zip file members - Closes #572
Closes #572
See merge request mayan-edms/mayan-edms!41
2019-04-02 22:55:28 +00:00
Roberto Rosario
a5b513f986
Update changelog
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-02 18:31:05 -04:00