Commit Graph

6099 Commits

Author SHA1 Message Date
Evan Prodromou
0ba9948603 move update_user function to openid.php
darcs-hash:20080619135148-84dde-6caaa7f97d2405bc318bfa818c4ac9cbc31cab33.gz
2008-06-19 09:51:48 -04:00
Evan Prodromou
171b4f72ee immediate mode for openid
darcs-hash:20080619134710-84dde-6086a4ac7bbd72a251fe5ce6fe3156e3270ebd74.gz
2008-06-19 09:47:10 -04:00
Evan Prodromou
7258969cd4 use query method to do some transactions
darcs-hash:20080619033619-84dde-e4fcc00f5d86cb0d11feff5f88f719ea72d3318e.gz
2008-06-18 23:36:19 -04:00
Evan Prodromou
4aedce6864 do some commits
darcs-hash:20080619033212-84dde-2f7227fe16c7015b03121424520ebd74d4b96762.gz
2008-06-18 23:32:12 -04:00
Evan Prodromou
de9cd14a6f default DB driver is DB
darcs-hash:20080619020634-84dde-37a8f87b9f293534ed167e183fa2d08f6714c2ad.gz
2008-06-18 22:06:34 -04:00
Evan Prodromou
1d67f33b3b switch password and id in munge_password
I think this is the less effective way to salt a password, BUT...
I had a big bug in my code! All the code that was calling this
function got the order of the params mixed up. So, to save heartache,
I just reversed the order of the parameters, and reversed how the were
used in the function. It should be functionally the same as before,
but better documented.

darcs-hash:20080618211454-84dde-4772135cc92f2a51faa072e4470da3c628e1510c.gz
2008-06-18 17:14:54 -04:00
Evan Prodromou
f341780e1f more subscriptions/subscribers changes
Showstream now shows subscriptions in reverse chron order, like the
other pages.

Added a callback method to figure out who the _other_ guy is in a
subscription.

Changed gallery page to be a UL of images.

