summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-30 15:37:47 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-30 15:37:47 -0500
commit2047c68d718b847a07a117dae48d72b3bb611e36 (patch)
tree73f4c8048f028e572492fa9201b7c0614f2e2451
parenta88770a26951e0fdbf00c18a2e25bf4e2dd60154 (diff)
add laconica methods to unauthed ones
darcs-hash:20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz
-rw-r--r--_darcs/inventory4
-rw-r--r--_darcs/patches/20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gzbin0 -> 182 bytes
-rw-r--r--_darcs/pristine/actions/api.php5
-rw-r--r--_darcs/tentative_pristine10
-rw-r--r--actions/api.php5
5 files changed, 17 insertions, 7 deletions
diff --git a/_darcs/inventory b/_darcs/inventory
index edac816cf..172053797 100644
--- a/_darcs/inventory
+++ b/_darcs/inventory
@@ -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
index 000000000..2cc757c0a
--- /dev/null
+++ b/_darcs/patches/20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz
Binary files differ
diff --git a/_darcs/pristine/actions/api.php b/_darcs/pristine/actions/api.php
index dfdefe3b0..7a0759831 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 cb9385eb9..ce01d3b5b 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 dfdefe3b0..7a0759831 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',