Custom Query (2152 matches)
Results (1246 - 1248 of 2152)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#936 | fixed | Follow / watch package extension | johnglover | rgrp |
Description |
As a (logged-in) User I want to watch (follow) a package, that is register my interest about a package. (Similar to watch/follow features in github/bitbucket/wikis). NB: this is as much (if not more) about showing what packages are interesting to people as giving info to 'watchers'. Need to finalize terminology (github uses watch for repos and follow for users while bitbucket combines both in 'followers'). Decision: use follow ImplementationInterfaceBecome a follower:
Package-related changes:
a package User-related changes:
Nitty-Gritty
API/api/2/follower follow => PUT / POST { user_id object_type object_id } If this is submitted by a user with user.id != user_id => error (401) unfollow => DELETE /api/2/follower/package/{id} => list of followers [ { safe dictized user } ] NB: depends on access to a 'safe' dictized user object. Dictization is in nearly done, and current example of doing this by hand is in user API autocomplete method. TableCalled 'follower' user_id, table, object_id, created xxx, package, yyy, ... xxx, user, yyy, ... [future]
Random Extras
|
|||
#935 | fixed | "groups" field bug in IATI | pudo | pudo |
Description |
An internal server error was reported when trying to create a new package (not when editing):
The error could not be reproduced in a non-apache/mod_wsgi environment, even with a dump of the live database. Further investigation by manual editing of the package form left the "groups" field as the likely cause. After updating the packages installed, and temporarily editing the package controller the problem vanished after a restart of the web server. Possible causes include:
As the problem is gone for now, it cannot be further investigated atm. |
|||
#934 | invalid | Key value store for extensions to store data | kindly | |
Description |
We need to allow plugins to store information. Each plug-in should have its own name space and allow any data to be set. There are two options.
If in sql suggest schema of form:
|