darcs-hash:20080618172444-84dde-b886f6f8170370ae1aaf2e7f996aff288a471145.gz
2008-06-18 13:24:44 -04:00
Evan Prodromou
78ac9df2a6 change references from subscribed to subscribers
darcs-hash:20080618171622-84dde-abe0986279b106ff651913d759828d6d945adf0f.gz
2008-06-18 13:16:22 -04:00
Evan Prodromou
aeaf75138c factor out similarities in subscriptions and subscribers
darcs-hash:20080618171313-84dde-3389db1f5110d3f47cd5a4ef17f6a7fc0fcf3b44.gz
2008-06-18 13:13:13 -04:00
Evan Prodromou
f055d2643b add a little XML goodness to redirect
darcs-hash:20080618202500-84dde-66eeb8af0e26d9723b89831a6ba7bb82b09dbe09.gz
2008-06-18 16:25:00 -04:00
Evan Prodromou
ed54a46fe9 add more debugging
darcs-hash:20080618201123-84dde-3c6a131fafc0ba8922293c608173a6d7407ce8d0.gz
2008-06-18 16:11:23 -04:00
Evan Prodromou
38d0cec9b0 fix trust root in openid to use 'public' string
darcs-hash:20080618182812-84dde-62e5442eb8f051e29f9a7b5134a7ba5a09cfe3a0.gz
2008-06-18 14:28:12 -04:00
Evan Prodromou
1d867396fa add xrds for trust root URL
darcs-hash:20080618182647-84dde-e75e2c3441e8441ad6602f36fd9b7bf6ca39e70d.gz
2008-06-18 14:26:47 -04:00
Evan Prodromou
a4b36e28f4 link in the branding p
darcs-hash:20080618154643-84dde-e77d6bf486806725579cdfe922ccbe3e59e008e1.gz
2008-06-18 11:46:43 -04:00
Evan Prodromou
56125383f4 class
darcs-hash:20080618153258-84dde-48204f3d9d3d6c710d73bad4b390877cb34e2991.gz
2008-06-18 11:32:58 -04:00
Evan Prodromou
79ac337695 more rigorous check on site logo
darcs-hash:20080618153036-84dde-06329e00661924826d6fd2b5b0682957c21c06d9.gz
2008-06-18 11:30:36 -04:00
Evan Prodromou
2de52654e2 change sitename h2 to branding p
darcs-hash:20080618152004-84dde-4d97997a9842ff1db550152266b51048df9e7281.gz
2008-06-18 11:20:04 -04:00
Evan Prodromou
fddcfd75c5 fake spaces in textareas to fakeout XMLWriter
darcs-hash:20080618030019-84dde-194b5591d9da98c74a513db540b802ed56455ae1.gz
2008-06-17 23:00:19 -04:00
Evan Prodromou
073281c0f4 don't put fake spaces in the text area
darcs-hash:20080618025253-84dde-3a9f3dceccc366b069b931b4159d8160c1ad62ce.gz
2008-06-17 22:52:53 -04:00
Evan Prodromou
d4341f03c2 add submit class to all buttons
darcs-hash:20080618163516-84dde-ab4d9daa4180d75da0813bed03f6c824577a87a0.gz
2008-06-18 12:35:16 -04:00
Evan Prodromou
0475763c3c fancified openidsettings URL
darcs-hash:20080618161321-84dde-366f585399c0dc0b8412596ebd0abcc61cfc904d.gz
2008-06-18 12:13:21 -04:00
Evan Prodromou
052e8eb7a4 better URLs for OpenID stuff
darcs-hash:20080618160733-84dde-cb233a9b2073b6333f2944682bb3ab0c1a7a547a.gz
2008-06-18 12:07:33 -04:00
Evan Prodromou
30c3cd552b fixup syntax error in openid.php
darcs-hash:20080618150557-84dde-61120bcf12e9ecfaafda079d1a943c75f99f5930.gz
2008-06-18 11:05:57 -04:00
Evan Prodromou
23c0b1f482 move openid authentication to a common function
darcs-hash:20080618133251-84dde-40c6326cb27ac20e52ef456a3f05e111c6fae97c.gz
2008-06-18 09:32:51 -04:00
Evan Prodromou
4a0b1a9ea9 consolidate linking a user to an OpenID
darcs-hash:20080618114310-84dde-15b224bb16d434150af457bc3b08de58e3833abd.gz
2008-06-18 07:43:10 -04:00
Evan Prodromou
0299b6f2ca add OpenID settings to settings menu
darcs-hash:20080618065508-84dde-855999e8433ac5882638635c43bd52b8940b59d4.gz
2008-06-18 02:55:08 -04:00
Evan Prodromou
f38256aef0 require the openid relational class
darcs-hash:20080618054847-84dde-2057020f22c3179fb93d5a3a7377e4f04bb74c83.gz
2008-06-18 01:48:47 -04:00
Evan Prodromou
00d898348b add OpenID and SReg libraries
darcs-hash:20080617151249-84dde-49ae79fe369b0a6917fa9d0f2abd907bb13ba389.gz
2008-06-17 11:12:49 -04:00
Evan Prodromou
6b8d8c9a7a forgot 'new' keyword
darcs-hash:20080617150656-84dde-ebeaab4cd8c8c52ba27a2fc8cee177ede9b63246.gz
2008-06-17 11:06:56 -04:00
Evan Prodromou
9cdde74822 more specific Store class
darcs-hash:20080617150509-84dde-3534c0a188ee3c81ca5597e8f5eba75d5ed5383e.gz
2008-06-17 11:05:09 -04:00
Evan Prodromou
43d0c82c9c beginnings of OpenID login
darcs-hash:20080617144942-84dde-a2a1040a42254903a64cff0aae3c1912ed951473.gz
2008-06-17 10:49:42 -04:00
Evan Prodromou
239c888b84 filename in jquery
darcs-hash:20080617044054-84dde-67eb7cd429c8f5bef64273c73a58dcb43816de02.gz
2008-06-17 00:40:54 -04:00
Evan Prodromou
4a01376789 add jQuery
darcs-hash:20080617043650-84dde-cef7662e9dff3ac0a1187586fc4cdcfca1d08087.gz
2008-06-17 00:36:50 -04:00
Evan Prodromou
7ad2b42bc3 before and after are switched, pass QSA in some rewrite rules
darcs-hash:20080615035510-84dde-3026b20678070004d8e8439d5e08e01ee6ef2b8b.gz
2008-06-14 23:55:10 -04:00
Evan Prodromou
83e303fe27 fancy URLs should remember page
darcs-hash:20080615035012-84dde-0450954528a270f46a4ac5d2b077af793ba8c1f3.gz
2008-06-14 23:50:12 -04:00
Evan Prodromou
16e7e96a5f use site name as default sender
darcs-hash:20080615030319-84dde-3dc38d515b029424027c3160e06e62ce8b7dd29a.gz
2008-06-14 23:03:19 -04:00
Evan Prodromou
024dc6c098 email notification on new subscriptions
darcs-hash:20080615030202-84dde-ebed7919c227ce280dc818f301e15001eb8b5926.gz
2008-06-14 23:02:02 -04:00
Evan Prodromou
2fcae93272 take out public from views menu for now
darcs-hash:20080614122517-84dde-c78fbdd9c3329e87f405040e851650a81ab63d5c.gz
2008-06-14 08:25:17 -04:00
Evan Prodromou
27a615aefd add public tab
darcs-hash:20080614122038-84dde-af7c2be04d41c1d85b62cf74724fe8e4a877a84a.gz
2008-06-14 08:20:38 -04:00
Evan Prodromou
9ff4794f1b mark off some todos, add a version number, and put code info at the bottom of the page
darcs-hash:20080613184638-84dde-aa7059348899949f3e0c6cfa02d08c41458384a1.gz
2008-06-13 14:46:38 -04:00
Evan Prodromou
8ba7e8cb76 function for retrieving a config variable
darcs-hash:20080613175344-84dde-253b5b55ea8ae85b807cba2e23ea885c6bbb0b8f.gz
2008-06-13 13:53:44 -04:00
Evan Prodromou
59d8b8b199 show logo only if file exists, add h1 and h2 to all pages
darcs-hash:20080613154632-84dde-d2eec5c1472d76eb5d3e8eb253b6a3572a8f721b.gz
2008-06-13 11:46:32 -04:00
Evan Prodromou
704155647f better titles in RSS
darcs-hash:20080613153303-84dde-556ed40d75c3701df3a3ce7b5415896f9ac66d12.gz
2008-06-13 11:33:03 -04:00
Evan Prodromou
1c50e11077 add author information for RSS
darcs-hash:20080613153012-84dde-3b5b4670681fc40dc62d82a1609ebca69a921bda.gz
2008-06-13 11:30:12 -04:00
Evan Prodromou
a86477aad3 add content negotiation for media type
darcs-hash:20080613144913-84dde-3e970b4e6f19ea1e0db09d7ab133a6c148be7a75.gz
2008-06-13 10:49:13 -04:00
Evan Prodromou
47c3e474be only validate if values are sent
darcs-hash:20080612195324-84dde-cab5efa3218f3cd3632ced1c819a5be2edb3c5a0.gz
2008-06-12 15:53:24 -04:00
Evan Prodromou
fa79d2c1d4 another copy-and-paste error
darcs-hash:20080612194656-84dde-d4cc2ac343b17502adf7c6190145d5041f554420.gz
2008-06-12 15:46:56 -04:00
Evan Prodromou
3491bb2df7 catch errors in debug log
darcs-hash:20080612193945-84dde-2c368ba1273814401f741ef79333c0cd8a43f90d.gz
2008-06-12 15:39:45 -04:00
Evan Prodromou
e13e58a9cf correct the id attribute of the profile
darcs-hash:20080612192221-84dde-1c39a22068e64dc3dee8902a730a6f1264728874.gz
2008-06-12 15:22:21 -04:00
Evan Prodromou
1866c60b87 fix some incorrect input due to copy-and-paste programming
darcs-hash:20080612191606-84dde-653d6707f79b18c5e92defb6d35f7af088655137.gz
2008-06-12 15:16:06 -04:00
Evan Prodromou
4c3a1a9e30 add some more debugging code
darcs-hash:20080612190447-84dde-f5752112cd129b44719114e56bec7f3745c665fd.gz
2008-06-12 15:04:47 -04:00
Evan Prodromou
c2a170da10 broadcast profile and change subscription input id
darcs-hash:20080612184028-84dde-1f919ab373e5731efd403986ae760116769566d9.gz
2008-06-12 14:40:28 -04:00
Evan Prodromou
2354faf7ac add instructions to each form entry in forms
darcs-hash:20080612165201-84dde-1abc45a0b2fd24002bc6f3449e9fc521d4f02eac.gz
2008-06-12 12:52:01 -04:00
Evan Prodromou
526a09531e change default avatars from config vars to theme files
darcs-hash:20080611190230-84dde-78ff0d6f6c370a33aabc4f0053651b6629f85499.gz
2008-06-11 15:02:30 -04:00
Evan Prodromou
d0f8fd20fb push notice form and sub-menu into header div
darcs-hash:20080611183634-84dde-97119e7ef1abb01f6ce8723955dc5d6e06e644a8.gz
2008-06-11 14:36:34 -04:00
Evan Prodromou
f4ed605998 only show notice form if user is logged in, looking at own page
darcs-hash:20080611181334-84dde-e9045179a94f8c78af9d660c57a37ce6f5fc9776.gz
2008-06-11 14:13:34 -04:00
Evan Prodromou
f406ba4501 show selection in settings menu
darcs-hash:20080611160520-84dde-6e5b2d12cd9f0f601ffd57bc68246df738d6145a.gz
2008-06-11 12:05:20 -04:00
Evan Prodromou
ca4d43a98f closing menu list in the wrong place
darcs-hash:20080611160318-84dde-d3c9a5c19651cc188420d7e0974e25e90d88c780.gz
2008-06-11 12:03:18 -04:00
Evan Prodromou
34cdd4ebd0 make last parameter for common_menu_item() optional
darcs-hash:20080611155649-84dde-6200d33e93ed13278c22833d1225e3b9eb44b9b5.gz
2008-06-11 11:56:49 -04:00
Evan Prodromou
9f39fd31af menu on home and profile
darcs-hash:20080611155258-84dde-7afab3908ff3464975f8478fcd41f065466170ae.gz
2008-06-11 11:52:58 -04:00
Evan Prodromou
7edc6e18fa take out home/profile menu for all pages, use same format for settings menu
darcs-hash:20080611015609-84dde-e2789990adb9a166aa76d119b1e941dbf18fbcc9.gz
2008-06-10 21:56:09 -04:00
Evan Prodromou
276b5d7cb0 better form handling
darcs-hash:20080610211614-84dde-34fe91876d37f1a5a6a1368f199378949c56c1b8.gz
2008-06-10 17:16:14 -04:00
Evan Prodromou
64b5b1902c canonicalization lowercases nicknames
darcs-hash:20080611141824-84dde-a1016e113f7ba0e32685d935cd57618c60db2265.gz
2008-06-11 10:18:24 -04:00
Evan Prodromou
02e2dfd1aa get current user in views menu
darcs-hash:20080610195920-84dde-39012658cb5f4127d667ac23ddcabd795a337f7e.gz
2008-06-10 15:59:20 -04:00
Evan Prodromou
cd2e89e2b0 better footer
darcs-hash:20080610195502-84dde-7f88fbfc5accd6d91467ddec1356e193728ba059.gz
2008-06-10 15:55:02 -04:00
Evan Prodromou
c0a3df1c3b remove license block
darcs-hash:20080610195134-84dde-48212ca46f4467ef1bf72a2d49e346dc03308c52.gz
2008-06-10 15:51:34 -04:00
Evan Prodromou
c9a899781b move help menu and change class of menuitem li,s
darcs-hash:20080610194553-84dde-adf2c70341bda9e3c06e2513426cddbfdf4c5d53.gz
2008-06-10 15:45:53 -04:00
Evan Prodromou
36894e6a7f change class of notice textarea to its id
darcs-hash:20080610194243-84dde-dad19548b794cc3d6d549e986bf17aa6b0421199.gz
2008-06-10 15:42:43 -04:00
Evan Prodromou
2c95246fcd finish logo link
darcs-hash:20080610193854-84dde-5abf4471581cd474bfcf68cab6b72b7a6a9d5930.gz
2008-06-10 15:38:54 -04:00
Evan Prodromou
81fd41f64d wrap notice form in p
darcs-hash:20080610193649-84dde-a735d4c6fdb6d808f727dc79215e7014523555ee.gz
2008-06-10 15:36:49 -04:00
Evan Prodromou
bcac7e56ee fixup views menu
darcs-hash:20080610193520-84dde-300bbdf3d38a7f235ed7b073d8fb29aff76b9c85.gz
2008-06-10 15:35:20 -04:00
Evan Prodromou
644948fb1e new layout for all action
darcs-hash:20080610193305-84dde-ef9bfe958f79d8668f14302b22e098f2f8232bc1.gz
2008-06-10 15:33:05 -04:00
Evan Prodromou
74517da3f5 fixup for new theme design in public.php
darcs-hash:20080610192101-84dde-29ba2cc875b73131bbbbef4cbdfb17965df37677.gz
2008-06-10 15:21:01 -04:00
Evan Prodromou
7d467df0c0 fix footer menu
darcs-hash:20080610185759-84dde-dafb858d36f77cf295d2c869061723b018b4f002.gz
2008-06-10 14:57:59 -04:00
Evan Prodromou
dd0b341b64 first steps towards new skin
darcs-hash:20080610185238-84dde-c073065f5f802be39b97a23105613fac1eeb0bea.gz
2008-06-10 14:52:38 -04:00
Evan Prodromou
e013c06346 undo fancy URLs for omb endpoints
The OAuth library uses the $_GET and $_POST arrays for checking
signatures on requests. So, we need to make sure that the client sees
the same request parameters as the server (or callback). These don't
have to be particularly readable URLs, anyways, since they're mostly
"behind the scenes".

