Roberto Rosario
18faaa69bd
Add server side invalid document template
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 00:47:43 -04:00
Roberto Rosario
9b2633e6c7
Update middleware to new style classes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 00:22:35 -04:00
Roberto Rosario
9e262220e5
Integrate django-autoadmin into the core apps
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 23:54:08 -04:00
Roberto Rosario
94b9db7f27
Increase default of recently tracked documents
...
Increase the default value of recently added documents
and recently accessed documents from 40 to 400.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 22:44:31 -04:00
Roberto Rosario
c0f51103d2
Move stub filtering to the Document model manager
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 22:39:22 -04:00
Roberto Rosario
334f0cd03f
Remove queryset slicing hack from view
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 22:26:37 -04:00
Roberto Rosario
0015ad4abe
Add dashboard app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 02:35:40 -04:00
Roberto Rosario
e2b5817d18
Move the templates to their respective apps
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 01:57:35 -04:00
Roberto Rosario
f3413b4283
Backport and remove code from the permission app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 01:43:03 -04:00
Roberto Rosario
0d4ab4f2cf
Move setting to the storage app
...
The setting COMMON_TEMPORARY_DIRECTORY is now
STORAGE_TEMPORARY_DIRECTORY.
Move file related utilities to the storage app.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 22:26:43 -04:00
Roberto Rosario
72311c73b5
Add workaround for Tesseract bug 1670
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 05:27:27 -04:00
Roberto Rosario
93c4814a89
New default values for settings
...
New default value for setting DOCUMENTS_HASH_BLOCK_SIZE is 65535.
New default value for setting MIMETYPE_FILE_READ_SIZE is 1024.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 04:15:24 -04:00
Roberto Rosario
5118cad9a2
Add SilenceLoggerTestCaseMixin
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:13:07 -04:00
Roberto Rosario
40c9436071
Update PyYAML to version 5.1
...
Update use of safe_load and safe_dump to load and dump using
the CSafeLoader with SafeLoader as a fallback.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:09:07 -04:00
Roberto Rosario
0416ac4064
Move API documentation views API app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 02:03:22 -04:00
Roberto Rosario
1fa91f0ef7
Remove development URLs from main URL file
...
Move the development URL definitions for Rosetta and Debug toolbar
to a separate URL file. Convert the single urls.py to a module to
allow multiple URL files to be used.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 01:53:06 -04:00
Roberto Rosario
fab94319bb
Remove Django suit from requirements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 01:43:34 -04:00
Roberto Rosario
ae814a18c5
Move trashed document views to their own module
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 22:35:23 -04:00
Roberto Rosario
1f5dffa0e5
Remove permission grant and revoke permissions
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 22:07:30 -04:00
Roberto Rosario
4d91d82515
Change how the HOME_VIEW setting is defined
...
HOME_VIEW is now COMMON_HOME_VIEW.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 22:01:14 -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
9ec021241c
Update release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-07 20:41:28 -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
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
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
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
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
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
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
8a971400b1
Release: Bump version to 3.1.9
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-01 03:55:06 -04:00
Roberto Rosario
ba6fd842d2
Documentation: Add version 3.1.8 release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 19:05:03 -04:00
Roberto Rosario
cf1726505b
Documenation: Fix spelling errors
...
Fix spelling errors in documentation and other program texts.
Update the spelling exceptions list.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 18:41:20 -04:00
Roberto Rosario
b4f43adc1a
Documentation: Use Sphinx's extlinks to cut down on repeated URLs. Merge Administration and Maintenance topics. Add database conversion chapter. Unify the header format of all recent release notes. Fix :doc: references.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-18 23:02:30 -04:00
Roberto Rosario
8fcc61bde5
Update documentation. Add chapter on password resets. Add administration topic.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 21:38:58 -04:00
Roberto Rosario
1f27670921
Add release notes for version 3.1.8
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 02:05:38 -04:00
Roberto Rosario
8bf6c37e35
Add workflow and API chapter. Expand tags chapter.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-15 20:00:25 -04:00
Roberto Rosario
e6c43bebf5
Reorganize documentation into topics and chapters. Add new material from Wiki.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-15 06:03:04 -04:00
Roberto Rosario
c9fb3814d9
documenation: Add Docker installation method using a dedicated Docker network. Add scaling up chapter. Add S3 storage configuration section.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-14 03:47:41 -04:00
Roberto Rosario
9634ba75a6
Update changelog and release notes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-14 01:21:22 -04:00
Roberto Rosario
8c6ba747f0
Ignore document stub from the index mirror. GitLab issue #520 . Thanks to TheOneValen @TheOneValen for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-13 03:41:46 -04:00
Roberto Rosario
88f41a570e
Make sure all key used as input for the cache key hash are bytes and not unicode. GitLab issue #520 . Thanks to TheOneValen @TheOneValen for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-13 03:38:50 -04:00
Roberto Rosario
e508b3a7a2
Add link to version 3.1.6 release notes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-09 22:34:10 -04:00
Roberto Rosario
6c9da58ec3
Bump version to 3.1.6. Add release notes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-09 19:18:23 -04:00