From: Evan Prodromou Date: Tue, 30 Dec 2008 20:37:47 +0000 (-0500) Subject: add laconica methods to unauthed ones X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2047c68d718b847a07a117dae48d72b3bb611e36;p=quix0rs-gnu-social.git add laconica methods to unauthed ones darcs-hash:20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz --- diff --git a/_darcs/inventory b/_darcs/inventory index edac816cf5..172053797d 100644 --- a/_darcs/inventory +++ b/_darcs/inventory @@ -100,4 +100,6 @@ Evan Prodromou **20081223195722] [Laconica-specific extensions for Twitter API Evan Prodromou **20081230202019] [add laconica-specific methods to htaccess.sample -Evan Prodromou **20081230202513] \ No newline at end of file +Evan Prodromou **20081230202513] +[add laconica methods to unauthed ones +Evan Prodromou **20081230203747] \ No newline at end of file diff --git a/_darcs/patches/20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz b/_darcs/patches/20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz new file mode 100644 index 0000000000..2cc757c0a8 Binary files /dev/null and b/_darcs/patches/20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz differ diff --git a/_darcs/pristine/actions/api.php b/_darcs/pristine/actions/api.php index dfdefe3b09..7a07598315 100644 --- a/_darcs/pristine/actions/api.php +++ b/_darcs/pristine/actions/api.php @@ -117,7 +117,10 @@ class ApiAction extends Action 'statuses/show', 'users/show', 'help/test', - 'help/downtime_schedule'); + 'help/downtime_schedule', + 'laconica/version', + 'laconica/config', + 'laconica/wadl'); static $bareauth = array('statuses/user_timeline', 'statuses/friends', diff --git a/_darcs/tentative_pristine b/_darcs/tentative_pristine index cb9385eb9e..ce01d3b5be 100644 --- a/_darcs/tentative_pristine +++ b/_darcs/tentative_pristine @@ -1,4 +1,6 @@ -hunk ./htaccess.sample 146 -+RewriteRule ^api/laconica/version(.*)$ index.php?action=api&apiaction=laconica&method=version$1 [L,QSA] -+RewriteRule ^api/laconica/config(.*)$ index.php?action=api&apiaction=laconica&method=config$1 [L,QSA] -+RewriteRule ^api/laconica/wadl\.xml$ index.php?action=api&apiaction=laconica&method=wadl.xml [L,QSA] +hunk ./actions/api.php 120 +- 'help/downtime_schedule'); ++ 'help/downtime_schedule', ++ 'laconica/version', ++ 'laconica/config', ++ 'laconica/wadl'); diff --git a/actions/api.php b/actions/api.php index dfdefe3b09..7a07598315 100644 --- a/actions/api.php +++ b/actions/api.php @@ -117,7 +117,10 @@ class ApiAction extends Action 'statuses/show', 'users/show', 'help/test', - 'help/downtime_schedule'); + 'help/downtime_schedule', + 'laconica/version', + 'laconica/config', + 'laconica/wadl'); static $bareauth = array('statuses/user_timeline', 'statuses/friends',