Commit Graph

468 Commits

Author SHA1 Message Date
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
Evan Prodromou aabac60b6e push instructions into head and require license
darcs-hash:20080619173225-84dde-d73961d047f75fa1e3ac4287d35e4c6afb391e84.gz
2008-06-19 13:32:25 -04:00
Evan Prodromou 6ef35544b1 common_show_footer() was hidden in an if
darcs-hash:20080619172031-84dde-6b97932d4d51541581c0b220df8ce53cbc51e2da.gz
2008-06-19 13:20:31 -04:00
Evan Prodromou 50c7e4c722 posting from a form takes you back to the same page
darcs-hash:20080619161814-5ed1f-5add55346470e71a53a676d39617062acc0f19bf.gz
2008-06-19 12:18:14 -04:00
Evan Prodromou 912947c690 Don't repeat "Remove OpenID" header
darcs-hash:20080619155154-5ed1f-0bd8ea0c1e7a7ead736483cd516bcf4f999e9deb.gz
2008-06-19 11:51:54 -04:00
Evan Prodromou d900e125ac had order of arguments for oid_link_user backwards in finishaddopenid
darcs-hash:20080619155042-5ed1f-d814e2ae7f565e7e5cd8c0389071491705117e73.gz
2008-06-19 11:50:42 -04:00
Evan Prodromou c030c8dbd2 fetch the oid before showing it
darcs-hash:20080619153719-5ed1f-da58c447643d24dbfd9d0076c74d8ce4f57c5be3.gz
2008-06-19 11:37:19 -04:00
Evan Prodromou fa90195c4d cant remove last openid, public xrds includes immediate
Added a check to make sure the user doesn't remove their last OpenID
if they don't also have a password.

Also, put the finishimmediate URL in the publicxrds so that e.g.
Yahoo! doesn't get snippy.

