summaryrefslogtreecommitdiff
path: root/actions/register.php
AgeCommit message (Collapse)Author
2008-07-08Convert _t() to _() for gettext.Mike Cochrane
darcs-hash:20080708094531-533db-83399a46e6ec4c0fcc6249b0235961f969d1ae73.gz
2008-07-09don't refetch user objects so muchEvan Prodromou
darcs-hash:20080709055343-84dde-ac550608a4736ce5daed70af19866c75a1cfb416.gz
2008-07-08p.instructions -> div.instructionsEvan Prodromou
darcs-hash:20080709002242-84dde-1d7a2107079ab5d84592d280a19a253663f84b4f.gz
2008-07-08more debug output for rememberme cookiesEvan Prodromou
darcs-hash:20080708064241-84dde-6c72e4e5d5ec5675bdef027e1b241f0555ce8dd1.gz
2008-07-05better debuggingEvan Prodromou
darcs-hash:20080705161801-84dde-b8ce7f1edcb18d7382b2690ff35f84e4b7cc7421.gz
2008-07-05debugging code for rmEvan Prodromou
darcs-hash:20080705161602-84dde-f046e62ed9af829c86ac967f83168933e6264deb.gz
2008-07-02methodEvan Prodromou
darcs-hash:20080702131507-84dde-507a6380fcab66c1fbcbaad6d1399c8a2f210acf.gz
2008-07-02fix rememberme checkboxes on login, registerEvan Prodromou
darcs-hash:20080702125457-84dde-d27e405d7003c86886ad81b87bbbf20cbf6fba1c.gz
2008-06-23implement rememberme functionalityEvan Prodromou
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-23don't validate email if none providedEvan Prodromou
darcs-hash:20080624014642-34904-7d4b1b91a3163add6a99146f92360913e172a39a.gz
2008-06-22disallow nicknames on a blacklistEvan Prodromou
darcs-hash:20080622180437-34904-4b6313f6fd8845232031663c5c2df00dff725183.gz
2008-06-22special function for generating confirmation codesEvan Prodromou
darcs-hash:20080622163241-34904-199b3654328d78c0b9fe2fa85a3ecc1ab0b1262a.gz
2008-06-22correctly use Confirm_addressEvan Prodromou
darcs-hash:20080622161607-34904-d8e042b80fe6acd3cb6ad763216a0b1817752cac.gz
2008-06-22add better debuggingEvan Prodromou
darcs-hash:20080622140941-34904-2a0eda21f6a374a9d26107a4bc627fc6de2a7063.gz
2008-06-20change from using tag uris to http urls for identifiersEvan Prodromou
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-20correct confirmation codeEvan Prodromou
darcs-hash:20080620062606-84dde-59be3fd35a01d788f3953e2dba70baefefabfb76.gz
2008-06-20correct name for common_good_rand()Evan Prodromou
darcs-hash:20080620052453-5ed1f-4ce9b677b9010b3879bbae1ba9218036f0ad728f.gz
2008-06-20confirm email addressesEvan Prodromou
darcs-hash:20080620051536-5ed1f-231e427832dd20c861eb7a6dc1171315e90f455b.gz
2008-06-17move instructions up to the "whats up" areaEvan Prodromou
darcs-hash:20080618035739-84dde-a562cffe186780d5f03cf53798ea249b2bda9fb1.gz
2008-06-12add instructions to each form entry in formsEvan Prodromou
darcs-hash:20080612165201-84dde-1abc45a0b2fd24002bc6f3449e9fc521d4f02eac.gz
2008-06-11instructionsEvan Prodromou
darcs-hash:20080611163308-84dde-c918f04fe6bba3dd382b822ef59cb70a57bb9504.gz
2008-06-11canonicalization lowercases nicknamesEvan Prodromou
darcs-hash:20080611141824-84dde-a1016e113f7ba0e32685d935cd57618c60db2265.gz
2008-05-29fix checking boolean parametersEvan Prodromou
darcs-hash:20080529151602-84dde-f6bc3c41846d92c94008f721fa5115907fd9a7d3.gz
2008-05-29dump args to browser for debuggingEvan Prodromou
darcs-hash:20080529151317-84dde-046fffcfacea163bf14d5a0ee6838581e3a9ebe4.gz
2008-05-28show error messages in registration formEvan Prodromou
darcs-hash:20080528170752-84dde-86f5965c108fffe703e62bd42f6bd0eda22f1931.gz
2008-05-28get rid of the license label, since it mucks everything else up.Evan Prodromou
darcs-hash:20080528170556-84dde-5dd6fe94b31e2fb4387f0c7e8775122bd5c4965b.gz
2008-05-28move license label to _after_ the checkboxEvan Prodromou
darcs-hash:20080528170438-84dde-90edcb9248823988f70d8dbedf9a694a7bb732f5.gz
2008-05-28registration requires accepting the licenseEvan Prodromou
darcs-hash:20080528164222-84dde-20fa91371bcd0116e8d38bb90e221b3edbc2179a.gz
2008-05-22add tags on creation of notices and usersEvan Prodromou
darcs-hash:20080522185500-84dde-39a66d36d2c80ff57e2ab2d0274548770c4d06f7.gz
2008-05-21validation in form handlersEvan Prodromou
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-20trim whitespaceEvan Prodromou
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
2008-05-20call validate before saving objectsEvan Prodromou
darcs-hash:20080520191032-84dde-64197121c93cd4cf3cbc614badff0bd44547f9f9.gz
2008-05-20better forms for new themeEvan Prodromou
darcs-hash:20080520174759-84dde-7206aeef3246b2304d463b121a6b17c7f3f2f6d5.gz
2008-05-17save profile urlEvan Prodromou
darcs-hash:20080517202132-84dde-78c7fe9f22aa28f33e9e00432f5cf6436b64e6b5.gz
2008-05-17use cast object for datetimesEvan Prodromou
darcs-hash:20080517201411-84dde-7a6195517a5bded7b84266f61c035e2adbc49edd.gz
2008-05-17fix created, messagesEvan Prodromou
darcs-hash:20080517195201-84dde-8f8269284e5fc00e9f2a6d8187059d0f59eae007.gz
2008-05-17check results of setting current userEvan Prodromou
darcs-hash:20080517193030-84dde-ecd85676afd34bd9eb4b42b84bb3b6a6b9ea6a9e.gz
2008-05-17fixup login formEvan Prodromou
darcs-hash:20080517190142-84dde-ec4cc3dc256c2daca29ffe6710507188829f04ba.gz
2008-05-17require once for settings actionsEvan Prodromou
darcs-hash:20080517175416-84dde-b83a41de70a48671e0a251c645cf67b81c54bda6.gz
2008-05-17fixup some nickname handlingEvan Prodromou
darcs-hash:20080517175022-84dde-475a63e7f8d400c508d259fcbc9959588720316b.gz
2008-05-17change username to nicknameEvan Prodromou
darcs-hash:20080517174219-84dde-60a678b876bfe9ec9b93142734c21019ad5761bf.gz
2008-05-17misspelled function nameEvan Prodromou
darcs-hash:20080517173626-84dde-da0e6057b127ef3578267bdbc425dcef36f29c2a.gz
2008-05-17fix check for POSTEvan Prodromou
darcs-hash:20080517171501-84dde-b8d6a1cc106372c9127d73442b4740f2de7e7b22.gz
2008-05-17buttons work rightEvan Prodromou
darcs-hash:20080517170920-84dde-150c051a92f5af4189e55539d71c37b4f20e369d.gz
2008-05-17wrong title on registerEvan Prodromou
darcs-hash:20080517170617-84dde-e9d708d6e04c748ac35a93e69b3ac7f0129c0585.gz
2008-05-17common_start_element -> common_element_startEvan Prodromou
darcs-hash:20080517170430-84dde-74f42b52695699f646b65b939f78fbbe95a05c7e.gz
2008-05-17fix form output in registerEvan Prodromou
Two twiddly bits for the form output. darcs-hash:20080517164349-84dde-6931aabcabe26e327f6f139c6e374816fbb327fd.gz
2008-05-17try to fix arghandling in actionEvan Prodromou
darcs-hash:20080517163749-84dde-a323b2b956a0912c5dc2cb93a83714dad64064a0.gz
2008-05-17try to make register workEvan Prodromou
darcs-hash:20080517162932-84dde-f087458cd090cc24d032a5d5e45ef1e13eb8be9d.gz
2008-05-17fixes to make it all lintEvan Prodromou
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