darcs-hash:20080610123002-84dde-0bce005b77d053d22cfbba8e0743af1b49f151bb.gz
2008-06-10 08:30:02 -04:00
Evan Prodromou
c73ebf3382 export FOAF
darcs-hash:20080610121132-84dde-f0f49c2e33c650e6cf91d3e31f595b0ee570e603.gz
2008-06-10 08:11:32 -04:00
Evan Prodromou
afeb31af63 use rdf:resource for license urls
darcs-hash:20080608203314-84dde-6553bea647ce5e712a7615ece83840e1e14a33d4.gz
2008-06-08 16:33:14 -04:00
Evan Prodromou
a00b9c0fdc forgot config in channel
darcs-hash:20080608201957-84dde-a092da20de695cfd6a910c38b24a607fe678159c.gz
2008-06-08 16:19:57 -04:00
Evan Prodromou
53ae2cc3f9 add cc:license to RSS streams
darcs-hash:20080608201917-84dde-ba5c877c01c0200f379c4433799b1f752a9817df.gz
2008-06-08 16:19:17 -04:00
Evan Prodromou
daf5b82183 fancy URLs
darcs-hash:20080606200151-84dde-4ed7ae04c16441a431544c207effcfdea1c72a6c.gz
2008-06-06 16:01:51 -04:00
Evan Prodromou
3d0f3095b3 bad signature because variable name was wrong
darcs-hash:20080606180035-84dde-d91a6540a33196a6b76b1d5ba473d79dbc961b93.gz
2008-06-06 14:00:35 -04:00
Evan Prodromou
3fb68b4324 removing some noisy debug notices
darcs-hash:20080606175254-84dde-acf1bd42c7ca01bb811caec928abf6dfa338fd36.gz
2008-06-06 13:52:54 -04:00
Evan Prodromou
03beaef01c quit trying to use fancy join and just loop
darcs-hash:20080606174822-84dde-2128b2a5a6e129b10741bb8a1b2cdcdacc4ca1ca.gz
2008-06-06 13:48:22 -04:00
Evan Prodromou
ebfc997de3 fix name of join-adding method
darcs-hash:20080606173804-84dde-16dfd378d370206ec5837a317bb986cfa57fbea5.gz
2008-06-06 13:38:04 -04:00
Evan Prodromou
ca6f7337db dump sub and rp
darcs-hash:20080606172638-84dde-191d9ef20462ec6edf2637c7b3f6d39ba5815a56.gz
2008-06-06 13:26:38 -04:00
Evan Prodromou
67b326a0b3 trim whitespace and more debugging for posting messages
darcs-hash:20080606172239-84dde-383dd08b116b9238a8313dc2f117f5edac3a5905.gz
2008-06-06 13:22:39 -04:00
Evan Prodromou
d2092d1a82 debugging messages in broadcast remote
darcs-hash:20080606171450-84dde-cd594e2cdb734a76e4dd6436a40ba900d4f64053.gz
2008-06-06 13:14:50 -04:00
Evan Prodromou
a578bfc03d push yadis requirement into omb.php
darcs-hash:20080606162659-84dde-fd7d5e030aa6aeebf61d0ea7b143aa7cafce7c45.gz
2008-06-06 12:26:59 -04:00
Evan Prodromou
8ddb25e1a7 move notice-posting stuff from util.php to omb.php
darcs-hash:20080606162226-84dde-a794aede95d78913a21e7e2180d7d04cc47789f0.gz
2008-06-06 12:22:26 -04:00
Evan Prodromou
2b842b5e45 call postnotice when there's a remote subscription
darcs-hash:20080606160437-84dde-25d2db21e059159751a27fd77f47764346029dd8.gz
2008-06-06 12:04:37 -04:00
Evan Prodromou
7692378a9d debugging output for new_access_token
darcs-hash:20080606061556-84dde-21c46b2021b2ed63836111aa31a45b251c73a1bc.gz
2008-06-06 02:15:56 -04:00
Evan Prodromou
7bbb4ef7c7 mixed up token keys and OAuthToken objects
darcs-hash:20080606060601-84dde-a1ae6f677c2846f9d10af18cd7f001ae5e560403.gz
2008-06-06 02:06:01 -04:00
Evan Prodromou
c22fb6e569 mixed up OAuthConsumer and Consumer classes
darcs-hash:20080606054549-84dde-9d90611b14fa441873fc4504548d46848dbdf5b4.gz
2008-06-06 01:45:49 -04:00
Evan Prodromou
e25d249a10 seem to be storing tokens with null consumer keys
darcs-hash:20080606053914-84dde-e4bad8da4af7bed3ca8e8e84c5cc82ff2a82ad4c.gz
2008-06-06 01:39:14 -04:00
Evan Prodromou
56021d9572 move avatar scaling and saving to Avatar and Profile
Extracted the code for setting a new original avatar to the Profile
class, and moved some of it to Avatar, too. This makes it easier to
have the same functionality whether an avatar is set using the profile
settings (for our users), or on a remote subscription. Necessitated
changing the filenaming function to just take an ID.

