Commit Graph

185 Commits

Author SHA1 Message Date
Evan Prodromou
ba334c2c66 typo in checking for YADIS failure
darcs-hash:20080530184105-84dde-6d55e2bf320ea5b71d657edb756c4ea330bd438f.gz
2008-05-30 14:41:05 -04:00
Evan Prodromou
2e707f5a2c add X-XRDS-Location header
darcs-hash:20080530183528-84dde-c69c5d130c5951eec55613fc7ec7526c1fb13cfb.gz
2008-05-30 14:35:28 -04:00
Evan Prodromou
a73a63758f add debug logging and do some from the remotesubscribe page
darcs-hash:20080530182230-84dde-b9b6f515affcd245abb5e199de02a8891138ff2a.gz
2008-05-30 14:22:30 -04:00
Evan Prodromou
d3dd804ddf check to see if XRDS discovery failed
darcs-hash:20080530181103-84dde-55eb7fce80ae6a11639ec9748c0d02f7f72cbc4d.gz
2008-05-30 14:11:03 -04:00
Evan Prodromou
3a20f1202b correct content-type on XRDS document
darcs-hash:20080530181029-84dde-58de78ad1bef7a5c540a0315470bc24ddc59b04b.gz
2008-05-30 14:10:29 -04:00
Evan Prodromou
b899ff617f add a print_r for the yadis doc returned
darcs-hash:20080530175436-84dde-e55601349cf83ea504924ea3d3733cccf75838e4.gz
2008-05-30 13:54:36 -04:00
Evan Prodromou
cfd367f4cf show footer for remotesubscribe form
darcs-hash:20080530175235-84dde-0eda227cdd5a8c3b5e20ba12dbedbfc9aba269f3.gz
2008-05-30 13:52:35 -04:00
Evan Prodromou
5e61931a2d check that services are null in yadis check
darcs-hash:20080530175055-84dde-f0e231b4efc30a59d6111b749eb8340116be9f92.gz
2008-05-30 13:50:55 -04:00
Evan Prodromou
bf5ae8e69a remotesubscribe form
darcs-hash:20080530174310-84dde-1e05966eb48573ced8e73acf3f3b59e7bc4f1170.gz
2008-05-30 13:43:10 -04:00
Evan Prodromou
c501b7b925 interim commit after pull from server
darcs-hash:20080530142324-84dde-782c9f04f551447514f1557b9e80f8461a17771f.gz
2008-05-30 10:23:24 -04:00
Evan Prodromou
39f26275f5 change number of subscriptions per row
darcs-hash:20080529192112-84dde-7de629e1d5449bb42539c10ef567e94322f97a38.gz
2008-05-29 15:21:12 -04:00
Evan Prodromou
1389e3b4dc fix render in showstream
darcs-hash:20080529173527-84dde-968857bab4df3f26d8d135b00991838aa78210c0.gz
2008-05-29 13:35:27 -04:00
Evan Prodromou
9d9588a3de @ messages
darcs-hash:20080529170801-84dde-765f70013696c46bee65bf1408ff4a0b379711d7.gz
2008-05-29 13:08:01 -04:00
Evan Prodromou
6cbd424030 reformat showstream
darcs-hash:20080529164411-84dde-1a54ecf1e6acec0e9a6105b8a7e68af2d1c18846.gz
2008-05-29 12:44:11 -04:00
Evan Prodromou
066f6843fe use common_render_content
darcs-hash:20080529164139-84dde-85f6b27707af4c2f00f0d62c2fe4e209ab353e57.gz
2008-05-29 12:41:39 -04:00
Evan Prodromou
b153ac5b1b fix checking boolean parameters
darcs-hash:20080529151602-84dde-f6bc3c41846d92c94008f721fa5115907fd9a7d3.gz
2008-05-29 11:16:02 -04:00
Evan Prodromou
9bb55af26f dump args to browser for debugging
darcs-hash:20080529151317-84dde-046fffcfacea163bf14d5a0ee6838581e3a9ebe4.gz
2008-05-29 11:13:17 -04:00
Evan Prodromou
0e039b88ac error in file_exists()
darcs-hash:20080528183022-84dde-f5362f0284be4969e930d93408bdb9d5dec1488c.gz
2008-05-28 14:30:22 -04:00
Evan Prodromou
0cabc70341 add doc action
darcs-hash:20080528182707-84dde-5f15e83a1243ec29a890b3b258163d07db5fc329.gz
2008-05-28 14:27:07 -04:00
Evan Prodromou
d0e03e8cad add pagination to all and public
darcs-hash:20080528173917-84dde-b623d152de415de3790673b8a4eaafb584b23752.gz
2008-05-28 13:39:17 -04:00
Evan Prodromou
182aa9a101 better page numbers
darcs-hash:20080528173417-84dde-033ab1f9a30c1b19c1f2b5a5b6ea652d94c226e7.gz
2008-05-28 13:34:17 -04:00
Evan Prodromou
0a60c577de forgot commas!
darcs-hash:20080528173231-84dde-0fb59cf9ea19f025a2c840b44cf8d337c00231a3.gz
2008-05-28 13:32:31 -04:00
Evan Prodromou
dc37b88e54 paginate on showstream
darcs-hash:20080528173129-84dde-8f0537b20173afa895aeb76e503d76cc24fdae41.gz
2008-05-28 13:31:29 -04:00
Evan Prodromou
a954bb8c0a show error messages in registration form
darcs-hash:20080528170752-84dde-86f5965c108fffe703e62bd42f6bd0eda22f1931.gz
2008-05-28 13:07:52 -04:00
Evan Prodromou
7b244b2a66 get rid of the license label, since it mucks everything else up.
darcs-hash:20080528170556-84dde-5dd6fe94b31e2fb4387f0c7e8775122bd5c4965b.gz
2008-05-28 13:05:56 -04:00
Evan Prodromou
bd3f393f63 move license label to _after_ the checkbox
darcs-hash:20080528170438-84dde-90edcb9248823988f70d8dbedf9a694a7bb732f5.gz
2008-05-28 13:04:38 -04:00
Evan Prodromou
0bc94b14c4 registration requires accepting the license
darcs-hash:20080528164222-84dde-20fa91371bcd0116e8d38bb90e221b3edbc2179a.gz
2008-05-28 12:42:22 -04:00
Evan Prodromou
84dfd8b52d don't scale avatar if original already matches size
darcs-hash:20080528144202-84dde-d0f15e4ad4c840816bfadf3b1b57faecdfd401b2.gz
2008-05-28 10:42:02 -04:00
Evan Prodromou
abdd82800c fix submit button for avatar
darcs-hash:20080528141432-84dde-df546c7e7d79cb753934cdb002859587b7ed2a81.gz
2008-05-28 10:14:32 -04:00
Evan Prodromou
de56ccca07 add timestamp to avatar filenames to prevent overlap
darcs-hash:20080528140321-84dde-2dbeb6032e845a23bb1adde1cbc1788333b55156.gz
2008-05-28 10:03:21 -04:00
Evan Prodromou
4f37f4b764 remove bogus validation code
darcs-hash:20080528134804-84dde-994624cc82941094719670f78212c391127cc9a6.gz
2008-05-28 09:48:04 -04:00
Evan Prodromou
90b4873a00 client side of distributed subscription almost complete
darcs-hash:20080527114219-84dde-784ddf4d4650c17bc7a1e3e01219c6948dfc9b3d.gz
2008-05-27 07:42:19 -04:00
Evan Prodromou
47f030ef65 move OMB and OAUTH defs to their own lib file
darcs-hash:20080526151332-84dde-286a22536e3b9168199200a7226cedd7b26dd073.gz
2008-05-26 11:13:32 -04:00
Evan Prodromou
cf35ebdc18 fix typo in xrds
I'd spelled "ENDPOINT" as "ENDPONT" in the code. whoops!

