Commit Graph

67 Commits

Author SHA1 Message Date
Álvaro Arranz f1341686c0
Migrate from IRoute to IBlueprint 2018-07-14 23:34:04 +02:00
Álvaro Arranz ce4ec44f1b
Fix some basic pep8 problems 2018-07-13 00:18:19 +02:00
Francisco de la Vega a7f7069975 Include an explicit wait for log in button in selenium tests 2017-12-26 13:26:16 +01:00
Francisco de la Vega 19894497b2 Update testing CKAN versions 2017-12-22 14:52:43 +01:00
Francisco de la Vega c7eef4df32 Implement IPermissionLabel interface to suppport searchable datasets in v2.7 2017-11-15 19:09:36 +01:00
fdelavega 018b84127c Fix problem with renamed revoked_access action 2017-04-26 16:52:53 +02:00
Eugenio Gonzalo 5b6bd59715 Added tests for the remove users API endpoint. 2016-07-07 12:28:08 +02:00
Cazaril 0eca66d015 Added remove users from private dataset API endpoint 2016-07-07 12:27:57 +02:00
Aitor Magán 3359252c6a Avoid modified packages to jump to the first position 2015-06-30 13:13:31 +02:00
Aitor Magán 844cad96a8 Fix Selenium Tests. Full compatibility with CKAN 2.3. 2015-06-30 12:10:05 +02:00
Aitor Magán 304ee2a62e Merge branch 'develop' of github.com:conwetlab/ckanext-privatedatasets into develop 2015-06-18 13:05:52 +02:00
Aitor Magán 4b59fc982b Minor refactor 2015-06-18 13:05:37 +02:00
Aitor Magán 2b860aa8e5 Merge branch 'upstream' of https://github.com/pgalves/ckanext-privatedatasets into pgalves-upstream 2015-06-18 12:45:40 +02:00
Aitor Magán fab7c88bb2 Minor improvement. Add tests 2015-04-09 10:34:44 +02:00
Aitor Magán 3681c587f4 Minor improvement. Ensure backwards compatibility 2015-04-08 14:34:35 +02:00
Aitor Magán García 84000b72ea Remove unnecesary auth function. Problem is fixed in CKAN 2.3 2015-03-11 00:49:55 +01:00
Aitor Magán ee75ec3f20 Return Acquire URL in package_search action 2015-02-19 17:04:20 +01:00
Aitor Magán ffbead140e Not include resources in package_search when users are not allowed to show the dataset 2015-01-29 18:10:10 +01:00
Aitor Magán e9a5a50653 Feature: Add API to retrieve the list of datasets acquired by a user 2015-01-23 14:44:40 +01:00
Pedro Alves 040d329d46 Added Get Access Button: this button shows in private datsets that can be aquired in the Store, links to the corresponding offering in Store. Replaces the flash message with link in the original ckan extension 2014-12-12 12:00:57 +00:00
Aitor Magán 327bbf0321 Fix tests 2014-10-21 17:50:16 +02:00
Aitor Magán 8ef3377b45 Fix #14: Acquired datasets jumps to the first position 2014-10-21 17:39:13 +02:00
Aitor Magán adde7d2fa2 Acquire URL can also be hidden when the user is editing a dataset 2014-10-09 15:25:32 +02:00
Aitor Magán 7728478254 Acquire URL is not shown the dataset is being created 2014-10-09 14:44:47 +02:00
Aitor Magán 900ca349af Fix #10 2014-09-05 10:59:33 +02:00
Aitor Magán 2b6c468051 Add GNU Affero License 2014-09-02 17:52:55 +02:00
Aitor Magán a412e8dac3 Adquire -> Acquire 2014-08-28 15:19:34 +02:00
Aitor Magán 2cc749ea49 Database connection should be initialized everytime a query is performed 2014-08-27 15:33:10 +02:00
Aitor Magán 436d3a2d28 Minor improvements 2014-07-31 12:51:01 +02:00
Aitor Magán 47cc95c784 Add URL validation 2014-07-29 15:33:16 +02:00
Aitor Magán a4ccaed1bb Add aditional test. Fix minor typo 2014-07-29 12:11:54 +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 6c028477de Remove unnecessary methods 2014-07-28 10:02:16 +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 6838221f43 Cache is updated when the list of allowed users is updated 2014-07-17 13:25:03 +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 451e800762 Optimize code 2014-07-15 14:59:47 +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 414bc46e59 Split plugin test. Minor bug fixes 2014-07-14 17:05:46 +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 9a49f06fff Move the notification callback to an action 2014-07-14 11:05:56 +02:00
Aitor Magán 4bdd121dd9 Bug fixing and improvements 2014-07-11 13:55:23 +02:00
Aitor Magán edc1928795 Bug fix. The table is created only if it does not exist previosly 2014-07-10 15:48:53 +02:00
Aitor Magán f8d66dc400 Minor improvements and bugfixes 2014-07-10 13:21:28 +02:00
Aitor Magán 1c8340a089 Allowed users are stored in a new table. Create auxiliar files 2014-07-10 12:26:31 +02:00
Aitor Magán 4ddef599a2 Create different files for each controller 2014-07-08 12:30:28 +02:00
Aitor Magán 92d4ff1f3b Create separate controllers: one for the API and another one for the User Interface. Fix minor bugs 2014-07-08 10:35:26 +02:00
Aitor Magán da80f8451f Add a page that allows users see their adquired datasets 2014-07-07 17:38:28 +02:00
Aitor Magán 3e8dc4379e Change the way searchable datasets are stored 2014-07-07 09:30:51 +02:00