Commit Graph

402 Commits

Author SHA1 Message Date
Evan Prodromou 5121cbebe4 return instructions
darcs-hash:20080630170653-84dde-e13ebf4ea364a6f12bb2692bc0278491a804c0fc.gz
2008-06-30 13:06:53 -04:00
Evan Prodromou f874067401 move markdown require to common
darcs-hash:20080630170545-84dde-7bd95c43f3943e9cc5bf9ec6f57da0ff12204601.gz
2008-06-30 13:05:45 -04:00
Evan Prodromou c64f137497 refactor common behaviour in settings pages
darcs-hash:20080630170342-84dde-5d7feb88a0a707b24c8070802a7ec99dd1f35687.gz
2008-06-30 13:03:42 -04:00
Evan Prodromou 3265812833 show exact date when needed
darcs-hash:20080627222930-84dde-e54a369d91060b7ff2559af9ff08735b2eec43d9.gz
2008-06-27 18:29:30 -04:00
Evan Prodromou 453751263b add a space between address and to
darcs-hash:20080627154825-84dde-b876f7dff5e1b72b94432e26cf8af02e2c36d0cc.gz
2008-06-27 11:48:25 -04:00
Evan Prodromou 450d727458 "subscribe" -> "add to buddy list"
darcs-hash:20080627143025-84dde-fee234fbcdf825cccc2ce0c9c812dcb27ebe6433.gz
2008-06-27 10:30:25 -04:00
Evan Prodromou d34fc127a5 better handling of too-long messages
darcs-hash:20080626214654-34904-68a52888deaaca54fe39bcd77ae51997aa3a3959.gz
2008-06-26 17:46:54 -04:00
Evan Prodromou 48cac45fd9 don't bother with subscription hoohaw; just ask the user to do it
darcs-hash:20080626203103-34904-19ef53bc734622a310a705608f3e227e2f387904.gz
2008-06-26 16:31:03 -04:00
Evan Prodromou 31b5ae1523 compile error with lost dot
darcs-hash:20080626190538-34904-d160176208203bcc806e824874c75021b32b6f92.gz
2008-06-26 15:05:38 -04:00
Evan Prodromou 201a988bf7 better instructions on confirmation code
darcs-hash:20080626190307-34904-5aca9b62944d4e8f6170705dec822d30a1163401.gz
2008-06-26 15:03:07 -04:00
Evan Prodromou 0b0beda026 some variable names swapped around when I split up the big method
darcs-hash:20080626184811-34904-d5d7373acb89b06eb3f0854d83b0ac425a70d1e2.gz
2008-06-26 14:48:11 -04:00
Evan Prodromou fcc12459ed forgot to clone user
darcs-hash:20080626183721-34904-7c03b34e911ddb0c4adba959402d49476be932c1.gz
2008-06-26 14:37:21 -04:00
Evan Prodromou f5caccc827 show checkbox as checked or not
darcs-hash:20080626182705-34904-893d72f480c330beb2d8f871da0d2cd9b902ffbf.gz
2008-06-26 14:27:05 -04:00
Evan Prodromou db2d79cd31 some UI changes to the IM settings
darcs-hash:20080626181144-34904-87503e70e6705b06ebb6c19910583f4fba1b22e0.gz
2008-06-26 14:11:44 -04:00
Evan Prodromou 06d267bd88 show the proper address in the message for non-email confirms
darcs-hash:20080626072159-34904-b025f2d626b3421ca0a658b5664504b4a261b993.gz
2008-06-26 03:21:59 -04:00
Evan Prodromou 9fe45d4158 show better errors on bad codes
darcs-hash:20080624225556-34904-2f31fbe0944374892005ea88977736bda59729fa.gz
2008-06-24 18:55:56 -04:00
Evan Prodromou 77d9a12ef6 use $newpassword instead of $password consistently
darcs-hash:20080624224030-34904-a2a50cfcadba05799094574201223907e6e423a6.gz
2008-06-24 18:40:30 -04:00
Evan Prodromou d367982253 correct field name
darcs-hash:20080624221758-34904-8ba5bbf95a2f16e9bfebb2c4dbd4d2d357cf958e.gz
2008-06-24 18:17:58 -04:00
Evan Prodromou f374e924f5 type -> address_type
darcs-hash:20080624221437-34904-746bd79dbef949c16095b9b44a9a721288abb989.gz
2008-06-24 18:14:37 -04:00
Evan Prodromou 96e6df323b slightly different from settingsaction
darcs-hash:20080624221054-34904-732acfe742c0b1c5e71b604660aa2e657c68a4d4.gz
2008-06-24 18:10:54 -04:00
Evan Prodromou bb3c796c25 url for confirmation email is better, fancy url
darcs-hash:20080624220335-34904-2c4089bf6d1b37b6f613ce89c6fad104727e7487.gz
2008-06-24 18:03:35 -04:00
Evan Prodromou 589a6c05f7 output a message when we send the recovery email
darcs-hash:20080624215826-34904-045d8e8cc25195eb045d2a96a526a6d2a9f0c218.gz
2008-06-24 17:58:26 -04:00
Evan Prodromou 90583f31af rudimentary recoverpassword system
darcs-hash:20080624215033-34904-d5576bf55da26df44f0580c3759ed3edd8597506.gz
2008-06-24 17:50:33 -04:00
Evan Prodromou 836f5bb756 login doesn't bark if the user is automatically logged in
darcs-hash:20080624040548-34904-3b5a78f4ed40db913c82e90fe6955f26aac0f92a.gz
2008-06-24 00:05:48 -04:00
Evan Prodromou d7731c9f2d correct name for common_forgetme() in logout
darcs-hash:20080624031927-34904-4a0c4d5966c8dd840cf6c368bdbe47990a39c074.gz
2008-06-23 23:19:27 -04:00
Evan Prodromou be3a44651c implement rememberme functionality
Added a checkbox on login or register to remember the current user. If
the login is successful, this sets a cookie with a random code (saved
in the DB). If they come back, and they aren't logged in "normally",
we check to see if they have a rememberme cookie. If so, we log them
in.