darcs-hash:20080605193708-84dde-a441cc0474951ce7f1a1da9310b5145c0b7c3070.gz
2008-06-05 15:37:08 -04:00
Evan Prodromou
24ff61d159 decided to validate tag uris rather than not validating any uris
darcs-hash:20080605040153-84dde-5d180f0d8ead2fc7c5eaca3deaf035ba31d3512a.gz
2008-06-05 00:01:53 -04:00
Evan Prodromou
ea40a9cd93 move filename stuff to debug function
darcs-hash:20080605024717-84dde-dc897a855af13ea30bb670daf94749e9f14fa7ad.gz
2008-06-04 22:47:17 -04:00
Evan Prodromou
d241352dcc automatically prepend filename to debug output
darcs-hash:20080605024035-84dde-bc3abc4329f3181cffd26e83d37968ee6a02a26e.gz
2008-06-04 22:40:35 -04:00
Evan Prodromou
d251e624a9 full interface for userauthorization
darcs-hash:20080604185131-84dde-2ff45e07ebba18c97803ed4a99121a6244ef1158.gz
2008-06-04 14:51:31 -04:00
Evan Prodromou
71c4032273 clear out lots of debugging code, add require to userauthorization
darcs-hash:20080603115218-84dde-f333d4541e1112487a5da1e3ad71064513e2228f.gz
2008-06-03 07:52:18 -04:00
Evan Prodromou
3182984080 fix service discovery (I think)
darcs-hash:20080603114317-84dde-04fe2734003fa8023708b6dbda6243d9fd15e9d8.gz
2008-06-03 07:43:17 -04:00
Evan Prodromou
38b5ad6fd6 one more stab at type matching, plus debug message
darcs-hash:20080603113626-84dde-99a92331e3875d05e68919acea46392a0128938e.gz
2008-06-03 07:36:26 -04:00
Evan Prodromou
efbae69aae restructure filters on services
darcs-hash:20080603111750-84dde-5b3eb37cc05ceaec991951338d55d38a2e0a5f2d.gz
2008-06-03 07:17:50 -04:00
Evan Prodromou
7b24d101c0 fix consumer fetching, nonce making
darcs-hash:20080602200645-84dde-c72e2e98a955bdd7768fa39da30660dfcffd0f15.gz
2008-06-02 16:06:45 -04:00
Evan Prodromou
10f9a8a125 change names, update
darcs-hash:20080602195138-84dde-d5106000f1496aac729685b65da8bb21c520f0a3.gz
2008-06-02 15:51:38 -04:00
Evan Prodromou
1f8e18d97b add the hmac sha1 signature method to server
darcs-hash:20080602194333-84dde-3ebcd6250184952779a6e6fd7c8561cc6a3733ac.gz
2008-06-02 15:43:33 -04:00
Evan Prodromou
1de5328c49 correct server error output
darcs-hash:20080602193851-84dde-069af77a95bc89271b75b7e0c7ff965fefa1de34.gz
2008-06-02 15:38:51 -04:00
Evan Prodromou
bde49e2c52 fixup classes
darcs-hash:20080602192820-84dde-6ac58e44cc0fb455e871053ace803194c76ccd00.gz
2008-06-02 15:28:20 -04:00
Evan Prodromou
84e0fcbd7d correct name of data store class
darcs-hash:20080602192526-84dde-f3416449cc8dcfc0ffe85d79d166d419aa2a5b0c.gz
2008-06-02 15:25:26 -04:00
Evan Prodromou
c294c85aba fixup caching problem with server variable
darcs-hash:20080602192242-84dde-e023e8f328ec7f6c283a0f436b2dd577659d9e10.gz
2008-06-02 15:22:42 -04:00
Evan Prodromou
53254d36ea get content of element rather than raw element
darcs-hash:20080602191039-84dde-d4a119b5c6a0bff9648ee6a4445e373933f2c199.gz
2008-06-02 15:10:39 -04:00
Evan Prodromou
740460e2ac add a namespace when checking for LocalID element
darcs-hash:20080602190357-84dde-fbfece18db8a6c4c916c1a58dca1b4a7998772f1.gz
2008-06-02 15:03:57 -04:00
Evan Prodromou
5674061f55 fix URLs for OMB endpoints
darcs-hash:20080602185618-84dde-222f44fcdd6d085b9c3ef26f03738e120be55fae.gz
2008-06-02 14:56:18 -04:00
Evan Prodromou
38a621dcf8 fix assignment of omb stuff
darcs-hash:20080602183314-84dde-1f81609b2eb0d628c0e6dfe5fea7e21d799bdb3d.gz
2008-06-02 14:33:14 -04:00
Evan Prodromou
3b9f0e3867 add some debugging stuff for problems with remote subscribe
darcs-hash:20080602181254-84dde-ac7f4a362754a66facfb06a7b41f9160a0eb5caf.gz
2008-06-02 14:12:54 -04:00
Evan Prodromou
74bec95032 fix dynamically-created code
darcs-hash:20080602180108-84dde-c499dd9734e87081a3d7124c5b6ef885dc346670.gz
2008-06-02 14:01:08 -04:00
Evan Prodromou
326def1965 move service-matching callbacks to library
darcs-hash:20080602175725-84dde-c8b3abaedcb8667130da2a080a09630d91969b5c.gz
2008-06-02 13:57:25 -04:00
Evan Prodromou
03677f1a81 better handling of XRDS files
Our generated XRDS files contain 3 XRD elements: one for OAuth, one
for OMB, and one to point to the other two. Auth_Yadis only gives us
the last one, so we have to use it to find the other two, and then
extract service URLs from them.

