Roberto Rosario
cfe623e093
Enable smart links from the documents types side
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 01:08:52 -04:00
Roberto Rosario
713e644599
Fix smart link ACL support
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 02:31:38 -04:00
Roberto Rosario
a544924c08
Improve linking app column display and sorting
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 02:22:21 -04:00
Roberto Rosario
395c360784
Update smart link document type view use AddRemove
...
Add smart link created and edited events.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 01:44:23 -04:00
Roberto Rosario
74c97314d7
Code style cleanups
...
Add keyword arguments. Sort arguments and models.
Move literals to their own module. Prepend handler_ to
signal handlers.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-26 03:32:35 -04:00
Roberto Rosario
4c0b3e9134
Add keyword arguments to the reverse use in views
...
Signed-off-by: Roberto Rosario <Roberto.Rosario.Gonzalez@gmail.com >
2019-04-16 19:25:37 -04:00
Roberto Rosario
6bd8206236
Add keyword arguments to messages uses
...
Signed-off-by: Roberto Rosario <Roberto.Rosario.Gonzalez@gmail.com >
2019-04-16 19:02:41 -04:00
Roberto Rosario
f6f9287e33
Add keyword arguments to get_object_or_404 uses
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 20:53:33 -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
98c44df9cc
Add missing .self.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 02:39:59 -04:00
Roberto Rosario
ff5a0d32d4
Only show smart link resolution errors to the user with the smart link edit permission.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 02:09:01 -04:00
Roberto Rosario
c9dedde1d0
Add no results help text.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-30 05:26:48 -04:00
Roberto Rosario
2052caada4
Remove PreserveGetQuerySet mixin. Update SingleObjectList and
...
MultipleObjectFormActionView views to use a new get_object_list method.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-16 22:12:24 -04:00
Roberto Rosario
f09321f6ab
Fix deprecation warnings for Django 1.11 and Django 2.0.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-21 00:25:18 -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
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
ce6f59b9bd
Merge remote-tracking branch 'origin/master' into feature/merge_master
2017-02-13 21:00:56 -04:00
Roberto Rosario
a3959aaf79
Add resolved smart link API views. Add Smart link manager method
...
.get_for(document).
2017-02-12 02:22:26 -04:00
Roberto Rosario
5893e149e0
Reduce the check_access boilerplate code.
2016-11-02 04:58:05 -04:00
Roberto Rosario
ed8ac47240
Extract context object name from the models meta options.
2016-03-19 01:57:30 -04:00
Roberto Rosario
4c4409aa1e
PEP8 cleanups.
2016-03-17 00:44:54 -04:00
Roberto Rosario
67bb84c778
Convert smart link condition create, edit and delete views to CBV.
2016-03-16 18:26:40 -04:00
Roberto Rosario
2180ab22bd
Fix typo.
2015-10-28 02:03:59 -04:00
Roberto Rosario
7392e80fc2
PEP8 Cleanups.
2015-08-24 20:55:45 -04:00
Roberto Rosario
dbe14fde42
Convert smart link view to a CBV view.
2015-08-24 17:42:53 -04:00
Roberto Rosario
68f3c6eee7
PEP8 cleanups.
2015-08-19 14:50:44 -04:00
Roberto Rosario
683e54fea1
Replace unused lists with tuples.
2015-08-19 13:57:38 -04:00
Roberto Rosario
60bc327756
Improve SourceColumn workflow by allowing explicit functions as columns. Remove usage of encapsulate. Move instances of 'extra_columns' to SourceColumn.
2015-08-16 14:26:41 -04:00
Roberto Rosario
561b56b12a
Replace usage of get_context_data with get_extra_context.
2015-08-15 03:02:02 -04:00
Roberto Rosario
0fa11810c6
Conver smart link create, edit and smart link condition list views to CBV.
2015-08-14 14:53:15 -04:00
Roberto Rosario
97bba65668
Code style updates, change lists to tuples.
2015-08-13 15:27:22 -04:00
Roberto Rosario
7cae9dd18e
Update the smart link app to use Django templating language. gh-issues #151 .
2015-07-28 02:44:33 -04:00
Roberto Rosario
1e746c700a
PEP8 cleanups.
2015-07-27 23:53:14 -04:00
Roberto Rosario
afe6644321
Use shorter confirmation messages.
2015-07-17 19:52:17 -04:00
Roberto Rosario
e891fe9525
PEP8 cleanups and code style cleanups.
2015-07-10 17:19:36 -04:00
Roberto Rosario
ac5f403997
Rename smart links title and dynamic_title fileds to label and dynamic_label.
2015-07-07 23:20:48 -04:00
Roberto Rosario
d47091df61
Convert resolved smart link document list view to CBV.
2015-07-02 01:26:35 -04:00
Roberto Rosario
dda604dcbb
Convert document smart link list view to CBV.
2015-07-02 01:13:34 -04:00
Roberto Rosario
70b0996354
Fix smart link document type assign remove view
2015-07-02 00:57:08 -04:00
Roberto Rosario
c6ec9fbc33
Rebalance permissions.
2015-07-01 20:58:16 -04:00
Roberto Rosario
8a501c2c27
Reduce smart link code by using a proxy model.
2015-07-01 16:35:38 -04:00
Roberto Rosario
d45cf5d02e
Update apps to new ACL app changes
2015-06-30 02:42:46 -04:00
Roberto Rosario
5be41af1cf
Remove DefaultAccessControlList support
2015-06-29 14:51:37 -04:00
Roberto Rosario
1c084aa07b
Split Permission and StoredPermission class and model into different modules. Simplified the Permission class.
2015-06-28 01:03:29 -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
a5e922416b
Make generates_choices_w_label a static method of AssignRemove, it's not anywhere else.
2015-06-23 03:13:28 -04:00
Roberto Rosario
9084c3c651
Simplify and remove old code
2015-04-07 16:04:09 -04:00
Roberto Rosario
69a7efd6f0
Convert workflows document type selection, smart link document type selection, role members list, user group and group users views to CBV assign remove. Remove now obsolete assign remove function based view
2015-04-07 15:48:27 -04:00
Roberto Rosario
23fc9f1e36
Merge main and common apps, extract authentication functionality to new authentication app. Closes issues #179 and #180
2015-04-06 16:09:54 -04:00
Roberto Rosario
e27ba5d3d6
Implement use of the injected 'resolved_object' variable to simplify navigation links of objects in lists. Remove obsolete varaibles_tags. Consolidate get_action_links by means of get_menus_links which supports a list of menus to resolve. Remove obsolete 'list_object_variable_name'. Remove 'resolve_for_source' method which was consolidated with the normal resolve method by means of an optional 'source' argument.
2015-04-06 01:02:48 -04:00