Roberto Rosario
e007af6b3f
Refactor checkouts app
...
Change "checkin" usage to "check_in".
Update URL parameters to the "_id" form.
Add support to checkout and check in multiple documents.
Optimize queries that used an ID list of documents for
filtering using values_list('pk', flat=True). These
queries now use .values('pk') as a subquery.
Add pre save hooks to block new document version uploads.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-01-31 05:57:01 -04:00
Roberto Rosario
9203977261
Update all links to the new Link class interface
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-01-25 01:13:53 -04:00
Roberto Rosario
92e615ce4c
Add keyword arguments to checkouts app
...
Add keyword arguments to calls and view parameters. Add missing icons.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-01-02 14:19:32 -04:00
Roberto Rosario
55a30379bd
Various apps: Sort imports
...
Run imports as per Mayan EDMS best practices.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2018-12-06 01:57:24 -04:00
Roberto Rosario
8e69178e07
Project: 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 app name claves 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 >
2018-12-05 02:04:20 -04:00
Roberto Rosario
b9c51792d1
Add icons.py module for the acls, authentication, cabinets, checkouts, some of common, mayan_statistic, and metadata apps links.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-11 04:17:45 -04:00
Roberto Rosario
0ffe20befd
Fix link resolution in the document signature list view. This view exposes 3 navigable objects, use 'resolved_object' for correct link resolution.
2016-03-26 16:28:08 -04:00
Roberto Rosario
4d362c3957
Add icons to the document face menu links. Increase icon size by 10%. Increase icon to text spacing to 3px.
2016-03-08 04:17:57 -04:00
Roberto Rosario
f4a461e5a5
Don't error out link resolution if user doesn't has permission for the object argument. This issue manifests during the forcefull check in attempt of issue GL #237 . Solved and test added.
2015-10-26 02:15:53 -04:00
Roberto Rosario
54f3cef7ba
Replace unnecessary lists with tuples.
2015-07-28 00:49:07 -04:00
Roberto Rosario
4527563d89
PEP8 cleanups, specially E501 line too long.
2015-07-22 18:21:37 -04:00
Roberto Rosario
d26402974a
Allow registering permission from the permission namespace. Replace all permission variables to be lowercase (style guide reserver uppercase variables for constants and literals).
2015-06-28 00:19:49 -04:00
Roberto Rosario
51ce5ca057
Consolidate navigation tags, consolidate setup and tool link
2015-04-03 20:51:02 -04:00
Roberto Rosario
0246068cd0
Initial commit of the new class based and menu based navigation system
2015-04-03 07:09:51 -04:00
Roberto Rosario
80c04b1fb7
New bootstrap based frontend UI. Merged from #121 with many fixes. Closes issues #121 , #59 and #100
2015-03-31 03:26:57 -04:00
Roberto Rosario
d59ea3ede2
Add from __future__ import unicode_literals, issue #37
2015-01-19 04:06:40 -04:00
Roberto Rosario
3909d60e9a
Issue #56 , Remove child_views, child_urls, children_path_regex, children_view_regex link support
2014-10-28 17:41:10 -04:00
Roberto Rosario
1c2932586e
Remove the checkout widget, update and fix checkouts app's urls namepsaces
2014-10-17 18:28:03 -04:00
Roberto Rosario
06dd1b3368
Issue #39 , Explicitly captalize string now that they are not capitalized blindly by the templates
2014-10-02 01:17:27 -04:00
Roberto Rosario
d7aef36442
Add url namespacing to the checkouts, linking, metadata, sources and tags apps
2014-08-26 04:06:09 -04:00
Roberto Rosario
ec1745b50b
Initial changes to support the new Django 1.6 project structure
2014-06-15 13:13:21 +02:00