Kind of fragile code, probably won't hold up under complicated
topologies, and won't work at all if the XRDs are in another XRDS
container. I tried to use XRDS filtering to get the top-priority
version of XRDs, services, and URIs, but Laconica's output doesn't use
any of that stuff and I don't particularly want to test it.

darcs-hash:20080602174249-84dde-b7ffdf7f21afb5b734def70530fc305689da471d.gz
2008-06-02 13:42:49 -04:00
Evan Prodromou
52c7ff9827 start handling fancy URLs
darcs-hash:20080530212555-84dde-213c04b9cf9048f48bf0b0b4234bcdf49546d4d9.gz
2008-05-30 17:25:55 -04:00
Evan Prodromou
0cb0a5ce1d no pid in syslog
darcs-hash:20080530185015-84dde-8b4a2f735a530f20a3fd8a2b07b2cc4f038e3846.gz
2008-05-30 14:50:15 -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
1eb8a82abd fix path for requiring oauthstore
darcs-hash:20080530174616-84dde-8a7c90c83c04cd07d6dcbe2795dde03dbc63c0f2.gz
2008-05-30 13:46:16 -04:00
Evan Prodromou
bf5ae8e69a remotesubscribe form
darcs-hash:20080530174310-84dde-1e05966eb48573ced8e73acf3f3b59e7bc4f1170.gz
2008-05-30 13:43:10 -04:00
Evan Prodromou
f8a070394f common function for turning a relative path into a full URL
darcs-hash:20080530162429-84dde-12336814d3a01b4937ab574741fa4987484be62d.gz
2008-05-30 12:24:29 -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
9210f95633 don't render content in RSS feeds
darcs-hash:20080529192510-84dde-eedf578cb3cb06dd019b8a613192adb467cfab4a.gz
2008-05-29 15:25:10 -04:00
Evan Prodromou
a63208b3da move linkifying so URL links come first
darcs-hash:20080529190743-84dde-849369c3c48006aaf6fcc523c9a952ea5d5bd999.gz
2008-05-29 15:07:43 -04:00
Evan Prodromou
45efc7b61b linkify URLs
darcs-hash:20080529190702-84dde-ef753ca1864b13e4c2ae0ebbd683c4f593f2f1f0.gz
2008-05-29 15:07:02 -04:00
Evan Prodromou
754303ce9e ar
darcs-hash:20080529182754-84dde-b5b0d1094b586602e62828995d75d8697ea52cbf.gz
2008-05-29 14:27:54 -04:00
Evan Prodromou
317496e979 more regex fun
darcs-hash:20080529182725-84dde-aa343a6ecd3c6ac79adcd96198d1f18b6c56cb79.gz
2008-05-29 14:27:25 -04:00
Evan Prodromou
02132baea5 remove URL check again
darcs-hash:20080529182026-84dde-b4ac5b6326476e6913683149db32f1ff46283127.gz
2008-05-29 14:20:26 -04:00
Evan Prodromou
e6c7135507 one more try on the preg delimiter
darcs-hash:20080529181942-84dde-60f2e659d4d67f085e4f8bc9a1c06753cf4b8924.gz
2008-05-29 14:19:42 -04:00
Evan Prodromou
2acd91f16c bad regex again
darcs-hash:20080529181623-84dde-90c4ce5306cdc9df2696064184aec122083519c8.gz
2008-05-29 14:16:23 -04:00
Evan Prodromou
491960d55a use q's for regex delimiter
darcs-hash:20080529181549-84dde-bd4ce6c6101268a95aa95a8727c7aaa96f96cac3.gz
2008-05-29 14:15:49 -04:00
Evan Prodromou
792eb9ede2 remove url regex
darcs-hash:20080529181321-84dde-ed6ab6e839787cacc82681617b152106150839aa.gz
2008-05-29 14:13:21 -04:00
Evan Prodromou
58219416ca linkify URLs
darcs-hash:20080529181244-84dde-6b51042c5c92581d8aecfbb83630646afc078793.gz
2008-05-29 14:12:44 -04:00
Evan Prodromou
f4b8feec0a keep the ampersand in atlinks
darcs-hash:20080529173635-84dde-8152ddcd07e094f5478a470f5b1a3ea28ce5421e.gz
2008-05-29 13:36:35 -04:00
Evan Prodromou
fb3029d74e special chars for raw links in atlinks
darcs-hash:20080529173400-84dde-f0883200a6dac50a3d9022cef82816339f9dd84c.gz
2008-05-29 13:34:00 -04:00
Evan Prodromou
85aeafe34a better regular expression for atlinks
darcs-hash:20080529173234-84dde-7b1e8fa0af993edd74b11f88bdfbc24e970298a7.gz
2008-05-29 13:32:34 -04:00
Evan Prodromou
fb437aabca don't check for notice in rendering content; just render it!
darcs-hash:20080529172549-84dde-12c79e34baa6a19938350447f5939fb25febea21.gz
2008-05-29 13:25:49 -04:00
Evan Prodromou
a8fa9eb1bd remove debug string
darcs-hash:20080529172258-84dde-5c413413103946838aaeed249019f168e8f5b601.gz
2008-05-29 13:22:58 -04:00
Evan Prodromou
163e396467 more debugging crap
darcs-hash:20080529172205-84dde-7f4fe045ae9bd93b501087a96dea61914f6eb05f.gz
2008-05-29 13:22:05 -04:00
Evan Prodromou
56bf637176 dummy atlinkin
darcs-hash:20080529172107-84dde-5c4fd44c49340e1ef478e1582776a0310365e479.gz
2008-05-29 13:21:07 -04:00
Evan Prodromou
0fde1097f3 fixup atlink generator a bit
darcs-hash:20080529171853-84dde-3c7239cfb22c85b67946787e3cabf5a7583a8d4d.gz
2008-05-29 13:18:53 -04:00
Evan Prodromou
96c04a5414 loosen restrictions on names for atlinks
darcs-hash:20080529171604-84dde-63bf0f261fe340df7bfec22a0b64daf2ca42615e.gz
2008-05-29 13:16:04 -04:00
Evan Prodromou
9d9588a3de @ messages
darcs-hash:20080529170801-84dde-765f70013696c46bee65bf1408ff4a0b379711d7.gz
2008-05-29 13:08:01 -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
22577b17ed even better boolean handling
darcs-hash:20080529152304-84dde-b0b0ea1f919701c2d821d9bf589a30db34dcc015.gz
2008-05-29 11:23:04 -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
0cabc70341 add doc action
darcs-hash:20080528182707-84dde-5f15e83a1243ec29a890b3b258163d07db5fc329.gz
2008-05-28 14:27:07 -04:00
Evan Prodromou
f61cce95a3 take out content rendering, seems to do something strange
darcs-hash:20080528174924-84dde-ed785a6704ed3ba402091f7f5539d5ced5756d69.gz
2008-05-28 13:49:24 -04:00
Evan Prodromou
67baa38c42 take out avatar floatleft
darcs-hash:20080528174807-84dde-88318f09f55ec55f5f3c8933943edc7b4504a496.gz
2008-05-28 13:48:07 -04:00
Evan Prodromou
fe66871f03 take out spans
darcs-hash:20080528174621-84dde-41b0575e8a937aa8504a67edde66a8fb84222304.gz
2008-05-28 13:46:21 -04:00
Evan Prodromou
bf4ca7e302 change to use correct width classes
darcs-hash:20080528174412-84dde-4f4e39c1a4ad36dcbf06f022936a91ebf4955c52.gz
2008-05-28 13:44:12 -04:00
Evan Prodromou
9cac74ddca update TODOs and try to reformat notices
darcs-hash:20080528174247-84dde-8b5e4cf4a750c25164bde2ee54a2178a9107dc11.gz
2008-05-28 13:42:47 -04:00
Evan Prodromou
1a2a62ede0 undo that
darcs-hash:20080528172149-84dde-5ccf267e5b97ad403cf87f4339258f3dda051728.gz
2008-05-28 13:21:49 -04:00
Evan Prodromou
92613fbcd7 whole footer has greenBg
darcs-hash:20080528172041-84dde-afe59aa8a36d72bca5294c9919186b1ab3db268f.gz
2008-05-28 13:20:41 -04:00
Evan Prodromou
bdb83be179 add greenBg for license
darcs-hash:20080528171944-84dde-9de7d48ed96a7bd763a1720a472db1e7a7246000.gz
2008-05-28 13:19:44 -04:00
Evan Prodromou
7b505743f2 add span around license link
darcs-hash:20080528171758-84dde-6121afedbce9bbecea09386e347aa3d1c85c8f44.gz
2008-05-28 13:17:58 -04:00
Evan Prodromou
0de75ab935 fixed widths
darcs-hash:20080528171626-84dde-860eb9185838f11ae7e68d5381ff3d26a0b71829.gz
2008-05-28 13:16:26 -04:00
Evan Prodromou
0eaeff2cbf try to float license text right
darcs-hash:20080528171543-84dde-3a2ef0070d8c6a64bda036db5a1efde185f78b80.gz
2008-05-28 13:15:43 -04:00
Evan Prodromou
11ccb0bae1 try to float license image left again
darcs-hash:20080528171434-84dde-5e0e37212b9de9809fd40304d31f9c8d08450ed0.gz
2008-05-28 13:14:34 -04:00
Evan Prodromou
70175b9c7a float text of license stuff right, to make a more pleasing license block
darcs-hash:20080528171232-84dde-3a8155054dacf2859c5544bfa8bc05c46e2115f7.gz
2008-05-28 13:12:32 -04:00
Evan Prodromou
6b0459b0e2 fix cc license url
darcs-hash:20080528171012-84dde-bf66fac5e9ca78881d3d3dfd08d76b22aeb84a2f.gz
2008-05-28 13:10:12 -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
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
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
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
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
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
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
8bfc5bbc9f wrong path for defaults
darcs-hash:20080521155849-84dde-97b8533a4c70f8f2494632bbb3044bb103270098.gz
2008-05-21 11:58:49 -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
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
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
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
41a149b74a fixup footer menu and fix syntax error in profile.php
darcs-hash:20080520210437-84dde-1a8472f5b5cdde042975d669b0fdca5d6984f330.gz
2008-05-20 17:04:37 -04:00
Evan Prodromou
816fe407fa better menuish stuff
darcs-hash:20080520205152-84dde-4261d3d07e172a365e383f75c646d46cdbfaeecb.gz
2008-05-20 16:51:52 -04:00
Evan Prodromou
0a52f79216 close ul for foot menu
darcs-hash:20080520203002-84dde-13b54cb7fe55641b735833d5c4a29349bf913c5e.gz
2008-05-20 16:30:02 -04:00
Evan Prodromou
51908f59ce smaller textbox
darcs-hash:20080520202500-84dde-a4bb2b7c64122805a73c157f34acc8849e2421d2.gz
2008-05-20 16:25:00 -04:00
Evan Prodromou
6d7a900946 fix element in notice form
darcs-hash:20080520201738-84dde-8f2591a10e1a917c869c1f50eef28de7cf4b66c2.gz
2008-05-20 16:17:38 -04:00
Evan Prodromou
63758c59e1 reformat showstream
darcs-hash:20080520201120-84dde-4b455d4e4854454cc78be8c636a3e0c7f730b93a.gz
2008-05-20 16:11:20 -04:00
Evan Prodromou
68fd2c3004 float images in stream left
darcs-hash:20080520192901-84dde-a292a53eabbfad423f31d7c257875198321e322a.gz
2008-05-20 15:29:01 -04:00
Evan Prodromou
52600ce0b0 trim whitespace
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
2008-05-20 15:14:12 -04:00
Evan Prodromou
070eacb2e7 fix problem with uninitialized xw object
darcs-hash:20080520181040-84dde-eb1692baeb910ce86abc912e3196bae14ad3fd55.gz
2008-05-20 14:10:40 -04:00
Evan Prodromou
73469e9bb1 indent HTML
darcs-hash:20080520180750-84dde-bdf9cca691ea8386ff66a482f4d890ce9e836ca3.gz
2008-05-20 14:07:50 -04:00
Evan Prodromou
2eab2c2d9d add nbsp to submit button label
darcs-hash:20080520180640-84dde-ab6db22c62371f5b747c39a78d5296e2d2fce2f8.gz
2008-05-20 14:06:40 -04:00
Evan Prodromou
c3b0e7bf50 add a label for submit button
darcs-hash:20080520175906-84dde-3b4aec544d517b21344fa802ca00026c8362b573.gz
2008-05-20 13:59:06 -04:00
Evan Prodromou
e80eef2f04 typo in form functions
darcs-hash:20080520175105-84dde-0f08b19d42ed6b5484ef763c3f6c819ae0156d6f.gz
2008-05-20 13:51:05 -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
8e81943c2c make the code use the default style
darcs-hash:20080520173427-84dde-890b794c42ab3c29c23aa542fee3232fd41463a3.gz
2008-05-20 13:34:27 -04:00
Evan Prodromou
491f946cc3 fix license title
darcs-hash:20080520171809-84dde-629fe4850ab2d3efc5c323f0acee2ebab5f83106.gz
2008-05-20 13:18:09 -04:00
Evan Prodromou
fa9e243d83 add image to config
darcs-hash:20080520171711-84dde-37d126ca0ccc8658fe2806a8f7f97ee0807783ba.gz
2008-05-20 13:17:11 -04:00
Evan Prodromou
329eac160a license block and move theme stuff
darcs-hash:20080520171353-84dde-5a04033ee8ef19da25ffa9e5c68d2cb18fc71b04.gz
2008-05-20 13:13:53 -04:00
Evan Prodromou
f08b9d1bc5 add notice id
darcs-hash:20080520153629-84dde-bcbde039e19b50b75528e30881eb877c276068ee.gz
2008-05-20 11:36:29 -04:00
Evan Prodromou
7cc40c5017 type declaration
darcs-hash:20080520133640-84dde-5fe3c3079d12812fff09834754c3bc5f5610b5eb.gz
2008-05-20 09:36:40 -04:00
Evan Prodromou
30866b71bb convert html-generation functions to use XMLWriter
darcs-hash:20080520132722-84dde-88a619005006dd032ac82c0e27d07c820843ab7e.gz
2008-05-20 09:27:22 -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
86cc2a16a9 fix link to profilesettings in settings menu
darcs-hash:20080519141736-84dde-20ee1ffc994ca10ae3ccd6ec765512ad0cd0385c.gz
2008-05-19 10:17:36 -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
cb32dad17b add common_password
darcs-hash:20080519131808-84dde-af9d0bf03a963f7b0bdaed3b973a38998f9e806e.gz
2008-05-19 09:18:08 -04:00
Evan Prodromou
a4789e79c8 change defaults to use avatar dir
darcs-hash:20080518191849-84dde-ecaf7a36d27378d707d0a08b3948bcc2af24374f.gz
2008-05-18 15:18:49 -04:00
Evan Prodromou
822f790a96 fix path to files, some TODOs
darcs-hash:20080518191056-84dde-c7b52e98b4b9642788c82f28cdf16ff6af9f45c3.gz
2008-05-18 15:10:56 -04:00
Evan Prodromou
793d48dc9e smaller packet
darcs-hash:20080518015551-84dde-65964e140ed0b6c23aeee368fcffccdc14d71c61.gz
2008-05-17 21:55:51 -04:00
Evan Prodromou
1950efda80 save profile url
darcs-hash:20080517202132-84dde-78c7fe9f22aa28f33e9e00432f5cf6436b64e6b5.gz
2008-05-17 16:21:32 -04:00
Evan Prodromou
7ee294de75 dates are already strings
darcs-hash:20080517201719-84dde-ad4d5d935f510bedbd965c9c4c93550c50820454.gz
2008-05-17 16:17:19 -04:00
Evan Prodromou
564694c2f1 use cast object for datetimes
darcs-hash:20080517201411-84dde-7a6195517a5bded7b84266f61c035e2adbc49edd.gz
2008-05-17 16:14:11 -04:00
Evan Prodromou
466f0489c3 fix created, messages
darcs-hash:20080517195201-84dde-8f8269284e5fc00e9f2a6d8187059d0f59eae007.gz
2008-05-17 15:52:01 -04:00
Evan Prodromou
850bfc0a35 fix typo in common_date_string
darcs-hash:20080517194133-84dde-7fc79724a9036b6d98c44c3369aac6a5a3ee931f.gz
2008-05-17 15:41:33 -04:00
Evan Prodromou
30d4b7f791 ensure rather than check for session
darcs-hash:20080517193520-84dde-e0e0ad44fa0b87e7964fa36375b656e7cfabf865.gz
2008-05-17 15:35:20 -04:00
Evan Prodromou
6e0cfd908b fixup some nickname handling
darcs-hash:20080517175022-84dde-475a63e7f8d400c508d259fcbc9959588720316b.gz
2008-05-17 13:50:22 -04:00
Evan Prodromou
1efea523f2 fix INSTALLDIR use in common.php
I was using $INSTALLDIR instead of INSTALLDIR

