From 2047c68d718b847a07a117dae48d72b3bb611e36 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 30 Dec 2008 15:37:47 -0500 Subject: [PATCH] add laconica methods to unauthed ones darcs-hash:20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz --- _darcs/inventory | 4 +++- ...de-dbdb783c8883097af0f69b4c06c2425c54964773.gz | Bin 0 -> 182 bytes _darcs/pristine/actions/api.php | 5 ++++- _darcs/tentative_pristine | 10 ++++++---- actions/api.php | 5 ++++- 5 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 _darcs/patches/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 0000000000000000000000000000000000000000..2cc757c0a814b3d91da4c4192b6e1ff6b8924853 GIT binary patch literal 182 zcmV;n07?HJiwFP!000001D%jD3&JoIg!lf6w~1BTv=u5S;^OWuB9G>2f=ym%lJ@Ug zht67WId1si?ye{$wAirK4T7PdSb7Ky(P9jWB(No)oO`rz=~#AbIKqL(d~#FHEE+nd zX(`06C@WEls@~Q&P|?01%drWXt;`Y+R)uMW0%;{V!2ON k|FY{J(CLf3r_PVH=Ru=A^m86Fplm<0-jy5kkBb2S08AxWCIA2c literal 0 HcmV?d00001 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', -- 2.39.5