However, they can't change settings -- cookie theft is too prevalent.
So we mark a session as having a "real" (password or OpenID) login, or
not. In settings pages, we check to see if the login is "real", and if
not, we redirect to the login page.

darcs-hash:20080624025234-34904-ad20001bf35bf41fcb63a0c357fd929aacc55fdb.gz
2008-06-23 22:52:34 -04:00
Evan Prodromou e330eb50d2 more robust handling of new JIDs
darcs-hash:20080624015616-34904-c1ff985257c8c57aacf68439488d628a8b4d2e38.gz
2008-06-23 21:56:16 -04:00
Evan Prodromou 960a092a9c don't validate email if none provided
darcs-hash:20080624014642-34904-7d4b1b91a3163add6a99146f92360913e172a39a.gz
2008-06-23 21:46:42 -04:00
Evan Prodromou a8a2f40696 broadcast notices to jabber
darcs-hash:20080624014241-34904-39ace8e82e50e5f50c5980b5fb3256184a7c9050.gz
2008-06-23 21:42:41 -04:00
Evan Prodromou d1e55b3777 jabber send and confirmation code
darcs-hash:20080624013203-34904-fe87dc6b3b991e9753512b8b7cc192f7610eb1dc.gz
2008-06-23 21:32:03 -04:00
Evan Prodromou 63dcbe1e6e add jabber library and use it
darcs-hash:20080624001523-34904-8d0c052f12301d86aeb9107149b34f22c94da1c4.gz
2008-06-23 20:15:23 -04:00
Evan Prodromou ae40dfe842 add imsettings to menu
darcs-hash:20080623223641-34904-2758e19c70026a0c169e99d86481d87b0b4bc79c.gz
2008-06-23 18:36:41 -04:00
Evan Prodromou 1899d09cd1 forgot to return on invalid nickname
darcs-hash:20080622181550-34904-7970919db30ccfc3979fa6c118c29af9eac0c550.gz
2008-06-22 14:15:50 -04:00
Evan Prodromou d758c11784 disallow nicknames on a blacklist
darcs-hash:20080622180437-34904-4b6313f6fd8845232031663c5c2df00dff725183.gz
2008-06-22 14:04:37 -04:00
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