darcs-hash:20080517173424-84dde-6fe6df2e710f1a19db97a93682f41cf01034952f.gz
2008-05-17 13:34:24 -04:00
Evan Prodromou
5b9982ee3b path separator problem in data classes
darcs-hash:20080517172654-84dde-83b31bcf0f9497bf6a1d3d3bc498312e50b6b9da.gz
2008-05-17 13:26:54 -04:00
Evan Prodromou
d39a0234b1 require data classes in common
darcs-hash:20080517172528-84dde-99ef7b8b71e3229d54697a84ac7f9f3d8cbd77db.gz
2008-05-17 13:25:28 -04:00
Evan Prodromou
b2284763e2 add stub email canonicalizer
Added a stub function to stand in for eventual email canonicalizer.

darcs-hash:20080517172110-84dde-d2c83cb5e88693100c444b0ed088eed327f8a77d.gz
2008-05-17 13:21:10 -04:00
Evan Prodromou
a654d63eb0 fix check for POST
darcs-hash:20080517171501-84dde-b8d6a1cc106372c9127d73442b4740f2de7e7b22.gz
2008-05-17 13:15:01 -04:00
Evan Prodromou
1a15570339 common_start_element -> common_element_start
darcs-hash:20080517170430-84dde-74f42b52695699f646b65b939f78fbbe95a05c7e.gz
2008-05-17 13:04:30 -04:00
Evan Prodromou
10750993fe fix array key check
darcs-hash:20080517164218-84dde-20ee8612a1d3cd913b1412d5ee56a72a2b741f2b.gz
2008-05-17 12:42:18 -04:00
Evan Prodromou
24ee48e6d5 try to fix arghandling in action
darcs-hash:20080517163749-84dde-a323b2b956a0912c5dc2cb93a83714dad64064a0.gz
2008-05-17 12:37:49 -04:00
Evan Prodromou
a5b660a468 fixup argument handling in action superclass
darcs-hash:20080517162305-84dde-92b12e54f367528cc0d8454c14ca2f1616eeb8e4.gz
2008-05-17 12:23:05 -04:00
Evan Prodromou
669f494922 add action class to default loads
darcs-hash:20080517161817-84dde-a28288b093f40eda0d8444f54eca818b2c65a735.gz
2008-05-17 12:18:17 -04:00
Evan Prodromou
62d0284595 handle empty path better
darcs-hash:20080517161548-84dde-8b011466dcf6a0e95e5e0b9c6a5ddcf4cd4bd145.gz
2008-05-17 12:15:48 -04:00
Evan Prodromou
1d9e45fb9b common_local_url() second parameter optional
darcs-hash:20080517160908-84dde-c176f1fa4c4026a84efac994e65db0158935cb11.gz
2008-05-17 12:09:08 -04:00
Evan Prodromou
32798e1063 correct path to DB_DataObject
darcs-hash:20080517155326-84dde-2da05716ece2cce3c3f2f790d326c5333417ef9e.gz
2008-05-17 11:53:26 -04:00
Evan Prodromou
3b14b7901c fixes to make it all lint
Ran everything through php -l, found out that it didn't compile.