darcs-hash:20080526131953-84dde-95770739bc0c5ea45efbc8b831c11448ea5d4b32.gz
2008-05-26 09:19:53 -04:00
Evan Prodromou
92af6565b6 fixups for xrds
Corrected the definition of showService to show all the parameters.

Fixed the localID part so it uses $user->uri; getUri() was throwing an
error.

darcs-hash:20080526131551-84dde-ab31c6cbfe2bce62aa1573ad9be9a916984e37b3.gz
2008-05-26 09:15:51 -04:00
Evan Prodromou
cf964c199c update for new version of OMB protocol
After finding OAuth Discovery, I rewrote the OMB spec to support it
better. This version of the XRDS generator supports OAuth Discovery
more completely.

darcs-hash:20080526130328-84dde-1c31294e251f22d197be95fcf113d2e05b2d6219.gz
2008-05-26 09:03:28 -04:00
Evan Prodromou
2fe978e1bb oauth discovery and all new actions
Updated the spec to include OAuth discovery.

Added new actions for all the OMB URLs.

darcs-hash:20080526112700-84dde-b1800fb4a5ab830be065e736d2a74b742b7eb0f6.gz
2008-05-26 07:27:00 -04:00
Evan Prodromou
a39bb63ebd add tags on creation of notices and users
darcs-hash:20080522185500-84dde-39a66d36d2c80ff57e2ab2d0274548770c4d06f7.gz
2008-05-22 14:55:00 -04:00
Evan Prodromou
eecd611f67 tags and XRDS
Starting the process of remote subscriptions.

