Commit Graph

19191 Commits

Author SHA1 Message Date
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
e0cce107bf better timestamped avatar filenames
darcs-hash:20080528143030-84dde-c698588b2db9e36a576c402ba685b5d205396948.gz
2008-05-28 10:30:30 -04:00
Evan Prodromou
aed137fae3 fix source link
darcs-hash:20080528141555-84dde-deeaf974426d353c6e7573e5c532823001639f36.gz
2008-05-28 10:15:55 -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
9977591b78 server-side storage model
First pass at a server-side storage model. New tables for consumers,
tokens, and nonces, with associated classes. An OAuthDataStore class
interfaces with the OAuth.php library to enable server logic.

Some additional work to get pretty-OK random number generation into
the utilities library. Use /dev/urandom if available; else use
mt_rand().

darcs-hash:20080527200721-84dde-308c047af2ebc2c4d753c1e1e24af20fef862a7e.gz
2008-05-27 16:07:21 -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
c36c7db82c fix notice generation in rss channels
darcs-hash:20080522191436-84dde-a24bd6fa5e9d5fc9af03d64d199ad827c8eb38ec.gz
2008-05-22 15:14:36 -04:00
Evan Prodromou
3381ec439d use notice URI in channel items list
darcs-hash:20080522191028-84dde-802a85a8838bfe04347c172dc7c7df51367e11e6.gz
2008-05-22 15:10:28 -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
139fd492ff use notice URIs in RSS feeds
darcs-hash:20080522184434-84dde-0d698f3e34301c2a5600ce5e828db4402d070808.gz
2008-05-22 14:44:34 -04:00
Evan Prodromou
7979176e14 generate classes for db schema with URIs
darcs-hash:20080522184109-84dde-0d13fc6890f85613554f5dd64b1baa67bbcaa8f6.gz
2008-05-22 14:41:09 -04:00
Evan Prodromou
aa34949520 typo in common_mint_tag
darcs-hash:20080522184027-84dde-f6e53502335b5cd14bc1a2323b3f3eeb99b33cd4.gz
2008-05-22 14:40:27 -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
41f0135780 move the goalposts for 0.2
I pushed a lot of TODOs down, renamed the 0.2 release to 0.3, and made
a new release 0.2 in between.

darcs-hash:20080522172530-84dde-f2c7db710bfd877d83d9162c0698bddd709a455c.gz
2008-05-22 13:25:30 -04:00
Evan Prodromou
21d54452a0 TODOs and docs and openmicroblogging spec
Moved around a few TODOs.

Linked to docs in the foot menu better.

Added a specification for the openmicroblogging standard.

darcs-hash:20080522172006-84dde-060372ec90444faf0e3453229cfd33aceaf28e4a.gz
2008-05-22 13:20:06 -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
5d0bd93eb3 strip slashes
Check if automated slash-adder is on, and if so, strip out automated
slashes.

darcs-hash:20080522103630-84dde-4f6d10b6e6efff91a53c4af735040995ae947211.gz
2008-05-22 06:36:30 -04:00
Evan Prodromou
3be4397706 change some todos
darcs-hash:20080521194238-84dde-725c85aa8c24f9160649ee1fa65aab7bd051ae20.gz
2008-05-21 15:42:38 -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
8bfc5bbc9f wrong path for defaults
darcs-hash:20080521155849-84dde-97b8533a4c70f8f2494632bbb3044bb103270098.gz
2008-05-21 11:58:49 -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
12a58d87e8 fix path to default avatars
darcs-hash:20080521154234-84dde-e83305636b6bc2bb158db8588838c8b62b1b7af0.gz
2008-05-21 11:42:34 -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
871dcac891 full path for avatars
darcs-hash:20080521151227-84dde-a4fdacd42dc9be7aa83646f589942931542da73f.gz
2008-05-21 11:12:27 -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
139c7a7979 declare config global for show_notice in streams
This is needed to get the default avatar, but it was missing.

darcs-hash:20080521133951-84dde-9d7ebbcc90086e94d1b48b33dfadcc9169f0f183.gz
2008-05-21 09:39:51 -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