So: fixed the am-I-running-in-Laconica check at the top of each file.
Some syntax fixes in shownotice, showstream, common.

darcs-hash:20080517154701-84dde-8d38da89c5b9cb3b40704adb04a4de880c204181.gz
2008-05-17 11:47:01 -04:00
Evan Prodromou
516996fe9f make config kinda work
darcs-hash:20080517152958-84dde-1170f017a6cf42845d74f75057c923be91404c29.gz
2008-05-17 11:29:58 -04:00
Evan Prodromou
2d58199266 more twiddling
Placeholder for broadcasting notice updates.

Fixup the local url function to include server and path.

Add server and path to configuration array.

Make new notice 303 redirect to shownotice.

Make redirects work.

Add link in streams to notices.

darcs-hash:20080517144642-84dde-c267a6e3bb0717ad5a3a819a7cf65fdd5817ea8e.gz
2008-05-17 10:46:42 -04:00
Evan Prodromou
0474128619 move the goal posts
change the version numbers for an internal 0.1 test release (putting
it on the server!).

Also, added some tweedly date formatting, just to have something
there. Needs some thought.

darcs-hash:20080517140532-84dde-b316b4b425cced5c31fc2ecd0dd81217d5f91365.gz
2008-05-17 10:05:32 -04:00
Evan Prodromou
e0438b8223 bogus version of common_local_url()
Threw together a bogus version of common_local_url(), which should
work for now. But eventually it should use pretty URLs if possible.

