Commit Graph

30 Commits

Author SHA1 Message Date
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
Aitor Magán 027958ebd4 Change labels: Adquire label is shown when the user has adquired a dataset. Private label is shown when the users has not adquired a dataset 2014-07-04 14:18:10 +02:00
Aitor Magán 8bf820a15e Users can choose if their datasets can or not be searched 2014-07-04 11:49:36 +02:00
Aitor Magán ab3ac4739b Fix minor bug 2014-07-03 11:13:02 +02:00
Aitor Magán ed9359e251 Allow organizations to choose the users that can view their private datasets 2014-07-03 10:06:20 +02:00
Aitor Magán 3144e8de18 Readd auth_allow_anonymous_access to package_show. Add tests to check that "package_show" and "resource_show" have the decorator "auth_allow_anonymous_access" 2014-07-01 15:56:21 +02:00
Aitor Magán bd7630a372 Modify resource_show function to use the package_show function defined within the plugin 2014-07-01 15:56:21 +02:00
Aitor Magán 95cac2b653 Fix bug that allow anonymous users to access datasets without allowed users 2014-07-01 15:56:21 +02:00
Aitor Magán 2756bbd60f Allow new package_search to be accessed via a GET request 2014-06-30 16:46:09 +02:00
Aitor Magán 3af8917175 Add complex tests to Controller test. Change add_user function name to add_users 2014-06-30 13:11:55 +02:00
Aitor Magán ff4bdabf1d Minor bugfixes. Add plugin tests 2014-06-26 16:37:27 +02:00
Aitor Magán 56110e27bf Allow private datasets to be shown in the dataset page 2014-06-26 10:22:10 +02:00
Aitor Magán ecebb74eeb Improve FiWare parser to recieve dataset names properly. Show adquire message only when the dataset is accessed via its URL. 2014-06-25 17:13:44 +02:00
Aitor Magán d448c6aae9 Show flash message with the URL to adquire a dataset when it's private 2014-06-25 13:28:59 +02:00
Aitor Magán cf370766a3 Fix minor bug. Anonymous users can access public datasets now 2014-06-25 12:48:49 +02:00
Aitor Magán acb304ae04 Add notification URL to add allowed users programmatically 2014-06-24 17:22:07 +02:00
Aitor Magán b945acc0a6 Minor bugfix 2014-06-24 11:04:14 +02:00
Aitor Magán 46eb8c5746 First implementation 2014-06-23 17:25:37 +02:00