Commit Graph
313 Commits
Author SHA1 Message Date
Roberto Rosario ac1f4eb59a Improve the way the AssignRemove view gets the list's help texts. Don't use None for extra context if there is none. 2015-07-13 01:16:17 -04:00
Roberto Rosario cb6e80926e Add management command to purge periodic tasks from the DB. 2015-07-11 01:49:15 -04:00
Roberto Rosario a2cedc3f9b Fix queue typos. Add a default queue as required by celery. 2015-07-11 00:50:55 -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 e891fe9525 PEP8 cleanups and code style cleanups. 2015-07-10 17:19:36 -04:00
Roberto Rosario bc3eed143c Add permission inheritance by parent object. Add ACLs app model tests. 2015-07-10 01:40:21 -04:00
Roberto Rosario 441eae28bc Add DisableableSelectWidget widget 2015-07-10 00:41:18 -04:00
Roberto Rosario a5b7747619 Update current user detail edit and locale views to CBV. 2015-07-09 02:11:33 -04:00
Roberto Rosario a0ff961d59 Move get_object_name from common.utils to the only place it is used: checkouts. 2015-07-08 02:43:28 -04:00
Roberto Rosario afafd45af9 Preserve original filename when saving. 2015-07-08 00:59:56 -04:00
Roberto Rosario 857cf7b1b2 Add browser cookie support for timezone middleware. 2015-07-08 00:17:44 -04:00
Roberto Rosario 3861bc351a Remove unused code. 2015-07-07 23:37:51 -04:00
Roberto Rosario 69ea0a61e8 Get post_action_redirect and action_cancel_redirect from methods to allow overriding with context. 2015-07-07 20:46:49 -04:00
Roberto Rosario 4f044cecc7 Don't use the original's filename as a path. Provide an open() method which return a proper file-like object. 2015-07-07 01:24:34 -04:00
Roberto Rosario 091dad9b45 Fix SharedUpload model field name. 2015-07-06 14:32:37 -04:00
Roberto Rosario 6efb032298 PEP8 cleanups 2015-07-06 00:48:40 -04:00
Roberto Rosario dcf3a77c66 Don't try to set locale preferences for new users or existing users that have not set any preferences. 2015-07-06 00:22:09 -04:00
Roberto Rosario dc572cc8ee Add migration to remove obsolete anonymous user singleton. 2015-07-06 00:07:07 -04:00
Roberto Rosario 8f30932b6f Fix locale and language not updating on edit or on login 2015-07-04 04:36:55 -04:00
Roberto Rosario ee6bb866c9 Add support for document retention policies. Closes gh-issue #189. 2015-07-04 02:25:59 -04:00
Roberto Rosario 924c07c9de Add support for redirection target on confirm dialog cancelation 2015-07-03 20:49:28 -04:00
Roberto Rosario 8575d02286 Add missing imports 2015-07-03 03:24:20 -04:00
Roberto Rosario 509c944df0 Add mixin to apply an action to many instances 2015-07-03 03:20:36 -04:00
Roberto Rosario 2247d4c38e Fix common app setting name 2015-07-02 20:51:02 -04:00
Roberto Rosario ad5709c8ce Remove maintenance tools menu entry, apps now register tools directly to the tools menu. 2015-07-02 02:47:46 -04:00
Roberto Rosario f0cfe314f0 PEP8 cleanups 2015-07-01 16:45:33 -04:00
Roberto Rosario ace76fc69c Update apps for new ACLs refactor. 2015-07-01 16:36:20 -04:00
Roberto Rosario f65fb2cd6c Remove anonymous user support 2015-07-01 02:45:58 -04:00
Roberto Rosario 576463535f Add view permission and object permission mixins to the AssignRemove CBV 2015-06-30 02:38:50 -04:00
Roberto Rosario 7122a38807 Force implementation methods when subclassing. Hide labels, they don't add any important information. 2015-06-29 14:02:46 -04:00
Roberto Rosario 02761cda25 Remove link to Django's admin site. User are discouraged to change entries directly in the database. 2015-06-29 14:01:52 -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 48df3dcafa PEP8 cleanups 2015-06-24 17:11:24 -04:00
Roberto Rosario e9282132e5 Split search field registration to their respective apps 2015-06-24 15:19:51 -04:00
Roberto Rosario b4efd4574e Refactor register_model_columns into SourceColumn class 2015-06-23 04:12:13 -04:00
Roberto Rosario 383c7e62ab Remove obsolete autoadmin tags 2015-06-23 03:24:40 -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 e4623fadcd PEP8 cleanups 2015-06-23 02:23:23 -04:00
Roberto Rosario 78198f3398 Smart settings refactor 2015-06-22 21:04:06 -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 f4c320dae8 Remove authetication urls from the common app 2015-06-19 19:49:09 -04:00
Roberto Rosario 92ba52720a Add get_success_url to redirection mixin 2015-06-19 19:06:56 -04:00
Roberto Rosario 270b836c71 Fix error on empty list introspection 2015-06-17 02:24:54 -04:00
Roberto Rosario 22340d8b8f Update menu resolution to return a list of lists of resolved objects. Allows segmented 'Action' dropdown on multi objects action menu. 2015-06-17 02:21:53 -04:00
Roberto Rosario a7fd802436 Introspect object to be able to show table header even on empty object_list 2015-06-17 02:19:12 -04:00
Roberto Rosario dee9c3fb70 Add Confirm view 2015-06-16 04:36:26 -04:00
Roberto Rosario 8aa4452162 Allow overriding the object on which to perform the permission check 2015-06-16 04:15:46 -04:00
Roberto Rosario fe43d53aa2 Use tuples instead of lists to represent single permission collections 2015-06-16 04:14:18 -04:00
Roberto Rosario 890ae87e9c Emit a post initial setup signal 2015-06-16 01:58:59 -04:00
Roberto Rosario b41be2e763 Re-add incorrectly removed widget class EmailInput 2015-06-16 01:43:46 -04:00