darcs-hash:20080517135138-84dde-3c69c89ee8080568e92f655cbb3171867a7b38ce.gz
2008-05-17 09:51:38 -04:00
Evan Prodromou
3803cf2153 upload and change avatars
code to upload and change avatars.

combined some code in the settings area, too.

darcs-hash:20080517122045-84dde-8e13994e627805f29679c9533c2f62db81dc0925.gz
2008-05-17 08:20:45 -04:00
Evan Prodromou
fac522f4d7 settings and avatars
Did considerable work on the settings section.

Redesigned the DB to allow avatars. Each avatar image has a size and
an URL. There can be multiple avatars per profile, just different sizes.

Added accessors in Profile for avatar. Show the avatar in lots of
places, where it makes sense. Constants for avatar sizes in common.php.

darcs-hash:20080515162844-84dde-fe0630366e247c02ca8ca9d1cc6b963cfce57a26.gz
2008-05-15 12:28:44 -04:00
Evan Prodromou
b6cfd2dffe license block for source code
Added GNU Affero GPL license block to source code.

Added name "LACONICA". I think it should work fine.

darcs-hash:20080514192648-84dde-a430dc438a4e3741c62ccf30ee7f85ecc968b159.gz
2008-05-14 15:26:48 -04:00
Evan Prodromou
1c5d1c4586 move library files to lib
darcs-hash:20080514190300-84dde-626b88c9da510c8830d2eff2d36b72f18e6353d4.gz
2008-05-14 15:03:00 -04:00