forked from GNUsocial/gnu-social
add laconica methods to unauthed ones
darcs-hash:20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz
This commit is contained in:
parent
a88770a269
commit
2047c68d71
@ -101,3 +101,5 @@ Evan Prodromou <evan@prodromou.name>**20081223195722]
|
||||
Evan Prodromou <evan@prodromou.name>**20081230202019]
|
||||
[add laconica-specific methods to htaccess.sample
|
||||
Evan Prodromou <evan@prodromou.name>**20081230202513]
|
||||
[add laconica methods to unauthed ones
|
||||
Evan Prodromou <evan@prodromou.name>**20081230203747]
|
Binary file not shown.
@ -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',
|
||||
|
@ -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');
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user