Commit Graph

15 Commits

Author SHA1 Message Date
Sergey Motornyuk dc75b4c472 Configure tests 2022-05-06 19:28:52 +03:00
Konstantin Sivakov 14d4bb7163 Wrap the sql expresion to sqlalchemy text 2021-03-15 10:16:44 +01:00
Sergey Motornyuk a5be073c04 2.9 support 2019-11-22 16:59:22 +02:00
Sergey bc89eef50b
Merge pull request #9 from dadosgovbr/master
fix #5 (global name 'Authorizer' is not defined)
2018-08-23 11:36:27 +03:00
Augusto Herrmann dc31c37683 remove instantiation of deprecated class that wasn't used anyway 2018-08-21 09:26:13 -03:00
Visar Zejnullahu a6b27e40d7 Remove calls to get_top_packages
get_top_packages is broken, and needs to be rewritten to work with
CKAN 2.*. This is because ckan.authz has been removed in CKAN 2.*

See commit ffa86c010d
2016-02-03 18:21:55 +01:00
Augusto Herrmann 8964f48879 fix #5 (global name 'Authorizer' is not defined) 2014-04-02 16:47:59 -03:00
Sean Hammond ffa86c010d Remove ckan.authz
It has been removed in CKAN 2.0, trying to import it makes CKAN crash on
startup.

This means that get_top_packages() is broken, and needs to be rewritten
to work with CKAN 2.0. At least by removing the import the plugin can
be loaded and its other functions used but if you try to use
get_top_packages() it will crash.
2012-12-20 21:32:53 +00:00
John Glover 165a3fd055 remove unused import 2011-12-19 09:50:56 +00:00
Seb Bacon 5cb20d1d45 cache table reflection (it was *very* slow) 2011-04-10 09:44:44 +01:00
Seb Bacon ee15b29de8 use sqlalchemy expression language where practical 2011-04-08 11:00:28 +01:00
Seb Bacon b852e048c6 escape percents in query condition 2011-04-07 16:30:32 +01:00
Seb Bacon fefac7548d add tests, and associated fixage/harness support to main software 2011-04-05 15:08:24 +01:00
Seb Bacon c91ab410c0 more refactoring 2011-04-05 10:38:25 +01:00
Seb Bacon b69d89bf18 big refactor 2011-04-04 17:44:39 +01:00