darcs-hash:20080619153231-5ed1f-a5d784ff39b53afdfb0584689188dd78bdb90c41.gz
2008-06-19 11:32:31 -04:00
Evan Prodromou 26c7d5f04e need a profileurl for new users
darcs-hash:20080619151803-5ed1f-53df3a53f1147233658397c3c6d2cd6a2202b199.gz
2008-06-19 11:18:03 -04:00
Evan Prodromou 08035caa5b refresh the cookie on successful immediate
darcs-hash:20080619140505-84dde-d4006afa9507e29e58115f23c4acc5156a571930.gz
2008-06-19 10:05:05 -04:00
Evan Prodromou 3c32396109 use openid.php functions in finishimmediate
darcs-hash:20080619135603-84dde-1bfd6606f34416eb6f1be4d5c926f6bb198427bd.gz
2008-06-19 09:56:03 -04:00
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 e47ba46634 take out check for other user
darcs-hash:20080618210044-84dde-3b064b11117d4c785e4eba7902f1c0298dbbd8a7.gz
2008-06-18 17:00:44 -04:00
Evan Prodromou 6ac185abeb forgot settingsmenu in openidsettings
darcs-hash:20080618204611-84dde-e8de48c6a7213787c09201f4007bfc57064bdeed.gz
2008-06-18 16:46:11 -04:00
Evan Prodromou 4373682489 removed message was slurping in success flag
darcs-hash:20080618204421-84dde-ba5ec861d68adf9179bb3907784156fb404d23ed.gz
2008-06-18 16:44:21 -04:00
Evan Prodromou 03a08efce9 move instructions to top in openid pages
darcs-hash:20080618190202-84dde-20cc79646144076090c36fe25d78f2d0e399d5ad.gz
2008-06-18 15:02:02 -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 2aa34a9bf0 remove 'oauth' from publicxrds
darcs-hash:20080618183606-84dde-d0843cd3f1656b8b547227eeef326d89d6c55adf.gz
2008-06-18 14:36:06 -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 7ce5ed8081 small debugging and messaging fixes
darcs-hash:20080618180642-84dde-1e8ee16d2b6497c71854486a687545d948340d69.gz
2008-06-18 14:06:42 -04:00
Evan Prodromou b87ba90732 better pagination and no rows in subscriptions and subscribed
darcs-hash:20080618165041-84dde-d98bebb8e74286993c582710ae385d5d7ef1b3fb.gz
2008-06-18 12:50:41 -04:00
Evan Prodromou 0ee3b6c57f fix copy-and-paste error
darcs-hash:20080618151103-84dde-f3af75746f3f240c0fad2e0fec1d01459df9e48e.gz
2008-06-18 11:11:03 -04:00
Evan Prodromou 56de872740 move instructions up to the "whats up" area
darcs-hash:20080618035739-84dde-a562cffe186780d5f03cf53798ea249b2bda9fb1.gz
2008-06-17 23:57:39 -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 d9b7f0b706 fix debug to prefix with var name
darcs-hash:20080618162838-84dde-90e6950d9cdfcfee947f504512b7fb529d0db7de.gz
2008-06-18 12:28:38 -04:00
Evan Prodromou 71aadefc3e more debugging output, better check on canonical
darcs-hash:20080618162715-84dde-9a3213796a88cf4f28597553e1834896c7f201a7.gz
2008-06-18 12:27:15 -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 71dab316c3 better presentation on openidsettings
darcs-hash:20080618160111-84dde-70cc4c0a40f14aa6a5f7b05f6b8a8947bb5025f7.gz
2008-06-18 12:01:11 -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 d0559fdf4d debugging for addopenid problem
darcs-hash:20080618132613-84dde-a7d78778af37cf3f20bfeb70ae2d381bc9ae92d4.gz
2008-06-18 09:26:13 -04:00
Evan Prodromou 1a112c11b7 change variable name error
darcs-hash:20080618131636-84dde-ef33dcb94c630fdd8831d904caadb9e669ce6cb3.gz
2008-06-18 09:16:36 -04:00
Evan Prodromou c3adb121ec references
darcs-hash:20080618131519-84dde-a3af7c41be8d9606f39ce4be3029697f913ab053.gz
2008-06-18 09:15:19 -04:00
Evan Prodromou 65816a6e2f fix syntax error in finishopenidlogin
darcs-hash:20080618123941-84dde-ec6e2fdef8c561714e509dc47e14aa47c58a9c44.gz
2008-06-18 08:39:41 -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 dc2e7f4225 voodoo changes
darcs-hash:20080618113720-84dde-4483d18751e7f82480c925cce4d1f84095598742.gz
2008-06-18 07:37:20 -04:00
Evan Prodromou d1a895c5b1 return true on successful save of openid
darcs-hash:20080618112624-84dde-76bbb4338585852abef7ed6ced26784a77f01a34.gz
2008-06-18 07:26:24 -04:00
Evan Prodromou c5e8828d7e error on save
darcs-hash:20080618111512-84dde-835a9d92386c5a5a5e51b0879c04575e9a80fdf5.gz
2008-06-18 07:15:12 -04:00
Evan Prodromou 9eb05720a1 debugging on adding OpenID
darcs-hash:20080618110853-84dde-b24a19acffad53362a80c92f1dddafab37a457c6.gz
2008-06-18 07:08:53 -04:00
Evan Prodromou ec68ae3cb1 better error handling
darcs-hash:20080618071207-84dde-a7903c5a806e16a39101244ef721204a7ce2bd46.gz
2008-06-18 03:12:07 -04:00
Evan Prodromou 7a17d1c477 dot not comma
darcs-hash:20080618070710-84dde-bcf4cce6586cf22909659efefc410dded33204c3.gz
2008-06-18 03:07:10 -04:00
Evan Prodromou eae70d5292 manage existing OpenIDs
Add a settings page to manage existing OpenIDs, or add OpenIDs to an
account.

