Commit Graph

645 Commits

Author SHA1 Message Date
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
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
Evan Prodromou
fcf376e90f format replyto name correctly
darcs-hash:20080709072953-84dde-5ebea95c28e535c8bdd5255354910a6f92903b92.gz
2008-07-09 03:29:53 -04:00
Evan Prodromou
a7db6216fa fallback to newnotice on reply button, new button with mouseover
darcs-hash:20080709071439-84dde-f85f0e97f7c14bb77b7174f281e3e9f75c23cac1.gz
2008-07-09 03:14:39 -04:00
Evan Prodromou
98c9540ef9 reword, leave out the OpenID part
darcs-hash:20080709061118-84dde-b79745bf15dde9e95b46efd1e952d67d435eb1bf.gz
2008-07-09 02:11:18 -04:00
Evan Prodromou
6198ba6714 login -> reenter
darcs-hash:20080709060928-84dde-14e8803a617d177739f5ee6b96f296dea80719c9.gz
2008-07-09 02:09:28 -04:00
Evan Prodromou
a67108190a don't refetch user objects so much
darcs-hash:20080709055343-84dde-ac550608a4736ce5daed70af19866c75a1cfb416.gz
2008-07-09 01:53:43 -04:00
Evan Prodromou
c7f5076906 better description of what happens when changing settings
darcs-hash:20080709050022-84dde-b8b583c8d2c67bcf6bbe86b2ff26eec7af345d72.gz
2008-07-09 01:00:22 -04:00
Evan Prodromou
d6c2bd51c5 name of form on remote subscribe changed
darcs-hash:20080709005342-84dde-de6e2ce487c54ac53ea60757f216e4ba6379f196.gz
2008-07-08 20:53:42 -04:00
Evan Prodromou
ec9de70539 p.instructions -> div.instructions
darcs-hash:20080709002242-84dde-1d7a2107079ab5d84592d280a19a253663f84b4f.gz
2008-07-08 20:22:42 -04:00
Evan Prodromou
856f10baba space in title
darcs-hash:20080705064900-34904-880679f81aa30564f23fbee3042847595c747a6d.gz
2008-07-05 02:49:00 -04:00
Evan Prodromou
31db4cd94e more debug output for rememberme cookies
darcs-hash:20080708064241-84dde-6c72e4e5d5ec5675bdef027e1b241f0555ce8dd1.gz
2008-07-08 02:42:41 -04:00
Evan Prodromou
ebd9adca69 ignore old password if no old password
darcs-hash:20080708041210-84dde-71118bdd00ace64af0aee5033bff69e638a1463c.gz
2008-07-08 00:12:10 -04:00
Evan Prodromou
33f0d97cf6 shorter replies rss
darcs-hash:20080707072754-84dde-861d5d2b0a75097042e8f8c13a80c68ba3a0edba.gz
2008-07-07 03:27:54 -04:00
Evan Prodromou
88ea4ddd2d add in the notice form
darcs-hash:20080707072545-84dde-1f78764ef1c19f311fea9b8315e1081b4c2e6b0c.gz
2008-07-07 03:25:45 -04:00
Evan Prodromou
f2543d1797 add repliesrss
darcs-hash:20080707072454-84dde-218caf9132a0973465902418fc62abdbc49d6717.gz
2008-07-07 03:24:54 -04:00
Evan Prodromou
14fa99eab5 UNDO: use DB_DataObject join
darcs-hash:20080707070545-84dde-8034bf485a182ac86295c9a7831cfabac3cb2b55.gz
2008-07-07 03:05:45 -04:00
Evan Prodromou
b9eedf6195 use DB_DataObject join
darcs-hash:20080707070545-84dde-581f5b8d356b5b7d27a9b0b331a0e40ddab28cbe.gz
2008-07-07 03:05:45 -04:00
Evan Prodromou
b6e482c16a show replies
darcs-hash:20080707064607-84dde-140a88c6e08831ec2852001e174c7f0bc891a85d.gz
2008-07-07 02:46:07 -04:00
Evan Prodromou
7b50acbc52 consolidate show_notice and show_reply
darcs-hash:20080707064155-84dde-fb6209b36ff8066335249c0602b2e78961f90c55.gz
2008-07-07 02:41:55 -04:00
Evan Prodromou
dcb6ee8544 created -> modified in Reply
darcs-hash:20080707063731-84dde-0ce24e15c33d1d12e4e2ea1e05129ae6de84cb0e.gz
2008-07-07 02:37:31 -04:00
Evan Prodromou
8d3ec9c920 twiddle a few bits to make replies work correctly
darcs-hash:20080707054358-84dde-916977a2af4f792e0dc9e02a9f5344ec60911319.gz
2008-07-07 01:43:58 -04:00
Evan Prodromou
ab3e1556ba fixup conflicts
darcs-hash:20080706221758-84dde-5e222a282f9a1bd242d2653700c444e93e21cc7f.gz
2008-07-06 18:17:58 -04:00
matthew.gregg
0b21ac3dd7 First pass at replies support http://laconi.ca/PITS/00080
Doesn't handle a reply to a user that has never updated.

