Commit Graph

218 Commits

Author SHA1 Message Date
Roberto Rosario
2c93c5d8c2 Update translation source files. 2015-08-24 00:34:08 -04:00
Roberto Rosario
1d7f447dad Raise validation error without specifying the field as this code can be called for a collection of instances. 2015-08-23 22:44:47 -04:00
Roberto Rosario
fa3633fbe8 Remove empty language files locales: sq, zh_TW, hr_HR, de_CH, lv, nb, tr_TR. 2015-08-20 19:40:05 -04:00
Roberto Rosario
c030b91528 Update translation files. 2015-08-20 19:35:24 -04:00
Roberto Rosario
f2ccfa16d5 Update source language files. Make lock manager and storage translatable. 2015-08-20 15:35:06 -04:00
Roberto Rosario
9599a3f8ab Split metadata validators in validators and parsers. Move document and upload wizard metadata validation logic to model. Add metadata tests. 2015-08-20 04:37:49 -04:00
Roberto Rosario
cc2927c4cd Remove remaining usage of lists for extra_column. 2015-08-20 00:44:24 -04:00
Roberto Rosario
683e54fea1 Replace unused lists with tuples. 2015-08-19 13:57:38 -04:00
Roberto Rosario
14662e478f Remove unneeded lists to tuples. 2015-08-16 14:37:59 -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
561b56b12a Replace usage of get_context_data with get_extra_context. 2015-08-15 03:02:02 -04:00
Roberto Rosario
0fe902b52a Convert document metadata list view to CBV. 2015-08-14 14:54:04 -04:00
Roberto Rosario
97bba65668 Code style updates, change lists to tuples. 2015-08-13 15:27:22 -04:00
Roberto Rosario
28c45bf988 Add support for including a metadata dictionary as an attachment for the POP3 and IMAP sources. 2015-08-13 03:05:55 -04:00
Roberto Rosario
3fd73739a6 Update translation source files and language processing script. 2015-08-11 02:27:18 -04:00
Roberto Rosario
d3ee32beea Add missing field to serializer. 2015-08-06 17:11:52 -04:00
Roberto Rosario
960d60c39d Refactor rest_api app and the method end points are registered. All apps API URL endpoints are now registered under the 'rest_api' namespace.
Update DRF and DRF swagger versions. Update all apps API registration method.
2015-08-06 02:56:17 -04:00
Roberto Rosario
bc71796571 Add missing migrations for the linking and metadata apps after templatating change. 2015-07-29 19:44:50 -04:00
Roberto Rosario
b5c9065eb3 Shorten line to less than 79 chars. 2015-07-28 02:53:52 -04:00
Roberto Rosario
02143abbca Fix view passed variable name. 2015-07-28 02:47:03 -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
fc9f9f1e68 Replace more unnecessary lists with tuples. 2015-07-28 01:41:45 -04:00
Roberto Rosario
1e746c700a PEP8 cleanups. 2015-07-27 23:53:14 -04:00
Roberto Rosario
3b728328ad PEP8 cleanups, E501. 2015-07-23 04:05:29 -04:00
Roberto Rosario
0a0a92116e Get rid of eval in metadata type default and lookup fields. gh-issue #151. 2015-07-23 02:49:29 -04:00
Roberto Rosario
58d919d173 Initial commit to remove use of eval. gh-issue #151. 2015-07-22 23:19:43 -04:00
Roberto Rosario
4527563d89 PEP8 cleanups, specially E501 line too long. 2015-07-22 18:21:37 -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
498f258f59 Convert metadata edit, delete and create views to CBV. Remove unused metadata type form. 2015-07-09 01:19:20 -04:00
Roberto Rosario
d2123089ec Convert metadata type list view to CBV. 2015-07-08 22:05:32 -04:00
Roberto Rosario
8d91ef2858 Update remaining title reference. 2015-07-07 23:36:24 -04:00
Roberto Rosario
f4bcab2341 Rename metadata type title field to label. 2015-07-07 23:25:05 -04:00
Roberto Rosario
0e81ea2ab8 Avoid triggering migration creation using functions for choices and validators choices. 2015-07-07 21:21:08 -04:00
Roberto Rosario
23fda5561e Propery filter documents queryset on CBV that return a list of documents. 2015-07-01 17:01:41 -04:00
Roberto Rosario
ace76fc69c Update apps for new ACLs refactor. 2015-07-01 16:36:20 -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
6ceb71d0b3 Rename metadata parsers to metadata validators. Fix validators calling method, import and instance, instead previous key based lookup. 2015-06-30 17:35:35 -04:00
Roberto Rosario
c7953a1cfb Improve document upload wizard title messages 2015-06-30 17:35:16 -04:00
Roberto Rosario
e9ea2dc35a Modernize usage of the AssignRemove CBV 2015-06-30 17:19:56 -04:00
Roberto Rosario
f326007f40 Update links labels to uppercase 2015-06-29 14:19:06 -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
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
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
c249b47b79 Finish smart settings refactor 2015-06-23 01:44:57 -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