Commit Graph

108 Commits

Author SHA1 Message Date
Roberto Rosario
4527563d89 PEP8 cleanups, specially E501 line too long. 2015-07-22 18:21:37 -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
a5b7747619 Update current user detail edit and locale views to CBV. 2015-07-09 02:11:33 -04:00
Roberto Rosario
857cf7b1b2 Add browser cookie support for timezone middleware. 2015-07-08 00:17:44 -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
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
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
e9282132e5 Split search field registration to their respective apps 2015-06-24 15:19:51 -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
78198f3398 Smart settings refactor 2015-06-22 21:04:06 -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
dee9c3fb70 Add Confirm view 2015-06-16 04:36:26 -04:00
Roberto Rosario
d8322031c5 PEP8 cleanups 2015-06-14 03:52:18 -04:00
Roberto Rosario
afb30eab04 Add CBV to display a list of object that are the children of another object 2015-06-09 18:52:42 -04:00
Roberto Rosario
0e3e34bdf1 Simplify AssignRemoveView further 2015-04-07 16:23:33 -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
0476e66903 Convert index_setup_document_types to CBV assign remove 2015-04-07 03:34:47 -04:00
Roberto Rosario
d79ab07337 Add CBV version of the assign_remove view 2015-04-07 03:22:32 -04:00
Roberto Rosario
0209ea6632 Update views that used generic_detail to use generic_form in read_only mode. Remove now obsolete generic_detail template 2015-04-07 02:04:41 -04:00
Roberto Rosario
d1c56c40fd Convert current user details, current user locale profile details, home, license, maintenance and tool list views to CBV 2015-04-07 01:43:49 -04:00
Roberto Rosario
7811d1e090 Change home and setup list views to CBVs 2015-04-07 01:27:33 -04:00
Roberto Rosario
735cd64db2 Don't parse the URL if it's not going to be used. Convert tools to CBV. 2015-04-07 01:15:47 -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
7c4bb03534 Don't load removed settings template tag 2015-04-06 02:43:27 -04:00
Roberto Rosario
d6afddad3d Start merge of common and main apps 2015-04-05 03:44:24 -04:00
Roberto Rosario
e4bb97aaed Code reduction, handle already logged in user redirection at the view and not at the template. 2015-04-01 14:18:05 -04:00
Roberto Rosario
c88d8061e9 Remove ununsed password change and form templates 2015-04-01 13:36:31 -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
08b8dc3f27 Update assign_remove view to work with bootstrap 2015-04-01 03:13:40 -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
f4d3767b15 PEP8 cleanup, remove unused imports, fix permission check when removing metadata from a document 2015-01-26 19:17:35 -04:00
Roberto Rosario
b55acb6e12 Normalize import style 2015-01-24 17:05:32 -04:00
Roberto Rosario
d59ea3ede2 Add from __future__ import unicode_literals, issue #37 2015-01-19 04:06:40 -04:00
Roberto Rosario
da83f1a9c1 Split common CBVs into views and mixins, add ObjectPermissionCheckMixin 2015-01-12 18:28:51 -04:00
Roberto Rosario
090302676d Implement GUI language and timezone as user preferences, issue #114 2015-01-11 17:38:47 -04:00
Roberto Rosario
1eaa768517 Remove the 960 grid system, use Pure CSS's grid system instead, use Pure CSS button stylesheet for the setup and tools buttons 2015-01-07 05:04:22 -04:00
Roberto Rosario
84493b7a72 PEP8 Cleanups 2014-11-11 14:58:37 -04:00
Roberto Rosario
1abb4e6ece Remove success messages from the assign_remove view, allow passing null lists titles 2014-10-30 02:24:56 -04:00
Roberto Rosario
b8fe08f831 Fix casing of message 2014-10-28 17:21:52 -04:00
Roberto Rosario
c23205f464 Add MultiFormView class based view, convert InteractiveUpload view to MultiForm view 2014-10-24 18:18:40 -04:00
Roberto Rosario
9662d14e9c Issue #40, finish remaining '/' hardcoded redirects 2014-10-09 20:05:42 -04:00
Roberto Rosario
97dcf507ab PEP8 cleanups 2014-10-08 18:14:05 -04:00
Roberto Rosario
3990900433 Issue #39, Fix common model messages capitalization 2014-10-08 10:23:08 -04:00
Roberto Rosario
e28f5c9028 Fix missing redirect namespace 2014-10-07 14:51:49 -04:00
Roberto Rosario
b8fe8639ec If an user has a global permission then return entire queryset 2014-09-14 14:32:46 -04:00
Roberto Rosario
bc97b6a4ef Add get_extra_context method to ExtraContextMixin 2014-09-13 02:23:14 -04:00
Roberto Rosario
b27d6e57be Split MayanViewM into MayanView and ExtraContextViewMixin, add object permission check to the SimpleObjectLiveView 2014-09-13 01:37:30 -04:00