Commit Graph

520 Commits

Author SHA1 Message Date
Mike Cochrane
58ae93a621 Don't highlight search terms inside url
darcs-hash:20080720033401-533db-05bf2c9ebe988ebda6a295447a958af66571a088.gz
2008-07-19 23:34:01 -04:00
Mike Cochrane
a1515e5411 Some more notice errors - I guess I'm the only one developing with E_ALL
darcs-hash:20080720033236-533db-95f6a169f73e69549a8ff0eefb0e4c8ba21f090e.gz
2008-07-19 23:32:36 -04:00
Mike Cochrane
08dfd72bad A couple more notice errors
darcs-hash:20080720025546-533db-7044949bfaa6676c86f3e1d84d20ecb85aab0937.gz
2008-07-19 22:55:46 -04:00
Evan Prodromou
2d47b3ad64 correct handling of bareauth
darcs-hash:20080719171605-84dde-4b23eb6896d9bb6e57ce65de374acaf1703b7463.gz
2008-07-19 13:16:05 -04:00
Evan Prodromou
dfbc427e04 bare auth for friends, too
darcs-hash:20080719171023-84dde-4d562898d10a2342db271640951fcf0ba552cc01.gz
2008-07-19 13:10:23 -04:00
Evan Prodromou
0c271c9d17 try again with user_timeline auth
darcs-hash:20080719155526-84dde-5157cd11d2f96128321b46cb2bea8ff27ce4478f.gz
2008-07-19 11:55:26 -04:00
Evan Prodromou
a218bec982 add basic auth for user_timeline
darcs-hash:20080719154753-84dde-9b0da984d03ed4010abddbc77858d86986c075b0.gz
2008-07-19 11:47:53 -04:00
zach
cebbff432a Twitter-compatible API - added missing double quotes to WWW-Authenticate header
darcs-hash:20080718185053-ca946-457b1ce5261abeb067bbbaba43b707ad4751aeef.gz
2008-07-18 14:50:53 -04:00
Evan Prodromou
7853df51ce quote match terms
darcs-hash:20080718183534-84dde-a8cdb4cbcb3eb67152eb74179e3b00061e2287cf.gz
2008-07-18 14:35:34 -04:00
Evan Prodromou
44dccacb1c pages and limits
darcs-hash:20080718052557-84dde-65d7411377b866a66474584e90dc08ea3eb432b0.gz
2008-07-18 01:25:57 -04:00
Evan Prodromou
0567dc4a1c forgot ending element for users
darcs-hash:20080718051404-84dde-fc6a1b93f8e1f4faf6dd15d79372709f6493776e.gz
2008-07-18 01:14:04 -04:00
Evan Prodromou
1c9e4f5f83 add api data
darcs-hash:20080718051318-84dde-6776fb3ce4bb69b7abc377532857cd916ac56a29.gz
2008-07-18 01:13:18 -04:00
Evan Prodromou
3ffc9ac41d handle some more cases
darcs-hash:20080718050845-84dde-ab587c6b35c0366f8bd8f4dc27fe868bc69703be.gz
2008-07-18 01:08:45 -04:00
Evan Prodromou
ad6849b18c change fetch to find in api
darcs-hash:20080718045204-84dde-1fb4fe473c9dd64867920ec8e5a1b0c15661e9e6.gz
2008-07-18 00:52:04 -04:00
Evan Prodromou
4d74fea66b add create stamp to subscription in api
darcs-hash:20080718045150-84dde-8fda088ea35c20d23ae86a9c61189545754403b2.gz
2008-07-18 00:51:50 -04:00
Evan Prodromou
fe77b3445c exit on error
darcs-hash:20080718044905-84dde-2d447d7ec4e6d6a56075c8238f357ecb48fd295c.gz
2008-07-18 00:49:05 -04:00
Evan Prodromou
71dfc0d983 when in doubt, start throwing transactions around
darcs-hash:20080718043735-84dde-8c74ccaf2560716209b8518e77e6a0f357d881af.gz
2008-07-18 00:37:35 -04:00
Evan Prodromou
310d02ae40 init and end documents
darcs-hash:20080718043456-84dde-ffe825e8021e0f803fbbecacdc93d26309853daa.gz
2008-07-18 00:34:56 -04:00
Evan Prodromou
abfe53311f start and end xml
darcs-hash:20080718042511-84dde-577d462b1441a30d1d88cc8e26dde32bde79c9fd.gz
2008-07-18 00:25:11 -04:00
Evan Prodromou
566d9ad20d getting the id from the wrong place
darcs-hash:20080718042352-84dde-6326cd8c68b73ccf801b93314e3f5352ff744544.gz
2008-07-18 00:23:52 -04:00
Evan Prodromou
3614c77d64 null reference error
darcs-hash:20080718042030-84dde-78e056f1e47335556d353cdf2940651f59291efd.gz
2008-07-18 00:20:30 -04:00
Evan Prodromou
12b7f23ed2 beware of shadows
darcs-hash:20080718041633-84dde-4fb8e5738b6594334e42d21c4ed104039da62abb.gz
2008-07-18 00:16:33 -04:00
Evan Prodromou
902bab5818 show friendship stuff
darcs-hash:20080718041323-84dde-2cc93bd2ced792797db634c4c4cd2a72a6ae61be.gz
2008-07-18 00:13:23 -04:00
Evan Prodromou
2ebe1fc61c move mail notification to a utility function
darcs-hash:20080718041231-84dde-5953d417b76ae538fd501db11af9ff4a32bfbc9f.gz
2008-07-18 00:12:31 -04:00
zach
42bbd38417 Twitter-API: /account/verify_credentials.format now works
darcs-hash:20080718040332-ca946-0c8da4f5e98355ccbb1ee929693fa74bff3c2481.gz
2008-07-18 00:03:32 -04:00
zach
6a47e89c94 Twitter-compatible API - first crack at /statuses/followers.format
darcs-hash:20080718025554-ca946-1e4b5aa5570c15f4e71df58c41d16f6ece1e359b.gz
2008-07-17 22:55:54 -04:00
zach
6125785064 Twitter-compatible API: white listed user_timeline and show as per twitter
darcs-hash:20080718023334-ca946-5d158ade124318f7f846d1f8e0f35ccf1a234027.gz
2008-07-17 22:33:34 -04:00
zach
cffe49eca3 Twitter-compatible API: /statuses/user_timeline/argument.format now works
darcs-hash:20080718002131-ca946-d34d4554dadbdfc1cff6648e989a73d4b3b24271.gz
2008-07-17 20:21:31 -04:00
zach
3a942bd8b9 Twitter-compatible API /statuses/replies.format -- changed subtitle to be more like Twitter's
darcs-hash:20080717223521-ca946-cd043e9430956dde56907181896a16133333d905.gz
2008-07-17 18:35:21 -04:00
zach
c1d109dbb5 Twitter-API: /statuses/replies.format now works (mostly)
darcs-hash:20080717222845-ca946-f2644317a144157aaba7a38d4effb216a9c5f650.gz
2008-07-17 18:28:45 -04:00
Evan Prodromou
8ad7dded2c sprintf error
darcs-hash:20080717213214-84dde-9e7226c5b33d704398e250ad37653b30effaa069.gz
2008-07-17 17:32:14 -04:00
Evan Prodromou
83040ee747 support id, user timeline
darcs-hash:20080717211942-84dde-3e8fcffc2c4def3088389ed5c1720919458d6f54.gz
2008-07-17 17:19:42 -04:00
Evan Prodromou
bbc1b747f8 add friend statuses, refactor output functions
darcs-hash:20080717210519-84dde-4a2e4caa23d793e74208dcf5c21221e4166366f2.gz
2008-07-17 17:05:19 -04:00
zach
b5659ed85a Twitter-compatible API - /statuses/show and /statuses/update now work
darcs-hash:20080717054411-ca946-e839882ebec3f6d6a12a3f5ecdc1cc403e8afe51.gz
2008-07-17 01:44:11 -04:00
zach
1f7e5ca8f3 Twitter-compatible API: statuses/show/id.format now works
darcs-hash:20080716230047-ca946-b9ff940ab05b29ed88b209f5ca9b446fbe25eab0.gz
2008-07-16 19:00:47 -04:00
zach
ac2d811a46 Twitter-compatible API - code cleanup
darcs-hash:20080716220223-ca946-e3eed117cded61eb9c2d2805fd07758f883fb85b.gz
2008-07-16 18:02:23 -04:00
zach
fba25b0d98 Twitter-compatible API: public_timeline.atom works
darcs-hash:20080716205218-ca946-98e53e29ed364ea4254ed90303c04b93511877f9.gz
2008-07-16 16:52:18 -04:00
zach
c998c7c601 Twitter-compatible API: public_timeline.rss really works now
darcs-hash:20080716191847-ca946-9a75dd3aa07974408b269b31d1de3e49c5ae2a72.gz
2008-07-16 15:18:47 -04:00
zach
7b2367164e Twitter-compatible API: public_timeline.rss mostly working
darcs-hash:20080716072124-ca946-6714d13d6801eddf84800b884721aac37852993d.gz
2008-07-16 03:21:24 -04:00
zach
8977032e11 Twitter-compatible API: public_timeline.json now works
darcs-hash:20080716060922-ca946-6e973c6fb40ab8c8c930b6dfd916e20f40545471.gz
2008-07-16 02:09:22 -04:00
zach
110ce8c811 Twitter-compatible API: refactor in prep for json, rss, and atom formats
darcs-hash:20080715234131-ca946-8c277e9f5980953b5037af40db38c0546222304d.gz
2008-07-15 19:41:31 -04:00
zach
846a1a4106 Twitter-compatible API: public_timeline.xml more complete
darcs-hash:20080715065850-ca946-6d0e490957830d2f837fd304f70599a636597f9c.gz
2008-07-15 02:58:50 -04:00
zach
3df358a9e9 Prepended 'Twit' to Twitter-compatible API actions (renamed action
files) to make it more clear what the action files are for.

