On Wed, Oct 26, 2011 at 11:37 PM, Nolan Darilek <no...@thewordnerd.info>wrote:
> like to see: hooks, and the ability to query the internal database and > output the results into a page. > The JSON API provides a "query" command[1] which allows you to run arbitrary queries and get the results as JSON, but it requires admin access (because it allows one to do anything with the db). "Delayed hooks" could be added on top of the JSON API. e.g. poll a repo, checking for new commits, and send an email when the timeline reveals new info. The topic of "real" hooks has come up many times, and the main reason it hasn't been added so far is platform portability. (Sorry, i don't mean to start another dead-horse-beating thread.) > Anyhow, I mention the "year" bit because I'm sensitive to not wanting to > bloat Fossil, and to establish that I don't have ten other feature requests > waiting in the wings. The new JSON support is awesome, but I also hope that > we see some way to make the current HTML interface a bit more dynamic, if > only a little. > Once the JSON API is more or less feature-complete, one logical next step would be to "touch up" some of the features in the "static" interface, e.g. drilling down in the timeline or file/dir list could potentially be done more easily (==more user friendly) in an XHR-based interface. But compatibility with a wide range of clients is important, and i doubt (but cannot rule out) that the "default" HTML interface will undergo any such radical changes. [1] = stephan@tiny ~/cvs/fossil/fossil-json $ f json query 'select uid, login from user' -f a -indent 0 {"fossil":"23a35ba1cccad37844f23867319668dafe6430b4", "timestamp":1319665780, "command":"query", "procTimeMs":12, "payload":{"columns":["uid", "login"], "rows":[[1, "stephan"], [2, "anonymous"], [3, "nobody"], [4, "json-demo"]]}} -- ----- stephan beal http://wanderinghorse.net/home/stephan/
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users