First, add the capacity to mint tags. May in the future want to allow
some kind of UUID or URL for unique URIs. New config options for tag
authority and date, and a function for minting tags.

Store URIs in the DB. If the admin changes his/her tag config, this
shouldn't change the URIs in the DB. Unless they really want to make
that happen.

Generate an XRDS document with the appropriate URLs for microblogging.
Also, redefined some stuff in openmicroblogging.txt. And moved the file.

darcs-hash:20080522183421-84dde-fe46f32e4050f2c4b6c850334103007ed7feabf7.gz
2008-05-22 14:34:21 -04:00
Evan Prodromou
b2903983bd fix query and description for allrss
darcs-hash:20080522114839-84dde-bdf5f244766b198932a068d6c80a667943a03f54.gz
2008-05-22 07:48:39 -04:00
Evan Prodromou
735b8ddc67 RSS feeds for public stream and friends streams
darcs-hash:20080522114152-84dde-7e9b6f465829fc71391613c93df112a7956deffc.gz
2008-05-22 07:41:52 -04:00
Evan Prodromou
310ef22fd9 abstract out RSS 1.0 generation to allow multiple streams
darcs-hash:20080522112954-84dde-aa5087977298f5169148383e82e22241e613b1f2.gz
2008-05-22 07:29:54 -04:00
Evan Prodromou
ba5a3d476b get the correct data for subscribers/subscriptions
darcs-hash:20080521193452-84dde-a1553941833cf3f11c53a6f493ad2dae975cc168.gz
2008-05-21 15:34:52 -04:00
Evan Prodromou
4b96241acf define undefined, order subs
darcs-hash:20080521192912-84dde-4bea2a463bfb357b5688e0f8faccac622770ac95.gz
2008-05-21 15:29:12 -04:00
Evan Prodromou
127bc561ff re-write the subscriptions section
darcs-hash:20080521192048-84dde-45745601b743798b205c56a7d7f018d8b020275e.gz
2008-05-21 15:20:48 -04:00
Evan Prodromou
5dce1e47a3 close unclosed rows in subscriptions
darcs-hash:20080521191135-84dde-11f89c88ef526ff41bfc1d0d3bfe774f5796c2da.gz
2008-05-21 15:11:35 -04:00
Evan Prodromou
0f0d50f06a off-by-one error in subscriptions
darcs-hash:20080521190640-84dde-04fc00048b044474488e7774053674231c96e355.gz
2008-05-21 15:06:40 -04:00
Evan Prodromou
b791a83592 fix subscriptions a bit
darcs-hash:20080521185602-84dde-9e058c34c251d96cf557c1dd459523aa434bed79.gz
2008-05-21 14:56:02 -04:00
Evan Prodromou
5172a73e28 fixup subscription links
darcs-hash:20080521183645-84dde-45d943f0d2b784aac372244fcf7d7e62143a76cf.gz
2008-05-21 14:36:45 -04:00
Evan Prodromou
2db61d15a0 mismatched parens
darcs-hash:20080521155611-84dde-9e661052d5d2faaa1601c7e023ae086cbf5e3ca1.gz
2008-05-21 11:56:11 -04:00
Evan Prodromou
9933e1e341 fixup default avatar urls by using common function
darcs-hash:20080521155448-84dde-0e71fe5dccea49162911f80c65cd1e2a46043b14.gz
2008-05-21 11:54:48 -04:00
Evan Prodromou
2fa7ab2f44 falsely claim rss 1.0 is rss 2.0
darcs-hash:20080521153652-84dde-cf442ce24e278fc7c6b072785a8d0677bbc63e85.gz
2008-05-21 11:36:52 -04:00
Evan Prodromou
ddcf051b26 add RSS 1.0 link to header of showstream
darcs-hash:20080521152404-84dde-bc5a2121ca9acddca9ed43c07935f713cf5c0b8e.gz
2008-05-21 11:24:04 -04:00
Evan Prodromou
7352cab8ee add w3dtf date to rss 1.0 items
darcs-hash:20080521145916-84dde-4a5e04edb1bdcdb5e33bed7497dcf93be88636f8.gz
2008-05-21 10:59:16 -04:00
Evan Prodromou
cb45529d8d rss feed plus
Added an action for creating an RSS 1.0 (RDF) feed. To make this work,
added a couple of helper functions to util, and changed the HTML stuff
to use the helper functions.

