Roberto Rosario
af3fed2a18
Use the item view for the document pages.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-14 14:09:21 -04:00
Roberto Rosario
3f348c6260
Don't load matchHeight libary now that it is loaded in base.html.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-14 05:31:08 -04:00
Roberto Rosario
a2a089299f
Equalize dashboard widgets height.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-14 05:30:43 -04:00
Roberto Rosario
bdc69b9860
Update changelog. Bump version to 2.6 beta1.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-14 05:23:00 -04:00
Roberto Rosario
fb520d6f92
Add view mixin to make sure a subclass can't override its
...
parent's get_queryset method.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-14 05:19:50 -04:00
Roberto Rosario
0faa2117ec
Perform check for cabinet add and remove permission to documents
...
too.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-14 05:17:29 -04:00
Roberto Rosario
79ecc3b432
Enable cabinet ACL inheritance from it's root.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-14 05:16:53 -04:00
Roberto Rosario
e04e3040bb
Allow model ACL inheritance related to be a callable.
...
If it is a callable iterative queryset filter will be performed.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-14 05:13:32 -04:00
Roberto Rosario
076c7804e7
Don't display tags in the cabinets detail view. GitLab #397 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-14 03:52:20 -04:00
Roberto Rosario
aa3acdb99c
Add cabinet list view tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-14 03:28:12 -04:00
Roberto Rosario
eff548d2e8
Sort indexes by label.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-13 21:34:43 -04:00
Roberto Rosario
32056761c8
Sort settings by namespace label and by global name second.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-13 21:27:10 -04:00
Roberto Rosario
a026fc9ae6
Ignore permission denied and not found errors in the middleware logger.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-13 18:21:58 -04:00
Roberto Rosario
5f9a052236
Improve wizard upload view test.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-13 18:21:19 -04:00
Roberto Rosario
ba6387021e
Fix document print view, page URL resolve.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-13 17:53:33 -04:00
Roberto Rosario
ff59f34b7f
Add document list item view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-13 17:20:02 -04:00
Roberto Rosario
c3d4884d34
Remove debug statement.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-13 03:32:19 -04:00
Roberto Rosario
2817ec17be
Add support for logging errors during in production mode.
...
Add COMMON_PRODUCTION_ERROR_LOG_PATH to control path of log file.
Defaults to mayan/error.log.
Add support logging request exceptions.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-13 03:31:34 -04:00
Roberto Rosario
8c4db068af
Remove debug statement.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-13 02:51:48 -04:00
Roberto Rosario
77b92b59c7
Only ignore the top level /build/ directory.
...
Include the missin Toastr build files.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-13 02:50:17 -04:00
Roberto Rosario
c088826789
Make users and groups searchable via the API.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-12 04:02:19 -04:00
Roberto Rosario
e66e954b93
Incorporate @Macrobb metadata widget and content visual changes.
...
GitLab issue #378
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-12 03:20:49 -04:00
Roberto Rosario
cc33e1d259
Add support for emailing documents to a recipient list. GitLab #396
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-12 02:50:29 -04:00
Roberto Rosario
b9994dbf40
Fix HTML mark up in window title. GitLab issue #397 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-12 00:55:09 -04:00
Roberto Rosario
bbb5c393a6
Fix typo.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-09 02:47:21 -04:00
Roberto Rosario
f582484693
Update translation source files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-09 02:33:57 -04:00
Roberto Rosario
e91a608312
Bump version to 2.5.2 and add release notes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-08 14:12:54 -04:00
Roberto Rosario
e0e72e5426
Avoid sending the post_version_upload signal from inside an
...
uncommitted new document creation transaction.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-08 14:06:14 -04:00
Roberto Rosario
877572d2b3
Use class names for clarity.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-08 14:05:19 -04:00
Roberto Rosario
5cf5b09ffe
Bump version to 2.5.1.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-07 20:43:53 -04:00
Roberto Rosario
c5691886c0
Bump version to 2.5.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-07 16:54:23 -04:00
Roberto Rosario
e4c88e575f
Improve document detection by workflow state including initial state.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-07 13:00:22 -04:00
Roberto Rosario
998af4931f
Improve usability and appearance on medium and small
...
devices like tablets and smartphones.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-07 05:09:44 -04:00
Roberto Rosario
0177a45436
Do hard word break on form titles to avoid horizontal scroll on
...
small displays.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-07 04:51:37 -04:00
Roberto Rosario
91ba06c501
Remove animated spinners to lower browser memory usage and increase
...
responsiveness. Render a document page place holder while the real
document page loads. This change avoids "jumping" effect when
loading many thumbnails. Increase lazy load thresholds. More
thumbnails and document pages will be loaded and visible by
default when a view loads.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-07 04:20:31 -04:00
Roberto Rosario
829dcbf144
The trashed document deletion action is now a background task.
...
Also, the trash can emptying view calls the trash can document celery task
for each document.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-07 02:42:20 -04:00
Roberto Rosario
c6de76822e
Add two new setting options to control the caching of page images.
...
DOCUMENTS_DISABLE_BASE_IMAGE_CACHE and
DOCUMENTS_DISABLE_TRANSFORMED_IMAGE_CACHE.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-07 02:16:23 -04:00
Roberto Rosario
fd67219af7
Add password reset unit test.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-06 23:31:27 -04:00
Roberto Rosario
ad96863cd9
Move the login template under the authentication namespace.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-06 23:11:17 -04:00
Roberto Rosario
00d0184bad
Add support for requesting a password reset email.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-06 23:09:46 -04:00
Roberto Rosario
ff40b1effc
Add a "Remember me" checkbox to the username and email login forms.
...
Add AUTHENTICATION_MAXIMUM_SESSION_LENGTH configuration setting for the maximum
time an user's login session will remain valid. Defaults to 30 days.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-06 12:50:22 -04:00
Roberto Rosario
d4e1a506ed
Add duplicated document scan support.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-06 02:56:35 -04:00
Roberto Rosario
55eedc153e
Convert document version checksum field from a text field to a char
...
field to be able to index across all db backends without problem.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-05 16:10:05 -04:00
Roberto Rosario
1041ea4e5e
Bump version to 2.5rc1
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-05 15:49:16 -04:00
Roberto Rosario
2ec939e595
Index the document checksum field for faster searches by checksum.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-05 15:44:16 -04:00
Roberto Rosario
0820d0c0e6
Add support to search documents and document pages by checksum.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-05 15:41:56 -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
95157460cb
Add new UI method to switch between required metadata and optional
...
metadata without incurring in metadata value loss.
Add modifying relationship of document type and metadata type
from the document type and from the metadata type views.
Closes GitLab issues #337 #373 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-05 04:39:54 -04:00
Roberto Rosario
32c53343f1
Fix converter bug introduced in previous commit merge.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-05 01:03:14 -04:00
Roberto Rosario
b0912947fc
Give every libreoffice instance its own separate $HOME directory.
...
Additionally give every libreoffice its own UserInstallation
file in the $HOME directory. Works around Libre Office issue:
https://bugs.documentfoundation.org/show_bug.cgi?id=37531
Solves or affects GitLab issues #393 #258 #198 #175
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-04 23:58:04 -04:00