darcs-hash:20080715043121-ca946-bb7acd42271117dbb77d5e16292673a4b8cfad53.gz
2008-07-15 00:31:21 -04:00
zach
efd14edf5c Twitter-compatible API: /statuses/public_timeline.xml sorta works
darcs-hash:20080715031812-ca946-10a94dd3cd96039ad76adc36f0f23d7402768fbe.gz
2008-07-14 23:18:12 -04:00
zach
b3ea8b9a01 First Twitter-compat API call works! /api/help/test.format
darcs-hash:20080714202728-ca946-fed9631e283e00019aad61a87d7c4f51530327d1.gz
2008-07-14 16:27:28 -04:00
zach
0bb522d5f4 All Twitter-compatible API calls answer now
darcs-hash:20080714190300-ca946-80e4dbdd0b5278d03cb00b0922cd69c695a166cb.gz
2008-07-14 15:03:00 -04:00
zach
fdc7bfcc51 Stubs for all Twitter-API methods
darcs-hash:20080714080949-ca946-7372d114c1db9f48aa79f7bd8a5f67042da37ac4.gz
2008-07-14 04:09:49 -04:00
zach
cc55a45f4b Second shot at figuring out action dispatch for Twitter-compatible API
darcs-hash:20080714080741-ca946-1b2f8c026f433e27a30abc104ca2dba11b9b662e.gz
2008-07-14 04:07:41 -04:00
zach
0c90e94864 First volly at a Twitter-compatible API. Just working out the
detials of 1) Basic Auth and 2) dispatch to the right Action class
files to handle the requests.

You can hit it with...

	http://localhost/laconica/api/public_timeline.json

or to try Basic Auth you can try something like:

	http://nickname:password@localhost/laconica/api/statuses/friends_timeline.xml

Although that actual method isn't done yet, so it should authenticate
and then complain.

darcs-hash:20080712081247-ca946-acd3e0e2762c7d9ff0cb3cd7a53cfdfcc5b26660.gz
2008-07-12 04:12:47 -04:00
Evan Prodromou
ca134adeec add rel
darcs-hash:20080717163211-84dde-6fceee14b023a44bd44311528c8a74a9ca3917e8.gz
2008-07-17 12:32:11 -04:00