Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1540 - 1542 of 2152)

Ticket Resolution Summary Owner Reporter
#926 fixed Pick a simpler form framework sebbacon sebbacon

Reported by sebbacon, 3 years ago.

Description

The current formalchemy setup conflates view, controller and model code in a way that makes it hard to debug and customise.

Review existing (and potentially non-existing) frameworks with a view to porting forms over to something more explicit and lightweight.

Implement the current Package forms as an example of how this would work.

Document and circulate.

Sub-ticket of #961 (form, validation, model sync meta-ticket)

#937 fixed Record download stats for resources (extension) sebbacon rgrp

Reported by rgrp, 3 years ago.

Description

As a User (especially as a Package Owner/Maintainer?) I want to know how many times a resource has been downloaded (and when).

So let's record download stats (as in clicks on the link for a resource).

Implementation

Old Spec (do it in CKAN)

  • Record info of form: resource id (or url?), timestamp
  • Do this via javascript capturing of onclick event talking to an api
  • API: /api/resource/{id}/download
    • POST to increment (how do we stop spamming -- could use a nonce setup with a random string set on each page load for the js)
    • GET to get data back { total: X, day_count: [ [yyyy-mm-dd, count], ... ] }

Questions

  • Do we record ip addresses (to handle de-botting etc)?
  • Do we count preview clicks as well?
#971 duplicate Support middleware as a plugin sebbacon sebbacon

Reported by sebbacon, 3 years ago.

Description

I need to completely munge the rendered data coming from the app. There's not currently a plugin hook for this, where I get access to the entire environment. The most generic form of plugin would be WSGI Middleware. I propose adding an IMiddleware plugin hook for inserting abritrary middleware via our plugin system.

Note: See TracQuery for help on using queries.