Commit Graph
31 Commits
Author SHA1 Message Date
Nicola Soranzo 9805294f97 Revert "Revert "[WIP] Mega flake8 linting""
This reverts commit 37f1976d38.
2015-07-12 21:25:44 +01:00
Dannon Baker 37f1976d38 Revert "[WIP] Mega flake8 linting" 2015-07-11 13:17:38 -04:00
Bjoern Gruening ad8175928d lint fixes for /test/unit/ 2015-07-05 19:50:35 +01:00
Carl Eberhard 5097a9300a [15.05] API, HDAs/Datasets: re-add file_name to detailed serialization for admin users (resolve #313) 2015-06-05 11:45:58 -04:00
Carl Eberhard d1c14bd1a1 Histories, API: do not consider deleted datasets when calculating history state; test 2015-05-12 16:57:17 -04:00
John Chilton 499108432a Attempt to fix manager, viz, and web unit tests for Python 2.6...
... using unittest2.
2015-05-06 14:06:16 -04:00
Carl Eberhard f93961c497 Merge testing 2015-04-16 11:09:11 -04:00
Carl Eberhard 5ebe04cfd0 Testing: fix failing unit tests that were recently added 2015-04-16 10:45:24 -04:00
Carl Eberhard 1bc86a5fba Testing: move managers, web/base, datatypes/dataproviders, and visualization 'unit'(?) tests to using common mock objects and loading system; cleanup 2015-04-16 10:25:34 -04:00
Carl Eberhard c1f721086f Managers: attempt to extract trans from de/serializers 2015-04-02 13:49:03 -04:00
Carl Eberhard fafea361ac Managers: remove trans param as much as possible (this results in some clunky use of current_history kwarg) 2015-04-01 15:21:25 -04:00
Carl Eberhard f8c6725c42 Managers, filters: allow remapping of attribute keys; expand tests 2015-03-31 15:35:17 -04:00
Carl Eberhard 9f1be65937 Managers: re-add dataset assoc job methods, move primary id serialization into base serializer, minor fixes and refactoring, expand tests 2015-03-31 11:15:49 -04:00
Carl Eberhard 188ff0076f Managers, Users: corrections and refactoring, expansion of tests 2015-03-30 18:00:13 -04:00
Carl Eberhard c3f30fbdc5 Managers: refactor hda manager into dataset/dataset assoc/etc., begin to expand rbac security for datasets, expand tests 2015-03-29 19:58:12 -04:00
Dannon Baker fd500d7493 Fix path insertion vs appending of <galaxy>/lib for unit tests. 2015-02-12 10:37:44 -05:00
Carl Eberhard 0ed95c89e3 Managers: re-implement url_for as overridable service, add tests for history contents 2015-02-02 14:13:54 -05:00
Carl Eberhard 66c86c9719 Managers: add shorthand for adding a serializer view, back off of class-level url service, more testing 2015-02-02 13:33:06 -05:00
Carl Eberhard f28120274d Managers: wire url_for in serializers under a class-level variable for overriding in tests, more test coverage (serializers) 2015-02-02 11:07:17 -05:00
Carl Eberhard ec3eec5609 Managers: normalize mixin names (remove Interface, Model, add where appropriate); Fix 'has' substr filter name in tests 2015-01-29 15:20:46 -05:00
Carl Eberhard b44ca3c578 History API: allow filtering, limit, and offset in index params; Implement managers/base.FilterParser to configure how models can be filtered; Change ModelManager.list to allow limit, offset, and post-query (functional) filters; Add user filter, limit, and offset parsers to BaseController; Add tests for previous; Remove some UserManager functions; Continue filling out Annotatable mixin 2015-01-29 10:42:54 -05:00
Carl Eberhard fe8bb01b78 Sharable managers: Generate slug on user share only if needed 2015-01-22 17:33:02 -05:00
Carl Eberhard 4c744f7275 Remove relative imports in managers; factor out circular ref in HDAManager using slight code dup; Fill out deserializers and provde generic manager for deserializer superclasses and mixins; Bug hunt with functional/browser tests 2015-01-14 17:26:41 -05:00
Carl Eberhard 52ff6ef5d0 Remove trans from method bodies where possible 2015-01-12 14:15:42 -05:00
Carl Eberhard fac23b2a1a History Mgr: eliminate the UsesHistoryMixin; HDA Mgr: move serveral methods into mgr from UsesHDAMixin; User Mgr: improve api generation/checking 2015-01-09 13:22:06 -05:00
Carl Eberhard 594daffc51 Unit test the collections manager; tweaks to user_shares in sharable 2015-01-08 16:23:51 -05:00
Carl Eberhard b40ca1c03c Minor fixes, cruft-removal; Exploring common dataset container interface for Histories, Collections, Libraries 2015-01-08 13:23:15 -05:00
Carl Eberhard 2806fbe83e More documentation; minor fixes 2015-01-07 14:55:37 -05:00
Carl Eberhard 9e25551161 Split out OwnableModelInterface (HDAs at the least may need this); Clean-up; Catching up on documentation 2015-01-06 15:01:34 -05:00
Carl Eberhard 58f677ad4f Refining the hda manager, serializer, and de-serializer; using same in history contents and datasets api 2014-12-19 16:56:34 -05:00
Carl Eberhard 98db1349a4 Initial commit for changes to managers: implement base ModelManager, Serializer, and Deserializer; incorporate into hdas and histories managers; implement users, datasets nabagers; re-work histories api to use the managers better; unit tests for managers; search and destroy on UsesHistoryMixin; minor fixes to list-panel 2014-12-17 15:26:43 -05:00