]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add laconica methods to unauthed ones
authorEvan Prodromou <evan@prodromou.name>
Tue, 30 Dec 2008 20:37:47 +0000 (15:37 -0500)
committerEvan Prodromou <evan@prodromou.name>
Tue, 30 Dec 2008 20:37:47 +0000 (15:37 -0500)
darcs-hash:20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz

_darcs/inventory
_darcs/patches/20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz [new file with mode: 0644]
_darcs/pristine/actions/api.php
_darcs/tentative_pristine
actions/api.php

index edac816cf54541d519a11962eacda0140bae80dc..172053797d0fea99afd64a65bbe5baf5ebac0cd3 100644 (file)
@@ -100,4 +100,6 @@ Evan Prodromou <evan@prodromou.name>**20081223195722]
 [Laconica-specific extensions for Twitter API
 Evan Prodromou <evan@prodromou.name>**20081230202019] 
 [add laconica-specific methods to htaccess.sample
-Evan Prodromou <evan@prodromou.name>**20081230202513] 
\ No newline at end of file
+Evan Prodromou <evan@prodromou.name>**20081230202513] 
+[add laconica methods to unauthed ones
+Evan Prodromou <evan@prodromou.name>**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 (file)
index 0000000..2cc757c
Binary files /dev/null and b/_darcs/patches/20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz differ
index dfdefe3b097c571b2a5fb31cb42a43d15fcbb967..7a075983158354e53bc2bcc329961954ff639945 100644 (file)
@@ -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',
index cb9385eb9ebb5b8e6c54bf72b7ff866af8dd8528..ce01d3b5be56d8d8a3cb46c9a5447ad247a4e2dc 100644 (file)
@@ -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');
index dfdefe3b097c571b2a5fb31cb42a43d15fcbb967..7a075983158354e53bc2bcc329961954ff639945 100644 (file)
@@ -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',