aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
AgeCommit message (Collapse)Author
2008-11-14* Introducing get_loggedin_user() and get_loggedin_userid()marcus
* ACLs now using get_loggedin_user* * Some logic cleaned up * Some "Undefined..." messages cleaned up git-svn-id: https://code.elgg.org/elgg/trunk@2459 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-06Last action query update delayed to avoid invalidating query cache ↵marcus
unnecessarily. git-svn-id: https://code.elgg.org/elgg/trunk@2415 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-03Minor tweaks 'cos case does matter...marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2379 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-24The friend invite infrastructure is now secure.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2310 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-24Added the ability to add a user to a user's friends list on registration.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2305 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-21Closes #457: Now returns $guid on success, false on failmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2288 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-08Allowing '.' in username, refs #415marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2220 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-06List_user_friends_objects now lets you hide the toggle to gallery viewben
git-svn-id: https://code.elgg.org/elgg/trunk@2190 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-03Fixes #311, closes #345: Validation now called via event 'user', 'validate'. ↵marcus
Email validation now a plugin. git-svn-id: https://code.elgg.org/elgg/trunk@2177 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-03Removed old validation codemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2175 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-03Refs #311marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2169 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-30Closes #388: Additionally the site check in configuration_init() should be ↵marcus
instanceof. Nice spot, thanks. git-svn-id: https://code.elgg.org/elgg/trunk@2151 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-25Closes #254: If mb_string is installed then internationalised usernames are ↵marcus
supported in file system. Because of this I have raised mbstring from recommended to a (non-fatal) core requirement. Because of the lack of a unicode ctype_alnum function the validation occurs at username input. Because of this I have improved the user registration code: This code now validates for special chars etc in the username. I have also introduced the following new plugin hooks (which are run after primary validation) which provide plugins with the ability to add other requirements (extra security etc). 'registeruser:validate:password' 'registeruser:validate:username' 'registeruser:validate:email' Marcus Povey 25/8/08 git-svn-id: https://code.elgg.org/elgg/trunk@2040 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-18Removing a user disables their entitiesben
git-svn-id: https://code.elgg.org/elgg/trunk@1997 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-16Removing gallery on search user list functionben
git-svn-id: https://code.elgg.org/elgg/trunk@1972 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-15Correction for the search list users by name function.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1956 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-15Added proper search for users by nameben
git-svn-id: https://code.elgg.org/elgg/trunk@1953 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Closes #227 and #243: Hopefully this has the fscking thing nailed to the wall. marcus
Please report any problems, especially is they relate to access permissions (granted when you shouldn't or denied when you should) git-svn-id: https://code.elgg.org/elgg/trunk@1912 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Reverted changes so users can now register again.marcus
There are critical issues with enable/disable. Primarily: 1) A number of functions do not use the access controls, these throw an exception when accessing a disabled entity. 2) #243 does not seem possible. git-svn-id: https://code.elgg.org/elgg/trunk@1909 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Fixes #241: Changed order, delete user using object's delete method rather ↵marcus
than the low level function git-svn-id: https://code.elgg.org/elgg/trunk@1887 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Added a page handler for the dashboardben
git-svn-id: https://code.elgg.org/elgg/trunk@1884 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-12Closes #229: Admin signup now using different view + no password validation ↵marcus
for admin signup git-svn-id: https://code.elgg.org/elgg/trunk@1856 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-12Refs #229 : Register now has more granular messages, dupe email checkiong, ↵marcus
sanitisation + fill in the blanks failure mode! (yay) git-svn-id: https://code.elgg.org/elgg/trunk@1855 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-11Added a search submenu.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1819 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-08Major access fix.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1809 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-08Closes #221: Body and subject now internationalised.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1802 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-07Centralised set and get magic functions to the tlc. Added isset and unset ↵marcus
magic methods. Report any problems! git-svn-id: https://code.elgg.org/elgg/trunk@1776 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-04User settingsben
git-svn-id: https://code.elgg.org/elgg/trunk@1689 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-04Closes #193: Added salt field to database and new users will be generated ↵marcus
with salted passwords. Existing users remain unchanged and should still be able to log in. Requires a schema change and the following code run against the database: alter table elggusers_entity add column salt varchar(8) NOT NULL default '' after password; git-svn-id: https://code.elgg.org/elgg/trunk@1676 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-01Fixed erroneous friends link issueben
git-svn-id: https://code.elgg.org/elgg/trunk@1661 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-01Spotlight state persists.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1658 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-01Refs #191: Actions for resetting passwords, but no front end as yet.marcus
To request a password reset access http://..../actions/user/requestnewpassword/?username=username git-svn-id: https://code.elgg.org/elgg/trunk@1656 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-01Changed so that validated_email flag written as null user. Refs #190.marcus
Also confirms fix and closes #104. git-svn-id: https://code.elgg.org/elgg/trunk@1649 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-31Friends collections are now fully part of the main coreben
git-svn-id: https://code.elgg.org/elgg/trunk@1630 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-22Introducing the Friendable interfaceben
git-svn-id: https://code.elgg.org/elgg/trunk@1490 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Further fixes.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1479 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Slight fix to previous.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1476 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Altered the get_user_friends_objects functions to work with containers.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1475 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Moved container_guid to entities, modified a bunch of functions.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1473 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-07Administration tweaks; fixed users online functions, as well as last_action ↵ben
functions, and the 'make admin' functionality git-svn-id: https://code.elgg.org/elgg/trunk@1326 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-04First pass on user searchben
git-svn-id: https://code.elgg.org/elgg/trunk@1288 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-01Closes #108marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1254 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-30Added some user code - needs div hidingmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1209 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-27Added mapping to cache username => guid & code => guid. Refs #101.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1182 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-27Added a 'display full view' parameter to all of the listings functionsben
git-svn-id: https://code.elgg.org/elgg/trunk@1170 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-26Closes #16: Administration: Reset password functionality on user admin screen marcus
http://trac.elgg.org/elgg/ticket/16 git-svn-id: https://code.elgg.org/elgg/trunk@1150 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-26Unified user settings formben
git-svn-id: https://code.elgg.org/elgg/trunk@1149 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-26Closes #92: Settings: Set user language marcus
http://trac.elgg.org/elgg/ticket/92 git-svn-id: https://code.elgg.org/elgg/trunk@1145 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-26Fixes #91 and #97marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1143 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-26Closes #90: Settings: Change name marcus
http://trac.elgg.org/elgg/ticket/90 git-svn-id: https://code.elgg.org/elgg/trunk@1142 36083f99-b078-4883-b0ff-0f9b5a30f544