Commit Graph

201 Commits

Author SHA1 Message Date
Aitor Magán ff3f4b37fa Fix minor bug in Selenium test 2014-07-30 12:50:59 +02:00
Aitor Magán 532cbf0039 Refactor action test 2014-07-30 12:31:03 +02:00
Aitor Magán 49ed8411ff Users are not added to the list of allowed users when a dataset is updated though the Action API 2014-07-30 12:19:17 +02:00
Aitor Magán 3308ac0929 Use more than one resource to update the list of allowed users via API 2014-07-29 17:25:30 +02:00
Aitor Magán 29cabf1573 Add integration tests for url checker 2014-07-29 16:07:34 +02:00
Aitor Magán d2ed042f29 Add unit test for url checker 2014-07-29 15:51:11 +02:00
Aitor Magán 3f4ed15aad Change some comments 2014-07-29 15:33:40 +02:00
Aitor Magán 47cc95c784 Add URL validation 2014-07-29 15:33:16 +02:00
Aitor Magán 9aef596516 Add API tests 2014-07-29 13:46:15 +02:00
Aitor Magán 9c0d698b70 Call logic functions with a new context 2014-07-29 13:07:51 +02:00
Aitor Magán f983806069 Access to dataset are now checked even if the dataset is not searchable 2014-07-29 12:38:46 +02:00
Aitor Magán a4ccaed1bb Add aditional test. Fix minor typo 2014-07-29 12:11:54 +02:00
Aitor Magán 79e9f794a8 Fix selenium test bug 2014-07-29 11:18:52 +02:00
Aitor Magán 6ec3318669 Check error shown when the list of allowed users contains an invalid user name 2014-07-29 11:06:05 +02:00
Aitor Magán a09a683f37 Improve consistency 2014-07-29 10:21:24 +02:00
Aitor Magán cd6c827ac9 Improve the way the cache is cleared 2014-07-29 10:19:42 +02:00
Aitor Magán fc3cee6fa0 Remove Solr Cache in each test 2014-07-28 17:53:35 +02:00
Aitor Magán e1d3b1aa1b Fix bug 2014-07-28 17:11:35 +02:00
Aitor Magán 37957152fe Add instructions to clear Solr 2014-07-28 16:54:22 +02:00
Aitor Magán a07aed24a6 Add additional verifications 2014-07-28 16:49:33 +02:00
Aitor Magán fb28a548ba Remove allowed users list when the package is deleted 2014-07-28 15:50:45 +02:00
Aitor Magán 14f0114f22 Reduce timeout. Change window size. Fix bug 2014-07-28 13:02:36 +02:00
Aitor Magán 7746b5d5be Add dependencies and modify test configuration 2014-07-28 12:21:59 +02:00
Aitor Magán 87736dfcdb Add initial selenium tests 2014-07-28 12:16:30 +02:00
Aitor Magán abd197fc65 Only active packages are shown in the list of adquired packages 2014-07-28 10:07:26 +02:00
Aitor Magán 6c028477de Remove unnecessary methods 2014-07-28 10:02:16 +02:00
Aitor Magán 2e68c9b225 Use check_access function to check if users can read a dataset 2014-07-24 16:46:02 +02:00
Aitor Magán 619c7725c9 Private label is only shown where the user cannot read the package. Owner label is shown when the user is the owner (even if the dataset is public) 2014-07-24 15:38:44 +02:00
Aitor Magán García c775a7937f Merge pull request #4 from conwetlab/no_extras
Store users without using CKAN extras
2014-07-18 12:30:51 +02:00
Aitor Magán 7cca101625 Remove allowed users correctly 2014-07-18 12:27:10 +02:00
Aitor Magán ad5ad324b0 Change HTML sentence 2014-07-17 18:02:59 +02:00
Aitor Magán 6838221f43 Cache is updated when the list of allowed users is updated 2014-07-17 13:25:03 +02:00
Aitor Magán 2ee2b077cc Avoid missing values checking the private value 2014-07-16 15:59:45 +02:00
Aitor Magán 8ce7375c31 Remove unused function 2014-07-16 13:36:00 +02:00
Aitor Magán 5995a67576 Modify the way allowed users are obtained 2014-07-16 13:29:53 +02:00
Aitor Magán 07f6e1e7af Minor changes 2014-07-15 17:51:13 +02:00
Aitor Magán ee25e8f9a6 Improve tests 2014-07-15 17:28:17 +02:00
Aitor Magán 451e800762 Optimize code 2014-07-15 14:59:47 +02:00
Aitor Magán 1376787a75 Add test for after_update properly 2014-07-15 14:10:32 +02:00
Aitor Magán 0dc1e10128 Add after_create and after_update tests 2014-07-15 14:05:01 +02:00
Aitor Magán 2fe84bd5cc Fix test 2014-07-15 12:59:00 +02:00
Aitor Magán f0bbd82325 Fix minor typo 2014-07-15 12:19:12 +02:00
Aitor Magán 5810c8d5e8 Check customer_name before resources. Add additional test for FiWare parser 2014-07-15 12:16:20 +02:00
Aitor Magán c7de2e3c91 Improve coverage. Add tests for DB. init_db is now idempotent 2014-07-15 11:52:09 +02:00
Aitor Magán bd2cc7c7c1 Change test_controller_api to test_actions 2014-07-15 10:32:19 +02:00
Aitor Magán 414bc46e59 Split plugin test. Minor bug fixes 2014-07-14 17:05:46 +02:00
Aitor Magán bdbc1372d5 Fix FiWare parser tests 2014-07-14 12:16:41 +02:00
Aitor Magán 1dcb8098b8 Create package_adquire auth function for the future. Fix some bugs 2014-07-14 11:50:59 +02:00
Aitor Magán 18c434b722 Change comments 2014-07-14 11:11:39 +02:00
Aitor Magán 9a49f06fff Move the notification callback to an action 2014-07-14 11:05:56 +02:00