darcs-hash:20080618065320-84dde-d013191a57a3de66a038feb88ad46ceff1e986ca.gz
2008-06-18 02:53:20 -04:00
Evan Prodromou f08a99e5f1 fix missing parens
darcs-hash:20080618062059-84dde-f3d27969a876fd89c5f01fb690ca367a51ec1b5e.gz
2008-06-18 02:20:59 -04:00
Evan Prodromou 3bd2513c0b go to profile instead of profile settings
darcs-hash:20080618061833-84dde-e77ea989a6caaf1d6722d6e82c1bcd04da44f486.gz
2008-06-18 02:18:33 -04:00
Evan Prodromou 94c4262dcf set nickname correctly
darcs-hash:20080618061117-84dde-6983ed79c2d0e985fc8b00ac7c270b46d92bc20d.gz
2008-06-18 02:11:17 -04:00
Evan Prodromou 21463458c5 fix get_saved_values() function in finishopenidlogin
darcs-hash:20080618060549-84dde-d32f1f167a69ea4f98f6a4a2f2ac753675e8cafd.gz
2008-06-18 02:05:49 -04:00
Evan Prodromou 66a1a13435 refactoring error
darcs-hash:20080618055836-84dde-7a0c460ec125581b659df39c8a079b9fcdc8dbaa.gz
2008-06-18 01:58:36 -04:00
Evan Prodromou 4000840243 check existence of args not booleanness
darcs-hash:20080618055657-84dde-269a234dd68867ca4f159031fe206e31131ef108.gz
2008-06-18 01:56:57 -04:00
Evan Prodromou cba4168d62 fix prompt and debug input
darcs-hash:20080618055349-84dde-8ac49632d06a7b271d13912d46d26c7c1f1ec793.gz
2008-06-18 01:53:49 -04:00
Evan Prodromou 252c4098c4 finish openid
Added some code to make finishing the OpenID login work.

Changed the OID storage so that there's a "canonical" URL and a
display URL. This is because of i-names, which is annoying.

If the login succeeds, we try to find a local user associated with the
canonical URL. If they don't exist, we let the user either create a
new account, or login to an existing account and connect to it.

A totally unrelated change is that the DB engine now uses InnoDB.

