summaryrefslogtreecommitdiff
path: root/actions/register.php
AgeCommit message (Collapse)Author
2008-09-11Fix unquoted array key, causes b0rkage on some php setups (via @bopuc)CiaranG
darcs-hash:20080911163558-f6e2c-ae857f68936ed4328d4e38323f7e77ce25a0236a.gz
2008-08-30merge in changes for CSRF, tooEvan Prodromou
darcs-hash:20080830162223-84dde-573e490dc4fde68512ea4ec28599019d2740cfcf.gz
2008-08-26updates for invitationsEvan Prodromou
Add the code to registration to handle invitation codes. Some edge cases on invitations: is the user already subbed to this person? Tell them. Is the person already on the system? Sub the user to them, then, and tell the user. Add some code to User to auto-sub invitees whenever the email address changes. Call it from a new registration with an invite code, and also from confirmaddress. Some whitespace cleanup in the files touched. darcs-hash:20080827001927-84dde-b50e5d921ca3f2fb894821730ff93cac09d2ba66.gz
2008-08-30RequirePasswordGarret Buell
Require a password with at least 6 characters when registering. darcs-hash:20080830195036-e3c0d-6b4cac221674240e1a8383675b69863f54dd2525.gz
2008-08-29CSRF protection in user registrationEvan Prodromou
darcs-hash:20080829054017-84dde-c9268e5c815934dcbca2451dd6c9016f2ac4a03a.gz
2008-08-13move user registration to a single static methodEvan Prodromou
darcs-hash:20080814002038-84dde-8505d4e083056b770db128129a95be639d8e7f0a.gz
2008-08-05make init of lang environment happen earlier, or when user language may have ↵Evan Prodromou
changed darcs-hash:20080806034515-84dde-e32cbfec2890f50b610d0441659180038b060473.gz
2008-07-24let admins prevent registrationEvan Prodromou
darcs-hash:20080724235508-84dde-8bac4d9dd772adb9f27d083b3d0b6ed5b7526dbf.gz
2008-07-22base class is_readonly() now returns false by defaultzach
darcs-hash:20080722212056-ca946-e4bd9eef8e3d8991414932e9fc7b8c9a31f818c0.gz
2008-07-22Added is_readonly() method to all Actionszach
darcs-hash:20080722171501-ca946-160bad6c4f80be2b3b105ea9b913f1c0f9edb0ef.gz
2008-07-22every user is subscribed to themselvesEvan Prodromou
darcs-hash:20080722144154-84dde-80beabad9a681f2e12edb34ceb4ac249f4ce6705.gz
2008-07-15one more linefeedEvan Prodromou
darcs-hash:20080715215556-84dde-e41b099910bd11698b0148c6bd4f4d98cc883fb3.gz
2008-07-15maybe an extra \n will help my formattingEvan Prodromou
darcs-hash:20080715215407-84dde-6e75d2a138152a2f5dd71fc2813096b4d66ba831.gz
2008-07-15more formatting for registration successEvan Prodromou
darcs-hash:20080715214934-84dde-f0a20191b3e833d0660affc944a527e3d06d2f69.gz
2008-07-15better formatting in registration resultsEvan Prodromou
darcs-hash:20080715214612-84dde-779ae3816488bdc1e0754fd807fde39c293db61e.gz
2008-07-15fix checkbox for licenseEvan Prodromou
darcs-hash:20080715214249-84dde-ed5f9b38a93e9fcfd5c6772fb1c784696d3a435a.gz
2008-07-15more info at registration time, better message when you're finishedEvan Prodromou
darcs-hash:20080715213202-84dde-7a6a8fadfccc76bda12f3de01d17a1d95daf18b8.gz
2008-07-13Colapse a lot of strings to make like easier for translators and more ↵Mike Cochrane
consisitant for users darcs-hash:20080713053748-533db-1cdb0cf3a9e4102eb139b74a7a9d4f97dadb20b8.gz
2008-07-13Merge some gettext strings to one line so translation tools are happierMike Cochrane
darcs-hash:20080713044608-533db-ee16aecee9b6d82b22ce6a25f6a9573c23eee9f8.gz
2008-07-12Fixed non openid registrationMike Cochrane
darcs-hash:20080713024754-533db-af3dbd6186df4ce27caa7c25d0752d3e7afa184a.gz
2008-07-12Error I made merging a diffMike Cochrane
darcs-hash:20080712123942-533db-21fa41076dd7b57935f49462423f247ccbb01e8f.gz
2008-07-10Resolve conflicts and convert _t( to _( where it was introduced again.Mike Cochrane
darcs-hash:20080710045126-533db-ffd9bcfe1295b3a376579ed7cd2278d5597b1884.gz
2008-07-09Merge conflicts and kill a whole lot of trailing whitespace on lines.Mike Cochrane
darcs-hash:20080709224630-533db-b5399baef280133858dac9b89c2cd6a2aba9f861.gz
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