darcs-hash:20080623030837-982e4-532ccd8899fd8be00575f8840da0defb44cd56f8.gz
2008-06-22 23:08:37 -04:00
Evan Prodromou
bca547c394 don't double-escape bio
darcs-hash:20080706210809-84dde-84b674413c2ca6540176191cc5f1b5a2ef170cbc.gz
2008-07-06 17:08:09 -04:00
Evan Prodromou
e4a1b9cde9 optionally queue jabber confirmations
darcs-hash:20080706035707-84dde-5403fe9bcb017c401fe5847527628df548e54499.gz
2008-07-05 23:57:07 -04:00
Evan Prodromou
293ad758f7 if not a POST, redirect to subscriptions
darcs-hash:20080705213637-84dde-87ceb18bfc0db5248083bae1b9ce7ef088a68fe2.gz
2008-07-05 17:36:37 -04:00
Evan Prodromou
c414746e74 rememberme debugging
darcs-hash:20080705162142-84dde-6bc70413f43e0890e6372962eb14697ee6f88992.gz
2008-07-05 12:21:42 -04:00
Evan Prodromou
69c8fe060f better debugging
darcs-hash:20080705161801-84dde-b8ce7f1edcb18d7382b2690ff35f84e4b7cc7421.gz
2008-07-05 12:18:01 -04:00
Evan Prodromou
5b377a3198 debugging code for rm
darcs-hash:20080705161602-84dde-f046e62ed9af829c86ac967f83168933e6264deb.gz
2008-07-05 12:16:02 -04:00
Evan Prodromou
31b9d1e9d3 move member since to statistics
darcs-hash:20080705064618-84dde-11f2909f8d768f96673979f31a7ee914df1f5987.gz
2008-07-05 02:46:18 -04:00
Evan Prodromou
83dd5b3815 nickname in profile, member since in profile
darcs-hash:20080705064303-84dde-f5e07a71ae18805d3bd1e430d752d3e0e09998fd.gz
2008-07-05 02:43:03 -04:00
Evan Prodromou
7816e4122a add a display url function to display URLs
darcs-hash:20080703170347-84dde-1ba2e178dd4051aa63e4073e472c73240e3d9fe8.gz
2008-07-03 13:03:47 -04:00
Evan Prodromou
721d6f94c7 method
darcs-hash:20080702131507-84dde-507a6380fcab66c1fbcbaad6d1399c8a2f210acf.gz
2008-07-02 09:15:07 -04:00
Evan Prodromou
4ee649058f fix rememberme checkboxes on login, register
darcs-hash:20080702125457-84dde-d27e405d7003c86886ad81b87bbbf20cbf6fba1c.gz
2008-07-02 08:54:57 -04:00
Evan Prodromou
5593d4a50b better instructions for login
darcs-hash:20080701180611-84dde-ca0ed035476469fea28edfb2e1b8cbc2aa3e9d41.gz
2008-07-01 14:06:11 -04:00
Evan Prodromou
77abf3c559 add OpenID documentation
darcs-hash:20080701172429-84dde-94b70a726459e7309f179c18788f2a7de8d233f1.gz
2008-07-01 13:24:29 -04:00
Evan Prodromou
01ed8f5c8d add documentation for OpenMicroBlogging
darcs-hash:20080701165717-84dde-084a3dfe99e58e57c4bb9cf5dcbd6b1ffeff00bb.gz
2008-07-01 12:57:17 -04:00
Evan Prodromou
596365672a add instructions to remotesubscribe
darcs-hash:20080701163705-84dde-ee039de84a45080962671d15891f3f7f685a73a6.gz
2008-07-01 12:37:05 -04:00
Evan Prodromou
5f366b745f class -> id
darcs-hash:20080701155651-84dde-be2516b912927e565a518dbcddd8d071b006b501.gz
2008-07-01 11:56:51 -04:00
Evan Prodromou
17284239fe fixup formatting on remotesubscribe link
darcs-hash:20080701155442-84dde-948a31801bc639a0e5d7d9c04bee1fc0b1df7667.gz
2008-07-01 11:54:42 -04:00
Evan Prodromou
6d5ccdb0b7 fixup code in showstream
darcs-hash:20080630195139-84dde-d0d9297331f341f9fa0dda5c70ed574179de43c7.gz
2008-06-30 15:51:39 -04:00
Evan Prodromou
d0e8f8d8a2 change remote subscribe to link
darcs-hash:20080630195032-84dde-941bafd039cd6483c5eee0ec9acde9df911a3d14.gz
2008-06-30 15:50:32 -04:00
Evan Prodromou
5121cbebe4 return instructions
darcs-hash:20080630170653-84dde-e13ebf4ea364a6f12bb2692bc0278491a804c0fc.gz
2008-06-30 13:06:53 -04:00
Evan Prodromou
f874067401 move markdown require to common
darcs-hash:20080630170545-84dde-7bd95c43f3943e9cc5bf9ec6f57da0ff12204601.gz
2008-06-30 13:05:45 -04:00
Evan Prodromou
c64f137497 refactor common behaviour in settings pages
darcs-hash:20080630170342-84dde-5d7feb88a0a707b24c8070802a7ec99dd1f35687.gz
2008-06-30 13:03:42 -04:00
Evan Prodromou
3265812833 show exact date when needed
darcs-hash:20080627222930-84dde-e54a369d91060b7ff2559af9ff08735b2eec43d9.gz
2008-06-27 18:29:30 -04:00
Evan Prodromou
453751263b add a space between address and to
darcs-hash:20080627154825-84dde-b876f7dff5e1b72b94432e26cf8af02e2c36d0cc.gz
2008-06-27 11:48:25 -04:00
Evan Prodromou
450d727458 "subscribe" -> "add to buddy list"
darcs-hash:20080627143025-84dde-fee234fbcdf825cccc2ce0c9c812dcb27ebe6433.gz
2008-06-27 10:30:25 -04:00
Evan Prodromou
d34fc127a5 better handling of too-long messages
darcs-hash:20080626214654-34904-68a52888deaaca54fe39bcd77ae51997aa3a3959.gz
2008-06-26 17:46:54 -04:00
Evan Prodromou
48cac45fd9 don't bother with subscription hoohaw; just ask the user to do it
darcs-hash:20080626203103-34904-19ef53bc734622a310a705608f3e227e2f387904.gz
2008-06-26 16:31:03 -04:00
Evan Prodromou
31b5ae1523 compile error with lost dot
darcs-hash:20080626190538-34904-d160176208203bcc806e824874c75021b32b6f92.gz
2008-06-26 15:05:38 -04:00
Evan Prodromou
201a988bf7 better instructions on confirmation code
darcs-hash:20080626190307-34904-5aca9b62944d4e8f6170705dec822d30a1163401.gz
2008-06-26 15:03:07 -04:00
Evan Prodromou
0b0beda026 some variable names swapped around when I split up the big method
darcs-hash:20080626184811-34904-d5d7373acb89b06eb3f0854d83b0ac425a70d1e2.gz
2008-06-26 14:48:11 -04:00
Evan Prodromou
fcc12459ed forgot to clone user
darcs-hash:20080626183721-34904-7c03b34e911ddb0c4adba959402d49476be932c1.gz
2008-06-26 14:37:21 -04:00
Evan Prodromou
f5caccc827 show checkbox as checked or not
darcs-hash:20080626182705-34904-893d72f480c330beb2d8f871da0d2cd9b902ffbf.gz
2008-06-26 14:27:05 -04:00
Evan Prodromou
db2d79cd31 some UI changes to the IM settings
darcs-hash:20080626181144-34904-87503e70e6705b06ebb6c19910583f4fba1b22e0.gz
2008-06-26 14:11:44 -04:00
Evan Prodromou
06d267bd88 show the proper address in the message for non-email confirms
darcs-hash:20080626072159-34904-b025f2d626b3421ca0a658b5664504b4a261b993.gz
2008-06-26 03:21:59 -04:00
Evan Prodromou
9fe45d4158 show better errors on bad codes
darcs-hash:20080624225556-34904-2f31fbe0944374892005ea88977736bda59729fa.gz
2008-06-24 18:55:56 -04:00
Evan Prodromou
77d9a12ef6 use $newpassword instead of $password consistently
darcs-hash:20080624224030-34904-a2a50cfcadba05799094574201223907e6e423a6.gz
2008-06-24 18:40:30 -04:00
Evan Prodromou
d367982253 correct field name
darcs-hash:20080624221758-34904-8ba5bbf95a2f16e9bfebb2c4dbd4d2d357cf958e.gz
2008-06-24 18:17:58 -04:00
Evan Prodromou
f374e924f5 type -> address_type
darcs-hash:20080624221437-34904-746bd79dbef949c16095b9b44a9a721288abb989.gz
2008-06-24 18:14:37 -04:00
Evan Prodromou
96e6df323b slightly different from settingsaction
darcs-hash:20080624221054-34904-732acfe742c0b1c5e71b604660aa2e657c68a4d4.gz
2008-06-24 18:10:54 -04:00
Evan Prodromou
bb3c796c25 url for confirmation email is better, fancy url
darcs-hash:20080624220335-34904-2c4089bf6d1b37b6f613ce89c6fad104727e7487.gz
2008-06-24 18:03:35 -04:00
Evan Prodromou
589a6c05f7 output a message when we send the recovery email
darcs-hash:20080624215826-34904-045d8e8cc25195eb045d2a96a526a6d2a9f0c218.gz
2008-06-24 17:58:26 -04:00
Evan Prodromou
90583f31af rudimentary recoverpassword system
darcs-hash:20080624215033-34904-d5576bf55da26df44f0580c3759ed3edd8597506.gz
2008-06-24 17:50:33 -04:00
Evan Prodromou
836f5bb756 login doesn't bark if the user is automatically logged in
darcs-hash:20080624040548-34904-3b5a78f4ed40db913c82e90fe6955f26aac0f92a.gz
2008-06-24 00:05:48 -04:00
Evan Prodromou
d7731c9f2d correct name for common_forgetme() in logout
darcs-hash:20080624031927-34904-4a0c4d5966c8dd840cf6c368bdbe47990a39c074.gz
2008-06-23 23:19:27 -04:00
Evan Prodromou
be3a44651c implement rememberme functionality
Added a checkbox on login or register to remember the current user. If
the login is successful, this sets a cookie with a random code (saved
in the DB). If they come back, and they aren't logged in "normally",
we check to see if they have a rememberme cookie. If so, we log them
in.

