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
b6976210a5
Add docstrings for almost all models
...
Also adds docstring to some managers and model methods.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 15:19:38 -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
53239385ae
Add the "to=" keyword argument to all ForeignKey, ManayToMany and OneToOne Fields.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:49:04 -04:00
Michael Price
28aa0b913c
Reorganize and sort models and managers according to Mayan's best practices.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:21:37 -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
7a45164251
PEP8 cleanups.
2015-08-25 19:17:55 -04:00
Roberto Rosario
7392e80fc2
PEP8 Cleanups.
2015-08-24 20:55:45 -04:00
Roberto Rosario
47eba63f48
Add audit logging to document comment model.
2015-08-23 22:37:35 -04:00
Roberto Rosario
2f94ebb9bc
Add event logging document comment app.
2015-08-23 22:34:39 -04:00
Roberto Rosario
1aadede546
Convert document comment deletion view to CBV. Remove unused document comment form.
2015-08-23 21:48:53 -04:00
Roberto Rosario
93553e84c2
Text string tweaks as per translation discussions. Thanks to Berny.
2015-08-20 14:41:00 -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
8af55ccbef
PEP8 cleanups
2015-03-30 15:21:53 -04:00
Roberto Rosario
ec1745b50b
Initial changes to support the new Django 1.6 project structure
2014-06-15 13:13:21 +02:00