aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
AgeCommit message (Collapse)Author
2010-01-31Deprecated old search functions and views.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3872 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-31Fixes #804: A relationship is created between a new user and the site it was ↵brettp
created on. git-svn-id: http://code.elgg.org/elgg/trunk@3867 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-28Fixes #1049, Fixes #1435: Admin-created users and first admin user are ↵brettp
marked as validated to prevent inaccurate "Please validate your account" messages and emails. git-svn-id: http://code.elgg.org/elgg/trunk@3851 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-12closes #1145 - deprecated current "copy constructor" for all entities and ↵cash
implemented a clone method. The clone copies over all metadata but not annotations and private settings. It sets the guid to 0 so saving the cloned entity creates a new database record. The ownership/access of metadata is set during the save and will be the same as that of the entity. git-svn-id: http://code.elgg.org/elgg/trunk@3802 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-03Set admin user's validation upon initial registration.brettp
Fixes an incorrect error message if the first admin user enters the wrong password. git-svn-id: http://code.elgg.org/elgg/trunk@3784 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-20fixes #1322 - "remember me" cookie code is cleared when a user is bannedcash
git-svn-id: http://code.elgg.org/elgg/trunk@3775 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-08fixes #1305 - user and entity cache now cleared on deletecash
git-svn-id: http://code.elgg.org/elgg/trunk@3743 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-24made the get user friends objects functions consistent and added some ↵cash
missing documentation - no api usage changes git-svn-id: http://code.elgg.org/elgg/trunk@3701 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-23Deleting a user will remove all user files.nickw
Fixes #607 git-svn-id: http://code.elgg.org/elgg/trunk@3700 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-21fixes #1380 - get_user_friends() was being called with subtype of desired ↵cash
objects in get_user_friends_objects() - thanks for the report git-svn-id: http://code.elgg.org/elgg/trunk@3695 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-07Moved default search hooks into search mod.brettp
Using MySQL's MATCH ... AGAINST instead of likes for most searches. Changed 'tag' to 'q' while maintaining backward compatibility. git-svn-id: http://code.elgg.org/elgg/trunk@3633 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-06Removed old user search.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3625 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-06Added search for group, tags, and users.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3624 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-23Creating a unit test for ElggUsernickw
git-svn-id: http://code.elgg.org/elgg/trunk@3576 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-16Rewriting core debug messages to be more informative.nickw
Introducing the concept of levels for Elgg debugging: notices, warnings and errors are displayed when the appropriate debugging level is enabled. An additional level of "debug" exists to differentiate from errors. git-svn-id: http://code.elgg.org/elgg/trunk@3560 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-15Standardized gobs of files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3548 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Standardized users and entities.brettp
Fleshed out elgg_set_ignore_access() and elgg_get_ignore_access() git-svn-id: http://code.elgg.org/elgg/trunk@3533 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-07Fixes #790: Removing unneeded @s.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3513 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-08-11Fixes #942: In register_user, replaced sanitise_string() call with a simple ↵brettp
trim(). Not a problem because all SQL sanitation is handled elsewhere. git-svn-id: https://code.elgg.org/elgg/trunk@3424 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-01Refs #1058: Using validated metadata for new user permission check. ↵brettp
Correctly allows for enable() / disable(), but still not ideal. git-svn-id: https://code.elgg.org/elgg/trunk@3377 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-30Modified output/confirmlink view to accept a class param.brettp
user_remove_friend() uses remove_user_from_access_collection() instead of raw SQL. Deleting an access collection prompts using output/confirmlink. git-svn-id: https://code.elgg.org/elgg/trunk@3368 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-29Closes #502: Removing unfriended users from access lists upon unfriending.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3362 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-12Refs #1041: marcus
* Speculative fix, extended blacklist of invalid characters for user signup * Mapping some filestore matrix characters (notable '.') to a safe char git-svn-id: https://code.elgg.org/elgg/trunk@3329 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-11Block URL unsafe characters from usernamemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3327 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-05-22Closes #1030: Group title and description search added, refs #965marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3300 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-05-22Closes #1031: Restored wildcard as it didn't appear that slow.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3299 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-05-05Closes #1008: Fixed typomarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3257 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-05-01Closes #1002: Committed missing variable codemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3255 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-27Closes #927: Minimum user length no longer hard coded.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3240 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-27Closes #943: Event triggered when banning or unbanning a user.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3238 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-24Closes #856: Admin created users are no longer created as being owned by the ↵marcus
admin git-svn-id: https://code.elgg.org/elgg/trunk@3233 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-22Deleting correct data + using correct tablesmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3228 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-22Closes #957: Annotations and metadata owned by a deleted user are now also ↵marcus
deleted. git-svn-id: https://code.elgg.org/elgg/trunk@3227 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-31Closes #896: Error thrown if user not validate. Metadata physically removed ↵marcus
rather than simply blanked when validation is requested. Note: update_metadata no longer seems to support anonymous metadata which is likely to have knock on issues elsewhere... git-svn-id: https://code.elgg.org/elgg/trunk@3184 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-18Disposed of unnecessary $result variables.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3167 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-11Closes 868: Fixes regression introduced in [3119]. Version number bumped.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3153 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-09User validation no longer occurs on first installben
git-svn-id: https://code.elgg.org/elgg/trunk@3133 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-07Closes #841: User request for password changes now functional.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3122 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-06Reversed delete procedure on entities, parent now checked first before sub ↵marcus
deleted. Any stubs left over will be handled by the garbage collector. git-svn-id: https://code.elgg.org/elgg/trunk@3119 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-03Removed calls to the deprecated entity cacheben
git-svn-id: https://code.elgg.org/elgg/trunk@3028 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-02Removing duplicate deletion code.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3016 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-25Introduces user default access.kevinjardine
git-svn-id: https://code.elgg.org/elgg/trunk@2943 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-20isFriend() now retrieving userid correctlymarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2862 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-19Fixed parameter errors in site-related functions. Fixes #793ben
git-svn-id: https://code.elgg.org/elgg/trunk@2824 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-19Fix for user object counting with upper and lower time limits.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2806 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-19Introducing archive functionality.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2803 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-11Removing wildcard from the beginning of 'like' search for user/usernameben
git-svn-id: https://code.elgg.org/elgg/trunk@2716 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-09Closes #584: Removed exception, get_user will now return false if GUID ↵marcus
exists but is not a user. This probably makes more sense as Exceptions should probably be reserved for major Ooopses. The error in this bug was caused by this exception being thrown and not caught in the access group handler. This may have been the cause of a number of group related / permission related errors. git-svn-id: https://code.elgg.org/elgg/trunk@2682 36083f99-b078-4883-b0ff-0f9b5a30f544