summaryrefslogtreecommitdiff
path: root/actions/logout.php
AgeCommit message (Collapse)Author
2009-04-13isReadOnly() now takes argumentsEvan Prodromou
Add an array of arguments to isReadOnly() method of actions, to let them change their results depending on what actions are called. Primarily used by the 'api' action. Ideally in the future that will be multiple actions. But this might still be useful.
2009-04-01Try to do intelligent redirect codesEvan Prodromou
After fixing the redirect code output, there are a lot of weirdnesses with e.g. form handling. Try to add explicit redirect codes where needed -- principly when handling a POST.
2009-01-23mark a bunch of actions read-onlyRobin Millette
2009-01-20uiredesign + phpdocsRobin Millette
2009-01-15All actions now use isReadOnly()Evan Prodromou
2009-01-15Convert use of common_server_error and common_user_error to methods on ActionEvan Prodromou
2008-12-23move opening brace of class declaration to next lineEvan Prodromou
Another gigantor PEAR coding standards patch. Here, I've moved the opening curly bracket on a class statement to the following line. darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
2008-12-23change function headers to K&R styleEvan Prodromou
Another huge change, for PEAR code standards compliance. Function headers have to be in K&R style (opening brace on its own line), instead of having the opening brace on the same line as the function and parameters. So, a little perl magic found all the function definitions and move the opening brace to the next line (properly indented... usually). darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23replace NULL with nullEvan Prodromou
Another global search-and-replace update. Here, I've replaced the PHP keyword 'NULL' with its lowercase version. This is another PEAR code standards change. darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23replace all tabs with four spacesEvan Prodromou
The PEAR coding standards decree: no tabs, but indent by four spaces. I've done a global search-and-replace on all tabs, replacing them by four spaces. This is a huge change, but it will go a long way to getting us towards phpcs-compliance. And that means better code readability, and that means more participation. darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-07-22base class is_readonly() now returns false by defaultzach
darcs-hash:20080722212056-ca946-e4bd9eef8e3d8991414932e9fc7b8c9a31f818c0.gz
2008-07-08Convert _t() to _() for gettext.Mike Cochrane
darcs-hash:20080708094531-533db-83399a46e6ec4c0fcc6249b0235961f969d1ae73.gz
2008-06-23correct name for common_forgetme() in logoutEvan Prodromou
darcs-hash:20080624031927-34904-4a0c4d5966c8dd840cf6c368bdbe47990a39c074.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-19try to clear openid url cookie betterEvan Prodromou
darcs-hash:20080619183238-84dde-dbe912a40894ec7414e6d5ea0bc40ec527385436.gz
2008-06-19immediate mode for openidEvan Prodromou
darcs-hash:20080619134710-84dde-6086a4ac7bbd72a251fe5ce6fe3156e3270ebd74.gz
2008-05-20trim whitespaceEvan Prodromou
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
2008-05-17go to public timeline on logout and handle missing user more gracefullyEvan Prodromou
darcs-hash:20080517195449-84dde-d08f3cad4fb79cdf81ef40f79aa30a29c9ddd9a7.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
2008-05-14license block for source codeEvan Prodromou
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-14considerable codingEvan Prodromou
darcs-hash:20080514145436-84dde-d0994cb35d3fe8545d3f08abeec3cdfe7559c67d.gz