{22} Trac tickets (2647 matches)
Results (401 - 500 of 2647)
Id | Type | Owner | Reporter | Milestone | Status | Resolution | Summary | Description | Posixtime | Modifiedtime | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
#120 | enhancement | dread | dread | v0.10 | closed | fixed | Security audit |
Look for all places where model is accessed and check authorization is checked. Document holes (and, as necessary, suggestions for fixes) as new tickets. Likely areas that need looking at:
Write holes are obviously much more significant to us than read holes. |
1253529427000000 | 1254406544000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#121 | enhancement | dread | dread | v0.10 | closed | fixed | Add 'Group' to main menu |
And associated page to browse group. |
1253694827000000 | 1253716782000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#122 | enhancement | dread | dread | v0.10 | closed | fixed | Add Group authz page | 1253694842000000 | 1253716757000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#123 | enhancement | dread | dread | v0.10 | closed | fixed | Ability to edit Group in WUI |
Add Group editing page. If no permissions to change group can't edit group. Also cannot view edit page. Editable attributes: name, title, description No preview needed |
1253708041000000 | 1254321447000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#124 | enhancement | rgrp | rgrp | v1.0 | closed | fixed | Display Generic Package Attributes in WUI |
Split out from ticket:43 |
1253709702000000 | 1254735558000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#126 | enhancement | dread | dread | v0.10 | closed | fixed | Change package state in the WUI (delete and undelete) |
As a Package Admin I want to change the state of the package. In particular I wish to delete and undelete it. (NB: this is quite separate from "purging" objects which is the term we shall use for irrevocable removal of an object from the domain model).
Implementation Suggestions
|
1253789571000000 | 1254740244000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#127 | enhancement | dread | dread | v0.10 | closed | fixed | Minor form and UI improvements |
|
1253798659000000 | 1253868048000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#128 | enhancement | dread | rgrp | v0.11 | closed | fixed | Add ckan_url attribute to REST JSON representation of a Package |
Add ckan_url attribute to REST JSON representation of a Package pointing to the (read) url of package on CKAN. Cost: 30m |
1253866713000000 | 1275694573000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#130 | enhancement | dread | rgrp | v0.10 | closed | fixed | Create a New Group via the WUI |
As aUser I want toCreate a new group via the WUI Details
|
1254130212000000 | 1254735501000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#131 | enhancement | dread | dread | v0.10 | closed | fixed | Groups REST interface |
Controlling Groups through a REST interface. |
1254307959000000 | 1254308115000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#132 | defect | rgrp | dread | closed | fixed | Security hole - read package/group list (REST) |
Using REST interface you can list packages and groups without authorization being checked. Can be fixed using more advanced query to check authz. |
1254389493000000 | 1273254514000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#133 | defect | rgrp | dread | closed | fixed | Security hole - search package/group (WUI & REST) |
Using WUI or REST interface you can search packages and groups without authorization being checked. On the REST interface you can also read all the attributes of the packages using the 'all-fields' option. Can be fixed using more advanced query to check authz. |
1254390168000000 | 1273253977000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#134 | defect | rgrp | dread | v0.11 | closed | fixed | admin interface is only available to sysadmins | 1254735314000000 | 1255430998000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#135 | enhancement | rgrp | dread | v0.11 | closed | fixed | sysadmins defined in the db | 1254735368000000 | 1265293940000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#136 | enhancement | rgrp | dread | v0.11 | closed | fixed | User has publicly viewable page |
A user's 'home page' is at: user/<user.id> e.g. user/28394723982-03849472 Step 1:
Step 2: Readonly
How do we do a nicer URL for the home page - can we use their openid login? Follow on tickets: ticket:138 and ticket:142 |
1254741650000000 | 1255169466000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#138 | enhancement | rgrp | dread | v1.0 | closed | fixed | User has editable home page |
Model's user table reflects these:
Need edit page for this. Only user should be able to edit it. Follows on from ticket:136 and ticket:142 Cost: 2h |
1254741789000000 | 1258466074000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#141 | task | dread | rgrp | v0.11 | closed | fixed | Search api docs |
Write up search api documentation and put it in a template that shows up at api/search/. Cost: 2h |
1254903008000000 | 1255007583000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#142 | defect | pudo | dread | closed | fixed | Update User object with additional fields such as 'nickname' |
Suggested fields:
just go in extras - may be better to have its own field as useful to search on this ) Related changes (probably separate tickets):
Related to ticket:136 and ticket:138. |
1255010314000000 | 1289219098000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#145 | enhancement | rgrp | dread | v0.11 | closed | fixed | Group shows its administrators |
When viewing a group you see a list of the users who have admin rights to it. (Akin to owners / moderators) |
1255010403000000 | 1265294041000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#148 | enhancement | dread | dread | v0.11 | closed | fixed | Parser and loader for esw.org data |
Follow up tickets: ticket:149 and ticket:150 |
1255440696000000 | 1255515222000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#149 | enhancement | dread | dread | v0.11 | closed | fixed | Loader for esw data recognises existing packages |
Follows on from ticket:148. Sister to ticket:150. |
1255440751000000 | 1257414916000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#150 | enhancement | dread | dread | v0.11 | closed | fixed | Loader for esw data uses REST API |
(instead of sqlalchemy interface, to facilitate general usage of the loader)
Follows on from ticket:148 and ticket:149 |
1255440828000000 | 1256751974000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#152 | enhancement | dread | dread | v0.11 | closed | fixed | Package has editable 'Extra' fields |
Package edit page has fields for extra key-value pairs. Don't use formalchemy. The form displays the existing ones and new ones as follows: Key Value delete [ country ] [ uk, spain ] [x] When presenting the form, existing pairs and 3 blank pairs are provided. When saving the data, keys that are not changed use the existing PackageExtra object (perhaps with new value). Deleted keys put the PackageExtra state to deleted. For new keys, only create a new PackageExtra if there isn't a state=deleted one to resurrect. Validators ensure no repeated keys. |
1255615316000000 | 1256056193000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#156 | enhancement | johnbywater | dread | v1.0 | closed | fixed | Whitelist for html in mark-down field |
Not just links that need to be displayed. Other html should be displayed too, such as tables which can't be represented in markdown. Do a search of the existing fields to see what is needed. |
1255623973000000 | 1271962871000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#157 | enhancement | dread | rgrp | v0.11 | closed | fixed | Log message not persisted through preview |
Log message on package edit page is no longer persisted through a preview (no doubt due to recent form upgrades). Let's fix this. cost: 0.5h |
1255694396000000 | 1256062680000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#158 | enhancement | dread | dread | v0.11 | closed | fixed | Add 'extras' to REST API |
On Package get, ensure separation of extra attributes from other attributes. What is the meaning of posting an incomplete dictionary (updating a package)? Option 1 - if field not present, leave field alone
Option 2 - user must supply all fields
Prefer option 1. Document this. Follows on from ticket:152 |
1255703259000000 | 1255949818000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#159 | defect | dread | rgrp | v0.11 | closed | fixed | Searching for tags:... resulting in lots of tags being found |
Search of form: tags: ... behaves differently depending on whether there is a leading space:
Let's fix this. Cost: 0.5h |
1256030097000000 | 1256060264000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#160 | enhancement | dread | rgrp | v0.11 | closed | fixed | Implement internal links in CKAN notes markup |
Suggest form is: key:value (with optional space after ':'. Keys would be for an object, i.e. 'package', 'tag', 'group'. Becomes a link. This would be implemented by implementing a 'Parser' or 'Processor' object which is run before markdown is done. Regex replace. Cost: 4h |
1256030751000000 | 1265312986000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#161 | defect | dread | rgrp | v0.11 | closed | fixed | Tag listing is incorrect |
E.g. http://ckan.net/tag/read/postcodes this has no-postcode listed but when you look at that package 'postcodes' isn't a tag ... I suspect this may be to do with search using deleted tags as I think no-postcode had postcodes as a tag at some point earlier ... |
1256030925000000 | 1258573607000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#162 | enhancement | dread | rgrp | v0.11 | closed | fixed | Tags should be automatially lowere-cased if not already |
Rather than raising a validation error automatically lower-case tags on submission. Cost: 0.5h |
1256048269000000 | 1256142462000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#163 | enhancement | rgrp | dread | v0.11 | closed | fixed | Regularly put CKAN RDF on Talis CC |
Related to: ticket:90 Link to RDF version of CKAN data on Talis Connected Commons ticket:164 Creating RDF data from CKAN Regularly re-upload the CKAN RDF data to Talis CC. In the long run may wish to only re-convert packages changed since the last upload. However given relatively smaller size of full dataset this optimization is probably not yet required. Cost: ? (1d+ depending on e.g. how easy integration with Talis CC is) |
1256052587000000 | 1265891374000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#164 | enhancement | wwaites | dread | v1.0 | closed | fixed | Creating RDF data from CKAN |
Related to: ticket:90 Link to RDF version of CKAN data and ticket:163 (regularly convert CKAN data to RDF). Convert ckan data to RDF with suitable ontology and put on semantic.ckan.net. |
1256052643000000 | 1271251422000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#166 | enhancement | dread | dread | v0.11 | closed | fixed | Add extras editing to ckanclient |
Ensure logging is working on server. |
1256203581000000 | 1265891199000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#167 | defect | dread | dread | v0.11 | closed | fixed | REST interface you can't update multiple tags |
Only first tag is updated. |
1256209993000000 | 1265891178000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#170 | enhancement | rgrp | dread | v0.11 | closed | fixed | Paginate search results |
e.g. http://www.ckan.net/package/search?q=science&search=Search+Packages+%C2%BB Results are capped at 20, but can't see past first page. |
1256313584000000 | 1265891157000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#171 | enhancement | rgrp | rgrp | datapkg-0.7 | closed | fixed | Create consolidated config for CLI |
Create consolidated set of config by merging config from .datapkgrc and command line options and use that instead of mixture of command line options and other stuff ... (likely to be less buggy!) |
1256488011000000 | 1297210925000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#172 | enhancement | rgrp | rgrp | v0.11 | closed | fixed | Build ckan documentation using sphinx and upload |
Use python sphinx to build documenation in ./doc and then upload it somewhere publicly accessible. NB: improving the documentation is another matter (as is integrating e.g. existing api docs). Upload location (these are docs for CKAN codebase/concept not the ckan service at ckan.net so good not to associate it too closely with ckan.net): |
1256489019000000 | 1257532331000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#173 | enhancement | rgrp | dread | v0.11 | closed | fixed | Diffing WUI |
Use vdm diff functionality (see ticket:82) to implement diffing of packages between versions in WUI. In package history you should be able to select to revisions and show the diff. Estimated cost: 12h |
1256565412000000 | 1265293968000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#174 | defect | rgrp | dread | v0.11 | closed | fixed | Packages search broken for 'only openly licensed' |
the "only openly licensed packages" tick box seems to return blank page every time - as do queries for only openly licensed and only downloadable packages. The "only downloadable packages" tick box by itself seems to work fine. E.g. try searching for 'science'. Raised by Jonathan Gray |
1256650867000000 | 1265891093000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#175 | enhancement | rgrp | dread | v0.11 | closed | fixed | Creation date |
'created' attribute on User, Group and Rating datetime object: default=datetime.datetime.now() See example on revision Requires migrate script |
1256754070000000 | 1265291037000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#178 | enhancement | rgrp | dread | v0.11 | closed | fixed | Excel package importer |
/tool New 'tools' section of the WUI with 'Excel package import' page. /tool/import Import page allows you to upload a file. The format of the required Excel file is described here. List of licenses provided for copy&paste. /tool/import/preview When you upload it, it gives you a simple preview of the file, offering import. Text as per Package Preview. 'import button' for completing process. File format: First row to have a cell value of 'name' or 'title' in it is the Title Row. It contains the field names, as per package. It includes:
When importing, values are bound into the package fieldset, validated and displayed for the preview and synced to complete. User has to log in to use importer. Auth is checked for putting into groups. |
1257244034000000 | 1265305558000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#179 | defect | dread | rgrp | v1.0 | closed | fixed | Restore 404 and 500 messages in WUI |
Cost: 0.5h (?) Conjecture this went missing in cset:a35db862a841 |
1257412668000000 | 1265305549000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#182 | enhancement | rgrp | v1.0 | closed | fixed | Improve openness icons |
Tick and cross aren't clear enough. Propose:
Cost: 2h (?) |
1257534590000000 | 1270567116000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#184 | enhancement | dread | rgrp | closed | fixed | Stats page |
Create /stats/ page displaying main statistics, e.g:
Related to ticket:181 - Stats side-bar Details
|
1257534756000000 | 1266837414000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#187 | enhancement | rgrp | rgrp | v0.11 | closed | fixed | Full-text search |
Standard search should search notes field in addition to name, title and tags (discussed in ticket:108 but not done). For this to work we need proper text search since o/w we get poor ordering and lots of bad results. If we do this we need:
Easiest way to do this is to use existing facilities in dbs e.g. postgres has full text support since 8.3: http://www.postgresql.org/docs/8.3/static/textsearch.html Using this with sqlalchemy: http://lowmanio.co.uk/blog/entries/postgresql-full-text-search-and-sqlalchemy/ Issues with fulltext search:
|
1257869950000000 | 1265892403000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#189 | enhancement | dread | dread | v0.11 | closed | fixed | Multiple download urls |
See also: PackageResources which defines a 'distribution' as a package's payload (perhaps with metadata). In our case, at least within CKAN, the representation of the distribution will just be the reference to get it (plus some minor metadata). We are expanding this functionality to be any kind of 'resource' associated with a package since it is likely in some cases people will want to link to a file containing a part, but not the whole, of a package's data. As aUser (package editor and package user) I want to(package editor) Associate multiple distributions with a package. (package user) Easily have access to multiple distributions of a package should they exist. ImplementationThere is an object called 'Resource' with the following attributes:
A package's list of resources will have an order which is preserved. The first in the list will be known as the 'default resource' (the presumption will always be that this is a 'distribution'). How to replace download urldownload_url removed and replaced as a proxy attribute. Read returns the url of the default distribution. Write changes the url of the default resource. Ensures backward compatibility. REST API has new attribute in package dictionary 'resouces' - an ordered list. In WUI, replace download url in package read with a table of the distributions. In the WUI package edit, be able to add/remove/edit/reorder distributions. ExampleExample part of package: Distributions:
Existing data to be migrated to new structure. Cost: 4 days |
1258386120000000 | 1265284961000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#190 | defect | pudo | dread | closed | fixed | Package comments |
Cost 7 days When viewing a package, users can read user comments and leave their own. Users need to be logged in to leave a message. Comments appear immediately. A mechanism for deleting unwanted comments is provided to an authorized user. Comments are sorted with the most recent first. Comments are available for read, creation and deletion in both the Web UI and over the REST API. The admin for the package and a superuser can delete unwanted comments, both on the package page and a collation of all comments on their user page. Users can delete their own comments(?) Need to consider whether over the REST API we encourage the use of a 'frontend user' APIKEY which can be used to leave comments for another, actual user. Example at bottom of package page: Leave a comment:
Comments:
Implementation details:Comments table is with columns:
|
1258387105000000 | 1280820852000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#191 | enhancement | johnglover | dread | ckan-sprint-2011-12-19 | closed | fixed | Searching by modification date |
Cost - 2 days Search interface has new options to filter and sort the results by the date the package has been last modified in ckan. Search options are included in both Web UI and Search API. The filter specifies a range of dates. The results can be sorted by ascending or descending dates. The last modification date is surfaced in the package. Example search parameters:
|
1258387778000000 | 1330020983000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#192 | enhancement | rgrp | dread | closed | fixed | Time-related package field |
Cost - 2 days The time period to which a package's data applies is stored in a new field called 'Relevant Date Range'. The value of this field is up to two calendar dates: i.e. either a point in time (e.g. date of a river map is 5/10/09) or a time period (e.g. pollution measurements 1/1/09-1/4/09). Example part of package:
Date: 5/10/09
|
1258388163000000 | 1291733895000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#194 | defect | rgrp | dread | v0.11 | closed | fixed | Check star ratings aren't influenced by search engine crawlers |
rel=nofollow or robots.txt ? |
1258471512000000 | 1265284389000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#195 | enhancement | rgrp | rgrp | v0.11 | closed | fixed | Association listings should be alphabetically sorted (e.g. a group's packages) |
Where an item has an association listing (e.g. package's tags or group's packages) these should be sorted in a sensible way. For present choose to sort alphabetically by name. Cost: 2h |
1258475448000000 | 1258585500000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#196 | defect | dread | dread | v1.0 | closed | fixed | RDF URI to resolve on CKAN |
Provide RDF version of a package at the RDF URI: http://ckan.net/package/rdf/32000-naples-florida-businesses-kml See email on OKFN help: For the information to be Linked Data, the following URI (from the api.talis.com SPARQL call) should be resolvable to RDF, or an RDFa enhanced HTML page. |
1258727988000000 | 1265389771000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#197 | enhancement | dread | dread | v0.11 | closed | fixed | Simple dumper |
As aadmin / user I want toAdmin: export all HEAD data to JSON / CSV / RDF format dump. User: wants to get hold of this dump. Details
Cost: 2h |
1258972495000000 | 1258989700000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#198 | enhancement | rgrp | dread | closed | fixed | Change package and tag ids to uuids |
See how we did it already for other things. Note: on ckan.net older PackageRevision?.id might not be identical to Package.id but this may need sorting at this point. |
1258980613000000 | 1266837606000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#199 | defect | rgrp | casbon | closed | fixed | Fix failing tests and provide documentation on how to run tests in datapkg |
As of 80:099bdc5b07a6 datapkg has 4 test fails and 1 test error. There is no documentation on how to run them, so I am using 'python setup.py test'. datapkg.tests.test_cli.TestCLI.test_ckan ... FAIL datapkg.tests.test_cli.TestCLI.test_walkthrough ... FAIL datapkg.tests.test_index.TestDbIndex.test_get ... /Users/james/Documents/virtualenvs/okfn/src/datapkg/datapkg/index.py:97: SADeprecationWarning: Use session.add() self.session.update(pkg) FAIL datapkg.tests.test_index.TestDbIndex.test_get_when_loaded_as_new_and_init_not_called ... /Users/james/Documents/virtualenvs/okfn/src/datapkg/datapkg/tests/test_index.py:57: SADeprecationWarning: Use session.expunge_all() self.index.session.clear() FAIL |
1259087361000000 | 1267649255000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#201 | enhancement | rgrp | dread | v1.0 | closed | fixed | Stress test ckan |
Check:
|
1259844836000000 | 1265284419000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#202 | enhancement | tonfa | dread | v0.11 | closed | fixed | Internationalization (i18n) try-out |
Try i18n for one language (German) for ckan (de.ckan.net). Basic approach to i18n is well-covered in Pylons book: http://pylonsbook.com/en/1.1/internationalization-and-localization.html However, we need to integrate with our Genshi templates. Details on how to do this in comment: http://wiki.pylonshq.com/display/pylonsdocs/Internationalization+and+Localization Steps
|
1260179192000000 | 1265892368000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#203 | enhancement | dread | dread | v0.11 | closed | fixed | show package counts for groups in WUI |
In two places in the WUI
Cost: 1h |
1260187690000000 | 1265891080000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#204 | enhancement | dread | dread | v0.11 | closed | fixed | Custom package input form |
As aadmin I want toinput government data in a constrained way so thatyou get consistency in the db which is easily searched, discovered and automatically linked. implementationForm has fields suitable for government data. (related to custom excel importer ticket) In pylons config specify the form schema to use - whether the existing one or the government one. On submission, during validation, warn if a field isn't completed (unless it's optional - agency, maintainer, maintainer_email) Simple fields
Date fieldsDate format: machine readable. Can be specific or vague: year or month/year or day/month/year.
Strict selectionDrop down combo
Selection or free textEditable combo
Specialised fields
(Idea for future version: Select the most relevant one from a choice of OS hierarchical geographic IDs in the UK. Stored in the database as the RDF URI. Question - what to do beyond the UK?)
Field data processed
Future - optionalEach form schemas is made available (or not) in the pylons config, along with the default schema for new packages. If there is more than just the 'basic' schema available then the 'new package' form has at the top a drop-down to select the schema with a 'switch' button. This submits the form's current data and parameter schema=xyz and the form arrives back populated with the existing options. No data should be lost switching views. When you edit a package it detects the schema based on the extra fields that are present. |
1260188965000000 | 1285082169000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#206 | enhancement | nickstenning | nickstenning | v1.0 | closed | fixed | UI review |
Investigate and list (on the wiki at wiki:UiReviewNotes) CKAN's UI issues, in particular:
Est cost: 2 hrs. |
1260199941000000 | 1260881123000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#207 | enhancement | dread | nickstenning | v1.0 | closed | fixed | Reimplement tag selection in jQuery |
Remove the current dependency on Yahoo YUI toolkit for doing tag autocompletion on package edit forms. The (KForge-derived) behaviour files for CKAN can easily be switched to the new jQuery-based ones: see ticket:212. Once this is done, it would make sense to implement the tag-selection code with jQuery. Relevant pages include: |
1260200340000000 | 1271250740000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#208 | enhancement | dread | rgrp | v0.11 | closed | fixed | Obfuscate author email and maintainer email field |
Obfuscate author email and maintainer email field. Use: webhelpers.html.tools.mail_to e.g. webhelpers.html.tools.mail_to('mike@…', encode='javascript') Do we want to? Surely only public addresses should be on CKAN in which case why obfuscate? |
1260203938000000 | 1265891070000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#209 | enhancement | rgrp | rgrp | closed | fixed | Validate email address when creating an enquiry |
p:wui 2009-09-09 validate email address when creating an enquiry |
1260288671000000 | 1260288728000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#212 | enhancement | rgrp | rgrp | v0.11 | closed | fixed | Switch to using m.okfn.org "kforge" media (css and behaviour) |
We are already using standard kforge css though copied locally and with a few modifications. We should switch to using common copy on m.okfn.org. Some work will be required to factor out any changes we have made. Cost: 2h |
1260703728000000 | 1260703969000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#213 | enhancement | dread | dread | v0.11 | closed | fixed | Automate CKAN deployment |
fabric script to automate ckan deployment |
1260811707000000 | 1265891061000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#214 | enhancement | nickstenning | dread | v0.11 | closed | fixed | UI Review - General template |
|
1260879581000000 | 1263406056000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#215 | enhancement | rgrp | dread | v1.0 | closed | fixed | UI Review - Home page |
Also, what about ticket:143 ? |
1260879732000000 | 1266513523000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#216 | enhancement | nickstenning | dread | v1.0 | closed | fixed | UI Review - Search |
|
1260879802000000 | 1273596102000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#217 | enhancement | nickstenning | dread | v0.11 | closed | fixed | UI Review - Search results |
Package search results page package/search
|
1260879870000000 | 1263406092000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#218 | enhancement | nickstenning | dread | v0.11 | closed | fixed | UI Review - Package listing |
|
1260879903000000 | 1263406033000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#220 | enhancement | nickstenning | dread | v0.11 | closed | fixed | UI Review - Package read |
Package page package/mypackagename
|
1260880136000000 | 1265286499000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#221 | enhancement | dread | dread | v1.0 | closed | fixed | UI Review - Package edit |
Package edit page package/edit/mypackagename
|
1260880175000000 | 1271756757000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#222 | defect | nickstenning | dread | closed | fixed | UI Review - Package history |
Package history page package/history/mypackagename
|
1260880198000000 | 1282909280000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#223 | enhancement | nickstenning | dread | v1.0 | closed | fixed | UI Review - Tag |
Tags landing page tag
|
1260880276000000 | 1273596111000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#224 | enhancement | nickstenning | dread | v0.11 | closed | fixed | UI Review - Groups |
Groups landing page group
|
1260880360000000 | 1267100560000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#226 | enhancement | nickstenning | dread | v1.1 | closed | fixed | UI Review - History |
Repository History revision
|
1260880515000000 | 1279130390000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#227 | enhancement | nickstenning | dread | v1.1 | closed | fixed | UI Review - General checks |
|
1260880552000000 | 1279192621000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#229 | enhancement | dread | dread | v0.11 | closed | fixed | Resource hashes |
New field for resources - hash of the resource file.
Questions for the field's value:
Thanks to Julien D'Assanges for the suggestion. |
1262686287000000 | 1265891612000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#230 | task | dread | dread | v1.0 | closed | fixed | Refactor 'package preview' to use 'package read' |
|
1262788084000000 | 1265293953000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#231 | defect | pudo | rgrp | ckan-v1.3 | closed | fixed | Make group versioned |
Make group object revisioned/versioned.
|
1262853923000000 | 1288516929000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#233 | enhancement | rgrp | rgrp | v1.1 | closed | fixed | Allow simple site-specific customization/overriding of templates |
Options:
Can do this using: <xi:include href="base.html"><xi:fallback /></xi:include> |
1263000396000000 | 1273080352000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#236 | enhancement | johnbywater | johnbywater | closed | fixed | The system shall present to all users a form for starting data openness enquiries | 1264157100000000 | 1264157324000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#237 | enhancement | johnbywater | johnbywater | closed | fixed | The system shall accept submissions from authenticated owners of activated accounts using the data openness enquiry form by presenting the enquiry summary and prompting for confirmation | 1264157377000000 | 1264157420000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#239 | task | dread | dread | v1.0 | closed | fixed | Test migrate scripts |
Integrate new test upgrade into testmigrate stuff. New "migrate.ini" config file programmed with the db to be used for migrate tests and a param saying where the db dump is. |
1264439926000000 | 1265286521000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#240 | defect | johnbywater | rgrp | v1.0 | closed | fixed | Do not allow creation of PackageResource object without a url |
Currently it is possible (v0.11) to have a PackageResource? object without a url. This should be impossible to do (either at creation time or via modification). |
1265399747000000 | 1272383770000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#241 | defect | rgrp | dread | v1.0 | closed | fixed | License doesn't preview correctly |
4 failing tests, including 2 in misc/package_saver and 2 in functional/test_package. |
1265625546000000 | 1270569769000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#242 | defect | pudo | rgrp | v1.1 | closed | fixed | Miscellaneous tidying up (v0.11) |
Dumping ground for various minor and miscellaneous items (mainly refactorings):rgrp
done:
|
1265715103000000 | 1280823876000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#244 | defect | rgrp | dread | closed | fixed | Several links preceded by link URL |
e.g. Text on ckan.net home page: "All material available under an /licenseopen license" Also seen on the package edit page: "/user/loginClick here to sign in" I believe this is due to the i18n additions from Benoit. Maybe needs new Genshi. Maybe best to work round in the meantime. |
1265750419000000 | 1271248968000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#247 | enhancement | dread | rgrp | v1.0 | closed | fixed | Alternative formats links on package page |
"Alternative formats". Has logo for RDF (link to RDF) and JSON (link via CKAN REST i/f).
Cost: 1h |
1265890326000000 | 1271248813000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#248 | enhancement | dread | rgrp | v1.0 | closed | fixed | i18n of forms |
Need to do i18n of forms (not in templates but in code). Should consult with tonfa about this. |
1265892313000000 | 1270745304000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#251 | enhancement | johnbywater | johnbywater | v1.0 | closed | fixed | Present in the API a list of revision IDs, and present individual revisions when referenced by ID |
Want to have:
Support querying by "since time" and "since revision". Each individual revision should be available in the REST API (read-only):
|
1266519743000000 | 1271423917000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#254 | enhancement | dread | dread | v1.0 | closed | fixed | Package relationships - 1. model |
New domain object: PackageRelationship? (revisioned) Attributes:
Relationship type values: depends_on (dependency_of) derives_from (has_derivation) child_of (parent_of) Relationship type is stored as a string, as given in the first column. The reverse relationship (bracketed) is given just for display purposes only. Subject / Object - as in a sentence: "Dracos is derived from OSM" is <subject> <predicate> <object>. We'll use 'type' instead of 'predicate' as that is a more familiar word. |
1266928449000000 | 1273596180000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#255 | enhancement | dread | dread | v1.0 | closed | fixed | Package relationships - 2. Read in WUI |
WUI:
|
1266928542000000 | 1273596174000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#257 | enhancement | dread | dread | v1.0 | closed | fixed | Package relationships - 4. Read in API |
API:
|
1266928630000000 | 1273596170000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#258 | enhancement | rgrp | dread | v1.0 | closed | fixed | Add uuids into package in REST |
Add uuids into package in REST interface. |
1266954722000000 | 1273596163000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#259 | defect | rgrp | dread | v1.0 | closed | fixed | isitopen enquiry broken |
Pressing the 'make an enquiry' link on the package read page gives 404. (Also links should also be changed from isitopen.ckan.net to isitopendata.org) Example link is: http://isitopen.ckan.net/enquiry/create/?ckan_package=zeno which gets forwarded to: http://www.isitopendata.org/enquiry/create/?ckan_package=zeno which gives 404 |
1267012666000000 | 1273596153000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#260 | enhancement | dread | rgrp | v1.0 | closed | fixed | Display group package list in standard (richer) way |
Currently use old "bullet-point" style. Should change to now standard style used on e.g. package search results page. Cost: 0.5h |
1267100660000000 | 1267122137000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#261 | defect | dread | rgrp | v1.0 | closed | fixed | License does not work through REST API |
Presence of license_id field in JSON input show below breaks REST API (with weird error about int not being subscriptable as if license_id field is being subscripted). Using normal license field does not cause breakage but has no effect. (Also think we should remove license_id from the API since there is no guarantee this cross system compatible since locally generated on install). ourjson = '''{ "maintainer" : "Applications Division", "version" : "1999-01-01", "license_id" : 9, "name" : "geogratiswaterfraction1km_v100", "author_email" : "...", "author" : "Dissemination Branch", "tags" : [ "GeoGratis", "Canada", "GCMD", "Hydrosphere", "Ground Water", "Surface Water", "Hydropattern", "Earth Science", "Land Surface", "Land Cover", "Landscape" ], "extras" : { "License" : "http://geogratis.ca/geogratis/en/licence.jsp", "Ministry" : "Natural Resources Canada", "Level of Government" : "Federal" }, "maintainer_email" : "[email protected]", "notes" : "This product is a raster coverage", "url" : "http://geogratis.cgdi.gc.ca/geogratis/en/collection/metadata.do?id=67", "title" : "Geogratis - 1-km Water Fraction From National Topographic Data Base Maps, Canada" } ''' def test_15_random(self): offset = '/api/rest/package' import urllib tmpjson = simplejson.dumps(simplejson.loads(self.ourjson)) postparams = urllib.urlencode({tmpjson: 1}) res = self.app.post(offset, params=postparams, status=[200], extra_environ=self.extra_environ) model.Session.remove() |
1267134778000000 | 1267207776000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#262 | enhancement | rgrp | rgrp | closed | fixed | Mark package as duplicate of another package |
Need a way to mark packages as duplicate.
|
1267139682000000 | 1296468392000000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#263 | enhancement | johnbywater | rgrp | v1.1 | closed | fixed | Improve and test openid login |
At the moment the user has to figure out to login with providers -- this is not always obvious (e.g. google). We could improve this with a small bit of javascript. As an example see: http://standalone.demo.civicrm.org/standalone/ Not sure exactly what library that is using (or if bespoke) so alternatives include (NB: we already use jquery): In addition to implementing this we also need to test logging in with main providers: google, wordpress -- as we have had reports of it not working with e.g. wordpress (not sure if this testing can be automated really -- best hope would be selenium I think -- so OK if done by hand). Cost: 3h (2h UI), (1h testing) |
1267605039000000 | 1279292730000000 |