darcs-hash:20080618052638-84dde-909e51dbd5b9eadadf18cd010868baa18ea2349a.gz
2008-06-18 01:26:38 -04:00
Evan Prodromou e468474fe8 more debugging on profile update
darcs-hash:20080615153123-84dde-6153ed4ad0cce6908a103a507e6f6ffcf23620f2.gz
2008-06-15 11:31:23 -04:00
Evan Prodromou 1a591681b0 what exactly are we updating
darcs-hash:20080615152047-84dde-eca46b9a1e3e0adb81a29d1b43bf87ee93e4f535.gz
2008-06-15 11:20:47 -04:00
Evan Prodromou 4493433611 close function call in javascript
darcs-hash:20080617152444-84dde-726e19c7b503143b201b9008b21768729603c302.gz
2008-06-17 11:24:44 -04:00
Evan Prodromou 17504d0180 fixup &
darcs-hash:20080617152051-84dde-bc311c05a6cb15cdc5ac52f56964fa98f42f3927.gz
2008-06-17 11:20:51 -04:00
Evan Prodromou 25f0f9edbf inclusion of our local OpenID lib
darcs-hash:20080617145140-84dde-76c88b7b9cc8caf54d8f8b60fe7fbd3bb0ad2c39.gz
2008-06-17 10:51:40 -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 c02a01914a start openid rp integration
darcs-hash:20080617133501-84dde-adec156ac58b84cce41ae0e9bde58cf7637e6c42.gz
2008-06-17 09:35:01 -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 596b386a95 show default profile image in showstream
darcs-hash:20080615014742-84dde-d39f4c7744dc430fdb4ad64a172ffe3e909ee4a0.gz
2008-06-14 21:47:42 -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 52205fc6be no arg
darcs-hash:20080614122155-84dde-81e6de701ce6e7171a252b0b8ad442373b3bb24a.gz
2008-06-14 08:21:55 -04:00
Evan Prodromou 27a615aefd add public tab
darcs-hash:20080614122038-84dde-af7c2be04d41c1d85b62cf74724fe8e4a877a84a.gz
2008-06-14 08:20: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 8ba36458ef update TODO, and add variables to docs
darcs-hash:20080613171538-84dde-ffd6abee1ae304e55f4ff4224dfebf4be8fff0fd.gz
2008-06-13 13:15:38 -04:00
Evan Prodromou 1d8aa56808 mark off TODO, only local notices in public stream
darcs-hash:20080613152420-84dde-76da80c7345815986ee47fab45dcbde2bad895ab.gz
2008-06-13 11:24:20 -04:00
Evan Prodromou ad7aa68a99 links for subscribers and subscribed in showstream
darcs-hash:20080612200424-84dde-b96bf533612308e0ecd695365802f3da3f2601a4.gz
2008-06-12 16:04:24 -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 3491bb2df7 catch errors in debug log
darcs-hash:20080612193945-84dde-2c368ba1273814401f741ef79333c0cd8a43f90d.gz
2008-06-12 15:39:45 -04:00
Evan Prodromou 4449ff2051 only show "more subscriptions" link if there really are more subscriptions
darcs-hash:20080612192650-84dde-3bab08162d9e1e6def8712070c509306227ee645.gz
2008-06-12 15:26:50 -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 aaf0786bef link for website
darcs-hash:20080612174453-84dde-035da48b74c9148d6dbdd4650c713f434419e9e6.gz
2008-06-12 13:44:53 -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 f7c89d6f60 start changing default theme to work with new HTML
darcs-hash:20080612015858-84dde-28a67b8a2204cd23ef2fe78ffa19ca1ded13887f.gz
2008-06-11 21:58:58 -04:00
Evan Prodromou f745c55622 double-showing notice form and views menu
darcs-hash:20080611184128-84dde-2671b7837a6285840cbc70d301241cbcd51bb711.gz
2008-06-11 14:41:28 -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 0ef5157800 reminder about site license in avatar upload process
darcs-hash:20080611163645-84dde-f50f3f9b8230390565485d449a22dfddefd8f61d.gz
2008-06-11 12:36:45 -04:00
Evan Prodromou f81b4421fe instructions
darcs-hash:20080611163308-84dde-c918f04fe6bba3dd382b822ef59cb70a57bb9504.gz
2008-06-11 12:33:08 -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 e4534d60be remove notice form from showstream
darcs-hash:20080611023246-84dde-cd0a768e95af336cada91fc28246ae4d100bb854.gz
2008-06-10 22:32:46 -04:00
Evan Prodromou 59cade2019 refresh on showstream
darcs-hash:20080611022900-84dde-63cade69e8f65fd067b5e0c54caac080e03df979.gz
2008-06-10 22:29:00 -04:00
Evan Prodromou 6ce7f932a6 fixup some TODOs, fix a bug in userauthorization
darcs-hash:20080611020810-84dde-32ab3b9e25532b92156d093dcf2ad24134cbcf4f.gz
2008-06-10 22:08:10 -04:00
Evan Prodromou fba4b40e0a get the profile to show it in the title
darcs-hash:20080610222547-84dde-7606c2f575ba482fef17a9ef306789c047aaddec.gz
2008-06-10 18:25:47 -04:00
Evan Prodromou 10654ebf35 fix including stream in shownotice
darcs-hash:20080610222222-84dde-f17190f0da05f65ba0d0030d39c97dfec701b624.gz
2008-06-10 18:22:22 -04:00
Evan Prodromou f6bf8a5870 make shownotice a stream of one notice
For display sake, make showing a single notice like showing a
stream with one notice in it.

