Roberto Rosario
acdc7dca48
Convert the API URL system from an App based one
...
to a resource based one.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-05-12 17:55:12 -04:00
Roberto Rosario
105eab0740
Add new document version list view permission. GitLab issue #379
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-05-04 01:04:53 -04:00
Roberto Rosario
b91f7f685a
Incorporate @Macrobb metadata widget and content visual changes.
...
GitLab issue #378
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-05-04 00:42:59 -04:00
Roberto Rosario
a889a58a39
Sort multi form view methods.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-27 00:57:41 -04:00
Roberto Rosario
22cc5334c5
Fix issue with new style plural defition expression. Switch to old style.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-26 00:53:16 -04:00
Roberto Rosario
6c4af20356
Update source and compiled language files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-26 00:46:07 -04:00
Roberto Rosario
116fb5155d
Update the document version link's current version conditional to
...
work in all cases: when the document version is an object
of a list (versions list) and when it is the context object
(signatures list).
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-25 16:44:09 -04:00
Roberto Rosario
7a0c2224bb
Add model docstrings.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-25 14:21:30 -04:00
Roberto Rosario
f7ca0a8ddc
Remove accidental translation of an icon specification.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-21 22:41:36 -04:00
Roberto Rosario
02a984398a
Fix minor cabinet link typo.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-21 13:49:22 -04:00
Roberto Rosario
a68d7e41db
Add updates translation source files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-21 12:30:35 -04:00
Roberto Rosario
6060924ee3
Use the context variable 'object' instead of 'resolved_object' to
...
make sure the document version in the list is being resolved and
not the view's Document or a document signature isntance.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-20 12:28:46 -04:00
Roberto Rosario
db987d47c4
Add reminder remark for future removal.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-19 22:55:16 -04:00
Roberto Rosario
9124209aa3
Add document comment field search.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-19 22:54:16 -04:00
Roberto Rosario
5ebc615b80
Add support to the change submit icon in the multiform template.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-28 05:13:54 -04:00
Roberto Rosario
9753146785
Add the FormExtraKwargsMixin to SingleObjectDetailView view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-25 00:50:24 -04:00
Roberto Rosario
5982eba0ce
Add missing document states migration.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-25 00:49:16 -04:00
Roberto Rosario
20f7967241
Initialize PyOCR backend tool attribute to a sane default.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-22 03:14:21 -04:00
Roberto Rosario
ff7091cd80
Make sure the smart setting instance value cache is valid before
...
display its serialize version.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-20 01:44:39 -04:00
Roberto Rosario
2ad4b9c06f
Display the work "Profile" instead of the user's full name or username.
...
This avoid style breakage on long full names or usernames.
The user's full name or username is no longer displayed in the main menu.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-20 01:18:17 -04:00
Roberto Rosario
69c1eacb75
Update Font Awesome to version 4.7.0.
...
Improve dashboard widget CSS class names.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-20 00:37:48 -04:00
Roberto Rosario
b7040cd271
Include all test arguments from the test runner parent class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-15 00:17:10 -04:00
Roberto Rosario
106816ab7f
Do not impot psutils for test if it is not going to be used.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-15 00:16:44 -04:00
Roberto Rosario
8179c35189
Simplify test runner by adding a new option '--mayan-apps' that
...
automatically tests all Mayan apps that report to have tests.
Change the app flag that indicates when an app has test
from 'test' to the more explicit 'has_test'.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 23:47:40 -04:00
Roberto Rosario
89512be546
Fix test import typo.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 23:28:43 -04:00
Roberto Rosario
5fdfdcae78
Use new way to request permissions by pk.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 16:56:34 -04:00
Roberto Rosario
765530b386
Add missing field in field registration tuple.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 16:55:57 -04:00
Roberto Rosario
63682a2945
Merge remote-tracking branch 'origin/master' into feature/master_merge
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 15:57:38 -04:00
Roberto Rosario
9acbaf7274
Merge branch 'feature/transition_acls' into feature/hotfix
2017-03-13 23:25:42 -04:00
Roberto Rosario
5ddb3f1cff
Add support for adding or editing document types to smart links the API.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-13 22:55:29 -04:00
Roberto Rosario
7341971c86
The deleted document restore API endpoint doesn't need a serializer.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-13 22:38:22 -04:00
Roberto Rosario
cc174a563c
Display a placeholder error document image for documents with no pages.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-13 21:33:19 -04:00
Roberto Rosario
858eb8b020
Add writable ACLs API endpoints.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-13 21:04:12 -04:00
Roberto Rosario
f6b58655e8
Permissions are read only always.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-13 21:02:34 -04:00
Roberto Rosario
ffb98cdba6
Add ACL creation API endpoint.
2017-03-10 01:27:10 -04:00
Roberto Rosario
31580ee51d
Add size field to the document version serializer.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-09 13:32:03 -04:00
Roberto Rosario
c598f87d7f
Hide the static tag import to avoid errors with static file
...
processors
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-09 02:21:00 -04:00
Roberto Rosario
f30cf440fe
PEP8 cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-09 02:20:41 -04:00
Roberto Rosario
ff703b32a2
Integrate the Cabinets app into the core.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-09 01:59:13 -04:00
Roberto Rosario
7a4a78c2ca
Move favicon redirect code from common.urls to common.views as
...
FaviconRedirectView. This removed the
django.contrib.staticfiles.templatetags.staticfiles.static URL runtime
computation from common.urls. GitLab issue #340 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-07 00:43:32 -04:00
Roberto Rosario
85cb1a0f71
Point Flatly's Glyphicons references to the include bootstrap distribution files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-07 00:37:17 -04:00
Roberto Rosario
ef6c98660b
Disable loading the base Bootstrap CSS, Flatly seems to include it already.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-07 00:36:54 -04:00
Roberto Rosario
21140dfad2
Remove optional theme CSS files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-07 00:17:02 -04:00
Roberto Rosario
26a7029140
Add a "Check now" button to the interval sources for testing.
...
Ref: GitLab issue #313 Thanks to @gersilex for the suggestion.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-06 23:46:11 -04:00
Roberto Rosario
f11ffdec52
Use force_text for debug print to avoid showing non critical unicode errors in the console.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-06 23:09:53 -04:00
Roberto Rosario
0ad37366fd
Update expected view test response code.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-06 22:32:53 -04:00
Roberto Rosario
432a2c5155
Don't user referer URL blindly, recompose using know view name.
2017-03-03 05:03:23 -04:00
Roberto Rosario
406f8cb245
PEP8 cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-02-23 23:42:18 -04:00
Roberto Rosario
137c9daa57
Fix typo in test literal string.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-02-23 23:41:01 -04:00
Roberto Rosario
206776441c
Add transition ACLs support to the API view and serializer.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-02-23 23:40:32 -04:00