Commit Graph

105 Commits

Author SHA1 Message Date
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