Roberto Rosario
5798cabd7c
Add support to update the document indexes from workflow state changes.
...
Add a new workflow field called internal_name for easier workflow
reference in document index templates.
Generalize the PropertyHelper class.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-06 20:07:15 -04:00
Roberto Rosario
d1c87fe102
Allow MetadataLookup to receive callables. Update the {{ users }} and {{ groups }} metadata lookup options to be callables that return a current list of users and groups and not a queryset. Add integrations test user_managements -> metadata app. Fixes GitLab #290 . Thanks to @camiloforero for finding this one.
2016-05-19 19:33:58 -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
4527563d89
PEP8 cleanups, specially E501 line too long.
2015-07-22 18:21:37 -04:00
Roberto Rosario
d59ea3ede2
Add from __future__ import unicode_literals, issue #37
2015-01-19 04:06:40 -04:00
Roberto Rosario
aca9d8c9eb
Remove unused imports, do PEP8 and DeprecationWarning cleanups
2015-01-05 14:40:59 -04:00
Roberto Rosario
11ff561b3a
Remove DocumentTypeHelper class, use direct Django methods
2014-12-08 19:35:25 -04:00
Roberto Rosario
704abb7059
Use related_name 'metadata' to access document types' metadata types
2014-12-08 18:37:54 -04:00
Roberto Rosario
32d2608bdd
Only add metadata type it is not in the list
2014-12-01 16:09:26 -04:00
Roberto Rosario
eff81cf8af
Close issues #118 and #119
2014-11-12 02:15:52 -04:00
Roberto Rosario
84493b7a72
PEP8 Cleanups
2014-11-11 14:58:37 -04:00
Roberto Rosario
742cc02305
Document the usable document attributes added by the metadata app using ModelAttribute class, add DocumentMetadataHelper to help retrieve a document metadata value easier
2014-11-11 02:58:49 -04:00
Roberto Rosario
524b99cdd0
Remove unused class
2014-11-09 00:00:29 -04:00
Roberto Rosario
9f2692d36a
PEP8 cleanup, unused import removal
2014-11-02 21:20:29 -04:00
Roberto Rosario
375de8270e
Add manager class to handle the metadata types of a document type easily
2014-10-30 02:28:19 -04:00
Roberto Rosario
ec1745b50b
Initial changes to support the new Django 1.6 project structure
2014-06-15 13:13:21 +02:00