Commits

Author Commit Message Labels Comments Date
pudo
[templates][xs][fix] add more link whuffie to OpenCorporates links.
pudo
[templates][xs] add more link whuffie to OpenCorporates links.
Nick Stenning
Don't use global logger!
Nick Stenning
Add "paster db dropdataset <name>" command, to remove all non-shared data for a dataset from mongo.
Martin Keegan
Unsabotage save_model()
Nick Stenning
Various fixes to command interface and logging throughout the app.
Nick Stenning
Add 'paster ckan check <pkgname>' command, which shows a summary of import status and relevant URLs for a CKAN package.
Nick Stenning
Minor fix to prevent descriptions mangling front page.
Nick Stenning
Improve invalid time error message
Nick Stenning
Add 'ckan' command to provide easy access to hinting on package resources
Nick Stenning
Extensive refactoring of lib.ckan, to allow packages with models as well as just mappings to be imported. This allows for a much wider set of packages to be tested with "paster importreport", and these have been added to the OpenSpending group on CKAN. NB: we now use our own "openspending_hint" tag on CKAN package resources, rather than hijacking the "format" field. TODO: add a paster command that allows easily adding this tag to appropriate resources from the CLI.
Nick Stenning
Fix super call in tests.unit.model.test_model.
Nick Stenning
Remove deprecated reference to app_globals.ckan from controllers/sources.py.
Nick Stenning
Move lib tests to tests/unit/lib, loader tests to tests/loader.
Nick Stenning
Add simple tests for UnicodeDictReader
Nick Stenning
Refactor wdmmg.lib.cli into wdmmg.lib.command package, with file per command, with a view to making it easier to move commands between projects over the next week.
Nick Stenning
Cleanup across codebase, standardise imports, remove unused code. Consolidate unicode DictReader implementations.
Nick Stenning
Move instantiation and management of CkanClient instance into wdmmg.lib.ckan.
Nick Stenning
Remove push_app_globals and pop_app_globals from wdmmg.tests.helpers
Nick Stenning
Move instantiation of management of Solr connection into wdmmg.lib.solr (renamed from wdmmg.lib.solrhelp).
Nick Stenning
Don't sanitize dict at the moment, as this means we can't get to classifiers.
Nick Stenning
Fix broken Dataset lookup for entry_custom_html.
Nick Stenning
Reimplement a more general interface to drop and load example data into Mongo. Use `paster db`.
Martin Keegan
move account code out of web UI dir
Martin Keegan
Move currency data into own file
Martin Keegan
limit errors during web import
Martin Keegan
work around python unicode bug
Nick Stenning
Add facility for datasets to display custom HTML on Entry detail pages. This commit adds an entry_custom_html property on the Dataset model object, which can be a Genshi text template (i.e. "${foo}" style interpolations only). When the Entry detail page (view.html) is rendered, this custom HTML is rendered, with basic properties of the entry (only simple key-value pairs, and not collections or relations) in the template context. In particular this has been implemente…
Nick Stenning
Tidy up test_entry and entry/view.html
Nick Stenning
Mock out CKAN in test_resourceimport to allow running offline. This also removes the dependency on pylons from lib.resourceimport by requiring a ckan_client to be passed in explicitly to (the exquisitely named...) package_and_resource. This or something similar could probably be done in other places, allowing us to remove the dubious {push,pop}_app_globals from testing.
  1. Prev
  2. Next