Also, changed a bit of formatting in the profile. Yeah, not a clean
changeset.

darcs-hash:20080521143351-84dde-d191761c399d7f014b990585c21e916e887b3401.gz
2008-05-21 10:33:51 -04:00
Evan Prodromou
b86a51ec8a better formatting in profile
darcs-hash:20080521134849-84dde-7201729e692bccfc9649fb30a1d21a47a5eb4259.gz
2008-05-21 09:48:49 -04:00
Evan Prodromou
55fdd0b981 move error display to save_new_notice
darcs-hash:20080521123106-84dde-2ad51d79df069cdba4102a4545640260bf5aa8b1.gz
2008-05-21 08:31:06 -04:00
Evan Prodromou
659feb5f43 correct error-handling in newnotice
darcs-hash:20080521122604-84dde-bfcfe7b2a254f19ce56054f6e4c80317ed8aaf86.gz
2008-05-21 08:26:04 -04:00
Evan Prodromou
53eeee70e7 change measurement of updated profiles
darcs-hash:20080521121307-84dde-1a2908c4bb85e9e9e55524f591ba02d38c8ecbc2.gz
2008-05-21 08:13:07 -04:00
Evan Prodromou
289c44141d default avatar
darcs-hash:20080521115727-84dde-73b58873e08c936139bd63cffab0c30883c9f8a5.gz
2008-05-21 07:57:27 -04:00
Evan Prodromou
764a391d19 validation in form handlers
Moved validation code from classes to form handlers. Probably better
in the classes, but I can't quite grok the validate() method in
DB_DataObject, so for now I'm going to do it the old-fashioned way.

