Commit Graph

543 Commits

Author SHA1 Message Date
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
Evan Prodromou
70d99a1289 add a description with the bio in it to HTML head
darcs-hash:20080717124719-84dde-192dd0799905c6fde3bf503c08951d4a308e1e12.gz
2008-07-17 08:47:19 -04:00
Evan Prodromou
3658b49f90 no such user in replies.
darcs-hash:20080717124215-84dde-83c2c5ec54a50bb5aa7a5adc23321dadc48083ad.gz
2008-07-17 08:42:15 -04:00
Evan Prodromou
a47ab1ad6a confirm address
darcs-hash:20080715223149-84dde-7159a4db6c0e09c4e616ae45d25ec734a60d36ae.gz
2008-07-15 18:31:49 -04:00
Evan Prodromou
993e2a82fe correct name for common_canonical_email
darcs-hash:20080715222554-84dde-8aed1c8c6d30b4a3645fa2563a9368f8e3859fbf.gz
2008-07-15 18:25:54 -04:00
Evan Prodromou
b592e4ef54 bad class name in emailsettings
darcs-hash:20080715222342-84dde-448f6f06f3a596aac279f88f8f14a47f584139e0.gz
2008-07-15 18:23:42 -04:00
Evan Prodromou
61487d4cd0 move email settings to its own tab
darcs-hash:20080715221826-84dde-8a3692f95199818c11dbb0be159d07f1ab10cf6a.gz
2008-07-15 18:18:26 -04:00
Evan Prodromou
12615c8e36 remove email settings from profile settings ahead of having its own tab
darcs-hash:20080715220144-84dde-9b4c8338b8acf0c1268947cb4a9b8cbdb9751a7f.gz
2008-07-15 18:01:44 -04:00
Evan Prodromou
38b215805e one more linefeed
darcs-hash:20080715215556-84dde-e41b099910bd11698b0148c6bd4f4d98cc883fb3.gz
2008-07-15 17:55:56 -04:00
Evan Prodromou
16c7c6f93c maybe an extra \n will help my formatting
darcs-hash:20080715215407-84dde-6e75d2a138152a2f5dd71fc2813096b4d66ba831.gz
2008-07-15 17:54:07 -04:00
Evan Prodromou
b3cde85bac more formatting for registration success
darcs-hash:20080715214934-84dde-f0a20191b3e833d0660affc944a527e3d06d2f69.gz
2008-07-15 17:49:34 -04:00
Evan Prodromou
098337e896 better formatting in registration results
darcs-hash:20080715214612-84dde-779ae3816488bdc1e0754fd807fde39c293db61e.gz
2008-07-15 17:46:12 -04:00
Evan Prodromou
ba09eb7700 fix checkbox for license
darcs-hash:20080715214249-84dde-ed5f9b38a93e9fcfd5c6772fb1c784696d3a435a.gz
2008-07-15 17:42:49 -04:00
Evan Prodromou
d361bad9e1 more info at registration time, better message when you're finished
darcs-hash:20080715213202-84dde-7a6a8fadfccc76bda12f3de01d17a1d95daf18b8.gz
2008-07-15 17:32:02 -04:00
Evan Prodromou
499afd8c22 replies from people you're not subscribed to over Jabber
darcs-hash:20080715195513-84dde-454419c971015be385d9c4c35f7acbee419031f9.gz
2008-07-15 15:55:13 -04:00
Evan Prodromou
342dec8b86 fixing IM message, AGAIN
darcs-hash:20080714022055-84dde-385e62dcea9c692262556d4e78b52f95212b512a.gz
2008-07-13 22:20:55 -04:00
Evan Prodromou
e3f4165d69 conflict resolution after pulling from mikenz
darcs-hash:20080713215601-84dde-371d54221d9ffbed500e8d3c9e0ad4bb15bd5c30.gz
2008-07-13 17:56:01 -04:00
Mike Cochrane
bdd0091e70 Sort notices by date then id so they are in the correct order when there are multiple in the same second
darcs-hash:20080713065009-533db-69d7f21d152552d7e994a0c7c7615b61a8ea592c.gz
2008-07-13 02:50:09 -04:00
Mike Cochrane
b104da04fb Colapse a lot of strings to make like easier for translators and more consisitant for users
darcs-hash:20080713053748-533db-1cdb0cf3a9e4102eb139b74a7a9d4f97dadb20b8.gz
2008-07-13 01:37:48 -04:00
Mike Cochrane
834c21b2aa Merge some gettext strings to one line so translation tools are happier
darcs-hash:20080713044608-533db-ee16aecee9b6d82b22ce6a25f6a9573c23eee9f8.gz
2008-07-13 00:46:08 -04:00
Mike Cochrane
464e70ac5d Sort notices on the public page where they were posted in the same second
darcs-hash:20080713042238-533db-d55470e31ebaf8cda8c1ccee0cdc1bd5c58bd69a.gz
2008-07-13 00:22:38 -04:00
Mike Cochrane
800c2e9a09 Fixed non openid registration
darcs-hash:20080713024754-533db-af3dbd6186df4ce27caa7c25d0752d3e7afa184a.gz
2008-07-12 22:47:54 -04:00
Evan Prodromou
11df464ec4 little lost hash
darcs-hash:20080713151035-84dde-8561acc3546efa741e2d927ffb3167fd8efeb7e1.gz
2008-07-13 11:10:35 -04:00
Evan Prodromou
6ec4f035bd restore enhanced login instructions, lost in gettext() switchover
darcs-hash:20080713151004-84dde-6818a5392e8d78e6672399dfbc183b571751953a.gz
2008-07-13 11:10:04 -04:00
Evan Prodromou
a55044ac03 twiddle some parens in imsettings for gettext
darcs-hash:20080713130112-84dde-b3727f84de7db3bbe96b9d1003380b89402495de.gz
2008-07-13 09:01:12 -04:00
Evan Prodromou
8c1678c0f1 check type, not value, of counts
darcs-hash:20080713003932-84dde-cb681331aae0d3351bbeb8bed0744933a462c1d5.gz
2008-07-12 20:39:32 -04:00
Evan Prodromou
4a4ab2bdbf format string, again
darcs-hash:20080712205220-84dde-c58df22d58fa4d483a0ca09c3d9c74e4e22eb6a7.gz
2008-07-12 16:52:20 -04:00
Evan Prodromou
96b2ef7dd9 reformat mail again
darcs-hash:20080712204923-84dde-627704bb3a0bb95af3b8fa9ba281a38913e0bbcf.gz
2008-07-12 16:49:23 -04:00
Evan Prodromou
839222dcc8 lost the site name, and moved everything into sprintf of gettext
darcs-hash:20080712202903-84dde-e210b42815db5601579a0a890385762c3a54fe5e.gz
2008-07-12 16:29:03 -04:00
Evan Prodromou
24e865aa72 fixup name sent in subject of confirmation email
darcs-hash:20080712202017-84dde-db9bb7d4db42514215cccf76f12ffae4f853dbdc.gz
2008-07-12 16:20:17 -04:00
Evan Prodromou
fd39937f0b try to show zeroes in statistics
darcs-hash:20080712200909-84dde-c248fe1d44072c40db59eed592166e3f529cfbb0.gz
2008-07-12 16:09:09 -04:00
Mike Cochrane
8ffe49b595 Error I made merging a diff
darcs-hash:20080712123942-533db-21fa41076dd7b57935f49462423f247ccbb01e8f.gz
2008-07-12 08:39:42 -04:00
Mike Cochrane
16f0f6589b Convert more _t s to _
darcs-hash:20080712115300-533db-7426faac9059437c2a06a45ed5c87998f998aada.gz
2008-07-12 07:53:00 -04:00
Mike Cochrane
8b32942658 Trailing whitespace on lines
darcs-hash:20080710051201-533db-2d5fb38710ce1dedcb6e161b08e31611dbaba666.gz
2008-07-10 01:12:01 -04:00
Mike Cochrane
ce2b174c4a More _t( to _( and sprintfs in new code
darcs-hash:20080710051035-533db-4a3d824a50545b8a291a81059dcbb97487a13630.gz
2008-07-10 01:10:35 -04:00
Mike Cochrane
7e38142d4a Resolve conflicts and convert _t( to _( where it was introduced again.
darcs-hash:20080710045126-533db-ffd9bcfe1295b3a376579ed7cd2278d5597b1884.gz
2008-07-10 00:51:26 -04:00
Mike Cochrane
4b656f47df Merge conflicts and kill a whole lot of trailing whitespace on lines.
darcs-hash:20080709224630-533db-b5399baef280133858dac9b89c2cd6a2aba9f861.gz
2008-07-09 18:46:30 -04:00
Mike Cochrane
4d65b99c68 Translate a few more strings.
darcs-hash:20080708100519-533db-b326ea0bb16ea6c8244cfd00a0dd639d0553dd21.gz
2008-07-08 06:05:19 -04:00
Mike Cochrane
0f502b8d86 Remove tralling whitespace on lines and a gettext replacement that I missed.
darcs-hash:20080708095113-533db-ad63bbde67b6275fb7ae944cc9882adf6f3be517.gz
2008-07-08 05:51:13 -04:00
Mike Cochrane
87b494f1eb Convert _t() to _() for gettext.
darcs-hash:20080708094531-533db-83399a46e6ec4c0fcc6249b0235961f969d1ae73.gz
2008-07-08 05:45:31 -04:00
Evan Prodromou
378985a4d6 check for error, not success!
darcs-hash:20080712051738-84dde-70b1dbc5aa034c6aa9151eac5a216701b7860a72.gz
2008-07-12 01:17:38 -04:00
Evan Prodromou
ad410c0c61 better error checking in shownotice
darcs-hash:20080711171345-84dde-790e24f1d31a716cc52857229087469cd84ad65e.gz
2008-07-11 13:13:45 -04:00
Evan Prodromou
69445a6179 get avatar by nickname
This is to support third-party apps that want to build an URL to an
avatar given a user's name.

darcs-hash:20080711060045-84dde-08b0072de764d5b67ce7abe73fa0553f32de4ab3.gz
2008-07-11 02:00:45 -04:00
Evan Prodromou
9b5e6de1f4 bug in userbyid
darcs-hash:20080711042022-84dde-a29b769e1c032cb1b8bf13a2e6c69671169c032f.gz
2008-07-11 00:20:22 -04:00
Evan Prodromou
f6bdb42d35 don't auto-pull OpenID parameters
darcs-hash:20080710151842-84dde-ad2159088ed05830e4feba88880863c84c4728c8.gz
2008-07-10 11:18:42 -04:00
Evan Prodromou
573de867aa lost a closing tag in peoplesearch
darcs-hash:20080710042930-84dde-e8caef45ae3efb095c81f62736d2cf888b2b85ef.gz
2008-07-10 00:29:30 -04:00
Evan Prodromou
ad554f38e1 order search rss items by date desc
darcs-hash:20080710032835-84dde-dc8534409c6ba05fd9390ff965ab9f7aea0a04eb.gz
2008-07-09 23:28:35 -04:00
Evan Prodromou
63d34061a2 add notice search rss ("tracking")
darcs-hash:20080709234228-84dde-f24d277947ab49031a1b6d74184568fe2f50a685.gz
2008-07-09 19:42:28 -04:00
Evan Prodromou
8a6bf9a31a correct class for ul
darcs-hash:20080709232350-84dde-3e33baad97a5f39f601d8fc5b117a37e182f3ef3.gz
2008-07-09 19:23:50 -04:00
Evan Prodromou
abcb014f3d change some parens
darcs-hash:20080709231948-84dde-feb7d677238eaa0b80f263337a1833d9b3ec7d2f.gz
2008-07-09 19:19:48 -04:00
Evan Prodromou
dda9ceef4a missing second argument
darcs-hash:20080709231821-84dde-ecbcbed7e856a92b74c1bd9ba11c4c9be4ecb79f.gz
2008-07-09 19:18:21 -04:00
Evan Prodromou
354ee48eee better highlighting in URL
darcs-hash:20080709231638-84dde-91dd99af8fbeae8b2400543913efedec3938b2aa.gz
2008-07-09 19:16:38 -04:00
Evan Prodromou
161cbe6f5d found missing second term
darcs-hash:20080709231539-84dde-4414d122b3b396d31d393ab2f74b0d51758afbc2.gz
2008-07-09 19:15:39 -04:00
Evan Prodromou
86f02018cd some debug code to find a problem with terms
darcs-hash:20080709231503-84dde-e9a00ec6b5c038c8ea7fab62a61f3d9de2dbe2c8.gz
2008-07-09 19:15:03 -04:00
Evan Prodromou
9d3b7e3d7a require search action lib in search actions
darcs-hash:20080709231217-84dde-2df00042fd1a0c571f232ad0815b191af043c5a0.gz
2008-07-09 19:12:17 -04:00
Evan Prodromou
6eb9e89209 refactor common code between searches and between search and settings
darcs-hash:20080709231031-84dde-929095ca3844ed6fe7ebd535fc9696678a5fcb0f.gz
2008-07-09 19:10:31 -04:00
Evan Prodromou
3c76c89fcc first pass at a notice search
darcs-hash:20080709230017-84dde-28e4d9d9dcc4dfe2c9f9e08e3123fe4e0bd5a8c0.gz
2008-07-09 19:00:17 -04:00
Evan Prodromou
7469d14787 specialchars() text in search results
darcs-hash:20080709225942-84dde-80c201825f566af717456f13d17e7382ce234692.gz
2008-07-09 18:59:42 -04:00
Evan Prodromou
09e1b247f9 highlight homepage in search results
darcs-hash:20080709225929-84dde-ddc83a90cb56f9abdd596561eeebb6ce078e5e5a.gz
2008-07-09 18:59:29 -04:00
Evan Prodromou
ecac2ebf4e better instructions
darcs-hash:20080709223910-84dde-dc2e01e3fddb335b84cbee1e4979eb07b978988f.gz
2008-07-09 18:39:10 -04:00
Evan Prodromou
e6d772a5a8 remove hr -- CSS takes care of it
darcs-hash:20080709221826-84dde-e218ebeadd8c17fc6612159f2cb7fefa9174ba67.gz
2008-07-09 18:18:26 -04:00
Evan Prodromou
70d41055df add instructions to people search
darcs-hash:20080709221754-84dde-1ad060768f3d4cd9ac8238474e1e418482c15843.gz
2008-07-09 18:17:54 -04:00
Evan Prodromou
1dfae4a0b3 fixup end tag in login (not used, maybe later)
darcs-hash:20080709221735-84dde-f3fb10d2a3ef832b8528db92cc914d31a474c5d3.gz
2008-07-09 18:17:35 -04:00
Evan Prodromou
0506a7265d change formatting of search output
darcs-hash:20080709220045-84dde-b81ebf4e5f9c8c0eef17e785de28d93e2987979f.gz
2008-07-09 18:00:45 -04:00
Evan Prodromou
9b50dcc384 show p.error when there are no results.
darcs-hash:20080709215632-84dde-fc2270bcebc64e3a616e681868f44bff26f7540e.gz
2008-07-09 17:56:32 -04:00
Evan Prodromou
0ec918604a ignore case when highlighting
darcs-hash:20080709215011-84dde-29c80d3210e337614980b647c58b5720b7bfc35f.gz
2008-07-09 17:50:11 -04:00
Evan Prodromou
2d3ba299b8 common_start_element -> common_element_start
darcs-hash:20080709214821-84dde-88aee48526993768ede96dc9cb245b65472d8dbe.gz
2008-07-09 17:48:21 -04:00
Evan Prodromou
0cc89cbbae move end of form element
darcs-hash:20080709214713-84dde-c8549c7837d6bc18e1cd35cc64b84a97fff9c05f.gz
2008-07-09 17:47:13 -04:00
Evan Prodromou
798df04aa5 missing comma in people search
darcs-hash:20080709214659-84dde-86ff362aa1b7e7fd7194e9d7dd33cff78c2f05c9.gz
2008-07-09 17:46:59 -04:00
Evan Prodromou
2b80f84fe2 first pass at people search
darcs-hash:20080709214455-84dde-6757b0252963e49f2790831ac4d31b2aafffca17.gz
2008-07-09 17:44:55 -04:00
Evan Prodromou
cd0049acee use rendered text in profile page stream
darcs-hash:20080709203910-84dde-85a0a36009b13cb57e2db9f051aa5864fdb723a2.gz
2008-07-09 16:39:10 -04:00
Evan Prodromou
e04f24a3f8 use getCurrentNotice() on profile page
darcs-hash:20080709203831-84dde-6f5f64f354a243ffefea8af8ef046d4bd0ec8e82.gz
2008-07-09 16:38:31 -04:00
Evan Prodromou
66b1f3f233 show reply_to for notices in profile stream
darcs-hash:20080709203237-84dde-f76ca017b4bc1f3c260aaefaaa5ffac5c0f08028.gz
2008-07-09 16:32:37 -04:00
Evan Prodromou
e22df4be30 reply_to is now stored on the notice, not on the reply record
darcs-hash:20080709202346-84dde-63561db24b55e98020c00707cc2c36e46bb8025f.gz
2008-07-09 16:23:46 -04:00
Evan Prodromou
63f1fb4259 store rendered content on save; display pre-rendered content
darcs-hash:20080709195238-84dde-a5df98439faaf7058571b5e345f165adece9c7b8.gz
2008-07-09 15:52:38 -04:00
Evan Prodromou
e6d2f5a3a4 move again
darcs-hash:20080709080206-84dde-b324eea8e6043397e09f41c099b9c2c821e192fb.gz
2008-07-09 04:02:06 -04:00
Evan Prodromou
b1620f6a6e move some things around
darcs-hash:20080709080110-84dde-2d8169e2fbe28300d099090100547a19cb8c6a7d.gz
2008-07-09 04:01:10 -04:00
Evan Prodromou
8c575041dc remove current notice code which doesn't seem to do anything
darcs-hash:20080709073305-84dde-9e7f0d367ab9f3f762031501eb4c83f6410c6da7.gz
2008-07-09 03:33:05 -04:00