However, they can't change settings -- cookie theft is too prevalent.
So we mark a session as having a "real" (password or OpenID) login, or
not. In settings pages, we check to see if the login is "real", and if
not, we redirect to the login page.

darcs-hash:20080624025234-34904-ad20001bf35bf41fcb63a0c357fd929aacc55fdb.gz
2008-06-23 22:52:34 -04:00
Evan Prodromou
e330eb50d2 more robust handling of new JIDs
darcs-hash:20080624015616-34904-c1ff985257c8c57aacf68439488d628a8b4d2e38.gz
2008-06-23 21:56:16 -04:00
Evan Prodromou
960a092a9c don't validate email if none provided
darcs-hash:20080624014642-34904-7d4b1b91a3163add6a99146f92360913e172a39a.gz
2008-06-23 21:46:42 -04:00
Evan Prodromou
a8a2f40696 broadcast notices to jabber
darcs-hash:20080624014241-34904-39ace8e82e50e5f50c5980b5fb3256184a7c9050.gz
2008-06-23 21:42:41 -04:00
Evan Prodromou
d1e55b3777 jabber send and confirmation code
darcs-hash:20080624013203-34904-fe87dc6b3b991e9753512b8b7cc192f7610eb1dc.gz
2008-06-23 21:32:03 -04:00
Evan Prodromou
63dcbe1e6e add jabber library and use it
darcs-hash:20080624001523-34904-8d0c052f12301d86aeb9107149b34f22c94da1c4.gz
2008-06-23 20:15:23 -04:00
Evan Prodromou
ae40dfe842 add imsettings to menu
darcs-hash:20080623223641-34904-2758e19c70026a0c169e99d86481d87b0b4bc79c.gz
2008-06-23 18:36:41 -04:00
Evan Prodromou
1899d09cd1 forgot to return on invalid nickname
darcs-hash:20080622181550-34904-7970919db30ccfc3979fa6c118c29af9eac0c550.gz
2008-06-22 14:15:50 -04:00
Evan Prodromou
d758c11784 disallow nicknames on a blacklist
darcs-hash:20080622180437-34904-4b6313f6fd8845232031663c5c2df00dff725183.gz
2008-06-22 14:04:37 -04:00
Evan Prodromou
b4d8bbdad7 allow blank email address (I think)
darcs-hash:20080622165453-34904-a3bdd2557622e6db3aef88371c22586e2d2fed07.gz
2008-06-22 12:54:53 -04:00
Evan Prodromou
29014487d7 UNDO: move profile update to front
darcs-hash:20080622164928-34904-04e381d2ac562a31fb3ed3dce300e2c2c456b0d7.gz
2008-06-22 12:49:28 -04:00
Evan Prodromou
c1a5e54e67 move profile update to front
darcs-hash:20080622164928-34904-77df2f698c617e2788cc0db2d902238a5dd522d1.gz
2008-06-22 12:49:28 -04:00
Evan Prodromou
71456d596a debugging for profile update
darcs-hash:20080622164542-34904-e6945828677580ee30b5fb85101928633708f605.gz
2008-06-22 12:45:42 -04:00
Evan Prodromou
8a170ed8fd special function for generating confirmation codes
darcs-hash:20080622163241-34904-199b3654328d78c0b9fe2fa85a3ecc1ab0b1262a.gz
2008-06-22 12:32:41 -04:00
Evan Prodromou
1906237ddc confirm address
darcs-hash:20080622161917-34904-32528c78b43d501d5994c4f5c74b977ca4d9c618.gz
2008-06-22 12:19:17 -04:00
Evan Prodromou
ac35bec3ab fix name of class in confirmaddress.php
darcs-hash:20080622161749-34904-eb2e43aaa3f409accd94a2555f854fb22a297db7.gz
2008-06-22 12:17:49 -04:00
Evan Prodromou
4fd1f6246d correctly use Confirm_address
darcs-hash:20080622161607-34904-d8e042b80fe6acd3cb6ad763216a0b1817752cac.gz
2008-06-22 12:16:07 -04:00
Evan Prodromou
97115c846e move confirmemail to confirmaddress
Rename the confirmemail to more general confirmaddress so we can use
it for Jabber, SMS, or whatever.

