summaryrefslogtreecommitdiff
path: root/actions/login.php
AgeCommit message (Collapse)Author
2009-08-13Added a configuration option to disable OpenID.Jeffery To
If $config['openid']['enabled'] is set to false, OpenID is removed from the navigation and direct accesses to OpenID login pages redirect to the login page. If OpenID is enabled, $config['site']['openidonly'] is ignored, i.e. OpenID is required to go OpenID-only.
2009-08-10Added configuration option to only allow OpenID logins.Jeffery To
If $config['site']['openidonly'] is set to true: * the Login/Register pages will be removed from the navigation; * directly accesses to the Login/Register pages will redirect to the OpenID login page; * most links to the Login/Register pages will link to the OpenID login page instead. The user will still need to set a password to access the API and RSS feeds.
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-02-20use return value of common_check_user() in login.phpEvan Prodromou
2009-02-05Merge branch '0.7.x' of git://gitorious.org/laconica/sgmurphy-clone into ↵Evan Prodromou
sgmurphy-clone/0.7.x Conflicts: actions/avatarsettings.php
2009-02-05Fixed #1140; Login form session token not set.Sean Murphy
2009-02-04take out redundant code from loginEvan Prodromou
2009-01-19Renamed form_datas to form_datasarven
2009-01-18Fix comment blocks for loginEvan Prodromou
2009-01-18Fix file and class descriptorsEvan Prodromou
2009-01-18Add tabset to login and make it phpcs-compliantEvan Prodromou
2009-01-18Favor/Disfavor form @classsarven
Created icon, and add style JS selector change Fixed return actions
2009-01-18Minor cleanup for login stylesarven
2009-01-18Reusing @class form_settingssarven
2009-01-17Login stylessarven
2009-01-15Merge branch 'uiredesign' of ../evan into uiredesignsarven
2009-01-15Correct error var in loginEvan Prodromou
2009-01-15Merge branch 'uiredesign' of ../evan into uiredesignsarven
2009-01-15All actions now use isReadOnly()Evan Prodromou
2009-01-15Merge branch 'uiredesign' of ../evan into uiredesignsarven
2009-01-15Unnecessary wrappersarven
2009-01-15Convert use of common_server_error and common_user_error to methods on ActionEvan Prodromou
2009-01-15Convert all actions to use new UI functionsEvan Prodromou
I did a massive search-and-replace to get all the action subclasses to use the new output function (common_element() -> $this->element(), etc.) There's still a lot to do, but it's a first step
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-11-10CSRF Protection for login and new notice. Ticket #503zach
darcs-hash:20081111022330-462f3-810b2a86e6e209330ade628fc0e97df96151d496.gz
2008-08-29clean up username entered at loginEvan Prodromou
darcs-hash:20080829225258-84dde-6fee5f0beea62f023c13436b8d7044241bc0d01a.gz
2008-07-22base class is_readonly() now returns false by defaultzach
darcs-hash:20080722212056-ca946-e4bd9eef8e3d8991414932e9fc7b8c9a31f818c0.gz
2008-07-13conflict resolution after pulling from mikenzEvan Prodromou
darcs-hash:20080713215601-84dde-371d54221d9ffbed500e8d3c9e0ad4bb15bd5c30.gz
2008-07-13Merge some gettext strings to one line so translation tools are happierMike Cochrane
darcs-hash:20080713044608-533db-ee16aecee9b6d82b22ce6a25f6a9573c23eee9f8.gz
2008-07-13little lost hashEvan Prodromou
darcs-hash:20080713151035-84dde-8561acc3546efa741e2d927ffb3167fd8efeb7e1.gz
2008-07-13restore enhanced login instructions, lost in gettext() switchoverEvan Prodromou
darcs-hash:20080713151004-84dde-6818a5392e8d78e6672399dfbc183b571751953a.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-09fixup end tag in login (not used, maybe later)Evan Prodromou
darcs-hash:20080709221735-84dde-f3fb10d2a3ef832b8528db92cc914d31a474c5d3.gz
2008-07-09reword, leave out the OpenID partEvan Prodromou
darcs-hash:20080709061118-84dde-b79745bf15dde9e95b46efd1e952d67d435eb1bf.gz
2008-07-09login -> reenterEvan Prodromou
darcs-hash:20080709060928-84dde-14e8803a617d177739f5ee6b96f296dea80719c9.gz
2008-07-09don't refetch user objects so muchEvan Prodromou
darcs-hash:20080709055343-84dde-ac550608a4736ce5daed70af19866c75a1cfb416.gz
2008-07-09better description of what happens when changing settingsEvan Prodromou
darcs-hash:20080709050022-84dde-b8b583c8d2c67bcf6bbe86b2ff26eec7af345d72.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-05rememberme debuggingEvan Prodromou
darcs-hash:20080705162142-84dde-6bc70413f43e0890e6372962eb14697ee6f88992.gz
2008-07-05better debuggingEvan Prodromou
darcs-hash:20080705161801-84dde-b8ce7f1edcb18d7382b2690ff35f84e4b7cc7421.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-07-01better instructions for loginEvan Prodromou
darcs-hash:20080701180611-84dde-ca0ed035476469fea28edfb2e1b8cbc2aa3e9d41.gz