Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (799 - 801 of 2152)

Ticket Resolution Summary Owner Reporter
#826 fixed Resource 'extra' fields kindly dread

Reported by dread, 3 years ago.

Description

There are a number of extra properties we want to store in a resource:

i.e. this is a much needed enhancement

Need to be able to read/write these values in web interface and API.

(At some point we may wish to have custom form widgets for these new fields in the resource table, but let's leave this for the future.)

Implementation

I suggest these are arbitrary key/value pairs, just like package extras, reusing PackageExtra? code as much as possible. (Other much more radical alternative is to move model to RDF.)

#1385 fixed Resolve postgres permissions issues dread dread

Reported by dread, 3 years ago.

Description

Currently there is a problem because the docs guide us to set the sqlalchemy url to use 'localhost' i.e. loopback, whereas paster commands don't specify '-h localhost' so use unix sockets (you need to do 'sudo -u postgres'). These should be the same.

Also do we need to tell people to add a line to their postgres authentication config /etc/postgresql/8.4/main/pg_hba.conf to help things? Florian suggests:

local   std         std                          md5

/etc/postgresql/8.4/main/pg_hba.conf

#40 fixed Reserved html characters (such as &) in urls mean package does not render for read view rgrp rgrp

Reported by rgrp, 6 years ago.

Description

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 ...

Note: See TracQuery for help on using queries.