darcs-hash:20080610221910-84dde-a3b2252625ac5392ff60f1e975350ed5d2d1145f.gz
2008-06-10 18:19:10 -04:00
Evan Prodromou 64b5b1902c canonicalization lowercases nicknames
darcs-hash:20080611141824-84dde-a1016e113f7ba0e32685d935cd57618c60db2265.gz
2008-06-11 10:18:24 -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 dd0b341b64 first steps towards new skin
darcs-hash:20080610185238-84dde-c073065f5f802be39b97a23105613fac1eeb0bea.gz
2008-06-10 14:52:38 -04:00
Evan Prodromou d16dabe54b geo namespace
darcs-hash:20080610150957-84dde-2aff9cb5f23c593f524e4affb5c3f67a7f06ce34.gz
2008-06-10 11:09:57 -04:00
Evan Prodromou db29c22286 fix getting subscribers
darcs-hash:20080610145520-84dde-67e0480537053f7aacf18a8fb1f45e472e115493.gz
2008-06-10 10:55:20 -04:00
Evan Prodromou 02cb345154 close parens in showstream
darcs-hash:20080610144606-84dde-7c8b86d2954324e686eb5fe1ed9daeb4919a945c.gz
2008-06-10 10:46:06 -04:00
Evan Prodromou 9e6cb08b88 add link for FOAF autodiscovery
darcs-hash:20080610144420-84dde-b1904673a1afb56bef1a4f54e4432eb94aa03619.gz
2008-06-10 10:44:20 -04:00
Evan Prodromou cb0dfba149 make presentation of remote subscribe nicer
darcs-hash:20080610143709-84dde-ce586d1ca5bb73bdeef8b254f8835f599b769714.gz
2008-06-10 10:37:09 -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 d1fc067471 more specific fetchers
darcs-hash:20080610122707-84dde-403d9869ea32d629e60736822c6f06b0a56a070d.gz
2008-06-10 08:27:07 -04:00
Evan Prodromou 3e32106394 incorrectly used , instead of
darcs-hash:20080610121936-84dde-5e13dfc79beaac01ed795d37e11b02cad610051d.gz
2008-06-10 08:19:36 -04:00
Evan Prodromou c73ebf3382 export FOAF
darcs-hash:20080610121132-84dde-f0f49c2e33c650e6cf91d3e31f595b0ee570e603.gz
2008-06-10 08:11:32 -04:00
Evan Prodromou 59db378c93 was using $notice->uri instead of $notice_uri
darcs-hash:20080606180330-84dde-be0e84696cd5e7304cd8523c0d7de9d6e402b73e.gz
2008-06-06 14:03:30 -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 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 47047e84e7 stash URLs for return and check all values for profiles
darcs-hash:20080606065027-84dde-a4ac215010b76ef296976fdf8a94473bd80c7ffa.gz
2008-06-06 02:50:27 -04:00
Evan Prodromou bc86e75682 forgot to require libs in accesstoken
darcs-hash:20080606064011-84dde-89cca620d3782dec77da804008ce391e17ec393e.gz
2008-06-06 02:40:11 -04:00
Evan Prodromou 15989d6c35 store URL rather than service in $omb for bounce back
darcs-hash:20080606063721-84dde-a843ac9ef5b48aa25d15125d4f0be3f0c2e6bfb1.gz
2008-06-06 02:37:21 -04:00
Evan Prodromou 9136d18327 debugging request for access token
darcs-hash:20080606062958-84dde-3568ba98526687d81873bff77385d214c50cddfb.gz
2008-06-06 02:29:58 -04:00
Evan Prodromou 5639c51892 debugging stuff in accesstoken action
darcs-hash:20080606062235-84dde-2af2ed6b90474beac139a740c49fa6eec6f61484.gz
2008-06-06 02:22:35 -04:00
Evan Prodromou aefa900dd7 remember to sign access token request with request token
darcs-hash:20080606060000-84dde-30573475c9721e7763deccac1359439887ae8add.gz
2008-06-06 02:00:00 -04:00
Evan Prodromou 1ef5cf964e checks for user and sub in validate and better error check in remote save
darcs-hash:20080606055439-84dde-3abda48583737e89a9c75b3cff6722e9444d13a9.gz
2008-06-06 01:54:39 -04:00
Evan Prodromou 281dbc3177 debug info for authorizing token
darcs-hash:20080606053321-84dde-c6ee7a4565cce35873ad36890b609b90b65b472d.gz
2008-06-06 01:33:21 -04:00
Evan Prodromou c5853abc39 handle errors in authorizing and saving remote profile
darcs-hash:20080606052631-84dde-4a8b4d8f70b0148d0b98b62875099f7d9cca9026.gz
2008-06-06 01:26:31 -04:00
Evan Prodromou 5fb2072bc9 use $_GET, not $args
darcs-hash:20080606052117-84dde-b9afe0037d9c75382f218f85eefec2a944e42dc6.gz
2008-06-06 01:21:17 -04:00
Evan Prodromou c6f9e7c241 don't clone arrays!
darcs-hash:20080606051823-84dde-1ba6bdfe546b5307afd97c2c7715f8d35b464e83.gz
2008-06-06 01:18:23 -04:00
Evan Prodromou 9152085702 fix args in returnto
darcs-hash:20080606051331-84dde-1afe6e4a156cbb802b8b4231e065dc99ad07fef4.gz
2008-06-06 01:13:31 -04:00
Evan Prodromou 49111ecae8 listenee is nickname, not URI
darcs-hash:20080606043405-84dde-e365fd5a897990c446a4156ed3582081949fd891.gz
2008-06-06 00:34:05 -04:00
Evan Prodromou 87cf04255a debugging info on finished remote subscribe
darcs-hash:20080606040946-84dde-3a78ddbc700dcd2cb56ad3200b5658e07416096f.gz
2008-06-06 00:09:46 -04:00
Evan Prodromou ec030076de show error correctly in login
darcs-hash:20080605200759-84dde-a1e8cc5c2c6a22da80f03ef692de9d0a8dcb29fc.gz
2008-06-05 16:07:59 -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 1cdb7919ef a
darcs-hash:20080605183419-84dde-debe7f18565c960ee6886ac1330833bc8ae1ca5f.gz
2008-06-05 14:34:19 -04:00
Evan Prodromou 356f401986 bad validation of callback URL
darcs-hash:20080605040358-84dde-b2018db43791d1cbed722d3320cd0b62d6da94eb.gz
2008-06-05 00:03:58 -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 29d9f0ae64 don't validate listenee URI
Validation of the listenee URI was failing for tag: URIs. So,
abandoned validation for now. Maybe in the future I'll add it back in,
with a second check for a valid tag URI if it doesn't work.

