aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/sessions.php
AgeCommit message (Collapse)Author
2013-12-02fixes #3143 login partJerome Bakker
2013-07-13Fixes #5800 cast user guid to an intCash Costello
2013-02-09remove unused code: vars, foreach keys, etcSteve Clay
2013-02-09small changes to previous commit from Steve's cleanupCash Costello
2013-02-09Small changes to remove static analysis noise and simplify flowSteve Clay
2012-06-14rewrote the language caching - now not calling register_translations() if we ↵Cash Costello
can load the language data from cache
2012-04-24Fixed problem in web services where users with incorrect passwords could ↵Brett Profitt
gain an access token.
2012-01-21cleans up the boot processCash Costello
2011-10-08Fixes #3936 added @access private to internal functionsCash Costello
2011-09-19forward throws Exception if headers sent. fix for ↵Steve Clay
http://trac.elgg.org/ticket/3765
2011-06-07Refs #3510, #3418. Merged fix for forwarding after output to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@9141 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-14preventing warnings with the user password authorization pam (hellekin)cash
git-svn-id: http://code.elgg.org/elgg/trunk@8993 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-21No need to document NULL as possible return value hereewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8807 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Refs #2543: Core uses the new functions from previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8078 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Deprecated isadminloggedin(), isloggedin(), get_loggedin_user(), and ↵brettp
get_loggedin_userid() because they melt my brain each time I see them. This commit breaks trunk. Wait for the incoming commit to fix it. git-svn-id: http://code.elgg.org/elgg/trunk@8077 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Moved deprecated files from sessions.php - xml.php into deprecation files ↵ewinslow
for 1.7 and 1.8 git-svn-id: http://code.elgg.org/elgg/trunk@7981 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-22testing for the existence of username in pam credentials before usingcash
git-svn-id: http://code.elgg.org/elgg/trunk@7907 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-24Fixes #2655: Converted register_action to elgg_register_action throughout coreewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7432 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Fixes #2237: Added 'reason' parameter to forward() to allow proper headers ↵ewinslow
and more flexible destinations via plugin hooks. Also made use of this in core gatekeeper functions and in pagehandler.php git-svn-id: http://code.elgg.org/elgg/trunk@7373 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-14Refs #1417 Elgg core now passes back useful messages to user when log in ↵cash
fails - uservalidationbyemail is next git-svn-id: http://code.elgg.org/elgg/trunk@7317 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-10Fixes #2367: With fear and trepidation, converting events/plugin hooks to ↵ewinslow
use elgg_ prefixed versions git-svn-id: http://code.elgg.org/elgg/trunk@7284 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30ripped out last remaining tentacles of old installer from core - just needs ↵cash
removal of install.php when elgg_view() is updated git-svn-id: http://code.elgg.org/elgg/trunk@7141 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-28Standardized code in all of core, not including language files, tests, or ↵brettp
core mods. git-svn-id: http://code.elgg.org/elgg/trunk@7124 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-22Removed @license, @copyright, and @author from files. License and copyright ↵brettp
are covered by LICENSE.txt and COPYRIGHT.txt in root. git-svn-id: http://code.elgg.org/elgg/trunk@7118 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-30Fixes #617, #2271 User validation removed from core to UserValidationByEmail ↵brettp
plugin. Without a validation plugin, users can login immediately. Fixes #2243 Removed "You have validated your email" email. Users are logged in immediately after registration or validating email. Refs #2409 Added register, user plugin hook that is called only on self registration. Can be used to halt registration. git-svn-id: http://code.elgg.org/elgg/trunk@6983 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-15Refs #2220: Pulled remaining classes out of lib files. Core classes now ↵ewinslow
autoloaded via __autoload(). git-svn-id: http://code.elgg.org/elgg/trunk@6941 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-06Refs #2220: Pulled most classes / interfaces out of lib files (except ↵ewinslow
query.php and exception.php) into "classes" folder. Replaced inline classes with "require_once" statements for now. Ran unit tests to verify functionality before committing. git-svn-id: http://code.elgg.org/elgg/trunk@6908 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6757:6810 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-14Merged 5928-6908 from 1.7 branch to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6059 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-14merge -r5898:5928 (not excluding riverdashboard, notifications, and ↵brettp
messageboard) from 1.7 to trunk. git-svn-id: http://code.elgg.org/elgg/trunk@6058 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-05Merged 18_new_admin branch to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5977 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Merged 5530:5604 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5622 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-27Fixes #1464: A new session is created in logout() after destorying the old ↵brettp
session to display old $_SESSION['msg'] messages. git-svn-id: http://code.elgg.org/elgg/trunk@3847 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-09minor tweak in comment - closes #1264cash
git-svn-id: http://code.elgg.org/elgg/trunk@3746 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-08gatekeeper functions now display helpful messages - closes #1060cash
git-svn-id: http://code.elgg.org/elgg/trunk@3742 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-07Adding alias ElggSession methodsnickw
git-svn-id: http://code.elgg.org/elgg/trunk@3739 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-05if there is already a user in the session, we don't need to set the code ↵cash
from the cookie git-svn-id: http://code.elgg.org/elgg/trunk@3728 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-14user object needs to be loaded from database into session on each page in ↵cash
case the object has changed - this commit also handles a user who has been deleted with an active session git-svn-id: http://code.elgg.org/elgg/trunk@3681 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-04users now allowed to have multiple sessions but not multiple remember me ↵cash
cookies (yet) git-svn-id: http://code.elgg.org/elgg/trunk@3618 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13First pass at removing $is_admin global.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3528 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-08Brought access.php and sesssion.php up to code standards.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3517 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-10Updated fixes for checking for admin in get_access_sql_prefix()brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3485 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-31All line endings are now Unix-style.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-20Whoa nelly this is a big one: Removed license and copyright for files.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3427 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-05-27Admin shortcut flag set on login as well as initmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3303 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-21Belts and braces checking on isloggedin()marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3225 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-24The session initialisation order is slightly altered to allow for language ↵ben
setup on the index page. Fixes #803 git-svn-id: https://code.elgg.org/elgg/trunk@2930 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-16Closes #429: Language loading now no longer loads all possible translations ↵marcus
- only english + user's preferred language/site preference git-svn-id: https://code.elgg.org/elgg/trunk@2762 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-13Fixed logic bug in login()marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2745 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-23Refs #706marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2611 36083f99-b078-4883-b0ff-0f9b5a30f544