{22} Trac tickets (2647 matches)
Results (1601 - 1700 of 2647)
Id | Type | Owner | Reporter | Milestone | Status | Resolution | Summary | Description | Posixtime | Modifiedtime | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
#1332 | defect | dread | closed | fixed | i18n IndexError exceptions |
We get this i18n error for the URL http://no.ckan.net/authorizationgroup (which runs 1.4.2 with Norwegian translation). I'm not sure why it occurs. Fixing it is low importance though, because this site doesn't use Authorization Group feature Usually caused by bots. The user does not appear to be logged in. WebApp Error: <type 'exceptions.IndexError'>: list index out of range ... Module genshi.filters.i18n:177 in _generate << msgbuf.append(*previous) previous = None for event in msgbuf.translate(gettext(msgbuf.format())): yield event if previous: >> for event in msgbuf.translate(gettext(msgbuf.format())): Module genshi.filters.i18n:1029 in translate << ) parts = parse_msg(string) parts_counter = {} for order, string in parts: >> parts = parse_msg(string) Module genshi.filters.i18n:1143 in parse_msg << if string: parts.append((stack[-1], string)) return parts >> parts.append((stack[-1], string)) IndexError: list index out of range |
1315906429000000 | 1315999104000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1333 | enhancement | amercader | amercader | ckan-sprint-2011-10-28 | closed | fixed | Move form converters to ckan core |
Functions like convert_to_extras and convert_from_extras will be widely used from extensions and should be on ckan core. |
1315909268000000 | 1316951285000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1334 | defect | amercader | amercader | ckan-sprint-2011-10-28 | closed | fixed | "AttributeError: 'NoneType' object has no attribute 'name'" exception when logging in |
On same cases this exception is thrown when logging in: File '/home/adria/dev/envs/iati/src/ckan/ckan/controllers/user.py', line 252 in logged_in user_dict = get_action('user_show')(context,data_dict) File '/home/adria/dev/envs/iati/src/ckan/ckan/logic/action/get.py', line 414 in user_show revision_dict = revision_show(context,{'id':revision.id}) File '/home/adria/dev/envs/iati/src/ckan/ckan/logic/action/get.py', line 332 in revision_show ref_package_by=ref_package_by) File '/home/adria/dev/envs/iati/src/ckan/ckan/model/__init__.py', line 317 in revision_as_dict for pkg in revision.packages] AttributeError: 'NoneType' object has no attribute 'name' |
1315909508000000 | 1319798961000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1335 | enhancement | kindly | dread | closed | fixed | Action API - basic |
Provide an API to the logic layer at /api/action. |
1315910021000000 | 1315910117000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1337 | defect | amercader | amercader | ckan-sprint-2011-10-28 | closed | fixed | Group extras are JSON endoded in the REST API responses |
Instead of this: extras: { type: ""Primary source"" license_id: ""localauth-withrights"" publisher_frequency: ""2Pre\u00f1o \u20ac $ \u00e0dri\u00e0"" } we should return this: extras: { type: "Primary source", license_id: "localauth-withrights", publisher_frequency: "2Preño € $ àdrià", } |
1315924727000000 | 1316951259000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1338 | defect | amercader | amercader | ckan-sprint-2011-10-28 | closed | fixed | Exception when trying to use a custom form schema from an extension |
Both with the package and group controllers, when overriding the default _db_to_form_schema method (which does nothing) from an extension, you get an exception because the context is not passed to the validators. File '/home/adria/dev/envs/iati/src/ckan/ckan/controllers/group.py', line 140 in edit old_data, errors = validate(old_data, schema) File '/home/adria/dev/envs/iati/src/ckan/ckan/lib/navl/dictization_functions.py', line 215 in validate converted_data, errors = _validate(flattened, schema, context) File '/home/adria/dev/envs/iati/src/ckan/ckan/lib/navl/dictization_functions.py', line 270 in _validate convert(converter, key, converted_data, errors, context) File '/home/adria/dev/envs/iati/src/ckan/ckan/lib/navl/dictization_functions.py', line 178 in convert converter(key, converted_data, errors, context) File '/home/adria/dev/envs/iati/src/ckan/ckan/logic/validators.py', line 108 in group_name_validator model = context['model'] KeyError: 'model' |
1315925217000000 | 1317117738000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1339 | enhancement | kindly | rgrp | ckan-backlog | closed | fixed | Issues / question re navl and data conversion |
I ran into a bug with the size field on resources.
To solve this (cset:58acdcfe6d4e) i created an int_converter temporarily in logic/schema.py (this is almost certainly the wrong place). But I think it raises a bigger issue about the conversion layer and how it works. |
1315947022000000 | 1316014954000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1340 | defect | dread | dread | ckan-sprint-2011-10-28 | closed | fixed | Editing non-existent group causes Exception |
e.g. http://ckan.net/group/edit/history Module ckan.controllers.group:135 in edit << try: old_data = get_action('group_show')(context, data_dict) c.grouptitle = old_data.get('title') c.groupname = old_data.get('name') >> old_data = get_action('group_show')(context, data_dict) Module ckan.logic.action.get:347 in group_show << if group is None: raise NotFound check_access('group_show',context, data_dict) >> raise NotFound |
1315991374000000 | 1315991534000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1342 | defect | johnglover | amercader | ckan-sprint-2011-10-10 | closed | fixed | Home controller does not capture SearchError exceptions |
If there is a problem with the SOLR connection,the home page just shows a 500 Server error, instead of a notice (the package controller shows a notice when visiting http://localhost:5000/dataset). Steps to reproduce:
|
1316001227000000 | 1318256532000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1344 | enhancement | kindly | kindly | ckan-sprint-2011-10-10 | closed | fixed | datetime error json conversion on search |
Json decoding error on search, due to date in resources. |
1316020195000000 | 1317211299000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1345 | enhancement | kindly | nils.toedtmann | closed | fixed | Investigate possible memory leak |
There is some evidence pointing to CKAN handling memory inefficiently or even leaking under certain conditions: When we migrated ckan.net/thedatahub.org from eu7.okfn.org (32bit) to s053.okserver.org (64bit) (ticket) we experienced extraordinary memory usage peaks (ticket). Here are the observed value with Apache default settings:
William reduced the life-time of a WSGI CKAN process from 500 requests down to 25 requests (changeset). This (together with two other tweaks) changed the situation drastically:
This suggests that the more requests a CKAN processes serves over time, the more memory it consumes, aka bad memory management or a leak. To prove this theory, one could reduce the total number of WSGI CKAN processes as much as possible without killing the performance (e.g. down to processes=3), and then observing the relation between maximum-requests=25...500 and memory consumption. On 14/09/11 17:49, David Read wrote:
+1 |
1316041450000000 | 1343215489000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1346 | defect | dread | dread | ckan-sprint-2011-10-28 | closed | fixed | 'get_authorization_group_dict not found' exception |
This stems from a feature to allow you to prefill fields in the authorizationgroup creation form. e.g. http://ckan.net/authorizationgroup/new?name=science It's not tested, not supported in the new logic layer and therefore broken. I don't think anyone uses it - can remove it. |
1316081974000000 | 1316094632000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1347 | defect | dread | dread | ckan-sprint-2011-10-28 | closed | fixed | Exception caused by New Group form POST with bad formed parameter |
Exception caused by bots POSTing 'new group' form, but with bad (old-style) parameters. <type 'exceptions.ValueError'>: invalid literal for int() with base 10: 'cache' ... Module ckan.controllers.group:102 in new << if context['save'] and not data: return self._save_new(context) data = data or {} >> return self._save_new(context) Module ckan.controllers.group:152 in _save_new << try: data_dict = clean_dict(unflatten( tuplize_dict(parse_params(request.params)))) context['message'] = data_dict.get('log_message', '') group = create.group_create(data_dict, context) >> tuplize_dict(parse_params(request.params)))) Module ckan.logic:57 in tuplize_dict << for num, key in enumerate(key_list): if num % 2 == 1: key_list[num] = int(key) tuplized_dict[tuple(key_list)] = value return tuplized_dict >> key_list[num] = int(key) ValueError: invalid literal for int() with base 10: 'cache' |
1316094466000000 | 1316094608000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1348 | enhancement | zephod | zephod | ckan-sprint-2011-09-26 | closed | fixed | UX polishing (dataset create/view/edit experience) |
Tweaking UIs and polishing the work done in #1294. ## Edit Page ##
## General ##
|
1316170410000000 | 1317650043000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1349 | enhancement | zephod | zephod | ckan-sprint-2011-09-26 | closed | fixed | Template tidying |
Various things in templates can be tidied up after work has finished on #1294:
|
1316171025000000 | 1317650050000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1350 | enhancement | zephod | zephod | ckan-sprint-2011-09-26 | closed | fixed | i18n of new javascript |
New js code running produced in the work following #1294 contains various string literals, and needs proper internationalisation. See files:
Furthermore, efforts can be made to tidy up strings as described in #1329. |
1316172576000000 | 1317650056000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1351 | enhancement | zephod | zephod | ckan-sprint-2011-09-26 | closed | fixed | Tidy edit-user form; strip preview functionality |
The template for editing a user's profile seems to output the same form twice in one page. Furthermore, the page is made needlessly complex by the preview functionality. The neat inline preview used in package will make this page a lot neater.
|
1316534753000000 | 1317650062000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1353 | defect | nickstenning | ckan-v1.5 | closed | fixed | No UI to remove resources |
I have no idea whether this was a deliberate decision or not, but there is a total absence of any UI with which to delete resources from the currently deployed version of thedatahub.org. |
1316729765000000 | 1317075904000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1354 | enhancement | amercader | amercader | ckan-v1.5 | closed | wontfix | Pass the context object to plugins implementing the IPackageController and IGroupController |
Plugins implementing some IPackageController or IGroupController operations (i.e. read, create, edit, delete) may need the context used in the logic action. For instance, to access the Session that created a package to perform additional queries from the extension (In that case the main logic action will still perform the final commit). |
1316955680000000 | 1316970374000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1356 | enhancement | kindly | amercader | ckan-sprint-2011-10-10 | closed | fixed | Can not recreate a deleted extra |
If you delete an extra and later on change your mind, you can not recreate it with the same value (Different value works fine). |
1317034180000000 | 1318279617000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1357 | enhancement | rgrp | rgrp | ckan-sprint-2011-10-10 | closed | fixed | Integrate new version of data preview |
We have an all new and much improved data preview system developed as part of QA in July. Need to integrate this.
|
1317076044000000 | 1318164458000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1359 | enhancement | rgrp | rgrp | ckan-sprint-2012-02-20 | closed | fixed | Radically simplify standard list of licenses |
Major UX grip and incredibly simple to do. May also want to have basic autocomplete support within the list (trivial to do as well I believe). (Talk to RP about this re how we define lists of licenses). |
1317077855000000 | 1329132464000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1360 | enhancement | zephod | rgrp | ckan-sprint-2011-09-26 | closed | fixed | Remove support for filter by download and filter by openness in search |
Deliver little user benefit and easier just to search and then see what is listed as open and with resources. Implementation DetailsAreas to fix:
CostEst: 2h |
1317077958000000 | 1317650018000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1361 | enhancement | rgrp | rgrp | ckan-v1.5 | closed | fixed | Simple search support |
Would be nice if CKAN could work out of the box without the need for SOLR (solr is great but complex and heavyweight to install). Propose:
ExtrasRemove
Possible Extras(Probably future improvements)
|
1317078276000000 | 1317082893000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1362 | defect | johnglover | johnglover | ckan-sprint-2011-10-10 | closed | fixed | Clearing the database should also clear the search index |
When paster db clean is run, the search index should also be cleared. |
1317121861000000 | 1318256546000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1363 | enhancement | johnglover | kindly | ckan-sprint-2011-10-10 | closed | fixed | Add task_status table to store qa/archiever/webstore information that does not need to be versioned. |
table: task_status id entity_id entity_type task_type key value last_updated state unique(entity_id, task_type, key) example keys: last_task_id |
1317219617000000 | 1318256600000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1364 | enhancement | kindly | kindly | ckan-sprint-2011-10-10 | closed | fixed | If package in index that is not in ckan error is caused. |
We should ignore these but log the packages that are causing this to investigate. |
1317222206000000 | 1318279636000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1365 | defect | dread | dread | ckan-sprint-2011-11-07 | closed | fixed | Support old search formats |
Lots of things rely on the old (i.e. pre-SOLR) search param formats, including ckanclient / DGU. Need a translation layer to convert these params (in api v1&2) to SOLR syntax. This functionality was broken by the changes in #1277 which went into 1.5a |
1317233338000000 | 1319815052000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1367 | defect | dread | dread | closed | fixed | PyPI ckan broken |
manifest.cfg was not included in the pypi package, causing InvalidRepositoryError? when you do 'paster db init'. Appears to affect most CKAN PyPI releases up to and including 1.4.3. |
1317379931000000 | 1317394273000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1368 | enhancement | zephod | zephod | ckan-sprint-2011-10-24 | closed | fixed | UX polishing and bugfixes |
From Ira: PDF of bugs and suggestions is attached. This ticket is included in release v1.5. Post-v1.5 UX improvements are collected in #1404.
|
1317391960000000 | 1318847910000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1369 | enhancement | zephod | zephod | ckan-sprint-2011-10-10 | closed | fixed | Remove showdown.js from the page download |
ckan.js can be rearchitected to avoid instantiating showdown.js in the root namespace. That way, layout_base.html doesn't need to import the script (because we don't use the showdown-dependant parts of ckan.js). |
1317392516000000 | 1318165086000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1370 | enhancement | toby | rgrp | ckan-sprint-2012-04-30 | closed | fixed | [super] Social sharing for datasets (and resources) |
Add a way to share datasets and see mentions of datasets on twitter (and elsewhere) As a visitor I want to share a link to a dataset I have found. I also want to see how many others have shared this (or mentioned it).
Discussion
|
1317422686000000 | 1336045983000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1371 | enhancement | johnglover | johnglover | ckan-sprint-2011-10-10 | closed | fixed | Make logic layer functions for working with task_status table |
The background tasks will use the logic API to access the task_status table so new logic layer functions are needed. |
1317808776000000 | 1324037905000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1372 | refactor | johnglover | johnglover | ckan-sprint-2011-10-24 | closed | fixed | Refactor archiver to work as a celery task |
Take the resource archiver (currently part of ckanext-qa) and make it into a standalone extension that works as a celery task. |
1317808970000000 | 1319625783000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1373 | defect | shevski | ckan-sprint-2011-11-07 | closed | fixed | home page view does not react to logging in / out |
Either: thedatahub.org does not display 'add a dataset' top navigation link or the 'create dataset' main central link to logged in user - instead showing 'sign up' link in the central box. It does however display the 'my account' and 'logout' link in the top right correctly. Navigating to another part of the site (e.g. search or about or my account) does bring the 'add a dataset' navigation link back and the functionality works. Works fine on test.ckan.net so only on thedatahub. Not obviously a caching problem, since I did try clearing cache. OR: it displays as if you're logged in even when you log out. The links doesn't work and prompt you to log in though. |
1317829479000000 | 1320174240000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1374 | defect | dread | dread | ckan-sprint-2011-10-24 | closed | fixed | Can't switch to English if default is non-English |
e.g. cz.ckan.net defaults to Czech (config option lang=cs_CZ) but it fails when you try to switch to English. |
1317893975000000 | 1319648746000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1375 | enhancement | amercader | amercader | ckan-sprint-2011-10-10 | closed | fixed | Define new package id before sending it to the IPackageController plugins |
When creating a package, the package_create logic function sends the newly created package object to all plugins implementing the IPackageController interface https://bitbucket.org/okfn/ckan/src/93194933ea75/ckan/logic/action/create.py#cl-64 At this point, the changes have not yet been commited and the id of the package is not set (It has a default value of make_uuid, which is set when commited). For this reason, plugins have no way of knowing the package id. E.g. the spatial query plugin needs to know this id to link the package extent to the actual package. One possible solution would be to set the package id in the data dict received by package_create (if it's not defined): from ckan.model.types import make_uuid if not 'id' in data or not data['id']: data['id'] = make_uuid() |
1317910441000000 | 1318260008000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1376 | enhancement | kindly | kindly | ckan-sprint-2011-10-10 | closed | fixed | 404 raised when approving package |
Regression found by updating datacatalogs. |
1318088589000000 | 1318279651000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1377 | defect | zephod | zephod | ckan-sprint-2011-10-10 | closed | fixed | Ckan admin repair |
Integrating ckanext-admin into core has thrown up a number of problems:
|
1318240018000000 | 1318245795000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1378 | enhancement | zephod | zephod | ckan-sprint-2011-10-24 | closed | fixed | New to TheDataHub? - StackOverflow style banner |
Implement a banner across the top of the screen giving newbies a link to the about page, and making them feel welcome. See stackoverflow for reference? |
1318247329000000 | 1324047835000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1379 | defect | zephod | zephod | ckan-sprint-2011-11-07 | closed | fixed | Markdown conversion of linked references broken |
eg. http://thedatahub.org/dataset/us-gov-tarp [This Paper][my-paper] is very interesting. [my-paper]: http://somelink.com/paper Write a test to check this markdown feature works - if not, use external markdown lib rather than webhelpers.markdown. Probably need to add markdown lib to list of requirements. |
1318247719000000 | 1320161439000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1380 | enhancement | zephod | zephod | ckan-sprint-2011-11-07 | closed | fixed | Making customizing CSS easier |
While integrating the new theme and making a large number of UX tweaks, I've allowed the CSS file to bloat out of control with some very specific rules and subtle hacks, as well as a couple of clearfix <div> objects in the markup which isn't really good practice. In general we want a logical CSS structure which is as easy to modify as possible. You should not find yourself being overwritten by highly specific rules all the time! Actions
BackgroundDavid Read sent me the following as background:
Deep customisation of the templates is done by creating an extension, with this as a template: https://bitbucket.org/okfn/ckanext-exampletheme/overview That's what Augusto and the Brazilians have done http://alpha.dados.gov.br/dados/ and their code is here: hg clone http://dev.dados.gov.br/codigo/dev/tema-ckan <snip> Another thing of interest was us becoming compatible with Wordpress themes last December. Richard Pope worked with Rufus on this. I believe the base theme is 'twentyten' and I'm guessing that one would swap that css file with another to change theme, but I don't know. I don't know if this feature has been dropped since then. http://lists.okfn.org/pipermail/ckan-dev/2010-December/000073.html Dave |
1318263956000000 | 1324048324000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1381 | enhancement | amercader | pudo | ckan-sprint-2011-10-24 | closed | fixed | Managing groups via package entity API |
It is not currently possible to assign or remove groups by adding or removing their group name from the "groups" list on the REST API. This should be allowed, as it is easier than first adding a package and then editing each group it must belong to. |
1318266706000000 | 1324037815000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1383 | enhancement | kindly | kindly | ckan-sprint-2011-10-24 | closed | fixed | Add IResourceChange IResourceUrlChange Interfaces. |
Need to add way for extensions to trigger based on resource change and just resource url change. |
1318342153000000 | 1320142305000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1385 | enhancement | dread | dread | closed | fixed | Resolve postgres permissions issues |
Currently there is a problem because the docs guide us to set the sqlalchemy url to use 'localhost' i.e. loopback, whereas paster commands don't specify '-h localhost' so use unix sockets (you need to do 'sudo -u postgres'). These should be the same. Also do we need to tell people to add a line to their postgres authentication config /etc/postgresql/8.4/main/pg_hba.conf to help things? Florian suggests: local std std md5 /etc/postgresql/8.4/main/pg_hba.conf |
1318418537000000 | 1326218703000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1386 | enhancement | rgrp | rgrp | ckan-sprint-2011-10-24 | closed | fixed | Disallow account creation via openid |
Superticket: #1343 Creation of accounts from OpenID causes large number of problems:
We therefore will:
|
1318425493000000 | 1324036930000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1387 | defect | toby | johnglover | ckan-v1.8 | closed | fixed | Not specifying a protocol in dataset url causes broken link to be served on dataset view page |
If a user enters a url with no protocol (eg: www.data.gov.uk) in the 'url' field of a dataset, a broken link is created on the view page. CKAN should probably either put in a http:// if no protocol is given, or validation should fail. |
1318428893000000 | 1343042311000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1388 | defect | dread | ckan-backlog | closed | fixed | etags caching on home page |
Needs to update on:
AND
BUT not latest revisions (which is what it was) Or get rid of etag caching on this page and others? |
1318429443000000 | 1320174229000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1389 | defect | johnglover | johnglover | ckan-sprint-2011-10-24 | closed | fixed | Update ckanext-datacatalogs for ckan 1.5 | 1318497052000000 | 1319625799000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1390 | enhancement | johnglover | johnglover | ckan-sprint-2011-10-24 | closed | fixed | Update ckanext-moderatededits for ckan 1.5 on datacatalogs.org | 1318497099000000 | 1319625810000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1391 | enhancement | johnglover | johnglover | ckan-sprint-2011-10-24 | closed | fixed | Update datacatalogs.org to ckan 1.5 | 1318497186000000 | 1319625819000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1392 | enhancement | johnglover | johnglover | ckan-sprint-2011-11-07 | closed | fixed | Move datacatalogs.org to an OKFN server | 1318497251000000 | 1320143150000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1394 | defect | dread | dread | ckan-sprint-2012-01-09 | closed | fixed | Resource validation error messages misleading |
(Editing a dataset) If the second resource contains any validation error then it says "Resources: Package resource(s) incomplete" and "Resource 1:". |
1318515262000000 | 1325604784000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1395 | defect | seanh | closed | fixed | "Import Error: cannot import name UnicodeMultiDict" when installing ckan from source |
At the paster db init command when installing ckan from source I get the error "Import Error: cannot import name UnicodeMultiDict?" (happens with both ckan 1.4.2 and today's latest bleeding edge code, on Ubuntu 10.04.3). UnicodeMultiDict? has been removed in a recent version of python-webob, and the pip install ... lucid_missing.txt causes a too-new version of python-webob to be installed into ckan's virtualenv (the new webob gets installed as a dependency of formalchemy). I manually did pip uninstall webob and then ran paster db init again and it worked. |
1318520183000000 | 1320857823000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1396 | enhancement | rgrp | rgrp | ckan-sprint-2012-02-06 | closed | fixed | Improvements to user page UX - 1d |
Super ticket: #1506
WONTFIX:
|
1318527967000000 | 1330086237000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1397 | enhancement | kindly | rgrp | ckan-v1.7 | closed | fixed | [super] Resource archiving |
We want to cache/archive data associated to a resource so it is available if the resource url disappears (and in order to support other processing we may wish to do e.g. webstorer ...) Etherpad: http://ckan.okfnpad.org/queue (most relevant parts inlined here) Preliminaries
Configuration setup for daemonsPass config through to workers i.e site_url, user, api_key. Need to make site user account. #1408 celeryd config: All providers of tasks will add an item to the following entry point: [ckan.tasks] name = ckanext.{name}.tasks:.... celeryconfig.py from pkg_resources import iter_entry_points for entry in iter_entry_points: celeryimports.appen(....) CELERY_IMPORTS = celeryimports Work Items
|
1318529593000000 | 1338202920000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1398 | enhancement | kindly | rgrp | ckan-sprint-2011-11-21 | closed | fixed | Automated conversion of resource data into webstore |
|
1318529724000000 | 1321827970000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1399 | enhancement | johnglover | rgrp | ckan-sprint-2011-10-24 | closed | fixed | Generate archiving request on resource url change |
Superticket: #1397 Generate archiving request on resource url change by implementing IResourceUrlChange and sending tasks to celery. [0.25d][0.25d] Will be part of of ckanext-archiver extension. Process:
|
1318600123000000 | 1319625829000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1400 | enhancement | johnglover | rgrp | ckan-sprint-2012-03-05 | closed | fixed | Document Archiver Extension |
|
1318600705000000 | 1331544816000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1401 | defect | rgrp | flofokus | ckan-sprint-2012-01-23 | closed | fixed | Some links don't take account when CKAN is mounted at a non-root URL |
if you want your ckan to reside not at http://yourhost.org/ but rather e.g. at http://yourhost.org/ckan/ you can use this hint http://wiki.pylonshq.com/display/pylonsdocs/Configuration+Files and set ckan.site_url accordingly in your .ini. However, there are some instances where internal links are created without the required prefix. |
1318621586000000 | 1328001014000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1402 | enhancement | kindly | rgrp | ckan-v1.6 | closed | fixed | Migrate repository from mercurial to git |
Plan to migrate from mercurial git
Process:
|
1318811651000000 | 1324334011000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1404 | enhancement | zephod | zephod | ckan-v1.7 | closed | wontfix | Search Page UI improvements |
[Refactored] :: Follows on from #1506 UX changes.
|
1318847818000000 | 1338203639000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1405 | defect | dread | jonathan.gray@… | ckan-sprint-2011-11-07 | closed | fixed | You can add a package twice to a group |
To reproduce (from Jonathan Gray):
Basically the problem is allowing the same package associated multiple times with a group. This is an issue on CKAN 1.5b and probably earlier. |
1318856354000000 | 1320152291000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1407 | defect | rgrp | dread | ckan-sprint-2011-12-19 | closed | fixed | Stats extension not working |
Graphs don't show any more at http://thedatahub.org/stats |
1319014605000000 | 1323764239000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1408 | enhancement | kindly | kindly | ckan-sprint-2011-10-24 | closed | fixed | Make site user, so tasks can post information back to ckan. |
Give site user system administrative rights. |
1319019626000000 | 1320141847000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1409 | enhancement | zephod | zephod | ckan-sprint-2011-11-07 | closed | fixed | Add Gravatars to user profiles |
Since we now require email addresses, it's sensible to request users' gravatars to add a little flavour to their user profile (and, potentially, other places eg. comments threads?) [Reopened: Additional] Use gravatars in the HTML generated by helpers.py to create lists of users. Eg. on user/list and dataset/history. |
1319200773000000 | 1324047722000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1410 | enhancement | zephod | zephod | ckan-v1.5 | closed | duplicate | Add Gravatars to user profiles |
Since we now require email addresses, it's sensible to request users' gravatars to add a little flavour to their user profile (and, potentially, other places eg. comments threads?) |
1319200774000000 | 1319213205000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1412 | defect | rgrp | seanh | ckan-sprint-2012-02-06 | closed | worksforme | application.js crashes when viewing a dataset with no resources |
Create a new dataset, don't add any resources to the dataset yet, view the dataset in ckan, if you have firebug enabled you'll see the error "resource is undefined" at line 699 of application.js. |
1319450625000000 | 1328226385000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1413 | enhancement | seanh | shevski | ckan-backlog | closed | fixed | Ask users to 'add email address' when logged in |
I'd like us to display a one-off banner that prompts users who log into thedatahub.org to go and update & their profile & fill in their email address (if we could do it just for those who don't have an email address, then even better) That is, once they log in, they see a banner which says: Please update your profile [here] and add your email address, so you can receive notifications, be able to reset your password and get updates Then when we build notifications or if we decide to survey people, we can actually contact them. Email address should be required as standard DR: Also, mention their Full Name too - v. useful for selecting correct user in group curation |
1319453108000000 | 1330020486000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1415 | enhancement | thejimmyg | nils.toedtmann | ckan-sprint-2011-12-05 | closed | fixed | Comments on current status of ckan deb packages |
This is a scratch pad ticket with some comments on the current status of our ckan deb packages. I know that some of it is the deb packaging roadmap anyway, please forgive me if i mention them here again. Rufus and me re-deployed some community ckan instances onto s022 (see http://trac.okfn.org/ticket/926). We followed the documentation http://docs.ckan.org/en/latest/install-from-package.html
|
1319457069000000 | 1323167941000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1416 | defect | dread | dread | ckan-sprint-2011-11-07 | closed | fixed | Registering with blank email can cause exception |
This might well be a bot, but not POSTing the email field should not cause an exception - it should be 400 and then the sysadmin doesn't get these nags. http://www.publicdata.eu/user/register ... Module ckan.controllers.user:79 in register << c.login = request.params.getone('login') c.fullname = request.params.getone('fullname') c.email = request.params.getone('email') if not model.User.check_name_available(c.login): h.flash_error(_("That username is not available.")) >> c.email = request.params.getone('email') Module webob.multidict:335 in getone << values were found. """ return self._decode_value(self.multi.getone(self._encode_key(key))) def mixed(self): >> return self._decode_value(self.multi.getone(self._encode_key(key))) Module webob.multidict:99 in getone << v = self.getall(key) if not v: raise KeyError('Key not found: %r' % key) if len(v) > 1: raise KeyError('Multiple values match %r: %r' % (key, v)) >> raise KeyError('Key not found: %r' % key) KeyError: "Key not found: 'email'" HTTP_USER_AGENT 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MRA 4.3 (build 01218); .NET CLR 1.1.4322)' webob._parsed_post_vars (MultiDict([('login', 'ahusernames9'), ('fullname', 'ahusernames9'), ('password1', '******'), ('password2', '******'), ('s', 'Sign up')]), <FakeCGIBody at 0xb9d7c5ec viewing MultiDict([('lo...p')])>) |
1319533989000000 | 1320153507000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1417 | defect | dread | dread | ckan-sprint-2011-10-24 | closed | fixed | Browser language detection doesn't work |
In Firefox:
|
1319539010000000 | 1319651617000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1418 | defect | dread | dread | ckan-sprint-2011-10-28 | closed | duplicate | If default language is not 'en' then you can't switch language to 'en' |
e.g. cz.ckan.net has lang=cz but when you click on Home page link "English" it flashes message "Language has been set to: English" but the rest of the page is still Czech. |
1319539146000000 | 1319539691000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1419 | enhancement | dread | ckan-sprint-2011-11-07 | closed | invalid | Can't log in via OpenID |
I couldn't log into theDataHub with OpenID today. I tried both Google ID and MyOpenID. Both times the login on the remote auth server went fine, but when it returns you to theDataHub you get error "Login failed. Bad username or password." |
1319543013000000 | 1319796164000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1420 | enhancement | johnglover | johnglover | ckan-sprint-2011-11-21 | closed | fixed | Refactor ckanext-qa to work as a celery task |
Currently can run as a celery task launched by paster command. Still have to add a CKAN plugin so that QA will run when a resource is added or URL changed, and then update the extension controller/templates to look for QA data from the task_status table instead of directly on the resource. |
1319626138000000 | 1320843789000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1421 | defect | dread | dread | ckan-sprint-2011-10-28 | closed | fixed | Tag cloud recipe broken |
home page doesn't have c.facets setup. Only affects 1.5 branch - ok 1.4.3.1. Was broken in cset:05f60f2d26e8. |
1319638575000000 | 1319639311000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1422 | enhancement | dread | dread | closed | fixed | Remove proxy & etag caching |
Rufus decided this was more trouble than it was worth. Removes ckan/lib/cache.py |
1319639663000000 | 1319645722000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1425 | enhancement | zephod | dread | closed | fixed | Dataset delete button |
From Jonathan gray: At the moment to delete a package you have to go to 'state' and change from 'active' to 'deleted'. For me this was not very obvious, and someone recently wrote to me about this too. Its a small issue - but unless you know what 'state: active' refers to, its not obvious what this means, nor that this is where to go if you want to delete a package. From UI perspective this could be replaced by either a trash can or some text that says 'delete', perhaps with some prompt that explains what happens when you delete a package - explaining that non-admins won't be able to see it, and how you purge, etc. |
1319649860000000 | 1330085282000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1426 | defect | dread | dread | ckan-sprint-2011-10-28 | closed | invalid | Validation errors cause 409 not 400 response |
Validation error is incorrect arguments, so should be a "400 Bad Request" response. "409 Conflict" is for when there is a conflict creating two resources with the same identifier. Yet we get 409 for all validation errors. |
1319708619000000 | 1319709236000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1427 | enhancement | dread | dread | ckan-sprint-2011-10-28 | closed | fixed | Tags validation needs to limit length to 100 characters |
The tag name is limited in length in the db table to 100 characters. If you try and create a longer one you get an exception. This should cause a ValidationError? and tell the user this sensibly. |
1319708698000000 | 1319709925000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1428 | defect | dread | dread | ckan-sprint-2011-11-07 | closed | fixed | config options not used or documented |
Need to ensure config options in the deployment.ini_tmpl match up with doc/configuration.rst. Remove any unused ones too. |
1319803594000000 | 1319804773000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1430 | defect | amercader | ckan-sprint-2011-11-07 | closed | fixed | Documents get mixed between SOLR cores |
On some occasions (apparently random), the documents indexed in a specific SOLR core get mixed with different site_ids. E.g: We look for all documents in the testing.iatiregistry.org core, faceted by site_id. We would expect all documents to have site_id = iati_testing, but some of them have site_id = iatiregistry.org <lst name="facet_fields"> <lst name="site_id"> <int name="iati_testing">265</int> <int name="iatiregistry.org">255</int> </lst> </lst> If we compare one of the records which disappeared from the "iati_testing" site_id in both the production and testing SOLR cores of the server, the records are exactly the same, including the indexed_ts property: Note that the response from the URLs shown may vary, as the testing site could have been reindexed. |
1320068076000000 | 1324033923000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1431 | defect | dread | dread | ckan-v1.5 | closed | fixed | Captcha field - foreign chars cause exception |
During registering a user, the user inputs foreign chars into the captcha field. URL: http://thedatahub.org/user/register ... Module ckan.lib.captcha:22 in check_recaptcha << remoteip=client_ip_address, challenge=recaptcha_challenge_field, response=recaptcha_response_field)) f = urllib2.urlopen(recaptcha_server_name, params) data = f.read() >> response=recaptcha_response_field)) Module urllib:1267 in urlencode << for k, v in query: k = quote_plus(str(k)) v = quote_plus(str(v)) l.append(k + '=' + v) else: >> v = quote_plus(str(v)) UnicodeEncodeError: 'ascii' codec can't encode character u'\xea' in position 0: ordinal not in range(128) |
1320078849000000 | 1320084104000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1433 | enhancement | kindly | rgrp | ckan-sprint-2011-11-21 | closed | fixed | Support SQLAlchemy 0.7 |
Why: current stable version of sqlalchemy. geoalchemy stuff required 0.7 and likely that some other things will require it soon. Probably requires work on vdm https://bitbucket.org/okfn/vdm NB: should have discussion before making 0.7 the default required version in CKAN core. |
1320143453000000 | 1324472583000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1434 | enhancement | seanh | dread | ckan-v1.8 | closed | fixed | Add i18n strings from extensions |
Decide which extensions are important. |
1320145648000000 | 1341245889000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1435 | enhancement | rgrp | ckan-v1.6 | closed | wontfix | Switch to continuous.io for buildbot (?) | 1320145831000000 | 1323283538000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1436 | defect | johnglover | johnglover | ckan-sprint-2011-11-07 | closed | fixed | Packages with a 'pending' state not listed on groups page | 1320155227000000 | 1320243278000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1437 | defect | dread | dread | ckan-sprint-2011-11-07 | closed | fixed | JSONP parameter in Action API |
Action API needs JSONP support - be able to return responses encapsulated in a function of a supplied name. This is important for remote sites running javascript to interact with a CKAN site. Specifying the callback parameter is the way we've achieved JSONP with the RESTful and Search APIs. It should work like this: curl http://test.ckan.net/api/action/package_show?callback=jsoncallback -d '{"id": "fd788e57-dce4-481c-832d-497235bf9f78"}' Or maybe the callback should be specified in the payload in the context or data_dict? (My understanding is that CORS is similar - when more browsers support it, can we drop JSONP?) |
1320161088000000 | 1320173795000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1440 | defect | dread | dread | ckan-sprint-2011-11-07 | closed | fixed | 'paster db load' doesn't update search index |
paster db load ckan.pgdump will load in the database but not update the search index, no we're using SOLR. implementationWe can't tack on 'rebuild' to this command, because it needs a 'db upgrade' first. I'm tempted to make 'db load' do the upgrade and rebuild all in one command. |
1320232415000000 | 1320235084000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1441 | defect | dread | dread | closed | fixed | Use local ckan logo image |
Using local image rather than the same image at assets.okfn.org reduces dependency on another server that may be down, slow or remote. James agrees. |
1320234597000000 | 1320235062000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1442 | defect | dread | dread | ckan-sprint-2011-11-07 | closed | fixed | You can't GET then POST a dataset as new |
If you try to GET a dataset, purge it then POST it again, it fails checking authz for the group: Module ckan.controllers.api:278 in create << (register, subregister)) try: response_data = action(context, data_dict) location = None if "id" in data_dict: >> response_data = action(context, data_dict) Module ckan.logic.action.create:240 in package_create_rest << api = context.get('api_version') or '1' check_access('package_create_rest', context, data_dict) dictized_package = package_api_to_dict(data_dict, context) >> check_access('package_create_rest', context, data_dict) Module ckan.logic:129 in check_access << # log.debug('Valid API key needed to make changes') # raise NotAuthorized logic_authorization = new_authz.is_authorized(action, context, data_dict) if not logic_authorization['success']: msg = logic_authorization.get('msg','') >> logic_authorization = new_authz.is_authorized(action, context, data_dict) Module ckan.new_authz:16 in is_authorized << auth_function = _get_auth_function(action) if auth_function: return auth_function(context, data_dict) else: raise ValueError(_('Authorization function not found: %s' % action)) >> return auth_function(context, data_dict) Module ckan.logic.auth.create:115 in package_create_rest << return {'success': False, 'msg': _('Valid API key needed to create a package')} return package_create(context, data_dict) def group_create_rest(context, data_dict): >> return package_create(context, data_dict) Module ckan.logic.auth.create:15 in package_create << else: check2 = check_group_auth(context,data_dict) if not check2: return {'success': False, 'msg': _('User %s not authorized to edit these groups') % str(user)} >> check2 = check_group_auth(context,data_dict) Module ckan.logic.auth.create:90 in check_group_auth << groups = set() for group_dict in group_dicts: id = group_dict.get('id') if not id: continue >> id = group_dict.get('id') AttributeError: 'unicode' object has no attribute 'get' (using RESTful Model API) The reason is the POST is expecting the group to be expressed as a dict, not the list of names that GET returns. |
1320263318000000 | 1320275623000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1443 | defect | dread | dread | ckan-sprint-2011-11-07 | closed | fixed | language detection |
If language detected doesn't match any of the offered CKAN languages, you get the default language, but see an error flash up for every page, saying: Could not change language to 'None': IOError: [Errno 2] No translation file found for domain: 'ckan' Affects 1.5b only. |
1320425588000000 | 1320432511000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1444 | defect | dread | dread | ckan-future | closed | wontfix | Language detection defaults to en_us? |
Using curl you always get English, even if ckan.locale_default=de. Find out why. (1.5b) Maybe we should disable locale detection for this release if lots of people's browsers don't have it set correctly (e.g. chinese with us internet explorer) |
1320432634000000 | 1340190852000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1445 | enhancement | zephod | rgrp | ckan-sprint-2011-12-05 | closed | fixed | Resource View page in WUI |
Super ticket: #1032
See: http://wiki.ckan.org/Dataset_View_Page Implemented in branch feature-1445-resource-view. Still to do:
|
1320665049000000 | 1330019916000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1446 | enhancement | rgrp | rgrp | ckan-sprint-2012-01-09 | closed | fixed | Data Explorer v2 |
Super ticket: #1602 (Data Previewer v2) We already have first pass of Data Explorer that was released as part of #1357.
Tickets include (* indicates improvement over current explorer)
Est: 10-15d (should be broken down -- partly is in recline issues) |
1320665596000000 | 1326281658000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1448 | enhancement | kindly | kindly | closed | fixed | Set up nice way to do celery deployment. |
Celery is awkward to deply, need to find a way to do it more simply. i.e using celery-pylons and supervisor. A modified version of celery-pylons may be the best solution. 1d |
1320666977000000 | 1325774155000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1449 | enhancement | johnglover | johnglover | ckan-sprint-2011-11-21 | closed | fixed | Improved resource listing on dataset view page |
Should list resources in the form of search results rather than as a table. |
1320677693000000 | 1321873008000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1450 | enhancement | zephod | johnglover | ckan-sprint-2011-12-05 | closed | fixed | Simplify dataset view page |
See http://wiki.ckan.org/Dataset_and_Resource_Pages_Proposal
(additional)
Very rough summary: create more info section and move stuff out (relayout page e.g. README, tags etc) |
1320677788000000 | 1330019974000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1451 | enhancement | johnglover | johnglover | ckan-sprint-2012-01-09 | closed | fixed | Reintegrate download stats on dataset and resource view page - 0.5d |
And deploy on http://thedatahub.org/ - 0.25d Possible: Also move analytics extension into core (decided not to). |
1320677859000000 | 1324401792000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#1452 | enhancement | dread | dread | closed | wontfix | Offer detected browser language, rather than auto-switch |
There are issues with setting the site's language according to the browser detection:
I suggest the site should have a default language saved in the config. The browser language *should* be detected, and that prompts a flash message offering to change to that language. And if you change language that is saved in the cookie (as we currently do). Then do some testing to see if this suits people. |
1320682652000000 | 1340190587000000 |