[ckan-changes] [okfn/ckan] 9672aa: [#1258] add validator decorator to user_activity_l...
GitHub
noreply at github.com
Tue Nov 5 10:59:40 UTC 2013
Branch: refs/heads/1258-validator-decorators
Home: https://github.com/okfn/ckan
Commit: 9672aa359667f7aea96734cb314319f3a9c371d2
https://github.com/okfn/ckan/commit/9672aa359667f7aea96734cb314319f3a9c371d2
Author: joetsoi <joe.yeung.tsoi at gmail.com>
Date: 2013-11-04 (Mon, 04 Nov 2013)
Changed paths:
M ckan/logic/__init__.py
M ckan/logic/action/get.py
M ckan/logic/schema.py
A ckan/new_tests/logic/action/test_get.py
Log Message:
-----------
[#1258] add validator decorator to user_activity_list
* Add decorator that validates against a given schema
* Add default_activity_list_schema
* Refactor user_activity list to use validator decorator
Commit: e1194397efc6793617f4870ddf940775134c9eec
https://github.com/okfn/ckan/commit/e1194397efc6793617f4870ddf940775134c9eec
Author: joetsoi <joe.yeung.tsoi at gmail.com>
Date: 2013-11-05 (Tue, 05 Nov 2013)
Changed paths:
M ckan/logic/action/get.py
M ckan/new_tests/logic/action/test_get.py
Log Message:
-----------
[#1258] fix 500 errors on activity list action functions
change tests, no need to hit the database we only need to test that the
vaildators raise a ValidationError
Commit: 8b62a87a05afd5d95b5321449c90e39858f83fd5
https://github.com/okfn/ckan/commit/8b62a87a05afd5d95b5321449c90e39858f83fd5
Author: joetsoi <joe.yeung.tsoi at gmail.com>
Date: 2013-11-05 (Tue, 05 Nov 2013)
Changed paths:
M ckan/logic/__init__.py
Log Message:
-----------
[#1258] Allow context['schema'] and skip validate in validate decorator
Compare: https://github.com/okfn/ckan/compare/9672aa359667^...8b62a87a05af
More information about the ckan-changes
mailing list