darcs-hash:20080521112707-84dde-38e27199b977ae81171b8391fbdb93ebb54494f9.gz
2008-05-21 07:27:07 -04:00
Evan Prodromou
82c05d389a fixup textarea again
darcs-hash:20080520212319-84dde-27601a4e11dd6a34834f4689c316dae594d8d7e8.gz
2008-05-20 17:23:19 -04:00
Evan Prodromou
48eaede398 extract textarea code and make bio a textarea
darcs-hash:20080520211945-84dde-06c9f0884b3dba3e01fe7e0d71662da162c34418.gz
2008-05-20 17:19:45 -04:00
Evan Prodromou
31f6f8eb48 move notices and sidebar relative to each other
darcs-hash:20080520204259-84dde-46759945569225f25128ed4d18b635ecce3ba1ea.gz
2008-05-20 16:42:59 -04:00
Evan Prodromou
9b97e7c3b9 highlight notice
darcs-hash:20080520202747-84dde-d0c7a1ac57b8caab5498978cc8108e92243e22fb.gz
2008-05-20 16:27:47 -04:00
Evan Prodromou
51908f59ce smaller textbox
darcs-hash:20080520202500-84dde-a4bb2b7c64122805a73c157f34acc8849e2421d2.gz
2008-05-20 16:25:00 -04:00
Evan Prodromou
fcb3d81752 change relative widths of sidebar and notices again
darcs-hash:20080520201440-84dde-ce245ba4f2df693ca76a7378c001eb7645489bef.gz
2008-05-20 16:14:40 -04:00
Evan Prodromou
63758c59e1 reformat showstream
darcs-hash:20080520201120-84dde-4b455d4e4854454cc78be8c636a3e0c7f730b93a.gz
2008-05-20 16:11:20 -04:00
Evan Prodromou
778fba1a24 float notices left
darcs-hash:20080520194326-84dde-48b25c342111e354759263ccea2e2c9ad8345904.gz
2008-05-20 15:43:26 -04:00
Evan Prodromou
36c680342c fix div in profile
darcs-hash:20080520194008-84dde-f032df10986fab4b1c421e58deefce56bf77e66a.gz
2008-05-20 15:40:08 -04:00
Evan Prodromou
9cc54e14e6 add a sidebar
darcs-hash:20080520193636-84dde-a925a6c351e8f8800122f3e264c88478038bdf2d.gz
2008-05-20 15:36:36 -04:00
Evan Prodromou
52600ce0b0 trim whitespace
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
2008-05-20 15:14:12 -04:00
Evan Prodromou
3f5ededc01 call validate before saving objects
darcs-hash:20080520191032-84dde-64197121c93cd4cf3cbc614badff0bd44547f9f9.gz
2008-05-20 15:10:32 -04:00
Evan Prodromou
a9c57467e7 forgot the footer
darcs-hash:20080520181906-84dde-fade37744a568d37bdcce69aa85edbd38370d1f1.gz
2008-05-20 14:19:06 -04:00
Evan Prodromou
d605cee223 better login button
darcs-hash:20080520181444-84dde-62756d5b151bfe0e607001aee7f176a6c47d5602.gz
2008-05-20 14:14:44 -04:00
Evan Prodromou
6f6aed8213 better forms for new theme
darcs-hash:20080520174759-84dde-7206aeef3246b2304d463b121a6b17c7f3f2f6d5.gz
2008-05-20 13:47:59 -04:00
Evan Prodromou
f614bb5bf2 add alt to all images
darcs-hash:20080520134631-84dde-249574ec7e16108cf47f3001c2bc726bdc6f8751.gz
2008-05-20 09:46:31 -04:00
Evan Prodromou
e70b7d3a6c add a space to textarea
darcs-hash:20080520133825-84dde-10a3623b12380f12386a8bbbe06cb130902bff8e.gz
2008-05-20 09:38:25 -04:00
Evan Prodromou
9c16a5a9ef fix calling for textarea elements
darcs-hash:20080520133220-84dde-86eed983511b6e529b49212d10338d45d3e7691e.gz
2008-05-20 09:32:20 -04:00
Evan Prodromou
2e07d5cf01 change textarea to start and end
darcs-hash:20080520133008-84dde-efc5b05e3576a56dd692f404eb028d867a7981bf.gz
2008-05-20 09:30:08 -04:00
Evan Prodromou
e18c5321c4 break out utility functions to util.php
darcs-hash:20080520130535-84dde-5414005cdbd8d39bb548c75388893c7827f2fb16.gz
2008-05-20 09:05:35 -04:00
Evan Prodromou
9bbf34c51c better stats
darcs-hash:20080519142807-84dde-0d9a0a3d70e935a0264215fa1c18082d78057e36.gz
2008-05-19 10:28:07 -04:00
Evan Prodromou
0240e9951a fix output of statistics
darcs-hash:20080519141943-84dde-940b096ccb100a7f92eb0787dc7c1050d8184ad3.gz
2008-05-19 10:19:43 -04:00
Evan Prodromou
c07704ea42 whitespace in showstream
darcs-hash:20080519141351-84dde-98b442cb7275b94a5fc6198f9ef78a785ed7bf19.gz
2008-05-19 10:13:51 -04:00
Evan Prodromou
749178f343 better headers
Added H1 headers to all pages. Added H2 headers to sections of pages,
where appropriate.