darcs-hash:20080622155250-34904-0cbc2895c01769dfb5e7393e6534355b6f5c2ac3.gz
2008-06-22 11:52:50 -04:00
Evan Prodromou
0239802682 more debugging
darcs-hash:20080622153754-34904-b722aa6d0ffa52242b06a8eec1eaa5216d216a4f.gz
2008-06-22 11:37:54 -04:00
Evan Prodromou
1cab6c7d50 strcmp for comparison
darcs-hash:20080622153220-34904-119cea6c5dbe20e33569287cf9632c07e9768b10.gz
2008-06-22 11:32:20 -04:00
Evan Prodromou
7bf88079a9 nickname update
darcs-hash:20080622152628-34904-9974209ebe964058d00337bc602ef20c10b83f66.gz
2008-06-22 11:26:28 -04:00
Evan Prodromou
785ea92bb7 better logic in profile settings, missing method in all
darcs-hash:20080622152306-34904-3d3ab7c02c33efac17d02692a10b4fee2fb013f1.gz
2008-06-22 11:23:06 -04:00
Evan Prodromou
acf562b3dd use updateKeys() for updating the user
darcs-hash:20080622151611-34904-1d952df08b5247ab391bb76fd50d7b90498f0c96.gz
2008-06-22 11:16:11 -04:00
Evan Prodromou
e69f28faab add confirm email to profile settings
darcs-hash:20080622142015-34904-00feabce7fe73360319d8a9c1372478879bb203a.gz
2008-06-22 10:20:15 -04:00
Evan Prodromou
745a145f0d add better debugging
darcs-hash:20080622140941-34904-2a0eda21f6a374a9d26107a4bc627fc6de2a7063.gz
2008-06-22 10:09:41 -04:00
Evan Prodromou
676bbebe1a fix url for redirect
darcs-hash:20080620072632-84dde-d1e1b1593a882b6faa4fcd21c36200398ee49286.gz
2008-06-20 03:26:32 -04:00
Evan Prodromou
15a09c5d69 change from using tag uris to http urls for identifiers
Weirdly, I got in an argument with Tim Berners-Lee in #swig about the
tag URIs I was using in FOAF documents. Eventually, I was convinced
that it's a better thing to use HTTP URLs instead. So, now we have
HTTP URLs.

