Roberto Rosario
90393e043e
Move comment user label extraction to the model
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-20 23:22:58 -04:00
Roberto Rosario
f73179a600
Add support for editing document comments
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-09 22:29:07 -04:00
Roberto Rosario
cbd51c5f26
Update comments app
...
Add transaction handling. Add comment view link. Update views to
user ExternalObjectMixin. Add event tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-09 20:22:12 -04:00
Roberto Rosario
84c88f9173
Remove app top level star imports
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 03:15:43 -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
c1d2c8baf3
Merge the sidebar and secondary menu instances
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 15:15:55 -04:00
Roberto Rosario
7be25df7d0
Remove star import from the ACL and Common apps
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 18:45:25 -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
Michael Price
e1956f8d80
Get rids of the APIEndPoint and APIResource classes. Register API url using the 'has_rest_api' AppConfig variable.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:30:59 -04:00
Roberto Rosario
f0baa16cde
Backport support for global and object event notification. GitLab issue #262 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-17 03:12:40 -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
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
81c0f90b4f
Add document comments API endpoints. GitHub issue #249 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-02-21 02:48:02 -04:00
Roberto Rosario
27d8644438
Silence 90% of remaining Django 1.8 model warnings.
2016-01-28 05:43:08 -04:00
Roberto Rosario
b19225e95d
Load models by calling AppConfig.get_model method instead.
2016-01-22 03:59:42 -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
26259b63f6
Migrate to use a local model for document comments. Closes gh-issue #233 .
2015-07-29 19:43:11 -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
54f3cef7ba
Replace unnecessary lists with tuples.
2015-07-28 00:49:07 -04:00
Roberto Rosario
3b728328ad
PEP8 cleanups, E501.
2015-07-23 04:05:29 -04:00
Roberto Rosario
ee1b05fb57
Refactor code to associate a model with a set of permissions. Update related apps.
2015-06-30 22:00:14 -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
b4efd4574e
Refactor register_model_columns into SourceColumn class
2015-06-23 04:12:13 -04:00
Roberto Rosario
50e547dc98
Allow app to auto add their urlpatterns via MayanAppConfig AppConfig subclass
2015-06-19 20:42:34 -04:00
Roberto Rosario
bc50d0e321
Finish app navigation updates
2015-04-05 00:14:28 -04:00
Roberto Rosario
51ce5ca057
Consolidate navigation tags, consolidate setup and tool link
2015-04-03 20:51:02 -04:00
Roberto Rosario
8af55ccbef
PEP8 cleanups
2015-03-30 15:21:53 -04:00
Roberto Rosario
bd041457c9
Update project to use Django 1.7.7. Issue #33
2015-03-30 03:43:56 -04:00