Moved a lot of TODOs around.

Made the public stream the default if no action is specified.

darcs-hash:20080519141219-84dde-f9917a8351596060faa7ff5d231417773764a8fd.gz
2008-05-19 10:12:19 -04:00
Evan Prodromou
18a363ba5a fix form in password
darcs-hash:20080519132118-84dde-abb2cf71cc9f7f319c8a2a556bdb591f40221a5c.gz
2008-05-19 09:21:18 -04:00
Evan Prodromou
3a2d17f9f6 all updates use original now
darcs-hash:20080519122708-84dde-78ec2e47aeb4b33fb83c7d8f5e7f3735d66055ae.gz
2008-05-19 08:27:08 -04:00
Evan Prodromou
2080f52cb1 try to fix updating in profile
darcs-hash:20080519122445-84dde-b6505e0b8ea310eee50eb6e638238fb7cf93bead.gz
2008-05-19 08:24:45 -04:00
Evan Prodromou
88483fe3b8 timestamps for avatar
darcs-hash:20080518194653-84dde-33205b1f2f6297006d63aec41fa91a8bcffda1ef.gz
2008-05-18 15:46:53 -04:00
Evan Prodromou
6396504aa6 better deletion of old avatars
darcs-hash:20080518193951-84dde-cc45fbfba1f11a4ae2f629cc862e02a14743f2c1.gz
2008-05-18 15:39:51 -04:00
Evan Prodromou
7983311918 fix form for avatars
darcs-hash:20080518191326-84dde-29f6238550a5dc66e4de2c4e1e165be254609ce6.gz
2008-05-18 15:13:26 -04:00
Evan Prodromou
025b1c744c better handling of zero values in stats
darcs-hash:20080518190220-84dde-e1e3005a72a6913dd86fc9384e1083fb39203a73.gz
2008-05-18 15:02:20 -04:00
Evan Prodromou
3ea856c69e off-by-one error in notice stream
darcs-hash:20080518185940-84dde-fb7a3af877c67b5d7e9c59d32092c1392a0ecd58.gz
2008-05-18 14:59:40 -04:00
Evan Prodromou
74cab76cc8 header and footer on subscribers
darcs-hash:20080518125253-84dde-590f37a4789b5fbf702a0cbacbd56087d94d51f9.gz
2008-05-18 08:52:53 -04:00
Evan Prodromou
793d48dc9e smaller packet
darcs-hash:20080518015551-84dde-65964e140ed0b6c23aeee368fcffccdc14d71c61.gz
2008-05-17 21:55:51 -04:00
Evan Prodromou
81e037558f fix interpolation of profile_id in query
darcs-hash:20080518014207-84dde-8efb938e50bbd1c1008c3b8a1e09e17124d260b4.gz
2008-05-17 21:42:07 -04:00
Evan Prodromou
82b80b2f75 add header and footer to subscriptions
darcs-hash:20080518013747-84dde-e3e4f2bcd562f86e7c5460bc1bdbda8a1417dd31.gz
2008-05-17 21:37:47 -04:00
Evan Prodromou
2b8a19e5dd sub
darcs-hash:20080518013312-84dde-382047d577719dd4f0fd39768546b6bb43b1933c.gz
2008-05-17 21:33:12 -04:00
Evan Prodromou
b3c102ec6a fix table name in subscriptions.php
darcs-hash:20080518012850-84dde-31e2c255b661dc71201756b20763ab817df44d05.gz
2008-05-17 21:28:50 -04:00
Evan Prodromou
f8aaa7f492 hide subscribe stuff if looking at your own page
darcs-hash:20080518011808-84dde-a379fa8baa2f3cc7e871e54d46ef025106aecc84.gz
2008-05-17 21:18:08 -04:00