id type owner reporter milestone status resolution summary description PosixTime ModifiedTime
916 enhancement rgrp pudo vdm-0.8 closed duplicate Port new vdm to Mongodb "We should create a port of VDM 0.9 for MongoDB to support user editing in WDMMG.
" 1295277011000000 1297066902000000
81 enhancement rgrp rgrp vdm-0.7 closed fixed Support for sqlalchemy 0.5 1248285433000000 1268487327000000
267 defect johnbywater rgrp vdm-0.7 closed fixed Diffs for object that is created in that revision Currently this raises an exception because there is no package/package_revision in existence at from_revision. 1268041383000000 1272960518000000
83 enhancement rgrp rgrp vdm-0.6 closed fixed "Allow ""ignored"" fields on versioned objects" "Allow 'ignored' fields on versioned objects (i.e. attributes which are not 'versioned'). This is not hard to do as we already have most of the necessary mechanisms set up in the Revisioner object.
Cost: 2h
" 1248339384000000 1267648301000000
226 enhancement nickstenning dread v1.1 closed fixed UI Review - History "Repository History [/revision]
* What is this page called? ""Recent Changes"", ""Repository History"", ""/revision"": standardise. Between the link in the nav and the page
particularly, but the route is also important. Perhaps /changes or something similar?
* Will change page title on /revision/ to Revision History. Will not change route for the time being.
* ~~needs copyediting.~~
* ~~Pagination has similar issues to elsewhere. Also, most obvious here, is the fact that we don't need to display a link to every possible page. Please can we limit it to, say, a dozen nearby pages and an ellipsis.~~
* ~~Without looking at dates, its not clear whether I'm seeing most recent or oldest changes. Change pagination to say ""Older""/""More recent"" rather than ""Previous""/""Next"".~~ (wontfix: now have text saying we are showing most recent changes)
* Table layout is pretty ugly (yes, I'm aware this is my fault).
* wontfix - nothing better at the moment
* Timestamps are horribly unreadable. At the absolute minimum get rid of the micros. Hover for more detail?
* Can we link to an author page? Yes!
* ~~Atom feed should have a feed icon!~~
* Why are we adding another to this page? We already have one for recent changes on every page in the site and the one we're adding has a less descriptive title. Which is correct? Use that one as a feed for every page.
" 1260880515000000 1279130390000000
227 enhancement nickstenning dread v1.1 closed fixed UI Review - General checks " * There is huge inconsistency in the titles of pages across the site: to give one example ""Edit Package:"" vs ""Package: mypkg [not linked]"" vs ""History - mypkg [linked to package page]""
* Normalize and use terminology: ""Data Package"" - also change in navbar (but nowhere else for the time being). So hvae Data Package - mypkg, Data Package - mypkg - Edit etc
* pagination is currently lost in amongst the results list. needs to be *much* more obvious, and should appear top and bottom, or at the very least at the bottom!
" 1260880552000000 1279192621000000
233 enhancement rgrp rgrp v1.1 closed fixed Allow simple site-specific customization/overriding of templates "Options:
1. Allow for specification of genshi template paths to search in config. This way people can introduce their own templates and these templates can selectively override existing templates. (Already implemented this in shakespeare and it works)
1. Include an extra site-specific genshi template which can then be used to customize site (e.g. by having specific calls to py:def that user can define but which are ignored if they don't exist).
Can do this using:
" 1263000396000000 1273080352000000
242 defect pudo rgrp v1.1 closed fixed Miscellaneous tidying up (v0.11) "Dumping ground for various minor and miscellaneous items (mainly refactorings):rgrp
* controllers/tag.py: why does this not use lib/search.py (but controllers/packages.py search method does)?
done:
* lib/search.py: inheritance would be nicer than switching on entity in search (i.e. have SearchPackage, SearchTag etc)" 1265715103000000 1280823876000000
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):
* http://code.google.com/p/openid-realselector/
* http://code.google.com/p/openid-selector/
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
273 task pudo rgrp v1.1 closed fixed Investigate search index options and create tickets "Work already here: http://knowledgeforge.net/ckan/trac/wiki/SearchEngine
Add knowledge there or to:
http://wiki.okfn.org/SoftwareTools/Search
" 1268996933000000 1278578527000000
310 defect dread rgrp v1.1 closed fixed Commit message box looks wrong in edit page since edit style overhaul "Suggest move this below the label and make full width of screen and only 3/4 rows high (more like a wiki site).
* Also change label to: Edit summary (Briefly describe the changes you have made)
* Remove: you can markdown formatting here.
* Move author: if you have not signed in smaller and closer (like markdown instructions are nwo).
* Change commit -> save
* Remove ""please save"" just have the bullet points" 1273348714000000 1279300525000000
311 defect dread rgrp v1.1 closed fixed Reordering of package resources can lead to integri "Created a new package resource line and then moved it up above existing one and hit save. Result: 500 error. In logs have:
{{{
[Sat May 08 21:55:41 2010] [error] [client 86.26.8.30] Error - : (IntegrityError) duplicate key value violates unique constraint ""package_resource_revision_pkey"", referer: http://ckan.net/package/edit/cofog
[Sat May 08 21:55:41 2010] [error] [client 86.26.8.30] 'INSERT INTO package_resource_revision (id, package_id, url, format, description, hash, position, state, revision_id, continuity_id) VALUES (%(id)s, %(package_id)s, %(url)s, %(format)s, %(description)s, %(hash)s, %(position)s, %(state)s, %(revision_id)s, %(continuity_id)s)' {'hash': '', 'description': 'The Treasury record of COFOG functions. ', 'format': 'XLS', 'url': 'http://www.hm-treasury.gov.uk/d/cofog_definitions_coins250609.xls', 'package_id': '8482334d-fe2e-4285-9114-5243130f80c0', 'state': 'active', 'continuity_id': '8bf302db-8a80-47d3-b5dc-bc07512a3928', 'position': 3, 'revision_id': 'e4e2cb2d-4bd5-414e-b646-e484f174d9ab', 'id': '8bf302db-8a80-47d3-b5dc-bc07512a3928'}, referer: http://ckan.net/package/edit/cofog
}}}
" 1273348968000000 1274282065000000
313 enhancement rgrp dread v1.1 closed fixed Allow packages to be specified by IDs in REST interface "If a package name changes, a simple CKAN client may not be aware of this (not monitoring the push notifications, revisions or feed), so it is preferable to refer to the package by its (invariant) ID.
It is still useful to refer to a package by its name though, so both should be valid arguments in the REST interface.
" 1273606248000000 1275404524000000
315 defect dread rgrp v1.1 closed fixed Improvements and fixes to csv dump "1. Issues with quote in fields: http://lists.okfn.org/pipermail/ckan-discuss/2010-May/000240.html
2. Issues with package resource serialization into csv table.
In the latest dump there were 116(!) sets of the three columns (“resource-[n]-url”, “resource-[n]-format”, and “resource-[n]-description”). However, these are an extract of the packed “resource” column and I’m not sure whether they’re needed. Also, they irritatingly don’t appear in order in the CSV serialisation. If the resource columns could be ordered in the file that would be great; if a second version without the unpacked resource data would be excellent.
" 1274100887000000 1275846764000000
317 enhancement pudo rgrp v1.1 closed fixed Make search pluggable "Make lib/search.py pluggable so that we can plug in different search systems (e.g. SOLR).
Suggest we define a base Search class from which specific search implementations inherit (e.g. SQLSearch, SOLRSearch etc). The specific one being used would then be set via a config variable." 1274295418000000 1279286041000000
320 enhancement dread rgrp v1.1 closed fixed site_title configuration variable which is used in template "As a sysadmin I want to configure basic site title information for use in the site templates.
Implementation:
* ckan.site_title config variable
* set this on g in app_globals.py e.g.
* from pylons import config; g.site_title = config.get('ckan.site_title, 'CKAN - Comprehensive Knowledge Archive Network')
* use in head title and in main site title/logo section (use it as alt on logo image)
* Also all other pages (e.g. index, about) which talk about CKAN
* Is this needed? Would it not be better for people who want to customize the site to simply overwrite those templates?
Questions:
* Do we want a site_logo variable whic his use for site title/logo section instead of site_title if site_logo defined?
* Probably yes, but '''not''' part of this ticket." 1274378967000000 1279130535000000
322 enhancement dread dread v1.1 closed fixed Client interface for Notification Service "=== Use cases ===
* Register for package changes
* Register for all revisions
* Notified of a package change
* Notified of a revision
* Deregistration
* Configuration of port in pylons config
=== Design ===
* Default port: 5672 (standard for AMQP)
* Exchange name: 'ckan'
* Exchange type: topic exchange (most flexible)
* Routing keys: (see below)
=== Routing detail ===
Routing key format: ""OBJ_TYPE""
(NB tags should be identified by their name, not ID)
Example routing keys
* 'package' - Package edited/created
* 'resource' - Resource edited/created
* 'revision' - Any change
* 'db.clean'
* 'db.rebuild'
Example queue bindings that clients may use:
* * - no filtering - client receives all notifications
* package - only changes to packages
* revision - all revisions
* db - all database operations
=== Versioning ===
Since message payloads will be tied into the REST Entities, it makes sense to join up with the REST versioning. This could be achieved by providing new exchanges called 'ckan-1.1' perhaps?
=== Documentation ===
* How to use
* simple example of an external client?" 1274720042000000 1277722821000000
323 enhancement dread dread v1.1 closed fixed Notification message "=== Which events to notify on ===
Listed by domain object, these are the notification message 'change types' that will be sent:
* Package
* !PackageResource
Also it is clear that it could be useful to know when db-wide maintenance is carried out:
* db - 'clean', 'rebuild' (db is wiped and replaced with new data), 'upgrade' (migration)
=== Ignored domain objects ===
These parts of the domain model will not carry notifications as no use case has been identified for them:
* Revision
* Group
* Tag
* Rating
* User - list of users is sensitive info
* Relationships - complicated
* Authz - complicated and sensitive info
* License - change of a license's metadata is a question for the 'license service'
=== Message format ===
A notification message's header contains the routing key, identifying the object type. The client is probably interested in the object (all use cases so far), so it makes sense to send the object in the payload. This should be the JSON-encoded dictionary exactly as provided for the object's REST Entity.
For the 'db' notifications there shall be no payload." 1274723333000000 1278578841000000
324 enhancement dread dread v1.1 closed fixed Search indexing using notifications "Currently search indexing is triggered directly using a Postgresql db callback. Now take advantage of the Notification system to register interest in all package changes and db changes to trigger this instead.
The indexing shall run in a separate shell/process, managed by supervisord." 1274723483000000 1278599927000000
325 enhancement dread dread v1.1 closed fixed Event push notification "=== As a ===
CKAN client program
=== I want to ===
be notified when changes to the CKAN metadata occur.
=== Examples of use ===
1. An external search engine needing to (re)index a package. (interest: Package)
2. A front-end system that caches package info and wants to know when it changes, to keep in step. (interest: Package or Revision) See further details here: ticket:352 and previous iteration here: ticket:333.
3. A system for automatically checking package URLs and resource URLs as they are put on the system. This could alert to bad URLs and automatically email feedback to (meta)data owners. (interest: !PackageResource)
4. Do some processing on resource (e.g. extract sample data for display) (interest: !PackageResource)
=== Context ===
The current state of CKAN can be queried through the REST API, you can keep track of changes by reviewing the feeds, but there is no way to find out the instant something is changed, without costly polling.
=== Design ===
Split-off into two tickets:
* Notification message - ticket:323
* Which events to notify on
* Message format
* Interface for Notifier Service - ticket:322
=== Testing ===
To test notifications, Carrot / AMQP will be configured to use a native-Python Queue, instead of requiring RabbitMQ to be running on the machine.
=== Related ===
* Run CKAN search indexing using this system - ticket:324
* Run SOLR indexing using this system - ticket:353
* Web hooks for notifications - ticket:327 " 1274723512000000 1278599979000000
326 task dread dread v1.1 closed fixed Centralise importation of json library Later versions of python use json which is better than simplejson, but it must be kept as an option for compatibility. So centralise the import of json to ckan.lib.helpers. 1274784223000000 1274789296000000
328 enhancement dread rgrp v1.1 closed fixed Mention code libraries in API documentation "Should prominently (at the top?) mention existing code libraries for working with ckan api. Have:
* Python: ckanclient
* Perl: luke closs wrote something
* PHP: drupal library?
* ...?" 1274988106000000 1275318745000000
329 defect rgrp dread v1.1 closed fixed Bad dates cause exception on Gov form "== Reproduction ==
Using the government form, create a new package with name 'test' and date released of '23/5/0210'. The result is a 500 error and 'Server Error' message.
Affects all versions of CKAN.
== Why it's happening ==
The dates module is raising an exception on the invalid date when saving the date, which is not being caught. The exception should have been raised only during the earlier 'validation' step and that would be caught." 1275060617000000 1275079189000000
333 enhancement dread v1.1 closed wontfix CKAN front end requirements for package notifications "== Use case: new package ==
1. An external front-end system provides a web page with a list of packages. Each package has the option to edit it or and there is also a button to create a new package.
2. User: clicks 'new package'.
3. CKAN presents the package/new form to the user.
4. (After a couple of previews) User: clicks 'commit'.
5. Notification message goes from CKAN to the front-end detailing the new package.
6. The user is redirected back to the front-end web page displaying the list of packages, which contains the new one.
The notification message (step 5) has to get through to the front-end that the new package is created before the redirect (step 6). This suggests that the message sending needs to be *synchronous*, i.e. acknowledged by the front-end, before CKAN redirects the user to the front-end package listing page (step 6).
In addition, this use case suggests the front-end listens for package notifications, to save another call to CKAN to get the package details, before the displaying the list of packages. If this isn't possible (see next use case) and it must listen for revision notifications instead, then perhaps it is worth including the full package details in the payload for the revision notification message. Would there be a problem with such a large message in the next use case, with 100 packages?
== Use case: CKAN imports packages ==
1. CKAN administrator runs a script that adds 100 new packages into CKAN.
2. CKAN sends notification message to front-end to report the new packages/revisions.
3. Knowing there are new revisions, the front-end queries the CKAN revision interface to get the list of new packages.
4. The front-end queries CKAN for each new package one-by-one.
5. A new user request to the front-end will include the info about the new packages.
The package addition could be achieved in 1 revision, 100 revisions or some compromise:
* If it is 1 revision then potentially there are problems displaying the long list of packages in the 'recent changes'.
* If it is 100 revisions, then the notification webhook would be called 100 times, which creates unnecessary load on the front-end. Suppose each Webhook call-back (step 2) triggers the front-end to make a call to CKAN to get the latest revisions (step3), in this case it would make 100 calls, most of them fruitless, causing unnecessary load on CKAN.
This use case suggests a bulk import of packages should go into one revision, and therefore generate one revision notification message and 100 package notification messages. The front-end client should listen to only revision messages." 1275324042000000 1275407987000000
335 enhancement dread dread v1.1 closed fixed Post-package-edit redirect to configurable URL "== As a ==
third-party interface to a CKAN instance
== I want to ==
link to CKAN's package creation/editing pages. On 'commit', have the user redirected back to a URL in my interface that I can control. Also, when the package is created new, I need to be told what the new package's name is on return.
== Design ==
1. The 'return URL' is passed as a parameter to CKAN.
2. CKAN substitutes the package name into the return URL.
== Example ==
Front-end links to:
!http://ca.ckan.net/package/new?return_to=http://datadotgc.ca/dataset/ (but with the parameter URL-encoded)
When finished editing and the user commits, CKAN redirects the user to: !http://datadotgc.ca/dataset/pollution_data
" 1275408834000000 1276179605000000
336 defect dread donovanhide v1.1 closed fixed Resource Search API "== As a ==
CKAN client such as !ScraperWiki
== I want to ==
search for Package Resources, either by URL or other field, or just get them all. I want to be able to get all the resource's fields, such as URL.
== Proposed implementation ==
Add resource search API at:
/api/search/resource
AND resource added to model API at:
api/rest/resource
(see ticket:358)
Functional differences from the !ScraperWiki suggested patch:
* URL is not normalised
* URLs are not grouped
* All fields of the resource object are returned, not just the URL
* Package is identified by its ID, not name or full URL. (This is for consistency in the API - you can simple prepend 'http://ckan.net/package/' to the package ID)
This is to make our API more general, simple and consistent. It means that the !ScraperWiki client has to do a bit more processing to get exactly what it needs. Is this ok?
=== Example search ===
POST
{{{
{""url"": ""scraperwiki.com/"", ""all_fields"": 1}
}}}
to: /api/2/search/resource
returns JSON:
{{{
[{""id"": ""a3dd8f64-9078-4f04-845c-e3f047125028"",
""package_id"": ""b8a325c8-af2a-43f3-8245-9db7d73dfbfe"",
""URL"": ""http://scraperwiki.com/lincolnshire-councillors"",
""format"": ""CSV"",
""Description"": ""Scrape of www.lincs.gov/councillors.pdf by ScraperWiki."",
""hash"": """",
""position"": 2
}]
}}}
Note use of package_id instead of package_name is something we're moving towards in the API, since names can change. When we've done ticket:341 then ckan.net/package/lincs-councillors will be a synonym of ckan.net/package/b8a325c8-af2a-43f3-8245-9db7d73dfbfe
=== Search Parameters ===
{{{
Key: q
Description: Search all resource fields for the value
Key: url / description / format /
Description: Search particular field for the value
Key: all_fields
Value: 0 or 1 (0 is default)
Description: If 1 (true), the full record of the package resource
(and it's package reference) are returned, rather than just the
PackageResource ID.
}}}
May also choose to introduce 'offset' and 'limit' to page through a large number of results.
JSONP achieved through API-wide parameter - see ticket:342
Search is case insensitive.
== Original request ==
Hi,
have attached a patch for adding a resource list api call. Have also added a JSONP compatible callback section, along the lines of #388.
Could also add a search version. Not sure what the best url would be for that though.
Haven't written a test as the structure seems to follow a functional spec. Is that document around somewhere?
Donovan" 1275411765000000 1279373842000000
337 enhancement johnbywater rgrp v1.1 closed fixed Download links for resources should open in new window "target = _blank
Cost: 30m" 1275422151000000 1279300972000000
338 story johnbywater johnbywater v1.1 closed Reference groups by ID in addition to name, since group names can change 1275901137000000 1280446480000000
340 enhancement dread dread v1.1 closed fixed Web UI theme easier to configure "An install of CKAN should be configurable without changing any of the installed files. This makes it clear to upgrade CKAN. Complete the changes in this wiki page to allow static files to be served from outside CKAN paths over CKAN versions and additional CSS file to be pulled in.
http://wiki.okfn.org/ckan/doc/theme" 1276009729000000 1328807317000000
356 enhancement rgrp v1.1 closed fixed Search box in at top of page (UI) "A small but useful ui improvement would be to have a search box at top right on every page.
As an example see the one here on trac or on github.com or bitbucket.org.
* It would be particularly good to include a small advanced search link that took you to the full search page. Need to keep it small because screen real-estate here is limited (see how github.com does this for inspiration)." 1277235411000000 1278931830000000
374 task johnbywater johnbywater v1.1 closed fixed Design servicization of CKAN API 1280223118000000 1280398501000000
375 task johnbywater johnbywater v1.1 closed fixed Integrate Forms API into Drupal Requested by DGU. 1280223168000000 1280405812000000
376 task johnbywater johnbywater v1.1 closed fixed Implement servicization of CKAN API Requested by DGU. 1280223226000000 1281000755000000
378 story johnbywater johnbywater v1.1 closed fixed My user story #1 1280325186000000 1280326706000000
379 task johnbywater johnbywater v1.1 closed fixed My dev task #1 1280325277000000 1280326496000000
380 task johnbywater johnbywater v1.1 closed fixed My dev task #2 1280325304000000 1280326595000000
382 story johnbywater johnbywater v1.1 closed Measure quality of service parameters As a service administrator, I want to measure responsiveness, throughput, and availability of a CKAN service. 1280346974000000 1280854608000000
383 task johnbywater johnbywater v1.1 closed fixed Create middleware feature to generate QoS throughput log 1280347595000000 1280854578000000
384 story johnbywater johnbywater v1.1 closed Send alert when QoS measurements break expectation 1280347841000000 1280496812000000
385 task johnbywater johnbywater v1.1 closed fixed Send email if QoS measurement breaks QoS criteria 1280355527000000 1280496127000000
386 task johnbywater johnbywater v1.1 closed fixed Set limits in /etc/security/limits.conf 1280356594000000 1281088994000000
387 task johnbywater johnbywater v1.1 closed fixed Fix failing tests in search sub-system trigged by recent changes 1280357804000000 1280446047000000
388 task johnbywater johnbywater v1.1 closed fixed "Reply to ""two projects"" question from RS" 1280395503000000 1280405288000000
389 task johnbywater johnbywater v1.1 closed fixed Investigate timezone issue raised by SB 1280395554000000 1280422414000000
391 task johnbywater johnbywater v1.1 closed fixed Create monitoring feature to generate QoS responsiveness log 1280446714000000 1280854592000000
392 task johnbywater johnbywater v1.1 closed fixed Create monitoring feature to generate QoS availability log 1280446769000000 1280496140000000
393 task johnbywater johnbywater v1.1 closed fixed Create aggregation feature to aggregate QoS log 1280446811000000 1280496962000000
397 task johnbywater johnbywater v1.1 closed fixed Implement QoS monitoring for DGU 1280854935000000 1281000745000000
59 enhancement johnbywater rgrp v1.0 closed fixed Provide a basic guide to CKAN on the site " 1. Use contents from ckan package notes section (rgrp)
2. Update that section to be more guide-like (jwyg)" 1239018583000000 1273080019000000
124 enhancement rgrp rgrp v1.0 closed fixed Display Generic Package Attributes in WUI Split out from ticket:43 1253709702000000 1254735558000000
125 enhancement dread rgrp v1.0 closed duplicate Edit Generic Package Attributes in WUI Split out from ticket:43 1253709712000000 1258377621000000
138 enhancement rgrp dread v1.0 closed fixed User has editable home page " * Generic text box for markdown about the user 'About'
Model's user table reflects these:
* 'about' attribute
* 'created' attribute is a default=datetime.now() - so when user was created
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
155 enhancement dread dread v1.0 closed duplicate Adding multiple packages to a group "Ability to add multiple packages to a group in one go (e.g. with
'add' link which makes drop down menu appear - so can add one after
another - then submit simultaneously)
Use a bit of javascript to add more dropdowns.
Suggested by Jonathan Gray
" 1255621779000000 1271760041000000
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
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
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:
* Icon for downloadability (nothing if absent ...(?))
* Icon for open license? (Need something if closed ...)
Cost: 2h (?)" 1257534590000000 1270567116000000
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
201 enhancement rgrp dread v1.0 closed fixed Stress test ckan "Check:
* high numbers of simultaneous users
* incomplete transactions
* etc." 1259844836000000 1265284419000000
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:
* Form usability
* best example: http://ckan.net/package/new
* ""Extras"" fields
* Adding to groups (from group page or from package page?)
* Overview pages: reduction in visual noise and unnecessary elements.
* best example: package overview page
* consider openness/downloadability icons
* display common metadata fields in a more structured fashion?
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:
* http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
* e.g. http://ckan.net/package/edit/acawiki" 1260200340000000 1271250740000000
215 enhancement rgrp dread v1.0 closed fixed UI Review - Home page " * 'Login via OpenID' -> 'Login with OpenID'?
* Elements:
* Search
* about CKAN
* 3 column Packages view (see ticket:219)
* Small tag cloud (RHS)
Also, what about ticket:143 ?" 1260879732000000 1266513523000000
216 enhancement nickstenning dread v1.0 closed fixed UI Review - Search " * allow clicking on 'only openly licensed'/'only downloadable' to select/deselect checkboxes: make them s.
* cut 'only's -- use word 'filter' instead
* doesn't appear to match substrings!? A search for 'anna' doesn't return match the 'annakarenina' package.
* autocomplete package names & tags
" 1260879802000000 1273596102000000
221 enhancement dread dread v1.0 closed fixed UI Review - Package edit "Package edit page [/package/edit/mypackagename]
* Ability to add the package to groups on this page.
* Fields could be grouped.
* Inconsistent capitalisation (Url -> URL).
* Tag editor YUI script appears to break occasionally.
* Perhaps move to two column forms to save vertical space?
* Notes field to monospace?
* Extras fields need some jQuery love -- shouldn't have a fixed number available.
* Typography is a bit of a mess.
" 1260880175000000 1271756757000000
223 enhancement nickstenning dread v1.0 closed fixed UI Review - Tag "Tags landing page [/tag]
* Both search for tags *and* browse the list of tags right here
* Big cloud of tags (sorted by popularity/usage?) filterable with a search box.
* Tags search page [/tag/search] and list [/tag/list] are both redundant and should be merged straight into [/tag].
" 1260880276000000 1273596111000000
230 task dread dread v1.0 closed fixed Refactor 'package preview' to use 'package read' " * Requires Package Read to not use the side-bar
* Need to sync params to a package object that is taken out of the session so that it doesn't go into the database." 1262788084000000 1265293953000000
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
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).
* How do we know if RDF available? Ans: see details in ticket:90.
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:
* /api/search/revision/
Support querying by ""since time"" and ""since revision"". Each individual revision should be available in the REST API (read-only):
* /api/rest/revision/{revision ID}
* should include revision attributes plus revision.packages e.g. like { ""id"": ""..."", ... ""packages"": [ list of packages names from e.g. revision.packages ] }
" 1266519743000000 1271423917000000
254 enhancement dread dread v1.0 closed fixed Package relationships - 1. model "New domain object: PackageRelationship (revisioned)
Attributes:
* subject (Package reference)
* object (Package reference)
* type (string)
* comment
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 . 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:
* View: show both sides of the relationship (but think carefully -- e.g. a given package may have *many* dependents ...)
" 1266928542000000 1273596174000000
257 enhancement dread dread v1.0 closed fixed Package relationships - 4. Read in API "API:
* Appear in package listing Example: 'relationships': [{'is_dependency_of':'osm', comments:'Since version 0.2'}, {'is_parent_of':'bobs_maps'}]
" 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"" : ""richard.fernandes@nrcan.gc.ca"",
""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
264 defect dread rgrp v1.0 closed fixed Investigate why there are revisions with no associated packages "Revision.packages should not include all changes so why are we getting revisions with no associated changes? See e.g. http://ckan.net/revision/read/814e39e1-2540-4449-90d1-ac9a92ab40fb?
Investigate and fix.
NB: if this is bugfix this should go against stable or metastable branch if at all possible and then be merged into default.
Cost: 1.5h (?)" 1267605428000000 1272390013000000
265 enhancement johnbywater dread v1.0 closed fixed More detail shown in Atom feed "== Use case ==
As a user I want to stay abreast of package changes, such as a new package being created, newer data is available for a package or a new download is available for a package.
== Implementation ==
Add into the Atom feed:
1. a package is a new one
2. the resources have been changed
3. the last_updated field has been changed
" 1267708364000000 1271636891000000
266 enhancement johnbywater dread v1.0 closed fixed Package feed "As a user I want to track changes to a particular package.
Provide an Atom feed, linked from the package read page." 1267716417000000 1271636901000000
271 enhancement johnbywater johnbywater v1.0 closed fixed The system shall support distributing changes. See DistributingChanges for analysis and functional requirements. 1268672137000000 1273596144000000
276 defect dread rgrp v1.0 closed fixed Resources in Package form seen multiple times upon preview Create a new package with a name 'blah' and resource format 'blah'. Hit preview. There is an error because of the lack of resource url, but in the resource input boxes, there are now four resources with format 'blah'. 1269255399000000 1272996237000000
278 defect dread dread v1.0 closed fixed Spaces in extra field keys If the key to an extra field has a space in it then various form code doesn't work. Either need to disallow spaces or cope with them. 1269520845000000 1271173752000000
279 enhancement johnbywater dread v1.0 closed fixed Ensure package's license is an option when it's edited "With forms configurable to show a subset of licenses and ckan instances moving packages from server to server, there is a chance that a user will edit a package and the existing package's license is not displayed in the form. If the user submits this form without touching the license dropdown, then the value is lost.
So for this case we should add the package's license to the list displayed." 1270205931000000 1272451384000000
280 defect dread dread v1.0 closed fixed Disappearing extra fields "When I edit a package on no.ckan.net with lots of extra fields, lots of them completely disappear.
Metastable branch." 1270209684000000 1271173769000000
281 enhancement dread dread v1.0 closed fixed Refactor forms to be plugin-able 1270542248000000 1270723675000000
284 defect johnbywater rgrp v1.0 closed fixed Move tag/read/xxx to simple tag/xxx like package and group "Also put in redirect from old locations (see examples with plurals in routing.py)
Estimated cost: 20m
Actual cost: 40m" 1270664552000000 1271852451000000
286 enhancement dread dread v1.0 closed fixed Refactor forms templates "Use Nick's examples as a basis to revamp the formalchemy usage, principally in the package edit form.
* http://static.whiteink.com/css/examples/forms.html
* http://whiteink.com/temp/ckan-forms/" 1270723513000000 1270723629000000
287 enhancement dread dread v1.0 closed fixed Customise Canadian package edit form "Spec - see attached, which is a copy of the Pirate Pad from Lauren:
http://piratepad.net/2C2iwiLDhd" 1270801086000000 1270801210000000
288 defect dread dread v1.0 closed fixed Foreign and escaped characters in extras fields These don't work. 1271171899000000 1271173777000000
289 enhancement rgrp dread v1.0 closed fixed Document config options 1271248690000000 1271249368000000
290 defect johnbywater dread v1.0 closed fixed Revision API - docs doc/api.rst needs to cover the new Revision REST interface. 1271268759000000 1271636910000000
292 defect dread dread v1.0 closed fixed PackageResources are created new on every package edit When you edit a package, all of its resources are deleted and a fresh set created. This causes all history of them to be lost. 1271755964000000 1272286005000000
293 defect johnbywater dread v1.0 closed fixed REST PackageResource update causes exception "This is caused by editing a package with resources over the REST interface.
Exception:
{{{
URL: http://de.ckan.net/api/rest/package/destatis
Module weberror.errormiddleware:162 in __call__
<< __traceback_supplement__ = Supplement, self, environ
sr_checker = ResponseStartChecker(start_response)
app_iter = self.application(environ, sr_checker)
return self.make_catching_iter(app_iter, environ, sr_checker)
except:
>> app_iter = self.application(environ, sr_checker)
Module repoze.who.middleware:107 in __call__
<< wrapper = StartResponseWrapper(start_response)
app_iter = app(environ, wrapper.wrap_start_response)
# The challenge decider almost(?) always needs information from the
>> app_iter = app(environ, wrapper.wrap_start_response)
Module beaker.middleware:73 in __call__
<< self.cache_manager)
environ[self.environ_key] = self.cache_manager
return self.app(environ, start_response)
>> return self.app(environ, start_response)
Module beaker.middleware:152 in __call__
<< headers.append(('Set-cookie', cookie))
return start_response(status, headers, exc_info)
return self.wrap_app(environ, session_start_response)
def _get_session(self):
>> return self.wrap_app(environ, session_start_response)
Module routes.middleware:130 in __call__
<< environ['SCRIPT_NAME'] = environ['SCRIPT_NAME'][:-1]
response = self.app(environ, start_response)
# Wrapped in try as in rare cases the attribute will be gone already
>> response = self.app(environ, start_response)
Module pylons.wsgiapp:125 in __call__
<<
controller = self.resolve(environ, start_response)
response = self.dispatch(controller, environ, start_response)
if 'paste.testing_variables' in environ and hasattr(response,
>> response = self.dispatch(controller, environ, start_response)
Module pylons.wsgiapp:324 in dispatch
<< if log_debug:
log.debug(""Calling controller class with WSGI interface"")
return controller(environ, start_response)
def load_test_env(self, environ):
>> return controller(environ, start_response)
Module ckan.lib.base:51 in __call__
<< # available in environ['pylons.routes_dict']
try:
return WSGIController.__call__(self, environ, start_response)
finally:
model.Session.remove()
>> return WSGIController.__call__(self, environ, start_response)
Module pylons.controllers.core:221 in __call__
<< return response(environ, self.start_response)
response = self._dispatch_call()
if not start_response_called:
self.start_response = start_response
>> response = self._dispatch_call()
Module pylons.controllers.core:172 in _dispatch_call
<< req.environ['pylons.action_method'] = func
response = self._inspect_call(func)
else:
if log_debug:
>> response = self._inspect_call(func)
Module pylons.controllers.core:107 in _inspect_call
<< func.__name__, args)
try:
result = self._perform_call(func, args)
except HTTPException, httpe:
if log_debug:
>> result = self._perform_call(func, args)
Module pylons.controllers.core:60 in _perform_call
<< """"""Hide the traceback for everything above this method""""""
__traceback_hide__ = 'before_and_this'
return func(**args)
def _inspect_call(self, func):
>> return func(**args)
Module ckan.controllers.rest:145 in update
<< fs = ckan.forms.group_fs_combined
fs = fs.bind(entity, data=request_fa_dict)
validation = fs.validate_on_edit(entity.name, entity.id)
if not validation:
response.status_int = 409
>> validation = fs.validate_on_edit(entity.name, entity.id)
Module ckan.forms.package:385 in validate_on_edit
<< temp_name = orig_pkg_name
self.data['Package-%s-name' % record_id] = u'something_unique'
validation = self.validate()
if temp_name:
# restore it
>> validation = self.validate()
Module formalchemy.forms:175 in validate
<< if self.readonly:
raise Exception('Cannot validate a read-only FieldSet')
return AbstractFieldSet.validate(self)
def sync(self):
>> return AbstractFieldSet.validate(self)
Module formalchemy.forms:104 in validate
<< success = True
for field in self.render_fields.itervalues():
success = field._validate() and success
# run this _after_ the field validators, since each field validator
# resets its error list. we want to allow the global validator to add
>> success = field._validate() and success
Module formalchemy.fields:763 in _validate
<< try:
value = self._deserialize()
except validators.ValidationError, e:
self.errors.append(e)
>> value = self._deserialize()
Module formalchemy.fields:1354 in _deserialize
<< if self.is_composite_foreign_key:
return self.query(self.relation_type()).get(python_pk(self.renderer.deserialize()))
return self.renderer.deserialize()
>> return self.renderer.deserialize()
Module formalchemy.fields:183 in deserialize
<< if self.field.is_collection:
return [self._deserialize(subdata) for subdata in self._serialized_value()]
return self._deserialize(self._serialized_value())
def _deserialize(self, data):
>> return self._deserialize(self._serialized_value())
Module formalchemy.fields:167 in _serialized_value
<< if self.field.is_collection:
return self._params.getall(self.name)
return self._params.getone(self.name)
def deserialize(self):
>> return self._params.getone(self.name)
Module formalchemy.base:63 in getone
<< if v is None or isinstance(v, basestring) or isinstance(v, cgi.FieldStorage):
return v
return v[0]
def getall(self, key):
v = dict.get(self, key)
>> return v[0]
TypeError: 'int' object is unsubscriptable
}}}
Thanks to Friedrich for spotting this." 1271756102000000 1271940083000000
295 enhancement dread dread v1.0 closed fixed Add multiple packages when editing a group "In Group edit page, you can only add one package at a time. It would be better to use some scripting to allow adding more than one at once, to make it easier and quicker when you have a long list to add.
Ticket is split off from ticket:221
See also ticket:155 (duplicate)." 1271756713000000 1272384758000000
300 defect rgrp dread v1.0 closed fixed Resource ordering issue "Failing test: ckan.tests.models.test_resource.TestResourceLifecycle.test_03_reorder_resources
Not clear how visible this is to the user.
Related to ticket:292" 1272285994000000 1272384474000000
302 enhancement johnbywater dread v1.0 closed fixed Advertise a package's feed visually "Visual display of a package's feed in the Package Read (/package/xyz) and Package History (/package/history/xyz) pages.
Motivation: each package's Atom feed is mentioned in the tag, which Firefox displays with a feed icon, but the other 3/4 of users may not discover it.
The Repo History (/revision) page has a visual link the feed.
PS It would be nice to display the feed icon in both these places too." 1272370397000000 1272453821000000
303 defect dread dread v1.0 closed fixed Package history & diff & feed to show changes to tags, extras and resources "Currently a package's history page (/package/history/xyz) and related feed only shows changes to the core package i.e. ones which create a PackageResource. This doesn't include changes to tags, extras and resources. These need to be added.
There is the complication that the 'diff' function doesn't currently work beyond PackageResource. Unless this is quick and simple to fix, I suggest we let the diff remain slightly broken for now.
Rufus suggests alongside the existing methods:
{{{
pkg.all_revisions()
pkg.diff()
}}}
we have ones which also include the related objects (tags, extras, resources):
{{{
pkg.all_revisions_full()
pkg.diff_full()
}}}
You could have a function which returned these related objects. Ideas:
{{{
revobjlist = [ self, resources, extras ]
list of tuples: (revobj, changed_revobjs)
list of tuples: (revobj, {objtype: [changed_revobjs]})
tuple: (rev1, {Package: [ object_id, object_id], PackageTag: [object_id, object_id2] ...}
}}}" 1272370659000000 1272989728000000
304 defect johnbywater johnbywater v1.0 closed fixed Previewing package with resource with missing url is broken "Intended outcome:
See resource url validation error when previewing package with a resources that has no url.
Recurring Error:
{{{
URL: http://127.0.0.1:5000/package/new
File 'pyenv-ckan/lib/python2.5/site-packages/weberror/evalexception.py', line 431 in respond
app_iter = self.application(environ, detect_start_response)
File 'pyenv-ckan/lib/python2.5/site-packages/repoze/who/middleware.py', line 107 in __call__
app_iter = app(environ, wrapper.wrap_start_response)
File 'pyenv-ckan/lib/python2.5/site-packages/beaker/middleware.py', line 73 in __call__
return self.app(environ, start_response)
File 'pyenv-ckan/lib/python2.5/site-packages/beaker/middleware.py', line 152 in __call__
return self.wrap_app(environ, session_start_response)
File 'pyenv-ckan/lib/python2.5/site-packages/Routes-1.10.3-py2.5.egg/routes/middleware.py', line 130 in __call__
response = self.app(environ, start_response)
File 'pyenv-ckan/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/wsgiapp.py', line 125 in __call__
response = self.dispatch(controller, environ, start_response)
File 'pyenv-ckan/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/wsgiapp.py', line 324 in dispatch
return controller(environ, start_response)
File 'pyenv-ckan/src/ckan/ckan/lib/base.py', line 50 in __call__
return WSGIController.__call__(self, environ, start_response)
File 'pyenv-ckan/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/controllers/core.py', line 221 in __call__
response = self._dispatch_call()
File 'pyenv-ckan/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/controllers/core.py', line 172 in _dispatch_call
response = self._inspect_call(func)
File 'pyenv-ckan/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/controllers/core.py', line 107 in _inspect_call
result = self._perform_call(func, args)
File 'pyenv-ckan/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/controllers/core.py', line 60 in _perform_call
return func(**args)
File 'pyenv-ckan/src/ckan/ckan/controllers/package.py', line 216 in new
clear_session=True)
File 'pyenv-ckan/src/ckan/ckan/controllers/package.py', line 357 in _render_edit_form
edit_form_html = fs.render()
File 'pyenv-ckan/src/ckan/ckan/forms/builder.py', line 13 in render
return render(self.form_template)
File 'pyenv-ckan/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/templating.py', line 663 in render
format=format, namespace=kargs, **cache_args)
File 'pyenv-ckan/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/templating.py', line 546 in render
**options)
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/plugin.py', line 110 in render
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/core.py', line 179 in render
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/output.py', line 60 in encode
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/output.py', line 425 in __call__
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/output.py', line 592 in __call__
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/output.py', line 698 in __call__
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/output.py', line 532 in __call__
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/core.py', line 283 in _ensure
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/base.py', line 569 in _include
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/markup.py', line 245 in _match
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/base.py', line 543 in _exec
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/base.py', line 533 in _eval
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/base.py', line 520 in _eval
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/base.py', line 286 in _eval_expr
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/eval.py', line 180 in evaluate
File 'pyenv-ckan/src/ckan/ckan/templates/package/form_fields.html', line 52 in
${h.literal(field.render())}
File 'pyenv-ckan/lib/python2.5/site-packages/FormAlchemy-1.3.4-py2.5.egg/formalchemy/fields.py', line 1217 in render
return self.renderer.render(**opts)
File 'pyenv-ckan/src/ckan/ckan/forms/common.py', line 311 in render
return render('package/form_resources')
File 'pyenv-ckan/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/templating.py', line 663 in render
format=format, namespace=kargs, **cache_args)
File 'pyenv-ckan/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/templating.py', line 546 in render
**options)
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/plugin.py', line 110 in render
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/core.py', line 179 in render
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/output.py', line 60 in encode
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/output.py', line 425 in __call__
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/output.py', line 592 in __call__
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/output.py', line 698 in __call__
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/output.py', line 532 in __call__
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/core.py', line 283 in _ensure
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/base.py', line 569 in _include
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/markup.py', line 245 in _match
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/base.py', line 543 in _exec
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/base.py', line 510 in _eval
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/base.py', line 520 in _eval
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/base.py', line 286 in _eval_expr
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/eval.py', line 180 in evaluate
File 'pyenv-ckan/src/ckan/ckan/templates/package/form_resources.html', line 14 in
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/eval.py', line 335 in lookup_item
File 'pyenv-ckan/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/template/eval.py', line 405 in undefined
UndefinedError: {'url': u'a', 'hash': u'a', 'description': u'a', 'format': u'a'} has no member named ""id""
}}}
How to reproduce:
1. Go to package edit form, enter a package resource **but without a URL**.
2. Click preview.
" 1272379550000000 1272447296000000
305 defect johnbywater johnbywater v1.0 closed fixed Search result pagination is broken "Expect to page through results.
Only page 1 is shown, all other pages fail to display.
Reproduce by searching for something common and browsing to the second page." 1272468229000000 1272994804000000
24 enhancement somebody johnbywater v0.9 closed fixed View list of most recently registered or updated packages on front page 1152551291000000 1246441366000000
46 enhancement rgrp johnbywater v0.9 closed fixed Return error documents that look and feel like normal CKAN pages 1201111018000000 1265891789000000
58 enhancement rgrp rgrp v0.9 closed fixed Make bookmarklet to enable easy package registration on CKAN "Make bookmarklet to enable easy package registration on CKAN
== Details ==
1. This requires redoing web interface to allow 1-step package creation/editing (as opposed to name then everything else approach at the moment)" 1239018517000000 1239974365000000
60 enhancement rgrp rgrp v0.9 closed fixed Front page usability improvements "1. List in sidebar 3 latest created/updated packages.
2. Put package search box on front page (might also want to move some of front page content into an about page).
3. Similarly might want package creation box on front page." 1239094266000000 1246434921000000
63 defect rgrp rgrp v0.9 closed fixed Purge is broken after upgrade of vdm "Since we upgraded to new vdm (v0.4) which has built in purge support existing purge support looks to be broken. Should be reasonably easy to fix this.
Cost: 1h" 1245148623000000 1245656000000000
65 enhancement rgrp rgrp v0.9 closed fixed Add version attribute to package "It is essential packages have a version attribute to assist in tracking releases etc (and to allow compatibility with other packaging systems e.g. distutils which is being used by datapkg).
cost: 2h" 1245262864000000 1246434569000000
68 enhancement rgrp rgrp v0.9 closed fixed Show affected packages in revision list view "When listing revisions (at /revision/ or in atom feed) show affected packages. Minor but v. useful UI improvement.
Cost: 1h" 1245656153000000 1245697554000000
69 enhancement rgrp rgrp v0.9 closed fixed Change to text-only license field and use external license repo "Switch from license domain object to a simple license field and use license list from new centralised license repo:
* This will '''require''' a migration
Cost: 4h (plus migration ...)" 1245687449000000 1246437494000000
70 enhancement rgrp rgrp v0.9 closed fixed Convert from py.test to nosetests Cost: 1h 1246434753000000 1247827053000000
53 enhancement rgrp rgrp v0.8 closed fixed View Information about Package history (i.e. package revisions) "= As A =
Visitor/User
= I want to =
View information about a package history, i.e. what revisions it has.
= Details =
* History info should be available at package/history/pkg-name
* Most basic info is just info from revision (when it occurred, author etc)
* More sophisticated would be to have diff support to see differences between revisions" 1223552139000000 1239133021000000
56 enhancement rgrp rgrp v0.8 closed fixed Show icons indicating package openness "== As A ==
User or Visitor
== I Want To ==
See simple icons (e.g. tick/cross) next to packages (in lists or on main page) indicating openness status of package.
== So That ==
It is easy to see the openness status of a package.
== Details ==
* Suggested by Liz Turner
* Openness = open license at present (no easy way to determine whether accessible)
* Have separate tick for downloadability (i.e. existence of download url)
* Could do more stuff in future (e.g. money where tag price- exists, etc etc)" 1230211123000000 1239018857000000
57 enhancement rgrp rgrp v0.8 closed fixed Basic datapkg integration with CKAN "Using datapkg a user can:
* list packages on CKAN
* get info about package on CKAN
* register and update a package on CKAN
" 1238750826000000 1239018717000000
4 enhancement somebody johnbywater v0.7 closed fixed Find a package "== As a ==
Visitor
== I want to ==
Locate packages that I am, or might be, interested in
== So that ==
I know what packages exist and can read the information associated with those packages
== Notes ==
Find a package by searching by (or some combination thereof):
1. tag
2. string contained in title or description
3. license
" 1152549820000000 1223908381000000
39 enhancement johnbywater rgrp v0.7 closed fixed When listing packages show more information than just name. "When a package listing is shown (as on http://ckan.net/package/list) more information than just name should be shown. For example package titles should be shown as well as names (could also list tags and other stuff but simplest is just title).
Cost: 1" 1194608920000000 1223908298000000
44 enhancement johnbywater rgrp v0.7 closed fixed Provide RSS/Atom Feed of Repository History "= As A =
Visitor
= I Want To =
Get an RSS/Atom Feed of the Repository History to use in my feed reader (or elsewhere).
= Details =
* Preference for Atom.
* should just add parameter to /revision/list/ (or /revision/) to select atom format e.g. ?format=atom.
* should have a 'days' attribute specifying number of days back to go e.g. &days=30
= Cost =
Low" 1199788457000000 1223390660000000
51 enhancement rgrp rgrp v0.7 closed fixed Upgrade CKAN to use sqlalchemy and vdm v0.2 "Move CKAN codebase to use sqlalchemy (rather than sqlobject) along with vdm v0.2.
NB: the upgrade itself should not be too hard, the work will be in providing a satisfactory migration script to convert existing data on ckan.net service." 1220900438000000 1223908230000000
52 enhancement rgrp rgrp v0.7 closed invalid Paginated results sets should be customizable across domain objects " 1. Tag results could/should show number of associated packages
2. Package results should show title (and be in list)
3. Pagination should be able to be applied to other result sets than simply register listing (e.g. search results ...)
4. Revisions should be listed in a table with full details" 1223549648000000 1223908425000000
54 enhancement johnbywater rgrp v0.7 closed fixed Support dump and load of CKAN data to JSON "= As a =
Sysadmin
= I want to =
Dump (serialize) CKAN data to a simple transport format (e.g. JSON) and be able to load it again.
= Details =
* Already have simple db dump. However dumping to JSON has various advantages, particularly where changes to the data need to be made upon reloading (e.g. during a migration).
* Dump should include *all* CKAN data (i.e. all the data in the CKAN db tables)" 1223907883000000 1230211256000000
55 enhancement rgrp rgrp v0.7 closed fixed Code to migrate data from v0.6 to v0.7 using dump and load "Associated to ticket:51 (upgrade CKAN to new vdm) and ticket:54 (dump/load) need to convert v0.6 data for v0.7.
Obvious way to do this is via alteration to data load method." 1223908240000000 1223909891000000
25 enhancement johnbywater johnbywater v0.6 closed fixed Autocompletion (and suggestion) of package tags when adding tags to a package "== Notes ==
* Currently have a text box where users can add space separated tags
* Tags should auto-complete in a manner similar to delicious
* would also be good to have a list of suggested tags. This could either be:
* [simpler] a list below the tag box chosen by existing popularity or
* [more complex] a list of suggestions that updates as you add tags (based again on popularity but 'filtered/reranked' to reflect choices so far).
* For first attempt to should probably just go for the simpler option." 1152551313000000 1204131522000000
27 enhancement johnbywater johnbywater v0.6 closed fixed Register/Update a package via a web-api "= As A =
User
= I want To =
Create/register and update a package via a web api." 1152551379000000 1215543933000000
42 enhancement rgrp rgrp v0.6 closed fixed In WUI where List of Items to Display is Large Results should be Paged "= As A =
Visitor
= I Want To =
View lists of items but not have too many on a page (as this leads to slow page loads and difficulty navigating the list). Where there are more items in the results of my action that can be fit on a single page the results should be 'paged' in some manner.
= Details =
Main place this issue arises:
* List of tags
* List of packages
* Repository history (/revision)
Should probably have no more than 50 (or so) items on a page. Obvious solution is for actions that return lists to have some kind of pageno parameter and then use this in controller to select what to display." 1199787162000000 1204133257000000
45 enhancement rgrp johnbywater v0.6 closed fixed Immunity to SQL injection attacks 1201110894000000 1204133342000000
47 enhancement rgrp johnbywater v0.6 closed fixed Return OpenID signin pages that look and feel like normal pages 1201183920000000 1215543616000000
33 enhancement rgrp rgrp v0.5 closed fixed List and search tags "== As a ==
Visitor
== I want to ==
View a list of the tags on the system and search for a tag by name
== Notes ==
* As for a search of packages should search for tags that contains a given search string (or could use a glob approach allowing wildcards)." 1157375983000000 1199788094000000
37 enhancement rgrp rgrp v0.5 closed fixed Purge a Revision (i.e. purge all changes associated with that revision) "Spam entries have started to occur on ckan.net in the last few months. It would be useful to be able to purge these revisions -- that is permanently delete all changes to domain objects associated with those revision (one might also permanently delete that revision -- or alternatively simply mark it as purged).
In addition to providing this facility from the shell it would also be useful to be able to do this from the web interface (with associated restrictions on usage via an authorization controller of some sort)." 1192650660000000 1199786536000000
38 enhancement rgrp rgrp v0.5 closed fixed Make data available in machine-usable form "Currently all data is only available via the web interface which makes it difficult to obtain in bulk. Data should be provided in other more convenient, machine usable forms:
* DB Dump
* JSON for each package page (maybe Atom as well)" 1194521614000000 1200903004000000
40 defect rgrp rgrp v0.5 closed fixed Reserved html characters (such as &) in urls mean package does not render for read view "A url such as: http://someurl.com/xyz?x=1&VERSION=1.1&Service=WFS when set as url or download_url breaks the rendering of the package with an error like:
There was an error rendering the package: not well-formed (invalid token): line 1, column 181
Have checked that removing the & stuff makes the error go away so this looks like an issue with escaping urls when displaying them ..." 1195565228000000 1200993319000000
41 task rgrp rgrp v0.5 closed fixed Upgrade to Latest Version of Pylons (0.9.6.*) and Deploy on Production Machine Should do this sooner rather than later to avoid 'clear water' opening up and need to deploy then asap onto production machine to avoid 'clear water' between trunk and production (which then prevents pushing from trunk to production). 1199786854000000 1199787967000000
35 defect rgrp rgrp v0.4 closed fixed IP Address for non-logged in users is always 127.0.0.1 when deployed behind a proxy (e.g. on ckan.net) "When IP address is used to identify non-logged in users (for example on create and editing of packages) it is always 127.0.0.1 when using a reverse proxy (standard deployment configuration on a production machine and used e.g. on http://www.ckan.net).
This could be corrected by using HTTP_X_FORWARDED_FOR when available." 1177006633000000 1185471537000000
36 enhancement rgrp rgrp v0.4 closed fixed Edit package page should support previews When editing a package one would like to be able to preview one's changes before saving. 1177007112000000 1185470035000000
5 enhancement johnbywater johnbywater v0.3 closed fixed Browse list of packages and select one to view "== As a ==
Visitor
== I want to ==
Browse a list of packages resulting from a search or browse request (see other use cases)
== So that ==
I can select one of the packages to view in more detail (-> viewing an individual package ticket:6)
== Notes ==
* When browsing a list of packages you should be able to see summary information about the package such as title (though this may be shortened in order to conveniently fit the list
* The list should be broken up into pages so that the number of packages per page should be kept to a reasonable number (<= 50). Response time should be kept reasonable
" 1152549884000000 1185473622000000
20 enhancement johnbywater johnbywater v0.3 closed fixed Purge a package "== As A ==
Administrator
== I want to ==
Purge a deleted package
== Notes ==
* this need only be possible via the admin interface" 1152550910000000 1185473187000000
30 enhancement zool rgrp v0.3 closed fixed Tags are added to a package by package owner "== As A ==
Site User
== I Want To ==
Create/Edit/Update/Delete tags associated with my package
== Notes ==
* Tags are service-wide and '''not''' package specific
* Tags should not allow spaces (but allow everything else e.g. ':')
* web interface details
* should provide a text box where users can add space separated tags (a la delicious).
* tag creation should be seemless (so if a tag does not already tag exists it should automatically be created in the background)
* would like to provide a list of relevant existing tags. For time being could just list all existing tags below entry box but in long run would like auto-updating/auto-suggesting listing a la delicious
" 1155905753000000 1185472559000000
32 enhancement rgrp rgrp v0.3 closed fixed View a tag "== As a ==
Visitor
== I want to ==
View a tag's page which should list all packages associated with that tag (or link to a page containing that list).
== Notes ==
* The tags should have a nice primary url such as /tag/ (could also use the plural i.e. /tag/)" 1157375968000000 1185472746000000
21 enhancement somebody johnbywater v0.11 closed fixed Undelete a package 1152550936000000 1265891796000000
77 enhancement dread rgrp v0.11 closed fixed Rate packages "= As a User or Visitor =
I wish to rate a package in some way. On the package view, below Openness, there is a 'Rating' heading with the star rating which is selectable.
Rating out of 5. One user or IP, one vote.
package_rating table:
package | user | rating
annakarenina | joe.bloggs.openid.com | 4
annakarenina | 154.2.5.47 | 1" 1247829193000000 1255176732000000
88 enhancement rgrp rgrp v0.11 closed fixed Download (link) metadata "Support for download metadata (file size, file formats, version information).
See also: ticket:87 (multiple download links)" 1248693385000000 1265891491000000
90 enhancement nickstenning rgrp v0.11 closed fixed Link to RDF versions of CKAN data "We should link to representations on semantic.ckan.net
* Each package page could link to its RDF representation
* ""Alternative formats"" near star rating. Has logo for RDF (link to RDF) and JSON (link via CKAN REST i/f).
* Some instances of ckan won't need this, so have option in ini file for this. rdf_store_url=xyz
* Include machine-readable link to the RDF:
{{{
}}}
* 303 redirect to RDF when content negotiation requires RDF. Test:
{{{
curl -I -H ""Accept: application/rdf+xml"" http://localhost:5000/package/warandpeace
}}}
Cost: 3h
== Future ==
* Search page to link to SPARQL interface: http://semantic.ckan.net/sparql
* License/dump page could link to full RDF dump.
" 1248943742000000 1265890334000000
112 enhancement rgrp dread v0.11 closed wontfix Test db schema created via migration scripts "'paster db upgrade' should result in the same database as 'paster db create' on a clean system. In particular, all tests should pass.
Note: equivalent of paster db upgrade isn't being run from tests at the moment (we haven't been able to get this to work)." 1252316495000000 1265294069000000
113 enhancement dread dread v0.11 closed fixed Simple script to test data migration on a production db "Must not alter the db.
Related to ticket:112." 1252316523000000 1265294054000000
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
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/
e.g. user/28394723982-03849472
Step 1:
* Current user home page with recent edits
Step 2:
Readonly
* Number of edits
* Number of Packages they are admin of
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
139 defect rgrp rgrp v0.11 closed worksforme Ensure you cannot add same tag twice to a package "Seems some package have ended up with same tag twice: http://www.ckan.net/package/fred2dot0
Check whether this is still possible and if it is fix it ...
Cost: 2h" 1254768552000000 1255188974000000
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
144 enhancement rgrp dread v0.11 closed duplicate Most popular packages listed on homepage "Based on number of views.
Related to ticket:143." 1255010391000000 1265284457000000
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
147 enhancement dread dread v0.11 closed duplicate Parser and loader for esw.org data 1255440695000000 1255515162000000
148 enhancement dread dread v0.11 closed fixed Parser and loader for esw.org data " * parse like data4nr code
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)
* use ckanclient
Follows on from ticket:148 and ticket:149" 1255440828000000 1256751974000000
151 enhancement dread rgrp v0.11 closed duplicate User object should have a created attribute "User object should have a ""created"" attribute initialized to current datetime.
Require a db migration but o/w very simple.
Cost: 1.5h" 1255589694000000 1257414545000000
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
153 enhancement dread dread v0.11 closed duplicate Group's packages listed alphabetically "This is so you can easily look up whether a given package is already listed - otherwise as lists get bigger becomes difficult to see what is already there.
Suggested by Jonathan Gray" 1255621515000000 1258971895000000
154 enhancement rgrp dread v0.11 closed wontfix Package form guidance "Give guidance on what to put in 'author' and 'maintainer' fields (e.g.
name? URL?)
Suggestion from Jonathan Gray" 1255621572000000 1257535066000000
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 " * Ensure you can add/change/delete extra fields from packages using the REST API.
* Update API docs to cover this.
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
* Delete field if field value is None
Option 2 - user must supply all fields
* Delete field if field absent
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:
* tags: postcode - tags found correctly but no packages found
* tags:postcode - tags incorrectly found but correct packages found
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
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
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):
* http://knowledgeforge.net/ckan/ckan/doc/
* (Other options: http://www.ckan.net/doc/ http://doc.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:
* license - name of license
* tags - space separated
* groups - space separated
* anything - for extra key-values
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
180 enhancement rgrp jwyg v0.11 closed duplicate Tag cloud as way to view CKAN tags Create big tag cloud with all CKAN tags - perhaps weighting with size and colour... 1257534254000000 1265284374000000
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:
1. To weight across fields in a sensible way
2. We can also use proper text search on title or ...
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:
* tags not indexed, so would need to 'or' search of tags. This would cause problems with the order_by of the query, since the tags wouldn't have a ranking.
* if tags are indexed then perhaps we don't want them converted into lexemes? Exact match could well be better.
* can we split the name on dash or underscore before being indexed?
* natural language search doesn't do partial words, so search for 'gov' doesn't bring up 'government'.
* do we keep the existing search system usable with a config file switch for if we install on a db aside from postgres?
* we want to weight name and title higher than other fields - achievable with custom trigger." 1257869950000000 1265892403000000
188 enhancement rgrp rgrp v0.11 closed duplicate Improve package listing views "Propose change to tabular-like format showing these attributes (perhaps should be configurable?)
* Openness status
* Title (not sure name is needed)
* Tags
Cost: 4h" 1257870031000000 1265294090000000
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 a ==
User (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.
== Implementation ==
There is an object called 'Resource' with the following attributes:
* url (text) (required in UI, but not in db table)
* format (text)
* description (text)
* package (association) - a resource is always associated with 1 package
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 url ===
download_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.
== Example ==
Example part of package:
=== Distributions: ===
|| !http://some.com/pollution.pdf || PDF || Original report ||
|| !http://some.com/pollution.csv || csv || Original data ||
|| !http://some.com/pollution || sparql || Linked version of data ||
Existing data to be migrated to new structure.
Cost: 4 days
" 1258386120000000 1265284961000000
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
197 enhancement dread dread v0.11 closed fixed Simple dumper "== As a ==
admin / user
== I want to ==
Admin: export all HEAD data to JSON / CSV / RDF format dump.
User: wants to get hold of this dump.
== Details ==
* Just do JSON & CSV for now.
* Put this in CLI.
* Just do list of packages - as_dict info. CSV needs a bit of flattening.
Cost: 2h" 1258972495000000 1258989700000000
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 ==
1. i18n templates
* Extract content using Babel
* Get genshi translation working
* Do the translation!
2. i18n all strings in controllers (if any)
3. i18n forms" 1260179192000000 1265892368000000
203 enhancement dread dread v0.11 closed fixed show package counts for groups in WUI "In two places in the WUI
* list of groups
* group page in title e.g. ukgov (5)
Cost: 1h" 1260187690000000 1265891080000000
204 enhancement dread dread v0.11 closed fixed Custom package input form "== As a ==
admin
== I want to ==
input government data in a constrained way
== so that ==
you get consistency in the db which is easily searched, discovered and automatically linked.
== implementation ==
Form 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 ===
* all basic ckan fields
* default license to OKD::Crown Copyright
* co_id, precision, taxonomy url, agency
=== Date fields ===
Date format: machine readable. Can be specific or vague: year or month/year or day/month/year.
* date_released
* date_updated
* temporal_coverage_from, temporal_coverage_to - two date fields combined
=== Strict selection ===
Drop down combo
* department
=== Selection or free text ===
Editable combo
* update_frequency - selections: never, weekly, monthly, annually, discontinued
* geographic_granularity - selections: national, regional, local authority, ward, point
* temporal_granularity - selections: yes, months, weeks, days, hours, point
=== Specialised fields ===
* geographic_coverage - UI is tick boxes. store a comma separated list of all that apply from: england, scotland, wales, northern ireland, overseas, global
(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?)
* national_statisic - UI is check box, store as 'Yes' or 'No'
* resources - use standard table, but suggestions for file type are: RDF, CSV, SPARQL, REST, XBRL, SDMX, Other XML, HTML+RDFa, XLS, DOC. Have warning label saying it is not ideal to have PDF, zip or html targets.
* categories - multi values from strict selection of ONS categories. Stored as comma-separated.
=== Field data processed ===
* tags - in addition to words entered here, search for known keywords in other fields: title, notes, department, agency, geographic coverage & categories.
=== Future - optional ===
Each 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
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@jones.com', encode='javascript')
Do we want to? Surely only public addresses should be on CKAN in which case why obfuscate?
" 1260203938000000 1265891070000000
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 " * Set hover names on navigation links.
* Do we really need to display ""About CKAN"" everywhere? Just on home page.
* Redirect in routing /groups and /tags rather than /group and /tag. At the very least make the plural versions forward to the singular versions.
" 1260879581000000 1263406056000000
217 enhancement nickstenning dread v0.11 closed fixed UI Review - Search results "Package search results page [/package/search?q=something]
* need clearer delineation between search entry form and results.
* 0 results needs to be clearer, and the alternative suggestion: 'would you like to create a new package' needs to not look like a search result.
* ""N tags found"" -- why do I care? this should be presented as ""filter results by tag"" -- very unlikely that I'm looking for a tag: I'm looking for a package, but tags might help me narrow down my search.
* tags should be displayed more like the way they're displayed when you add them to a package (i.e. blue 'tag' background)
* filter out particular tags
* tag cloud?
* copywriting: ""Packages - Search"" -> ""Search packages""
" 1260879870000000 1263406092000000
218 enhancement nickstenning dread v0.11 closed fixed UI Review - Package listing " * openness/downloadability ticks/crosses are totally inscrutable to non-techies (those who don't know about the title attribute). need better icons, and a key in a box on RHS.
* maybe highlight two-tick entries with a particular colour, but the open knowledge badge is horrendous, and breaks visual cadence.
* results data should be tabulated, with the project names and descriptions made most prominent. blobs are unnecessary visual noise.
* maybe links should go on the full titles? Get rid of package names.
* Should have filter by name (à la KForge alphanum widget) and also by tag: list of most common tags in box on RHS?
* same comments as search listing (ticket:217)
" 1260879903000000 1263406033000000
220 enhancement nickstenning dread v0.11 closed fixed UI Review - Package read "Package page [/package/mypackagename]
* Design
* In general: a huge amount of visual and typographic noise: ""Package:"" is redundant.
* ""{edit}"", ""{history}"" -- ugly, and it's not clear that these are primary actions on this page. Notably, why on earth is ""make an enquiry with Is It Open?"" bigger than these?
* Openness/downloadability icons: need help, as discussed earlier
* ""Rating:"" redundant, as is the second set of stars -- why can't both the display and rate widget
* Rating - alternative to GET on set_rating.
* ""Metadata:"" technospeak, probably redundant.
* bullets add nothing.
* Title, Version, URL can probably go in one line.
* Resources can be made more prominent.
* Author, author email and Maintainer, maintainer email can be merged.
* Groups, tags in little boxes?
* Notes made more delineated -- Markdown has the capacity to look like other parts of the page: perhaps monospace the typeface?
* Don't show extras unless there are any.
" 1260880136000000 1265286499000000
224 enhancement nickstenning dread v0.11 closed fixed UI Review - Groups "Groups landing page [/group]
* Yeesh! What's up with the typography for ""Just login...""?
* Truncated description along with group name.
* Explanation text about what groups are for (RHS)
* Another case of bullets adding nothing.
" 1260880360000000 1267100560000000
229 enhancement dread dread v0.11 closed fixed Resource hashes "New field for resources - hash of the resource file.
* CKAN itself will not calculate the hash value - user just pastes it in.
* Display text field in resource table.
* Requires migration script.
Questions for the field's value:
1. Which hash to use? Restrict to python hashlib and other major hash libraries.
2. Should we use merkle trees?
Thanks to Julien D'Assanges for the suggestion.
" 1262686287000000 1265891612000000
43 enhancement rgrp rgrp v0.10 closed fixed Generic Attributes for Packages "= As A =
User
= I Want To =
Add arbitrary named attributes to packages (an attribute being a name, type, value triple).
= Details =
* We will do this using a dedicated (versioned) table associated to Package
* Do we allow multiple attributes of the same name?
* For the present: No (since we will key by attribute name)
* Could allow for single attribute but with multiple values using json list ...
* What types do we allow or do we just rely on JSON to take care of this?
= Questions (Original) =
* How complex is this to implement?
* What would an arbitrary user be able to edit? Possibilities:
1. 'create new attribute' and setting the value (so name and type would be chosen from predefined list).
2. 'create', setting of name and value (but not type -- type already set in predefined list)
* Could just use (machine) tags -- though this could be seen as a bit of a hack.
* Would solve having to create special file/url attributes (though I think that perhaps file stuff is important enough to merit first class support in the domain model -- though, that said, since one won't want to have a file limit adding unlimited file support is very similar to unlimited attributes of arbitrary type)." 1199788109000000 1253709802000000
61 enhancement rgrp rgrp v0.10 closed fixed When dumping data to json do not dump private information like API keys Cost: 1h 1239123529000000 1265890790000000
62 enhancement dread rgrp v0.10 closed fixed Change tags to contain any character (other than space) Requires us to url encode the tag names when displaying them ... 1240585095000000 1250181376000000
64 enhancement rgrp rgrp v0.10 closed fixed Switch to repoze.who for authentication "Switch to repoze.who + openid plugin for authentication from authkit.
Already did this in microfacts so should be fairly easy." 1245168853000000 1246127063000000
66 enhancement rgrp rgrp v0.10 closed fixed Improve user account UI "1. Link at top should say ""Your Account"" when you are logged in
* when not logged in should say: ""Log in via openid""
* Open Id info on /account/ should move to /account/login/ or be deleted
* Going to /account/ when not logged in should redirect to /account/login/
2. When logged in the basic account index page should not give generic information but should reflect fact you are logged in by:
* Saying something like: ""You are logged in as: ...""
* Showing your apikey or a link to apikey
* Giving you a logout link
We can think of a bunch of other stuff that could go on their (recent edits, packages you own etc) but these will be separate tickets." 1245263685000000 1250785405000000
67 enhancement rgrp rgrp v0.10 closed fixed List all of a user's recent edits on their home page "Additional feature related to ticket:66.
cost: 2h" 1245263731000000 1250785122000000
71 enhancement rgrp rgrp v0.10 closed fixed Upgrade to Pylons 0.9.7 Cost: 2h 1246435041000000 1250181211000000
72 enhancement rgrp rgrp v0.10 closed fixed Integrate new logo "Integrate new logo from http://wiki.okfn.org/ckan/logo into site:
* In title
Also can do favicon (separate ticket:48)
Cost: 1h" 1246441021000000 1251451954000000
74 enhancement dread rgrp v0.10 closed fixed Add Is It Open links to package pages "On each package page in the openness field if the package is not open provide a link to is it open create enquiry page.
Details:
* may want to add to the url a query parameter indicating which package this relates to e.g. ?ckan-package=...
* http://isitopen.ckan.net/enquiry/create/?ckan-package=...
* do we provide link even if package is open (e.g. so that people can make enquiries about e.g. adding open data/content buttons ...)
Cost: 0.5h" 1247828218000000 1250182938000000
76 enhancement dread rgrp v0.10 closed fixed Convert to use formalchemy for all forms "Current form stuff is not very good (uses formencode). Switch to formalchemy would improve this, especially on validation.
As an extra we could utilize the formalchemy pylons admin interface (pretty much for free).
Cost: 12h
== Details ==
1. Replace htmlfill and formencode extract in controllers/templates with formalchemy
1. Crude and simple
2. Suppress unwanted fields (revision, state, all revisions) and sort out ordering to be similar to before.
3. Sort out tag field with a special renderer
2. Validation - testing definitely required.
3. Fix up description and pretty css etc" 1247829041000000 1251301765000000
79 enhancement dread rgrp v0.10 closed fixed Improvements to package search "Several things:
* Default package search (used e.g. on front page) should deal well with multiple items: ""abc xyz"" means search for both abc and xyz (as separate searches)
* Should automatically display a list of matching tags in a line at top with number of associated packages
* have an option to only search for fully open material (or openly licensed material ...)
Since we should be moving to a more sophisticated search solution anyway (to allow prioritisation etc) maybe we should cautious as to what we do now." 1247829864000000 1265890806000000
80 enhancement dread rgrp v0.10 closed fixed Refactor or remove modes code "Get rid of modes in the RESTful API. Do json stuff directly in controllers.
* package will have to_dict and from_dict methods (called by rest controller) which provide and consume JSON friendly dictionaries representing the object. from_dict - class_method. stuff in forms for tags as_string, maybe factor out. reuse validation stuff." 1247844263000000 1265890912000000
91 enhancement dread rgrp v0.10 closed fixed Add author and maintainer attributes to package "Add the following attributes to package:
* author, author_email
* maintainer, maintainer_email
Gives us full compatibility to: http://docs.python.org/distutils/setupscript.html#additional-meta-data
Column ordering - should come after name, title, url, download_url." 1249049780000000 1250864156000000
93 enhancement rgrp rgrp v0.10 closed fixed Access control for packages "Should be able to limit ability to a user's ability to do things with packages (read, edit etc). This is a big ticket (it may required splitting) and full details are in separate wiki page: AccessControl.
Cost: 8d
" 1249055049000000 1253613274000000
94 enhancement dread rgrp v0.10 closed fixed Use sqlalchemy-migrate to handle db/model upgrades "Details of how to go about this here
Cost: 2h" 1249134185000000 1250604808000000
105 enhancement dread rgrp v0.10 closed fixed Package groups (view) "As a user I want to be able to create groups of packages.
This functionality is different from tags:
* The ability to add a package to a given group is restricted whereas anyone can add a given tag to a package
* Specifically groups have owners and only the owners can add a package to that group
Group properties
* id (primarykey, uuid style)
* name (restricted content - same rules as package)
* title (no restrictions)
* owners -- many:many with user object
* description (markdown)
* packages -- many:many with package object
Don't version groups for now.
Groups address in the WUI will be:
* /group - browse list of groups (reuse list action)
* /group/list - same thing for now
* /group/ - display: group properties with links to packages. No links to user pages (yet).
Group editing and searching will be another ticket.
Cost: 3d
" 1251392282000000 1252488496000000
108 enhancement dread rgrp v0.10 closed fixed Package search in the REST API "Add package search facility in the rest api at /api/search
Queries can be provided as for the normal package search either by posting to that url or by performing a get with a query string.
E.g. .../api/search/package?q=xyz
Query parameters:
* q is keyword string (searches name, title, tags by default)
* split by words and ANDed
* additional parameters for specific fields
* qjson is alternative to q for Searching by specific fields (in addition to keyword string). Payload to json is a JSON-encoded dict which is a dictionary with a q field for free text (keywords) and additional key/value pairs for specific fields
* if q and qjson specified ignore q and just process qjson value
Additional parameters in addition to query (""q"" or ""qjson"") are:
* limit
* offset
* fullinfo=0/1 - return full record for each result (default=0)
* order_by=field_name
* search_notes=0/1 (default 0) do we search notes field in a keyword search
Return value is json encoded dictionary with keys:
* 'results': list of results
* 'count': total number of results
=== Extras (for the future) ===
* Prioritisation is not part of this ticket (requires fulltext support in DB or in external app such as Xapian)
" 1251915845000000 1252340511000000
110 enhancement dread dread v0.10 closed fixed Integrate groups into packages " 1. Package needs a groups property (backref Group.packages).
2. Put groups in the search api.
3. Display them on the package, but not editable. (Only editable from the group page.)
Follow up to ticket:105 (Groups).
Cost: 1d" 1252315956000000 1252488660000000
111 enhancement rgrp dread v0.10 closed fixed Create user object "Object properties:
* id (uuid)
* apikey (uuid) -- migrated from the apikey table
* name (username = openid)
/account is being renamed to /user in the wui." 1252315994000000 1252331626000000
114 enhancement dread dread v0.10 closed fixed Access Control - model "Create in the model basic operation of Access Control.
roles table
{{{
name | context | action
-----------------------
admin| package | edit
admin| package | edit-permissions
admin| package | read
editor| package | update
editor| package | read
reader| package | read
This data is set-up on db init and will have no interface.
}}}
user-roles table:
{{{
username | context_type | objectid | role
rgrp | system | n/a | admin
visitor | package | * | reader
bob | package | geonames | admin
visitor | package | geonames | editor
visitor | package | geonames | reader
john | group | ukgov | admin
dread | group | ukgov | editor
visitor | group | ukgov | reader
This data will be added when someone is given permissions for the system, a package or a group.
}}}
Pseudo code:
class Package
def is_allowed(name, action):
is_allowed(name, action, context=self)
class Group
def is_allowed(name, action):
is_allowed(name, action, context=self)
def is_allowed(name, action, context=None):
''' name: string - a username or IP for 'visitor'
action: string - 'read', 'edit', 'delete', 'edit-permissions'
context: object - a Group or a Package or None (which means system)
'''
# look up user from name.
# look up in user-roles table what roles this user has for this context.
# for each roles, look up in roles table what actions are allowed.
# return True if action is allowed, else False.
" 1252494527000000 1253034529000000
115 enhancement dread dread v0.10 closed fixed Access Control - wui constrained by model "Based on a section of AccessControl design:
Reading and writing to packages in the WUI and REST API are now dependent on the authz tables." 1253034394000000 1253091426000000
116 enhancement dread dread v0.10 closed fixed Access Control - edited in wui "Based on a section of AccessControl design:
WUI gives controls to user and administrator to change permissions on a package." 1253034802000000 1253709460000000
117 enhancement dread dread v0.10 closed fixed Access Control - group core functionality "Based on a section of AccessControl design:
Group reads and edits are controlled by access control. WUI and REST interfaces covered." 1253271333000000 1254735855000000
118 enhancement dread dread v0.10 closed fixed Use paginate in webhelpers "Take out import of paginate in setup.py.
Use paginate in webhelpers instead.
Make changes to take account of any i/f changes." 1253273657000000 1253784902000000
119 enhancement dread dread v0.10 closed fixed Ensure non-active packages don't show up "Ensure pending packages don't show up in search or browse
cost: 4h" 1253529414000000 1253791147000000
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:
* search i/f
* package WUI commit
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
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).
* Only Package Admins (and sysadmins) should be able to change state
== Implementation Suggestions ==
* 'delete' action should be renamed to 'change-state' (NB: this requires a db migration ...)
* Have new package formalchemy form (created via inheritance?) to incorporate state attribute. Suggest this is rendered as a dropdown (and may be simple object rendering of state, i.e. do NOT need to change it to a single name such 'active').
* This form should then be used when the user satisfies is_authorized(..., model.Action.CHANGE_STATE) instead of the usual fieldset
" 1253789571000000 1254740244000000
127 enhancement dread dread v0.10 closed fixed Minor form and UI improvements " * group form: description field for needs to be a text area
* group form: make title and name field wider
* package view: need to move tags and license above notes
" 1253798659000000 1253868048000000
130 enhancement dread rgrp v0.10 closed fixed Create a New Group via the WUI "== As a ==
User
== I want to ==
Create a new group via the WUI
== Details ==
* locate at /group/new/
* You must be logged in to create a group
* Group creator is automatically given role of group admin
* Edit screen is same as edit screen ..." 1254130212000000 1254735501000000
131 enhancement dread dread v0.10 closed fixed Groups REST interface Controlling Groups through a REST interface. 1254307959000000 1254308115000000
985 enhancement pudo pudo pdeu-1 closed duplicate Harvest other data catalogues " * data.london.gov.uk (1d, ping DERI)
* catalogues from Paris and Vienna (1d)
Others?
* digitaliser.dk (1d)
* data-publica.com (2d)
* data.suomi.fi (2d)
* dati.piedmonte.it (1d)
* portalu.de (2d)" 1297679799000000 1306408134000000
1155 enhancement pudo pudo pdeu-1 closed fixed Harvester for data.london.gov.uk Write a harvester for data.london.gov.uk to import catalogue metadata into PDEU. API (or at least documentation) is available at: http://sourceforge.net/projects/londondatastore/files/ 1306337318000000 1306773174000000
1156 enhancement pudo pudo pdeu-1 closed fixed Scraping harvesters for Paris and Vienna Catalogues "Import metadata from both sources into PDEU via the Harvesting framework but by scraping their respective catalogue pages.
* http://data.wien.gv.at/katalog/
* http://opendata.paris.fr/opendata/jsp/site/Portal.jsp" 1306337428000000 1306855111000000
1157 enhancement pudo pudo pdeu-1 closed fixed A simple theme for publicdata.eu, CKAN "Change the visual style of CKAN to be more like these sites:
* GitHub
* Quora
* Google Projects
This does not include major UX work. " 1306337573000000 1309804029000000
1158 enhancement pudo pudo pdeu-1 closed fixed Put PDEU into read-only mode and remove unneeded functions "PDEU should be in a mode where:
* Users cannot edit or create packages
* Users cannot sign up on their own
* AuthorizationGroups and RevisionHistory is completely gone from the UI
* Groups have been repurposed as Subjects
" 1306337786000000 1309804060000000
1159 enhancement pudo pudo pdeu-1 closed fixed Add RDFa to CKAN package pages "RDFa can be used as a simple way to expose linked data or at least sameAs the API version of the data but we need to make sure we do not expose anything different from the ""official"" representation." 1306337907000000 1307615133000000
1160 enhancement amercader amercader pdeu-1 closed wontfix Havest CSW servers on PDEU "It could be interesting for the publicdata.eu project to add some CSW datasources. Thanks to the INSPIRE directive, there are quite a few national catalogs of geodata that could be worth harvesting.
Work on this should include:
* Compose Endpoint List (1d)
* Harvest on staging system and evaluate which sources have useful material (2d)
First point is being performed in this GDoc:
https://spreadsheets.google.com/spreadsheet/ccc?key=0Atp3cZFjuIOAdDBVQWRINnlfN1d0b2lleHVEdjBSb2c&authkey=CNu4hsEB&hl=en_US#gid=0" 1306407271000000 1309804038000000
1161 requirement pudo amercader pdeu-1 closed duplicate Build a simplified theme for PDEU "We need to offer a strongly simplified version, read-only of CKAN under publicdata.eu, with a focus on its role as search engine instead of a data catalogue.
This ticket relates to work on the PDEU theme only!" 1306407835000000 1306408026000000
1162 enhancement amercader amercader pdeu-1 closed fixed Define a common extra for storing the geographic extent "We need a common extra across the different harvested sources that defines the extent of the data. We will have mainly national level catalogues, but also at a lower level (region, city).
Relevant discussion:
http://lists.okfn.org/pipermail/ckan-discuss/2011-May/001245.html
" 1306408704000000 1308647187000000
1164 enhancement amercader amercader pdeu-1 closed fixed Cloropleth Map of European Data Availability for PDEU A nice map in the homepage showing the availability of data across Europe 1306408824000000 1308647224000000
1173 enhancement amercader amercader pdeu-1 closed fixed Offer a DCat representation for packages in the API /api/rest/package/foo.rdf should return a DCat representation of the package. To create it, we will use the functions in ckanext-rdf. 1306939639000000 1307615271000000
1174 enhancement pudo pudo pdeu-1 closed wontfix API Representation Registry "As CKAN grows, more and more optional representations of packages will become used. Besides RDF (which is the motivation for this ticket), support for DSPL, home-grown XML, or CSV listings is imaginable.
To properly support this CKAN should have an extensible representation registry that can be extended when new output types become available (and without changing the API in the process). This needs to integrate in two places:
* We need to add support for file format extensions to the package handler and REST API.
* We need to add HTTP content type negotiation (Accept headers).
To support this we should have a registry with two registers:
* to map format extensions to mime types (e.g. ""json"" -> ""application/json"")
* to map mime types and entity types to converter functions (e.g. 8""application/json"", ckan.model.Package) -> func(obj, mime_type) )
This should be set up on load_environment so that IConfigurer plugins can feed into it.
The registry should then first be added to _finish in the REST API (which needs to be refactored to be passed the {format} part of the URL if one is given. Based on the format part and HTTP headers, an appropriate representation can be generated by the registry and then be returned to the user.
Forwarding of requests to the regular WUI controllers with Accept headers set or a format specified can be implemented in a separate effort. " 1307050992000000 1307615200000000
2547 enhancement shevski ross opendatasuite 2 assigned ODS Initial data sets "
== Requirements ==
The ODS demo site will need data adding, initially as fixtures but it would also be useful if we started evaluating datasets that we can ship with ODS installations (at least in the UK) from places such as DGU and ONS.
May wish to create a ticket for making sure the datasets within the system are reset every X hours. Perhaps.
== Interface ==
None
== User Stories ==
* As a new system administrator for an ODS instance, I don't want to have a site devoid of any data. Geographically relevant datasets would be welcomed.
* As a bizdev person I would like to be able to demonstrate how ODS works with real datasets.
== Tasks ==
[ ] Identify relevant sources for datasets
[ ] Pick datasets
[ ] Set them up for import
== Estimates ==
" 1340016906000000 1340705614000000
2380 enhancement ross ross opendatasuite 1 closed duplicate DataGM Upgrade Provide a new test install of DataGM based on the ODS demo site being completed through June. 1337002144000000 1340627558000000
2545 requirement ross ross opendatasuite 1 closed fixed Need to build DataGM site based on ODS "
== Requirements ==
We need to clone the demo ODS site for DataGM as soon as we have a mostly working demo so that the DataGM team can try it out and comment/feedback on functionality.
== Interface ==
None
== User Stories ==
None
== Tasks ==
[ ] Deploy demo DataGM site.
== Estimates ==
" 1340016640000000 1344337973000000
2596 enhancement toby aron.carroll opendatasuite 1 closed fixed Create demo extension Should have all supported extensions enabled, those that don't work should be disabled and ticketed. Also needs a customised homepage. 1340642315000000 1345209485000000
2609 enhancement toby aron.carroll opendatasuite 1 closed fixed Demo theme errors when creating a dataset without a resource "1. Complete step one of add dataset
2. Click next without adding any resource data.
Page errors.
{{{
URL: http://localhost:5000/dataset/new_resource/asdasd
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/weberror/evalexception.py', line 431 in respond
app_iter = self.application(environ, detect_start_response)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
resp = self.call_func(req, *args, **self.kwargs)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
return self.func(req, *args, **kwargs)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__
return request.get_response(self.app)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
application, catch_exc_info=False)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
app_iter = application(self.environ, start_response)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
resp = self.call_func(req, *args, **self.kwargs)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
return self.func(req, *args, **kwargs)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/fanstatic/injector.py', line 52 in __call__
response = request.get_response(self.app)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
application, catch_exc_info=False)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
app_iter = application(self.environ, start_response)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
return self.app(environ, start_response)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/beaker/middleware.py', line 152 in __call__
return self.wrap_app(environ, session_start_response)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/routes/middleware.py', line 130 in __call__
response = self.app(environ, start_response)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__
response = self.dispatch(controller, environ, start_response)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
return controller(environ, start_response)
File '/Users/Aron/.virtualenvs/ckan/src/ckan/ckan/lib/base.py', line 258 in __call__
res = WSGIController.__call__(self, environ, start_response)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__
response = self._dispatch_call()
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
response = self._inspect_call(func)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
result = self._perform_call(func, args)
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
return func(**args)
File '/Users/Aron/.virtualenvs/ckan/src/ckan/ckan/controllers/package.py', line 495 in new_resource
get_action('resource_create')(context, data)
File '/Users/Aron/.virtualenvs/ckan/src/ckan/ckan/logic/action/create.py', line 240 in resource_create
raise ValidationError(errors, _error_summary(errors))
ValidationError: {u'URL': u'Missing value'}
}}}
http://localhost:5000/dataset/new_resource/asdasd" 1340810211000000 1340900271000000
11 enhancement johnbywater johnbywater milestone16 closed fixed Delete package "== As a ==
Authenticated user
== I want to ==
Delete a package
== So that ==
So that the package is no longer displayed for visitors of the site
== Notes ==
* The permissions for this action are the same as for updating the package details (see ticket:10)
* When a package is deleted it is put in an inactive state and is invisible to users and vistors of the service. However its name remains reserved and it may be undeleted or purged by the service administrator
" 1152550328000000 1157371568000000
29 enhancement rgrp rgrp milestone16 closed fixed Improve installation process " 1. install documentation (currently source:trunk/INSTALL is empty)
2. improve ckan-admin as necessary
3. create default data (such as licenses)" 1152553638000000 1183648166000000
10 enhancement johnbywater johnbywater milestone15 closed worksforme Update package "== As a ==
Authenticated user
== I want to ==
Update the attributes of a package and add/remove releases
== So that ==
The package attributes are changed. Package attributes are:
* A title
* A description (short or long)
* Date added
* Project url
* package license(s)
* download url
* A list of releases with their dates and a summary line
* a list of owners (referencing authenticated users)
I would also like to be able to add comments
== Notes ==
* Only an authenticated user is one of owners of a package may update it
* Any authenticated user may add comments (but visitors may not)
* can break down into:
* Update a package by changing simple package attributes (value: 8)
* Update a package by adding or removing an owner (value: 5)
* Update a package by adding or removing comments (value: 7)
" 1152550243000000 1183648150000000
1 enhancement somebody rgrp milestone1 closed fixed Visitor visits service "== Title ==
Visitor visits service
== As a ==
Visitor (general web user)
== I want to ==
Visit the website of the service (frontpage)
== So that ==
* See the front page and discover information about the service
* Perform various activities related to the service such as registering and finding packages, registering as a user and logging in" 1152549417000000 1183636342000000
2 enhancement somebody johnbywater milestone1 closed fixed Register as user on the service "== As a ==
Visitor
== I want to ==
Be able to register as a user on the service
== So that ==
One can login and be an authenticated user and perform the actions that only authenticated users can perform
== Notes ==
* Registration involves the provisional of a minimal set of user details, namely:
1. username (unique in lifetime of the service)
2. fullname
3. email
4. password
" 1152549635000000 1152553157000000
3 enhancement somebody johnbywater milestone1 closed fixed Login to the service "== As a ==
Visitor
== I want to ==
Login to the service
== So that ==
I am now an authenticated user and may perform the actions that only authenticated users may perform
== Notes ==
* Login by providing username and password
* Login screen should also include a link or information about registration
* If username do not match (or the username does not exist) a login failure is noted and the visitor is re-presented with the login screen as well as information on how to register
" 1152549717000000 1152553322000000
6 enhancement somebody johnbywater milestone1 closed fixed View a package "== As a ==
Visitor
== I want to ==
View the details of an individual package
== So that ==
I know more about the package. Attributes available are detailed in updating a package (../UseCase12)
" 1152549960000000 1183648175000000
9 enhancement somebody johnbywater milestone1 closed fixed Register new package "== As a ==
Authenticated User
== I want to ==
Create/register a package
== So that ==
The package will be listed in the system and visible to users
== Notes ==
* Full package registration process may be broken down into:
1. Creating a package by provision of minimal attributes:
1. name: unique and web-usable
2. auto-generation of default values such as:
1. date-registered (today's date)
2. first owner (one owner should be created corresponding to the authenticated user performing this action)
3. (?) auto-generate a default release
2. updating the created package -> ../UseCase12
" 1152550171000000 1152555104000000
944 defect pudo pudo iati-4 closed fixed Upgrade IATI to CKAN 'default' " * Move code base, fix any breakage.
* Deploy to eu8
* Test
* Deploy to eu14
== Why ==
Later CKAN codebase has a bunch of improvements / fixes that it would be good to have.
== Estimate ==
* 8h
" 1296469688000000 1306774766000000
697 requirement pudo johnbywater iati-3 closed fixed The system shall indicate which package groups can be removed when editing a package This seems to require doing something else with such a group's 'delete' button, such as showing it greyed, or perhaps not showing it at all. 1287066103000000 1291644457000000
700 bug pudo dread iati-3 closed fixed Groups in package form "Editing groups in forms doesn't work for me, with latest code from this morning:
1. Clean db
2. paster create-test-data
3. paster sysadmin create http://davidread.myopenid.com/
4. paster serve development.ini
5. In browser, log in to CKAN
6. Create new package: name=abc group=Roger's books
7. [Preview] - yes group appears
8. [Save] - shows package and group hasn't appeared ERROR
9. Check http://127.0.0.1:5000/api/rest/package/abc and reedit package it also doesn't appear here either.
" 1287394476000000 1290000656000000
701 requirement pudo johnbywater iati-3 closed fixed The system shall support changing package groups when editing a package 1287403776000000 1291644605000000
703 story pudo johnbywater iati-3 closed fixed Add package to package group using the package form fieldset 1287403920000000 1289909096000000
704 story pudo johnbywater iati-3 closed fixed Remove package from package group using the packge form fieldset 1287403961000000 1289910491000000
705 story pudo johnbywater iati-3 closed fixed Show package groups on the package read page 1287404004000000 1291644479000000
706 task pudo johnbywater iati-3 closed fixed Test for removing package from package group using the package form fieldset 1287404073000000 1289909028000000
707 task pudo johnbywater iati-3 closed fixed Test for adding package to package group using the package form fieldset 1287404126000000 1289910513000000
708 task pudo johnbywater iati-3 closed fixed Test for showing package groups on package read page 1287404169000000 1289910506000000
716 requirement pudo pudo iati-3 closed fixed Visual improvments to IATI CKAN 1287583741000000 1290000673000000
718 story pudo pudo iati-3 closed fixed Show recent activities on home page 1287583989000000 1288459823000000
719 story pudo pudo iati-3 closed fixed Improve overall layout of IATI ... probably by adapting aidtransparency.net 1287584092000000 1289910497000000
720 story pudo pudo iati-3 closed wontfix Include CMS pages in IATI registry "Perhaps using deliverance?
* Move About to the right of the nav tabs and make it an about IATI page
* Make a Help / FAQ section linked of main menu
* Front page more dynamic - latest data registered and news (microblog thing)
* make the front page blurb noticable / shorter etc.
* link to iatistandard.org from the front page blurb" 1287584189000000 1288459344000000
721 story pudo pudo iati-3 closed fixed Make the table preview a link to a new page. 1287584244000000 1288459534000000
722 story pudo pudo iati-3 closed fixed Further adapt l10n for IATI " * Change ""Publishing Entity"" to ""Publisher""" 1287584314000000 1288459703000000
723 story pudo pudo iati-3 closed fixed Hide action links pointing to unavailable actions (package create) 1287584448000000 1288459610000000
724 requirement pudo pudo iati-3 closed fixed Improve publisher workflow 1287584548000000 1289835202000000
725 story pudo pudo iati-3 closed fixed Change to allow anyone (logged in) to create a publisher "With a pending state set (""unapproved"") " 1287584630000000 1289296038000000
726 story pudo pudo iati-3 closed fixed Send message to sysadmins to approve new publishers 1287584670000000 1289835192000000
727 story pudo pudo iati-3 closed fixed Sysadmin can approve a publisher 1287584754000000 1289835196000000
522 requirement pudo pudo iati-2 closed fixed Create publishing entity account " * Publishing entity emails system editors
* System editor creates publishing entity account and emails publishing entity with details
* Priority: 4/5" 1282893668000000 1287392999000000
524 requirement pudo pudo iati-2 closed fixed Limit registering data to authenticated users either via API or manually. "Limit registering data to authenticated users either via API or manually.
* Edits may only be made by authenticated entities
* Priority: 5" 1282893904000000 1285594971000000
525 requirement pudo pudo iati-2 closed fixed Confirm and approve publishing entity account "
* So some kind of confirmation or approval by someone more senior?
* Alternative: just have an account request.
* Priority: 3" 1282894040000000 1285595152000000
517 requirement pudo pudo iati-1 closed fixed Standard domain model for entries "cf. Tariqs mail
Updated version: https://spreadsheets5.google.com/ccc?key=tuOtQjD0Psoqr1pWTS8EXZQ&hl=en#gid=0
== Original Version ==
{{{
Publishing Entity:
Publishing Entity Type: (Donor, Recipient, Community Data..)
Donor
Country
Activity period:
Verification status: enumeration of statuses (checked, not checked etc)
Resource links: to the actual IATI record
Number of activities: ...
Date record updated:
Date data updated:
License: Need this field even if it may be a standard license
So naively mashing these together, we get something like:
Identifier
Title
Abstract
Donor
Country
Publisher
Publisher Type
Verification Status
Department
Contact
Contact e-mail
Licence
Resource format
Resource URL
Resource ID
Activity period
Number of activities
Date record updated
Date data updated
}}}" 1282893081000000 1284041561000000
518 requirement pudo pudo iati-1 closed fixed IATI WUI Editing * Create custom form 1282893167000000 1283896718000000
519 requirement pudo pudo iati-1 closed fixed IATI look and feel * Use what is on iatiregistry.org at the moment. 1282893224000000 1283536828000000
520 requirement pudo pudo iati-1 closed fixed Browseable web interface onto the data * e.g. find/browse by country and by publishing entity and by donor 1282893270000000 1283538080000000
521 requirement pudo pudo iati-1 closed fixed IATI Customized search 1282893401000000 1283897124000000
523 requirement pudo pudo iati-1 closed fixed Read/write APIs for users and publishing entities "Read/write APIs for users and publishing entities to access and register data
* Users have read access
* Publishing entities have both (though can only write to 'their' records)
* Priority: 4 for write (read access is 3)" 1282893743000000 1283897688000000
1553 defect aron.carroll dread demo phase 5 closed fixed Upload handles non-logged in user badly "When you install ckanext-store (Storage extension) then CKAN displays 'Upload a file' button in the dataset/resource edit tab.
If you are not logged in, then this feature doesn't work, but there is nothing to indicate this. The button should be disabled.
Furthermore, it lets you think you are starting the upload process, the spinner spins, it says 'Uploading...' and stays like that for a long while.
This is a problem CKAN 1.4.3(ish) - 1.5.1 (current version) when you install the current ckanext-storage." 1324056405000000 1343226756000000
2267 enhancement aron.carroll rgrp demo phase 5 closed fixed Add generator=ckan tag in head Add generator=ckan tag in head of templates to identify site as generated by CKAN 1333040018000000 1343229146000000
2354 enhancement aron.carroll aron.carroll demo phase 5 closed wontfix Front end performance improvements [super] "Try and increase the page load times for the front end.
= Now =
* Always include scripts at the bottom
* Include CSS at the top
* Load fonts with JS
* Concatenate and minify JavaScript files
* Create a build script to load dependancies seperately
* Enable Gzip compression on resources
* Enable future cache headers on resources
= Next =
* Support serving assets from a CDN
* Look into optimising the CSS - Remove large portions of unused CSS
* Remove extreaneous libraries, can jQuery UI be replaced with bootstrap?
= Tools =
* Webkit Inspector Audits
* YSlow Firebug Plugin - http://yslow.org/
* Speed Tracer - https://chrome.google.com/webstore/detail/ognampngfcbddbfemdapefohjiobgbdl
= Continuous Integration =
YSlow can be hooked up to Jenkins via Phantom JS" 1335885042000000 1343317505000000
2357 enhancement aron.carroll aron.carroll demo phase 5 accepted Create build script for front-end resources Should minify and concatenate JavaScript and CSS as part of #2354 1335886181000000 1343220524000000
2375 enhancement toby aron.carroll demo phase 5 closed fixed Create new base theme "As designed by Sam Smith -> https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/
Also to be used as the demo theme although I think they will diverge at some point. At the moment they should be implemented as one and the same." 1336469009000000 1343317873000000
2416 enhancement toby aron.carroll demo phase 5 accepted Normalise resource/data types "Currently we have far too many types that are essentially the same format. The new demo theme is using icons for common types. So we need to normalise the common formats into pretty strings. e.g. application/json, JSON, .json and json all should be output as “json”
See the following Basecamp thread for UI examples and discussion.
https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/posts/61906351/comments#comment_179681056" 1337792946000000 1342617802000000
2447 enhancement aron.carroll aron.carroll demo phase 5 closed fixed Create demo add dataset page "Discussion:
https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/posts/62234769/comments
Implementation:
http://s031.okserver.org:2375/dataset/new
http://s031.okserver.org:2375/dataset/new_resource" 1338210835000000 1343924125000000
2451 enhancement johnmartin aron.carroll demo phase 5 assigned Create demo user list page "Discussion:
https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/posts/62268474/comments
Implementation:
http://s031.okserver.org:2375/user" 1338211213000000 1352658902000000
2452 enhancement aron.carroll aron.carroll demo phase 5 closed fixed Create demo user profile page "Discussion:
https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/posts/62268474/comments
Implementation:
http://s031.okserver.org:2375/user/aron" 1338211295000000 1343924143000000
2453 enhancement aron.carroll aron.carroll demo phase 5 closed fixed Create demo edit user profile page "Discussion:
https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/posts/62268474/comments
Implementation:
http://s031.okserver.org:2375/user/edit" 1338211351000000 1343924178000000
2454 enhancement toby aron.carroll demo phase 5 closed fixed Create demo login page "Discussion:
https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/posts/62935295/comments
Implementation:
http://s031.okserver.org:2375/en/user/login" 1338211420000000 1343317795000000
2493 enhancement aron.carroll toby demo phase 5 accepted Demo site 404 needs some love "templates/error_document_template.html
I've converted the 404 page to the new style but we probably want to serve this as a 'full page' ie content is 100% page width not sidebar and primary content
just go to a non-existant url to see
Discusion:
https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/posts/63374042/
Implementation:
http://s031.okserver.org:2375/404" 1338986081000000 1343135815000000
2526 enhancement aron.carroll aron.carroll demo phase 5 closed fixed Demo theme new custom form fields should be created when needed "Implementation:
http://s031.okserver.org:2375/dataset/new_metadata" 1339680105000000 1343924205000000
2555 enhancement toby aron.carroll demo phase 5 new Demo site needs a breadcrumb helper Something to make building breadcrumbs a bit nicer 1340026983000000 1342618384000000
2562 enhancement johnmartin aron.carroll demo phase 5 closed invalid Demo theme tag improvements "Tags should be implemented in two sections.
* Custom predefined tags using vocabularies
* Provide suggestions, auto completion then fallback to free text" 1340035714000000 1352206599000000
2583 enhancement toby toby demo phase 5 new make sure that we implement authentication where needed in development many auth checks may have been lost we need to check they are still working etc 1340359478000000 1342086274000000
2616 enhancement johnmartin aron.carroll demo phase 5 closed invalid Improve display of split stages in demo Currently stages of the same colour blur together, these could do with a nice divider. 1340875108000000 1352206282000000
2631 enhancement johnmartin aron.carroll demo phase 5 closed fixed Style activity stream in user profile 1341826342000000 1352205778000000
2641 enhancement johnmartin amercader demo phase 5 assigned Adapt spatial widgets to new theme Dataset extent map and spatial filter need to adapted to the new theme, as they are not showing up now 1341846147000000 1352658854000000
2644 enhancement shevski toby demo phase 5 assigned user dashboard for demo theme "we now have a user dashboard that needs theming not sure if we need sam to look at it
http://localhost:5000/user/dashboard" 1341910821000000 1344255836000000
2647 enhancement aron.carroll toby demo phase 5 closed fixed api bullshit button make it as a snippet calling thing like aron would love 1341920530000000 1343229185000000
2658 enhancement johnmartin aron.carroll demo phase 5 closed invalid On Demo change 'Groups' to 'Publishers' everywhere Can we do this as a localisation? 1342008495000000 1352205894000000
2669 enhancement aron.carroll toby demo phase 5 closed fixed style [Draft] "I've added [Draft] to partial completed datasets in the package list and read commit 6a8e74d0
templates/snippets/package_list.html
templates/package/read.html
do you want to style them in some way?" 1342174110000000 1343907572000000
2674 defect kindly shevski demo phase 5 assigned Data preview not loading on s031 "Not loading for all resources as far as I can tell; e.g. http://s031.okserver.org:2375/dataset/afghanistan-election-data/resource/f6331f99-51f6-44d9-95b9-b20f3b74f360
Fine on demo.ckan.org" 1342435102000000 1344349324000000
2676 enhancement johnmartin shevski demo phase 5 closed fixed no way to browse through related items on dataset page "Need to add JS (presumably?) to the related app box on dataset page: http://s031.okserver.org:2375/dataset/gold-prices to allow user to scroll through when multiple related items exist
" 1342435678000000 1352205920000000
2697 enhancement johnmartin shevski demo phase 5 assigned create dataset validation Includes: missing fields, existing field checks (i.e. whether a name/dataset already exists with that name) during input (i.e. no need to submit form to check) 1342620035000000 1346235925000000
2699 enhancement shevski shevski demo phase 5 assigned workflow for associating datasets with groups "needs review & speccing out
e.g. datasets created by a user who belongs to a certain publisher (group) get auto added to this group" 1342620176000000 1344507133000000
2702 enhancement shevski shevski demo phase 5 assigned Future Javascript wishlist for demo "tooltip on popular datasets with number of views
facets to update automatically
creating a dataset without reloading page between steps
hover on licences information
autocomplete on search terms
group filtering
social share buttons in lightboxes
dataset counts on homepage" 1342620475000000 1344255984000000
2704 enhancement johnmartin shevski demo phase 5 closed fixed add list of resources to edit dataset page sidebar when editing a dataset (e.g. here: http://s031.okserver.org:2375/en/dataset/edit/afghanistan-election-data) add sidebar list of resources for user to click & browse through taking you to the relevant resource edit pages 1342620986000000 1352205939000000
2705 enhancement johnmartin shevski demo phase 5 closed fixed add link to edit dataset page from edit review page "e.g. on http://s031.okserver.org:2375/en/dataset/afghanistan-election-data/resource_edit/f6331f99-51f6-44d9-95b9-b20f3b74f360
& ensure consistant with sidebar of edit dataset page" 1342621122000000 1352205954000000
2711 enhancement johnmartin toby demo phase 5 closed fixed bin/less dies for toby it would be nice if this didn't fall over when the dir is removed maybe a linux only issue? 1342631508000000 1352205968000000
2714 defect johnmartin shevski demo phase 5 closed fixed XLS preview not working "see http://demo.ckan.org/dataset/vif-2012-population-totals/resource/e7b8401a-c410-4902-9e5a-6dbd78834873
what XLS previews do we support?" 1342706454000000 1352206138000000
2725 enhancement toby shevski demo phase 5 new Case sensitivity on tags "My feeling is that 'country-US' and 'country-us' should be the same tag. However currently tags with caps are treated differently
see http://s031.okserver.org:2375/en/dataset/test-dataset
with TEST and test - there also get indexed twice in the search page" 1342949667000000 1343030773000000
2726 enhancement toby shevski demo phase 5 new confusing logic on data preview formats "1. If a user enters the wrong format on a file that can be previewed - it simply won't be previewed (e.g. a CSV or XML file that can be filled in with JSON in format will just not work or check this
2. If I incorrectly edit format to one that data preview will try to preview it will work even for a format that it doesn't accept (sometimes) e.g. this PDF file I changed the metadata to HTML http://s031.okserver.org:2375/en/dataset/test-dataset/resource/9d27a9d9-36ec-460e-9edb-6dff7ba4fc28" 1342949927000000 1343030906000000
2735 enhancement toby shevski demo phase 5 assigned Dataset order on user page "I think the datasets on user pages http://s031.okserver.org:2375/user/me
should be ordered by latest updated (with most recent at the top) instead of in alphabetical order.
What do you think?" 1343062877000000 1344349245000000
2742 enhancement johnmartin toby demo phase 5 closed fixed admin authz styling "http://localhost:5000/ckan-admin/authz
you need to be an admin
paster sysadmin add -c dev.ini
like #2741 we need other admin links
you may want to make the inputs use your form macros - I've just done a basic port
also we will need to get all the tables done but looks like we need to get auth groups working for that" 1343124423000000 1352206081000000
2748 enhancement shevski demo phase 5 new add 'add new resource' button to sidebar "When editing a resource you see the current and any other existing resources in sidebar
(e.g. see http://s031.okserver.org:2375/en/dataset/format-error-test/resource_edit/d1eac556-c16f-44af-8148-5e3467b57cf8?inner_span=True)
Would be good to have a pretty 'add new' slightly transparent resource folder/pointer undearneath - letting you add resources from the end resource page" 1343212878000000 1344503744000000
2749 enhancement aron.carroll toby demo phase 5 closed fixed page title issue with super() super() "title broken for
http://s031.okserver.org:2375/en/dataset/new_resource/gold-prices
we have inherited the title from the extended page not from the base
should be 'add data - ckan' not 'add data - create dataset - ckan'
any idea how we fix this?" 1343215828000000 1343232304000000
2751 enhancement toby toby demo phase 5 new check translations for full demo site need to check everything gets translated - sean did this before so will have info 1343216443000000 1344243046000000
2768 enhancement toby shevski demo phase 5 new normalise excel to xls so that data proxy works 1343319382000000 1344351663000000
2785 enhancement johnmartin aron.carroll demo phase 5 assigned Allow resources to be re-ordered "Not sure where this functionality should be added, possibly in one of the sidebar widgets when editing a resource?
Ira, what are your thoughts?" 1343816523000000 1346235916000000
2786 enhancement shevski demo phase 5 new target blank HTML downloads e.g. if I click on download here: http://s031.okserver.org:2375/dataset/example-dataset/resource/d8797e51-b497-46ca-a274-8675533d110b can it take me to a new tab instead of navigating away from ckan? 1343819814000000 1343819814000000
2787 enhancement toby aron.carroll demo phase 5 closed fixed Ensure templates_legacy directory is loaded for extensions Currently the stats plugin has a template and templates_legacy directory. We need to ensure that the templates in templates_legacy are loaded. 1343827782000000 1344543473000000
2795 enhancement toby demo phase 5 new Check validation of HTML, CSS, JS Ensure that we are being standards compliant 1343903128000000 1343903128000000
2800 enhancement aron.carroll shevski demo phase 5 closed worksforme tooltip on popular datasets with number of views be good to do this in phase 3 1344243925000000 1344544461000000
2813 enhancement toby markw demo phase 5 new Confusing sidebar on demo dataset page "On a dataset page on demo.ckan.org, the left sidebar is confusing.
* It starts with some random links. Actually they are links to groups which the dataset is in, but this isn't clear.
* The sidebar elements that are actually part of the dataset are 'Datset extent' and 'License', so these should be right at the top (if they belong in the sidebar at all), instead of which they are right at the bottom in the junk part of the page (i.e. probably lower than the bottom of the main page, and hence lower than anyone will scroll)." 1344420206000000 1344445419000000
2817 defect danieljohnlewis demo phase 5 closed worksforme Item Type Reverts on Invalid URL "Problem: When creating a related item, if you put in a invalid URL it loses the choice of Item Type (e.g. Visualisation, Application) and reverts to the first time (API).
Expected: It remembers which one was chosen" 1344504076000000 1344544901000000
2819 defect danieljohnlewis demo phase 5 closed worksforme Related Item Summary of Descriptions Markdown Issue "Problem: When creating a related item it mentions that you can use markdown in the description, however markdown doesn't render in apps page nor in related items page.
Expected: Make shortened descriptions (on apps page & related items page) render markdown
" 1344504321000000 1344545479000000
2820 defect danieljohnlewis demo phase 5 new English Language: Visualization -> Visualisation "Problem: In the English version (which has a UK flag, indicating British English), the word ""Visualization"" is used. For an example see the ""Filter by type"" drop down on the /apps page.
Expected: This should be ""Visualisation"" in British English. Any instances of ""Visualize"" should be changed to ""Visualise"" too.
" 1344504455000000 1344504455000000
2821 enhancement danieljohnlewis demo phase 5 new Featured Items on Filter "Problem: On /apps page in the Filter Results box there is a ""Only show featured items"" checkbox, on selection it comes up with 0 solutions.
Expected: Presumably an admin can create ""featured items"" so that they can be randomly selected on front page (is this correct)? If there are no ""featured items"" in the whole database can this check box be hidden?
Bug is: no UI or obvious way to create featured items. Also the
checkbox looks un-styled" 1344504504000000 1344505492000000
2823 enhancement toby toby demo phase 5 new resource additional info title order "Order the items so that none user fields are first from ticket #2707
" 1344504773000000 1344504773000000
2825 defect danieljohnlewis demo phase 5 closed fixed Loss of URL encoding on language change on apps page "Problem: On /apps page if you start in one language, filter the data, and then change languages it loses the correct format for the HTTP Get Parameters (and therefore loses the filters). Example, start in English language, change filter settings to to Application and Newest, change language to German.
Expected: Retain correct format for HTTP Get Parameters so that the filter settings are retained. Solution will involve not turning ""="" into ""%3D"" in the URL, i.e. turn off URL encoding." 1344505317000000 1344547172000000
2833 enhancement aron.carroll demo phase 5 new Load module templates before calling .initialize() "I think this would be a nice feature for remote loading templates if the options.template value ends in "".html"".
{{{
ckan.module('my-module', {
options: {
template: 'my-template.html'
},
initialize: function () {
this.template // This is the loaded template.
}
});
}}}" 1344531939000000 1344531939000000
2835 enhancement aron.carroll demo phase 5 new Client module needs a template loading method "{{{
Client#getTemplate(name, params, success, error);
}}}
Where params, success and error are optional arguments. test/index.html already has an implementation called loadFixture()." 1344532233000000 1344532233000000
2854 enhancement shevski demo phase 5 new no way to see which dataset an app is related to on /apps page e.g. from http://s031.okserver.org:2375/apps?page=1 you cannot edit a related item as an admin or view what dataset the item is related to 1345048728000000 1345048728000000
2898 defect johnmartin demo phase 5 new Looses data entered on step 1 of create dataset after login "To reproduce:
1. Enter details for new dataset without being logged in
2. Hit login page for just before step 2
3. Once logged in you end up back at the empty add dataset form (instead of expected 2nd step of dataset edit)" 1346332094000000 1346332120000000
2899 enhancement johnmartin demo phase 5 new Step 2 > Save & add another bug "Goto:
1. Add dataset
2. Get to step 2
3. Click ""Save & add another"" without adding any data
4. Ends on step 3
Should: fail to validate and remain on step 2" 1346332519000000 1346332519000000
2901 enhancement johnmartin demo phase 5 new Language Dropdown bug in footer with IE7 "The language dropdown in Internet Explorer 7 behaves oddly. Essentially I think the problem is with the way that the dropdown decides to go into ""drop-up mode"" (e.g there aint enough screen space below the initial state so it has to drop up)." 1346754674000000 1346754674000000
2903 enhancement johnmartin johnmartin demo phase 5 closed wontfix Two search boxes "I think the architecture on the search page is a bit odd. Not sure I like that there is a doubling up of the search box (e.g. one in the header and one in the body of the search results page)
Needs some thought" 1346853712000000 1352206813000000
2904 enhancement johnmartin demo phase 5 new Show more formats/groups/tags shouldn't display if there aren't more On the search results page when there are no more formats, groups or tags to display it should not display the show more links. 1346854444000000 1346854444000000
2905 enhancement johnmartin demo phase 5 new Add dataset URL key behaviour "On step 1 for adding a dataset can we add a ajax ping that checks if the URL that is generated by the JS is taken? Behaviour should be as follows:
1. User types title in box (as current)
2. URL key is regexed by JS (as current)
3. The JS does a ajax call to check if the generated URL key is valid. The ajax callback returns a JSON dump which contains what the URL key should be (e.g. if 'test' was taken it returns 'test-1')
4. If the URL key returned in the ajax is different than the one generated by the JS then:
4a. If the user hasn't clicked the edit button then: it automatically updates the URL key field with the URL key supplied in the ajax
4b. If the user has clicked the edit button then: a form error next to the input appears saying that the URL key is taken and within that error is suggests the URL key returned by the ajax as alternative (the user can click said URL key within the error to automatically choose that one)
The URL key isn't reserved by the ajax and upon form submission the usual validation should still apply." 1346855283000000 1346855283000000
2906 defect dominik demo phase 5 new Wrong flags in language dropdown "The flags in the dropdown on details pages are not right.
You can see the error on http://s031.okserver.org:2375/dataset/malawi-aid-projects/resource/b717c20e-2006-4ad4-82d2-59b57ebc1ab0." 1346861144000000 1346862889000000
2907 enhancement johnmartin johnmartin demo phase 5 closed fixed Demo header The user login / avatar with in the header really should be within another topbar, as it goes against convention to have the user information within the normal header. 1346930925000000 1352206307000000
2908 enhancement johnmartin demo phase 5 new Dataset related with image should retain aspect ratio At the moment if you have an related item with an image associated to a dataset that appears in the side column it's resized but doesn't keep it's original aspect ratio. 1346931162000000 1346931162000000
2909 enhancement johnmartin demo phase 5 new User profile headers are a bit weird They seem to be not exactly well thought out. Needs some thought on better display of the information that they contain. 1346931348000000 1346931348000000
2910 enhancement johnmartin demo phase 5 new User listings are not very compelling They are currently are just a small image / name. They should be: Larger image, Full name (username), description, edits/dataset 1346931587000000 1346931587000000
2446 enhancement johnmartin aron.carroll demo phase 4 assigned Create demo dataset history/comparison page "This is a low priority for the demo site.
Discussion:
https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/posts/62414120/comments
Implementation:
http://s031.okserver.org:2375/dataset/history/adur_district_spending" 1338210738000000 1352658819000000
2457 enhancement johnmartin aron.carroll demo phase 4 assigned Create demo tags list page "This includes the tag page as well for now.
Discussion:
https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/posts/62998445/comments
Implementation:
http://s031.okserver.org:2375/en/tag" 1338211735000000 1352658878000000
2461 enhancement toby aron.carroll demo phase 4 assigned Create demo revisions page "I believe this is to be merged in with site activity.
Discussion:
https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/posts
Implementation:
http://s031.okserver.org:2375/en/revision" 1338212055000000 1344543838000000
2578 defect toby toby demo phase 4 closed fixed demo theme breaks the tests "The demo branch fails huge numbers of tests.
many are going to be template based - these need to be sorted - ideally we need to get them to work with legacy/new templates but see how we go on that one
anyhow this is not a priority whilst we are branched but needs resolving before we merge into master" 1340276924000000 1347901892000000
2599 enhancement johnmartin aron.carroll demo phase 4 closed fixed Test in IE can we promote this to phase 3? 1340717662000000 1346756230000000
2618 enhancement toby toby demo phase 4 closed fixed allow nested js resources 1340878063000000 1347901864000000
2698 enhancement toby shevski demo phase 4 assigned markdown preview for description / other fields with markdown support 1342620085000000 1344543252000000
2718 enhancement toby shevski demo phase 4 new can't add dataset to more than one group "trying to add a dataset to another group means it's no longer part of the first group
http://demo.ckan.org/dataset/edit/afterfibre" 1342780550000000 1344544203000000
2721 defect toby shevski demo phase 4 new deleted groups should not show on 'Add to Groups' dropdown "Groups previously deleted still show up in the add dataset process in step 3 'Additional info'
http://s031.okserver.org:2375/dataset/new_metadata/ff" 1342948632000000 1344544214000000
2728 defect toby shevski demo phase 4 new deleted group shows on search index - for admins 'test-group', which has been deleted,shows up on main search page under groups - and can be filtered by - see http://s031.okserver.org:2375/dataset?groups=test-group 1342950784000000 1345023944000000
2741 enhancement johnmartin toby demo phase 4 closed fixed admin index styling "http://localhost:5000/ckan-admin
you need to be an admin
paster sysadmin add -c dev.ini
we need to get links to other admin pages etc - I think this will want to be flexible so extensions can add extra links etc - but that can come later" 1343124308000000 1352205988000000
2766 enhancement seanh shevski demo phase 4 assigned prevent draft datasets making it to activity stream "The new ckan creates datasets as part of a 3 phase process. To allow for this partially created datasets can have a state that is 'draft' or 'draft-complete'. These datasets should not be seen as active by the activity stream.
If we click 'add dataset' and then complete the first phase of adding a dataset then we end up having a activity stream created. When we add a resource in the next phase (add data) again an activity stream item xxx added resource to dataset is created
We do not want these adding. Essentially if a dataset has a state.startswith('draft') then we want the activity stream to ignore all actions involving it.
finally when the state is changed form state.startswith('draft') to state=='active' we want a xxx has created dataset ... to be added to the stream.
The best way to do this would be to branch from 2375-demo-theme-stable and get it to work there.
Let me know if you need any help with this ticket or a better explanation of the problem." 1343318795000000 1344543193000000
2775 enhancement toby aron.carroll demo phase 4 new Add bin/less to paster serve command "Ideally the ./bin/less command would be run when the server is started.
* Also it would be good to have a paster command to build the production CSS with {{{ ./bin/less --production }}
* The command could also detect missing node binaries and redirect to the documentation." 1343685686000000 1344543962000000
2780 enhancement toby shevski demo phase 4 new way for admins to undelete datasets "Since admins can see deleted datasets - there should be a way for them
a) to know they are currently deleted & not viewable by normal users - ticket: #2779
b) way to undelete such datasets - this ticket
I suggest a button on the edit form instead of the delete button
i.e. remove normal delete button with 'deleted dataset, only admins can view' with undelete button next to the message?" 1343737248000000 1345023811000000
2790 enhancement kindly toby demo phase 4 new logic.action.user_show is slow "This is a very slow call it would benefit from the sort of speed-ups that package-search received
for me locally this is taking 6 seconds for rufus using the datahub data I have. I think a lot of this is the dataset retrival/dictization
can we just grab json blobs from solr?
also is it possible to specify a sort order/paging?
I've put this as a demo-theme ticket as it is an big issue on the demo we are at 25 second page loads - which i can get down to about 8.8 secs so this is the main pain point now" 1343852483000000 1345023734000000
2798 enhancement toby toby demo phase 4 closed fixed Admin Config reset "this want to
a) be a link on the left of the form like deletes
b) needs a confirm like delete
c) wants to work with the autoform" 1344012605000000 1345540010000000
2806 enhancement johnmartin shevski demo phase 4 closed fixed way to read full group description "e.g. currently no way to read full description for the 'data explorer examples' group here:http://s031.okserver.org:2375/group/data-explorer
Can we add a 'read more' link that expands and contracts the sidebar box or similar?" 1344254292000000 1352206005000000
2818 defect seanh danieljohnlewis demo phase 4 assigned Improve related item schema "Problem: When creating a related item (e.g. a Visualisation), if you don't put in a URL it succeeds, but on the related items and apps pages it renders it as a link to the same page.
Expected: Always require a URL and it should only submit
if one is added" 1344504176000000 1346231718000000
2822 enhancement toby toby demo phase 4 new Resource additional info titles format/i18n "the title for additional info should be translated
capitalised etc" 1344504620000000 1344543985000000
2824 defect danieljohnlewis demo phase 4 closed fixed Multiple of the same Flag Issues "There is some bizarre language flag issues.
1) Log in to http://s031.okserver.org:2375/ (I'm logged in as danieljohnlewis)
2) Visit the apps page: http://s031.okserver.org:2375/apps
3) Have a look at the languages drop down, flags look fine (although Deutsche does have an EU flag rather than the German flag.. but that's irrelevant)
4) Change filters to, say, type: Application and sort: Newest, and apply. Web address becomes: http://s031.okserver.org:2375/apps?page=1&type=application&sort=created_desc
5) Look at the languages drop down: Flags are largely incorrect, with more than one country having the same flag.
Please see the attached screenshot.
Note: this was originally tested with Google Chrome on Linux (Ubuntu)." 1344505215000000 1344532640000000
2827 defect danieljohnlewis demo phase 4 closed fixed View Item - RSS Feed Issues "Problem: Server Error (HTTP Code 500) when trying to see information related to an RSS feed... example: http://s031.okserver.org:2375/en/dataset/testerisation/resource/974df29e-77bb-4b5e-982c-cb7a295c1923
Expected: A page that looks a bit more like this: http://s031.okserver.org:2375/dataset/epims-lod2/resource/97531bd8-e75c-4efa-bfa2-bb51d0ba90d0" 1344505590000000 1344549139000000
2828 enhancement toby shevski demo phase 4 new Draft datasets are confusing - tickets need creating "reported as editing datasets incorrect
e.g. clicking on edit here http://s031.okserver.org:2375/dataset/ff
takes you to create dataset page http://s031.okserver.org:2375/dataset/edit/ff
but this is the correct behaviour of a draft dataset
We need to show draft datasets correctly
proper tickets need making for the different issues after review of issues with them - who can see, where, admins and viewing, orgs too etc" 1344506178000000 1344547324000000
2830 enhancement toby toby demo phase 4 new Need method to undelete groups need controller action and front-end method 1344509408000000 1344547341000000
2832 enhancement shevski demo phase 4 closed duplicate can't add a dataset to more than one group "add to groups is a drop down menu where you can only choose one
needs a new UI & logic allowing user to add new groups & potentially remove from other lists" 1344521472000000 1344542984000000
2834 enhancement aron.carroll demo phase 4 new Defer all publish calls until all modules have been initialised "Currently if a module uses sandbox.publish() in its initilaize() function then any modules initialised afterwards will miss the event.
We should queue all calls to .publish() in the pubsub module in an array until all modules have loaded then iterate over and execute them." 1344532093000000 1344856692000000
2849 defect toby shevski demo phase 4 closed fixed header tagline misalighned "should be left alighned, not right aligned. Otherwise tag line disappears left off the page.
See: header here: http://s031.okserver.org:2375/ckan-admin/config" 1344938638000000 1344947130000000
2850 enhancement aron.carroll demo phase 4 new Add JSON support for IE7 "The JavaScript just isn't going to work without it. Look into either the newer JSON3:
http://bestiejs.github.com/json3/
or the old faithful:
https://github.com/douglascrockford/JSON-js/" 1344940692000000 1344940692000000
2857 defect toby shevski demo phase 4 new no UI to follow another user although option on dashboard "e.g. second option in left hand sidebar is follow another user' http://s031.okserver.org:2375/user/dashboard but if you click on that and then any user, there's no follow button
to me the dashboard user stuff is highly unfinished and probably should not be included unless someone is very keen for it" 1345049983000000 1345107097000000
2861 enhancement toby shevski demo phase 4 new Add qa breadcrumb can we add in the breadcrumb navigation to qa pages so that you can go back to http://s031.okserver.org:2375/qa from sub pages such as http://s031.okserver.org:2375/qa/dataset/five_stars 1345114046000000 1345483270000000
2862 enhancement toby markw demo phase 4 new Revised revised groups description "Revised text for 'What are groups?' box at demo.ckan.org/group (after discussion with IB re #2812):
What are groups?
Groups allow you to group users and data together so that they are easier to manage. Group owners can assign roles and authorisations, giving each project or department control of its own data publishing.
Users can browse or facet by groups, which could be an organisation (for example, the Department of Health) or topic (e.g. Transport, Health), making it easier to find the data they are looking for." 1345114322000000 1345115072000000
2863 defect toby shevski demo phase 4 new non-admin users can edit other's draft datasets edit button shows up for daniel lewis for http://s031.okserver.org:2375/dataset/ff 1345114479000000 1345201502000000
2864 defect toby shevski demo phase 4 closed fixed don't show `create one now` message on other's user pages e.g. I can see 'You haven't created any datasets. Create one now?. ' http://s031.okserver.org:2375/user/kindly when logged in as shevski 1345114552000000 1345471138000000
2869 defect shevski demo phase 4 new user profile not linked on disqus until page refresh "Reported by Daniel:
Problem: DISQUS comments don't appear with profile details (inc. username).
How to reproduce:
1) Go to a dataset, e.g. I went to http://s031.okserver.org:2375/dataset/ff
2) I logged into DISQUS using the Google Authentication, e.g. in my case that is okfn.daniel.lewis@gmail.com
3) I made a comment and submitted
4) It comes up with the comment, but no linked profile until the page gets refreshed" 1345114714000000 1345114714000000
2873 defect toby danieljohnlewis demo phase 4 assigned ckanext-qa: dataset summary incorrect "
For example see: http://s031.okserver.org:2375/qa/dataset/five_stars
Which has: Example dataset as a score of: 4 After examination of the dataset ( http://s031.okserver.org:2375/dataset/example-dataset ) it is made up of a CSV and an HTML file.
" 1345126429000000 1345208283000000
2875 enhancement toby demo phase 4 closed fixed Fanstatic css issues "Fanstatic does not support
@import ...
relative imports for images etc
need to get a fix for these asap
" 1345208199000000 1345214469000000
2876 enhancement toby toby demo phase 4 closed fixed Admin Config changes are not forced need to make sure these update everywhere when done 1345208451000000 1345470265000000
2302 enhancement toby ross demo phase 3 closed fixed Simple theming "Needs re-testing after the ODS re-theme.
====
Simple image upload, text changes and css updates for a single instance. All done on a single configuration/admin page
See http://ckan.okfnpad.org/simple-themes for user stories
[x] Initial version will only take an image_url rather than allowing an upload.
[x] New page with form for title, tagline, image loader etc.
[x] Allow the user to paste in values for the CSS, do we really want a colour swatch?
[x] Generate local CSS override which should *somehow* override colors in the original CSS.
[x] Allow user to provide text for an about page.
" 1334582628000000 1344012491000000
2408 enhancement aron.carroll markw demo phase 3 closed fixed Only 4 'extras' can be added at a time The settings > extras page for a dataset allows extra fields to be added, but only four can be added a time in a single atomic update. It would be helpful to have an 'add another' button on the form that can be used any number of times. 1337683639000000 1343657014000000
2458 enhancement aron.carroll aron.carroll demo phase 3 closed fixed Create demo statistics page "Discussion:
https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/posts/62998513/comments
Implementation:
http://s031.okserver.org:2375/en/stats" 1338211906000000 1344262256000000
2614 enhancement aron.carroll toby demo phase 3 closed fixed improve the documentation around less/node "needs to move to a better home
better ubuntu install instructions plus test they work
`apt-get install nodejs`
integrate with paster" 1340815928000000 1343685572000000
2642 enhancement shevski amercader demo phase 3 closed fixed Adapt harvest frontend to new theme 1341846196000000 1345113645000000
2652 enhancement toby toby demo phase 3 closed fixed get qa working with the demo 1341937315000000 1345106904000000
2680 enhancement shevski shevski demo phase 3 closed fixed review group deletion "Super admins & owners/creators of groups need a way to delete them
Is the auth model in place for all this stuff? May be worth sitting down and going through how this should work
Currently can change state from active to deleted - this is not ery user friendly (want a button with a 2 step process maybe?) & I'd like to know who can view this option? Everyone who can edit a group? Who can edit?" 1342436525000000 1344509493000000
2700 enhancement aron.carroll shevski demo phase 3 closed fixed language box lang box improvements: styling, images, submit upon selection 1342620223000000 1344505614000000
2701 enhancement toby shevski demo phase 3 closed fixed add comments to datasets disqus?? 1342620406000000 1343949913000000
2707 enhancement toby shevski demo phase 3 closed fixed Tidy up additional info boxes on dataset and resource pages "This currently looks terrible. Some simple things we should do to improve this.
* Localise and captitalise known (non custom) keys into human titles. eg. ""size"", ""created_at"", ""mime_type"".
* Apply units to values of known keys where possible eg. ""size in appropiate units""
* Convert dates into a more human friendly format. We can avoid localisation hell by using an ISO format like YYYY/MM/DD hh:mm:ss which is still better than ISO8061
* Move the non user fields to the top of the table.
" 1342621471000000 1344504846000000
2710 enhancement tobes toby demo phase 3 closed fixed make the api_info.html not look like shit you know the score 1342624385000000 1343318314000000
2713 enhancement aron.carroll toby demo phase 3 closed fixed button colour not set properly in variables.css "to reproduce run
paster color fuchsia -c development.ini
then go to http://localhost:5000/dataset/new
Add button is blue gradient at the top this should be overridden in variables.less
when added send this ticket to me and i'll update the color command to change it" 1342706428000000 1343656865000000
2717 enhancement shevski toby demo phase 3 closed fixed French breaks the demo header "when language is french
a) the menu overlaps the logo
b) much of the logo becomes unclickable
@shevski
a) seems like you b) is aron" 1342780487000000 1344359846000000
2722 defect aron.carroll shevski demo phase 3 closed fixed Ordering or search of datasets of a group brings up 'no results' "1. go to a group, e.g. http://s031.okserver.org:2375/group/data-explorer
2. Order by anything, e.g. choose 'popular' and click go
3. ""sorry no datasets found"" message appears instead of ordering the group datasets in wanted order
http://s031.okserver.org:2375/group/data-explorer?q=&sort=views_recent+desc" 1342948854000000 1344510010000000
2724 enhancement toby shevski demo phase 3 closed fixed Inconsistent labelling / UX on draft datasets "1. One of the datasets here: http://s031.okserver.org:2375/en/user/shevski has [DRAFT] after it. It's not clear why this has been added -> user confusion
2. The draft dataset is not clickable in the dataset list
3. The ff dataset (same as the ff [DRAFT] dataset) in the Activity Steam section a) is clickable and b) does not have [DRAFT] after it" 1342949402000000 1343319009000000
2739 enhancement aron.carroll shevski demo phase 3 closed fixed Help text for format field "Can we please add some text next to the format field when user adding a new resource along the lines of:
""This will be generated automatically, but you can edit if you wish""
It always seems to work better when the user does not fill it themselves..." 1343123175000000 1343817919000000
2750 enhancement toby toby demo phase 3 closed fixed javascript translations need ripping "we need to ensure that translations in .js files are ripper for translation
look at what is available as preference to creating our own" 1343216246000000 1343415279000000
2755 enhancement toby shevski demo phase 3 closed fixed user pages very slow to load navigating to a user page -one's own or http://s031.okserver.org:2375/en/user/ira or http://s031.okserver.org:2375/en/user/shevski, even when signed out is noticeably slower than navigating between other parts of the site; over 2 seconds. Maybe even 3 1343225395000000 1344505304000000
2759 enhancement aron.carroll toby demo phase 3 closed fixed resource upload pointer incorrect "On the add resource forms new or existing dataset
when hovering over `Upload a file` css cursor should be pointer not text" 1343289469000000 1343651082000000
2760 enhancement aron.carroll shevski demo phase 3 closed fixed fix spacing between data API button and other buttons on dataset page "see spacing between 'download' button and 'data api' button
http://s031.okserver.org:2375/dataset/afterfibre/resource/66f5b980-06db-4ccd-a005-c18de4d68a4b" 1343297360000000 1343319140000000
2765 enhancement aron.carroll aron.carroll demo phase 3 closed fixed Demo login error messages "I'd suggest we add a generic ""failed to login, invalid fields"" in the error_summary block. Then more specific ""this field is required"" when a required field is left empty.
So in general, provide an error dict" 1343317842000000 1343817858000000
2767 enhancement aron.carroll aron.carroll demo phase 3 closed fixed Upgrade macro form.select to use tuples instead of dicts This keeps the intended order. 1343319298000000 1343645517000000
2769 enhancement toby shevski demo phase 3 closed fixed add site wide related page "Can we add the related dashboard (http://trac.ckan.org/ticket/2347) to demo - central place to show off all the related stuff added.
" 1343323567000000 1343734083000000
2774 enhancement toby aron.carroll demo phase 3 closed fixed Provide a method of passing localised strings into the JavaScript "We need to be able to do the following:
* Rip the localised strings from the JavaScript source code. These are strings that look like {{{_('String')}}}, {{{translate('String') }}} and {{{ isPlural('String') }}}.
* An endpoint that provides the translations in the correct locale for the user.
* The endpoint should provide the locale as JSON (possibly using http://jsgettext.berlios.de/doc/html/po2json.html or similar tool)
The JavaScript can then read this file on page load." 1343661072000000 1344351626000000
2776 enhancement aron.carroll shevski demo phase 3 closed fixed add styled text field for header title "to use on demos instead of the ckan logo & tag line.
Design here: https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/posts/63387712/comments#190457381
(First, text only one at the bottom)" 1343724603000000 1343824375000000
2778 enhancement aron.carroll toby demo phase 3 closed fixed apps dashboard needs some design love "apps dashboard available at http://localhost:5000/apps in main dev branch
I have got this to work in the demo however
a) it is a bit ugly
b) the template could do with some sorting eg the dropdowns should be being created in a nicer way " 1343734040000000 1343841130000000
2779 enhancement aron.carroll shevski demo phase 3 closed fixed add 'deleted' to deleted datasets that admins can view "Currently, as a logged in admin, you can view deleted datasets just as if they are live datasets. Nothing distinguishes them apart from normal datasets other than they don't show up on the dataset page
This is potentially very confusing
Can we add some kind of banner / label to deleted datasets to show they have been deleted?
& Do you guys need Sam to design this?
Related ticket for undeleting datasets - http://trac.ckan.org/ticket/2780" 1343737077000000 1343903455000000
2781 enhancement aron.carroll shevski demo phase 3 closed fixed add way to edit homepage text to simple theming "demo.ckan.org has a small field for adding text on homepage
current text:
""Welcome to the CKAN demo
Try out standard CKAN functionality in a sandbox environment. Search for datasets directly from the homepage or by navigating to the Datasets search page where you can facet by tags, groups and format.""
Want to make this editable for demos" 1343738523000000 1344510922000000
2782 enhancement toby shevski demo phase 3 closed wontfix integrate with leaflet for demo background generation use http://leaflet.cloudmade.com/ properly to generate map backgrounds for demo instances 1343748857000000 1343811113000000
2789 enhancement aron.carroll toby demo phase 3 closed fixed logo fixups "With the text logo I'd like the tag line to be under the site name so some css like
`float:left;clear:left;font-size:13px;line-height:0.1;`
Also the site name can be larger if no tagline
commit daac54dbd856 I've added a new global g.header_css that sets the hgroup class to
'header-image'
'header-text-logo'
'header-text-logo-tagline'
I think maybe we should also have 'header-image-css' for the equivalent of the class=""logo"" in the link to allow/stop the image replacement
" 1343835141000000 1343835904000000
2791 enhancement aron.carroll toby demo phase 3 closed fixed Logo fix "@aron
We should be able to have longish tag lines that look ok currently they wrap and stop the logo text being clickable
Can we have `white-space:nowrap;` for the tagline so long ones don't wrap and maybe look at aligning long ones
" 1343895034000000 1343906891000000
2792 enhancement aron.carroll toby demo phase 3 closed fixed dropdown fixes - open correctly "http://s031.okserver.org:2375/ language dropdown expands downwards it should open upwards
select2 can do this see http://ivaynberg.github.com/select2/#documentation can you see if we can get this in ckan demo
" 1343895296000000 1343901501000000
2793 enhancement toby ross demo phase 3 closed fixed Markdown of resource page not rendered as markdown "As per #2650 (on master/1.8 now)
If the resource has a description it isn't rendered as markdown ..
" 1343896663000000 1343897811000000
2794 enhancement aron.carroll toby demo phase 3 closed fixed top buttons missing on edit resource "http://s031.okserver.org:2375/dataset/resource-markdown/resource_edit/ba1b094d-697c-47c4-a72a-6c2557da5409
should have `back to resource` as a minimum" 1343897926000000 1343903064000000
2797 enhancement aron.carroll toby demo phase 3 closed fixed plain_textarea styling "http://localhost:5000/ckan-admin/config uses a plain (non markup) textarea for custom css
I've added form macro plain_textarea to provide one, however it renders without a bottom border due to markup textarea styling can you fix this - thanks" 1344000422000000 1344250973000000
2799 enhancement toby aron.carroll demo phase 3 closed fixed Translations for demo not picking up {% trans %} blocks "Also they seem to be missing the odd {{{ _() }}} block. Such in the new package form.
https://github.com/okfn/ckan/blob/2375-demo-theme-development/ckan/templates/package/snippets/package_form.html#L44
" 1344243005000000 1344249253000000
2801 defect aron.carroll shevski demo phase 3 closed fixed no way to see full description of a related item "e.g. see here: http://s031.okserver.org:2375/apps
same with related page on a dataset" 1344245809000000 1344531016000000
2802 enhancement aron.carroll aron.carroll demo phase 3 closed fixed Need to tweak the JSON formatting of the localisations "This is what we need the JSON to look like. Taken from the Jed documentation (http://slexaxton.github.com/Jed/).
{{{
{
// The empty string key is used as the configuration
// block for each domain
"""" : {
// Domain name
""domain"" : ""the_domain"",
// Language code
""lang"" : ""en"",
// Plural form function for language
""plural_forms"" : ""nplurals=2; plural=(n != 1);""
},
// Other keys in a domain contain arrays as values
// that map to the translations for that key.
// Gettext suggests that you use english as your keys
// in case the key isn't found, and it can just pass
// the value directly through.
// Note: by convention, the 0-index location of the translations
// is never accessed. It's just a thing, I guess.
""a key"" : [ null, ""the translation"", ""the plural translations"", ... ],
// The plural form string is converted into a function
// and the value that's passed into the gettext call
// is passed into the plural form function. It's result
// (plus 1) is the index that the translation comes from.
// We're using sprintf interpolation on our keys so we can
// then sub in the _actual_ values into the result.
""%d key"" : [ null, ""%d key"", ""%d keys"" ],
// Contexts are keys that are just prefixed with a context string
// with a unicode \u0004 as the delimiter.
// You can use it for anything. Usually it's just for being content aware
// in some way (e.g. male vs. female, product vs. category)
""context\u0004%d key"": [ null, ""context %d key"", ""context %d keys"" ]
}
}}}
This looks like an appropriate python library to do the formatting. http://pypi.python.org/pypi/pojson/ but I'll leave to your discretion.
Finally an API endpoint that returns the appropriate request would save us making requests to the i18n directory.
{{{
/api/i18n/{locale}
}}}
For example if the current url is http://localhost:5000/pl/dataset then the client would request:
{{{
http://localhost:5000/api/i18n/pl
}}}
This should return the Content-Type: application/json and a 200 with an appropriate JSON body (this can be the language requested or an appropriate fallback). I think that if the fallback is the default language (in most cases English) then we just return a 204 No Content to save data. " 1344248847000000 1344269446000000
2803 enhancement aron.carroll aron.carroll demo phase 3 closed fixed Convert all JS translations to use keywords 1344251817000000 1344256274000000
2804 enhancement aron.carroll shevski demo phase 3 closed fixed please make download button blue "on resource pages (e.g. http://s031.okserver.org:2375/dataset/afghanistan-election-data/resource/f6331f99-51f6-44d9-95b9-b20f3b74f360), same as old ckan
for continuity and to highlight!" 1344252255000000 1344269865000000
2807 enhancement aron.carroll toby demo phase 3 closed fixed autocomplete.js error "@aron,
edit dataset has a js error
http://localhost:5000/dataset/edit/1-kmwaterfractionfromnationaltopographicdatabasemapscanada
TypeError: options is undefined
[Break On This Error]
this.lookup(options.term, options.callback);
autocomplete.js (line 231)" 1344266228000000 1344270190000000
2808 enhancement aron.carroll toby demo phase 3 closed fixed Confirm delete dialog badly placed on small screen "If you make your browser window short - say half screen height on a page with delete eg http://localhost:5000/dataset/edit/1-kmwaterfractionfromnationaltopographicdatabasemapscanada
the dialog box is partially off the screen - it should try to stay on screen" 1344333474000000 1345023693000000
2809 enhancement aron.carroll toby demo phase 3 closed fixed _ not defined for modules "eg on confirm delete
http://localhost:5000/zh_TW/dataset/edit/1-kmwaterfractionfromnationaltopographicdatabasemapscanada
_(....) gives [object Object] not translation" 1344335863000000 1344347814000000
2812 enhancement toby markw demo phase 3 closed invalid Groups description needs improving "The 'What are Groups?' text at is a
bit naff. Here is a suggested replacement:
What are groups?
Groups allow you to group users and data together so that they are
easier to manage. For example datasets in a group could be visible
only to group members, or publicly visible but only editable by group
members.
Groups can be used to collect together datasets from a single
publisher, or related to a particular project, for example.
" 1344419953000000 1344524290000000
2826 defect toby danieljohnlewis demo phase 3 closed fixed Null group image "Problem: Example group ( http://s031.okserver.org:2375/en/group/example-group ) has a broken image, image not found. Link either incorrect, or no image set, if no image set then shouldn't it show a default image?
Expected: There should be an image." 1344505546000000 1344528004000000
2836 enhancement toby toby demo phase 3 closed fixed Need extra info for forms "like we have on the form here
http://s031.okserver.org:2375/harvest/new
you said it partly exists so maybe I just need some training" 1344605931000000 1345023663000000
2837 enhancement aron.carroll toby demo phase 3 closed fixed checkbox styling Is this done I know checkboxes are a pain but it looks a bit out of place compared to the other items. 1344605993000000 1344851271000000
2840 enhancement aron.carroll toby demo phase 3 closed fixed tag line styling "@aron
Is it possible to get the tagline text to float the other way
at the moment we have
...........Title
Tag line to here
I'd like
...........Title
...........Tag line to here
is this possible or too much pain
based partly on this comment
Markw wrote
A minor problem visible on the home page
and other pages, when viewing in both
Chrome and Firefox:
if the browser width is not very wide, the tag line 'Open source data
portal' vanishes off the *left* hand side of the screen. For some
reason the browser doesn't even recognise this with a horizontal
scroll bar (as it does when stuff is off the *right* hand side) - it
just chops off the text." 1344851307000000 1344852538000000
2841 enhancement aron.carroll amercader demo phase 3 closed fixed Slug generation fails on demo dev "On the add dataset form, slug generation fails with JS error:
{{{
Uncaught TypeError: Object [object Object] has no method 'incompleteFormWarning' basic-form.js:5
}}}
" 1344855653000000 1344857415000000
2847 defect toby shevski demo phase 3 closed fixed 'show inactive sources' checkbox displaying incorrectly "On harvest page: http://s031.okserver.org:2375/harvest the checkbox appears above the text and not clear what it refers to/
Beter to relocate to the left (as on publicdata.eu) see screenshots attached.
" 1344864322000000 1345023769000000
2848 defect toby shevski demo phase 3 closed fixed no dataset descriptions on front page http://s031.okserver.org:2375/ 1344938505000000 1344947085000000
2852 enhancement toby shevski demo phase 3 closed fixed better message for trying to refresh inactive sources in harvest "Currently if you try to refresh (i.e. schedule the harvester to re-run) an inactive source (one who's state is 'withdrawn' - e.g. http://s031.okserver.org:2375/harvest/3feea629-32d8-4431-9957-9f31d32864f1)
you get the error message: ""An error occurred: [Can not create jobs on inactive sources]""
This could be better and not red, e.g. and info box (maybe yellow) saying that ""Cannot re-run harvesting on inactive sources. Please first change the status to 'active'""" 1345048317000000 1345106515000000
2853 enhancement toby shevski demo phase 3 closed fixed unclear error message in refreshing harvest source "Tried to refresh the datagm harvest source to get error message:
""An error occurred: [There already is an unrun job for this source]""
This is unclear and not sure why it created an error. We should have something informative such as ""A harvest has already been scheduled for this source""
Do we have a date/time for when this has been scheduled that we can display?" 1345048482000000 1345104231000000
2855 defect shevski shevski demo phase 3 closed fixed language box no longer functional e.g. tried changing the lang here: http://s031.okserver.org:2375/ to no effect. Doesn't work on any other pages either. Flags have also dissappeared 1345049152000000 1345104178000000
2856 defect toby shevski demo phase 3 closed fixed server error when clicking on deleted app link "1. go to http://s031.okserver.org:2375/user/okfn
2. Click on activity stream
3. Click on 'Deletion test' related item that's linked to in entries 1 & 2
4. Server error" 1345049684000000 1345107503000000
2858 enhancement toby toby demo phase 3 closed fixed Harvester tweaks "I've had a look at the new harvesting theme, it looks great, thanks. I
did some minor changes and reworded the errors as per tickets #2852
and #2853, but I kept the messages red, as the only other ones
available (""flash_notice"") are blue and are not very prominent.
Toby, on the old form there was a list of descriptions for all
available harvesters which could be nice to have back. I couldn't find
an easy way with the new form macro, so I don't know how easy would be
to implement
http://i.imgur.com/pzS8z.png" 1345103198000000 1345105842000000
2860 enhancement toby shevski demo phase 3 closed fixed target blank link in qa report can we get the link going to an explanation of the 5 star system on page http://s031.okserver.org:2375/qa/dataset/five_stars to open in new tab? it's leaving demo all together so better to open in new tab than navigate away 1345113826000000 1345120404000000
2871 defect shevski demo phase 3 closed fixed user profile about text does not show up "tested with my http://s031.okserver.org:2375/user/shevski and daniel's account. I have added about text and yet see '
Irina Bolychevsky
You have not provided a biography.'
The about text is saved (and viewable on the edit form itself) but does not show on profile
" 1345114953000000 1345121991000000
2225 enhancement aron.carroll rgrp demo phase 2 closed fixed Run jshint on our javascript and clean up as needed 1331407316000000 1343220502000000
2553 enhancement toby toby demo phase 2 closed fixed Create a get snippet api action "just passes template name
?template_name=..." 1340020613000000 1342090078000000
2559 enhancement toby aron.carroll demo phase 2 closed fixed Demo theme add resource has missing functionality " * Show resources in the sidebar
* Allow people to go backward and forward
* Have a back button on each form
* Lose resource type
* Add extras as optional metadata
* Remove save
* Add back/Previous
* Add Another" 1340035336000000 1342084940000000
2560 enhancement toby aron.carroll demo phase 2 closed fixed Demo theme add metadata is missing functionality " * Hide remove button when adding new field
* Finish takes you to the newly created dataset" 1340035384000000 1342084988000000
2569 enhancement toby shevski demo phase 2 closed fixed add other resources to sidebar of resource pages Allow user to navigate directly from one resource page to another via resource box in sidebar 1340039608000000 1342085235000000
2581 enhancement toby toby demo phase 2 closed fixed allow state = 'draft' pass some stuff through the context 1340287298000000 1342074635000000
2589 enhancement toby toby demo phase 2 closed fixed users can view draft datasets need to add some logic for this 1340373194000000 1342172694000000
2595 enhancement toby aron.carroll demo phase 2 closed fixed Demo add dataset needs to remember which stages have been visited "For example.
1. Start on stage one
2. Add dataset click next
3. Click previous
Expect Stage 1 to be ""active"", stage two to be ""complete""
1. Start on stage one
2. Add dataset click next
3. Click next
4. Click previous
Expect Stage 2 to be ""active"", stage one and three to be ""complete""
1. Start on stage one
2. Add dataset click next
3. Click next
4. Click previous
5. Click previous
Expect Stage 1 to be ""active"", stage two and three to be ""complete""" 1340642246000000 1342086346000000
2612 enhancement shevski shevski demo phase 2 closed fixed Hide options based on auth For example, hide the 'edit' button on user profiles http://s031.okserver.org:2375/user/ross2#activity unless I'm logged in as Ross 1340812165000000 1342714613000000
2613 enhancement aron.carroll shevski demo phase 2 closed wontfix Javascript functionality " 1. file uploads on dataset creation
2. create dataset validation
3. create dataset slugs
4. Add dataset to group process: pop-up allowing you to quickly search for a pick a dataset to add to group. Must check you have necc auth over dataset to be added
validation of user name
5. Language box
6. toggling activity stream
7. Search sorting
8. autocomplete on tags
9. add and remove custom fields on forms
10. the rest:
tooltip on popular datasets with number of views
facets to update automatically
creating a dataset without reloading page between steps
hover on licences information
autocomplete on search terms
group filtering
add comment to datasets
social share buttons in lightboxes
dataset counts on homepage?" 1340814271000000 1342620543000000
2617 enhancement aron.carroll aron.carroll demo phase 2 closed fixed Move data preview into demo 1340875192000000 1342088744000000
2620 enhancement toby aron.carroll demo phase 2 closed fixed Pass a related item into the dataset tempate "See the related sidebar box
http://s031.okserver.org:2375/dataset/adur_district_spending
If a package has related items the first (or a random) related item should be passed into the snippet." 1340897809000000 1342074737000000
2633 enhancement toby toby demo phase 2 closed fixed for dev always look for templates so we find newly created templates 1341828058000000 1341830278000000
2636 enhancement aron.carroll aron.carroll demo phase 2 closed duplicate Style activity stream in user profile 1341835166000000 1342090614000000
2637 enhancement aron.carroll aron.carroll demo phase 2 closed fixed Submit search form when user changes sort order 1341835218000000 1342617226000000
2640 enhancement amercader amercader demo phase 2 closed fixed Update recline on the demo site Depends on #2639 1341845911000000 1342112730000000
2643 enhancement aron.carroll aron.carroll demo phase 2 closed fixed Demo homepage redesign "Discussion:
https://okfn.basecamphq.com/projects/9558659-demo-ckan-front-end/posts/61696765/comments" 1341848685000000 1342617247000000
2646 enhancement toby toby demo phase 2 closed fixed delete dataset make it so 1341920466000000 1342014170000000
2648 enhancement shevski aron.carroll demo phase 2 closed fixed Add file upload to the demo site 1341921081000000 1342714659000000
2653 enhancement toby aron.carroll demo phase 2 closed fixed Requesting file upload authentication fails on demo "Try: http://localhost:5000/api/storage/auth/form/photo-of-a-duck
Gets:
{{{
File '', line 2 in auth_form
File '/Users/Aron/.virtualenvs/ckan/src/ckan/ckan/lib/jsonp.py', line 26 in jsonpify
data = func(*args, **kwargs)
File '/Users/Aron/.virtualenvs/ckan/src/ckan/ckan/controllers/storage.py', line 407 in auth_form
authorize(method, bucket, label, c.userobj, self.ofs)
File '/Users/Aron/.virtualenvs/ckan/src/ckan/ckan/controllers/storage.py', line 200 in ofs
StorageAPIController._ofs_impl = get_ofs()
File '/Users/Aron/.virtualenvs/ckan/src/ckan/ckan/controllers/storage.py', line 71 in get_ofs
storage_backend = config['ofs.impl']
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/paste/registry.py', line 146 in __getitem__
return self._current_obj()[key]
KeyError: 'ofs.impl'
}}}" 1341938467000000 1342005167000000
2657 enhancement toby shevski demo phase 2 closed fixed hide history button on group pages until retheme History button in top right of http://demo.ckan.org/group/data-explorer goes to http://demo.ckan.org/group/history/data-explorer and needs hiding 1342007213000000 1342008765000000
2659 defect aron.carroll shevski demo phase 2 closed fixed HTML preview window in demo too small "See http://demo.ckan.org/dataset/example-dataset/resource/d8797e51-b497-46ca-a274-8675533d110b
David previously fixed this on some version of demo, seems to have regressed. Just want the window to be longer" 1342010723000000 1342089310000000
2660 defect shevski shevski demo phase 2 closed fixed server error when updating dataset "same as yesterday: http://demo.ckan.org/dataset/edit/newcastle-city-council-payments-over-500
clicking update/save returns error" 1342010970000000 1342090301000000
2661 enhancement aron.carroll toby demo phase 2 closed fixed delete dataset/group javascript confirm "in 2375-demo-theme-development
templates/package/confirm_delete.html needs to be made to look nice note some writing in black
delete button needs nice home on dataset/edit
you can add js support add ?confirm=yes to url on dataset button to force delete
Please note delete is not yet implemented - but will be in the next few hours" 1342012395000000 1342716070000000
2662 defect toby shevski demo phase 2 closed fixed adding colons in tags results in server error on demo "changing a tag from ""country-uk"" to ""country:uk"" and updating gives server error
otherwise updating metadata / adding tags seem fine
either we should allow colons or form should return a message indicating what characters are allowed" 1342017594000000 1342018898000000
2664 enhancement toby toby demo phase 2 closed fixed tags with : cause crazy error message on add dataset in demo 1342018503000000 1342632478000000
2665 enhancement aron.carroll toby demo phase 2 closed fixed add dataset stages need to be form buttonable "the stages snippet needs to be inside