The tricky thing was for users. Since they can change their names, we
can't use their profile URL, since it includes the name. Instead, I
made up a new action, which simply redirects from a user ID to their
current profile URL. This should be sufficiently long-term.

darcs-hash:20080620071700-84dde-c6145243dc45dd2dff621aff421375d05796057e.gz
2008-06-20 03:17:00 -04:00
Evan Prodromou
f72329a13d whitespace and debugging changes
darcs-hash:20080620064824-84dde-1d349cf2add75fbffa7cc763fb5ac8776cce4d03.gz
2008-06-20 02:48:24 -04:00
Evan Prodromou
9277f8da1a correct confirmation code
darcs-hash:20080620062606-84dde-59be3fd35a01d788f3953e2dba70baefefabfb76.gz
2008-06-20 02:26:06 -04:00
Evan Prodromou
74889ec599 correct name for common_good_rand()
darcs-hash:20080620052453-5ed1f-4ce9b677b9010b3879bbae1ba9218036f0ad728f.gz
2008-06-20 01:24:53 -04:00
Evan Prodromou
bf0be3ddb7 confirm email addresses
darcs-hash:20080620051536-5ed1f-231e427832dd20c861eb7a6dc1171315e90f455b.gz
2008-06-20 01:15:36 -04:00
Evan Prodromou
480ca70dc8 try to clear openid url cookie better
darcs-hash:20080619183238-84dde-dbe912a40894ec7414e6d5ea0bc40ec527385436.gz
2008-06-19 14:32:38 -04:00