darcs-hash:20080605033911-84dde-0cf77fad66198a790450183eba11028e153f43d1.gz
2008-06-04 23:39:11 -04:00
Evan Prodromou 1254761770 clear request doesn't need an argument
darcs-hash:20080605025611-84dde-18fcf515bb9c727cafd3ca44454e7f18d8f8e752.gz
2008-06-04 22:56:11 -04:00
Evan Prodromou 2bf7717ddd correct order of params in get_token
darcs-hash:20080605025152-84dde-54da3eba220432b71d14ef7cfd4a8a7bf664316f.gz
2008-06-04 22:51:52 -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 593f1e5e2c add some debugging code
darcs-hash:20080604201123-84dde-ff9ec8530474e194eee5e6fcc6190f7cd6fc5b5c.gz
2008-06-04 16:11:23 -04:00
Evan Prodromou 9d670d25f8 fix passing request around
darcs-hash:20080604191206-84dde-24d6a80c9e3886352d451ca0993ed0bb6baafd7a.gz
2008-06-04 15:12:06 -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 d266ab8c2d remove call to private get-version() method
darcs-hash:20080603115839-84dde-40da93a70e24274dcdc28ea2f4fd1e492fdb9e24.gz
2008-06-03 07:58:39 -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 a14833284b typo in use of omb_service_uri()
darcs-hash:20080603110749-84dde-e278a8ccf17e68735f6d5699dee5bb0e7444ec29.gz
2008-06-03 07:07:49 -04:00
Evan Prodromou 65736dc402 more debugging, don't reuse variable
darcs-hash:20080603104859-84dde-3ed15e61feb0cef1a1d0d2dc8723951ac41b00d8.gz
2008-06-03 06:48:59 -04:00
Evan Prodromou 8b9d675b30 move debugging code for checking URIs of XRD
darcs-hash:20080602205921-84dde-26945a4fb66489120115576ce1cb57a46c532e92.gz
2008-06-02 16:59:21 -04:00
Evan Prodromou 7e82a6fcb1 trying to find out why auth request is going to requesttoken
darcs-hash:20080602205534-84dde-fc7d85d50b758bc73721a6aaa87c16c41237d14f.gz
2008-06-02 16:55:34 -04:00
Evan Prodromou 67264e038c more debug code
darcs-hash:20080602203802-84dde-f7f237da7c86fe38fd67629d0599c48929dfa619.gz
2008-06-02 16:38:02 -04:00
Evan Prodromou 8d94324851 debugging code for userauthorization
darcs-hash:20080602203142-84dde-6f68b40061d0af776d077be1b24b8adf84ee331b.gz
2008-06-02 16:31:42 -04:00
Evan Prodromou e103c8b6ea get rid of callback nonce
darcs-hash:20080602201707-84dde-400855b57fcf01e597494143cc78092351043b91.gz
2008-06-02 16:17:07 -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 1de5328c49 correct server error output
darcs-hash:20080602193851-84dde-069af77a95bc89271b75b7e0c7ff965fefa1de34.gz
2008-06-02 15:38:51 -04:00
Evan Prodromou 68242de9ef add some debugging output to request token request
darcs-hash:20080602192018-84dde-11f3092598ecd0d521e0243b5683eeb484180cbd.gz
2008-06-02 15:20:18 -04:00
Evan Prodromou 0ed925c590 typo in LocalID generation in xrds
darcs-hash:20080602185452-84dde-f9dc335ca69291d83e2a82ecce6e27055ee9e0e5.gz
2008-06-02 14:54:52 -04:00
Evan Prodromou 0f374fb944 minor corrections for OMB discovery
darcs-hash:20080602185137-84dde-0a3db0833eaf9361447559a6366e3820ae1f0694.gz
2008-06-02 14:51:37 -04:00
Evan Prodromou 823b79366f debug info
darcs-hash:20080602183911-84dde-9b5629cd97b894875b33888195eacffabb2ebe54.gz
2008-06-02 14:39:11 -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 98437f21f9 make a nodes variable to pass nodes by reference
darcs-hash:20080602182153-84dde-4e5ac1c02e8e7a408d251ffa0aa2bbff190d1631.gz
2008-06-02 14:21:53 -04:00
Evan Prodromou 44058fe50a trim whitespace
darcs-hash:20080602181857-84dde-846a8899f9db1b244c946c94373c60058b48774e.gz
2008-06-02 14:18:57 -04:00
Evan Prodromou 2364c7c2fe services() returns an array
darcs-hash:20080602181759-84dde-97355611da9635d40f41eb9324731cfaa3c584e0.gz
2008-06-02 14:17:59 -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 3abe0290b7 use omb_service_filter() rather than omb_match_service()
darcs-hash:20080602175936-84dde-d21c8236ef5ffd788edc81d9d7a932b2eae0ec7d.gz
2008-06-02 13:59:36 -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 7743348d24 set proper row sizes
darcs-hash:20080601020132-84dde-8559905f735c05e7274babc6a23440317cc4e587.gz
2008-05-31 22:01:32 -04:00
Evan Prodromou 2a2992b102 parse the XRDS results
Apparently you have to parse the XRDS results from the discovery
result object. Who knew?

darcs-hash:20080530190446-84dde-52e5220aa5b76bc443ed20a1d0e07e509a5522f8.gz
2008-05-30 15:04:46 -04:00
Evan Prodromou a0928778ba check xrds object
darcs-hash:20080530185343-84dde-90c12188656a29b0f34d8ffa27927f0f664fbd74.gz
2008-05-30 14:53:43 -04:00
Evan Prodromou 67c1b399b4 debug message for when services returns null
darcs-hash:20080530184925-84dde-5888985ad083a6cff49c2efe1679e1246735608a.gz
2008-05-30 14:49:25 -04:00
Evan Prodromou 3cb7562659 better debug messages
darcs-hash:20080530184712-84dde-bcea123d79aff11585eacee8b85932543acfe072.gz
2008-05-30 14:47:12 -04:00
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