Roberto Rosario
410e6a4a55
Improve mailer no-result template message
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-20 23:29:54 -04:00
Roberto Rosario
c7e9a4dc99
Add keyword arguments
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 02:09:26 -04:00
Roberto Rosario
4617afafb2
Replace get_object_list() with self.object_list
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 01:25:53 -04:00
Roberto Rosario
6330e40036
Use get_object_list instead of get_queryset
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 03:17:52 -04:00
Roberto Rosario
95a1df8072
Backport common mixin and generics improvements
...
* Rename get_object_list to get_source_queryset.
* Add uniqueness validation to SingleObjectCreateView.
* Remove MultipleInstanceActionMixin.
* Backport MultipleObjectMixin improvements.
* Remove ObjectListPermissionFilterMixin.
* Add and improve tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 02:07:35 -04:00
Roberto Rosario
8e731d6280
Backport ACL computation improvements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-04 03:27:30 -04:00
Roberto Rosario
1c5681c79d
Code style cleanups
...
Sort arguments, methods. Add keyword arguments.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-25 05:06:56 -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
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
427aad8277
Add no results help texts for the converter, source, motd and mailer app. Add help text to the document type list view. Tweak the CSS of the no result secondary links.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-01 03:10:45 -04:00
Roberto Rosario
061366ffec
Update apps' other modules to use the new Icon class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-29 02:54:14 -04:00
Roberto Rosario
8496ea7072
Add support for HTML bodies to the user mailers. Closes GitLab issue #470 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-10 17:54:43 -04:00
Roberto Rosario
267896ce2b
Update existing dynamic forms for the new schema format.
...
Add timeout field to the HTTP POST action.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-26 22:01:47 -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
bb663aa71a
Fix mailing profile test view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-10 00:59:55 -04:00
Roberto Rosario
b925fd61dc
Remove method with no effect.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-07 05:21:50 -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
a72ac6eadb
Add user mailer backends support. GitLab issue #286 .
...
Add support for creating dynamic forms.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-03 13:37:56 -04:00
Roberto Rosario
7941b90ea8
Refactor the document mailing views.
...
Add support for sending multiple documents via email at the same time.
2016-12-23 14:03:43 -04:00
Roberto Rosario
621c988809
Simplify filter_by_access boilerplate code
2016-11-02 03:48:16 -04:00
Roberto Rosario
23270e948c
PEP8 cleanups.
2015-11-02 17:40:27 -04:00
Roberto Rosario
379f9d6bee
Update mailer view document collection to be a queryset and not a list of instances.
2015-10-28 02:22:25 -04:00
Roberto Rosario
86ff835839
PEP8 Cleanups.
2015-10-07 22:24:44 -04:00
Roberto Rosario
97bba65668
Code style updates, change lists to tuples.
2015-08-13 15:27:22 -04:00
Roberto Rosario
4de73772ed
Add persistent error logging to the mailer app.
2015-07-29 17:15:12 -04:00
Roberto Rosario
133fcdc53c
Assign tasks to specific queues. Add support for transient queues. gh-issue #222 , gh-issue #230 .
2015-07-10 21:25:20 -04:00
Roberto Rosario
ace76fc69c
Update apps for new ACLs refactor.
2015-07-01 16:36:20 -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
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
2e0e6f7fe9
Update usage of forms submit icon to use generic icon classes and use font awesome icons instead
2015-04-01 03:22:36 -04:00
Roberto Rosario
5dabc0a34a
Add new appearance app to hold all of the base templates, images, icons and external packages related to the frontend and look of the project
2015-03-30 02:17:40 -04:00
Roberto Rosario
d59ea3ede2
Add from __future__ import unicode_literals, issue #37
2015-01-19 04:06:40 -04:00
Roberto Rosario
173e82684c
Fix support for send document links and attachments
2014-11-20 02:54:45 -04:00
Roberto Rosario
5963822be7
Split document view into document preview, document content and document properties views
2014-11-17 18:52:20 -04:00
Roberto Rosario
e3c66953c5
Initial support for mailing multiple documents
2014-11-03 02:56:04 -04:00
Roberto Rosario
6e3b62363e
Solve issue #70
2014-10-13 17:16:14 -04:00
Roberto Rosario
8bac1525be
PEP8 cleanups
2014-10-08 19:39:16 -04:00
Roberto Rosario
ce92f58fed
Add mailer app to add support to send document or document links via email
2014-10-08 16:28:04 -04:00