aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
AgeCommit message (Collapse)Author
2009-10-02Added unit tests for entities.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3505 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-23Updated the user picker to avoid possible mysql injection attacks and to ↵brettp
search only by leading chars. git-svn-id: http://code.elgg.org/elgg/trunk@3494 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-21New river code added to allow user comment to be pulled out and displayeddave
git-svn-id: http://code.elgg.org/elgg/trunk@3490 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-16Changed get_entities_from_access_collection() to ↵brettp
get_entities_from_access_id() to be more generic. git-svn-id: https://code.elgg.org/elgg/trunk@3488 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-16Fixes #1238: Added ElggExtender::getOwnerEntity() and changed ↵brettp
ElggExtender::getOwner() to return just the GUID. Also, this fixes a bug with checking permissions on annotations. git-svn-id: https://code.elgg.org/elgg/trunk@3487 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-09-10Checking against admin metadata instead of $is_admin global in ↵brettp
get_access_sql_suffix(). git-svn-id: https://code.elgg.org/elgg/trunk@3484 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-10Fixing a bug with when getting the sql suffix for the non-loggedin user.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3483 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-07Updated livesearch page handler to use classes instead of hard coded css.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3476 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-04Added strip_tags() to setting titles in ElggEntitybrettp
git-svn-id: https://code.elgg.org/elgg/trunk@3463 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-04Patch submitted for ticket #886 rolled back as it was causing #1205 -> #886 ↵dave
will need further investigating git-svn-id: https://code.elgg.org/elgg/trunk@3462 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-03Adding additional hooks to add/remove/update users for access_collections()brettp
Added autocomplete endpoint in input_init() git-svn-id: https://code.elgg.org/elgg/trunk@3460 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-03missing comma addeddave
git-svn-id: https://code.elgg.org/elgg/trunk@3457 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-02order by bug fixed in get_entities_from_relationshipdave
git-svn-id: https://code.elgg.org/elgg/trunk@3453 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-01a simple function which returns a string version of an entity's access leveldave
git-svn-id: https://code.elgg.org/elgg/trunk@3452 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-28Fixes #1196: ElggEntity::disable() now accepts a 2nd arg for recursive. New ↵brettp
users are not recursively disabled for plugins that need to create entities owned by the new user upon entity creation. git-svn-id: https://code.elgg.org/elgg/trunk@3450 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-27Fixes #1191: set_input() was never being called for tag in ↵brettp
search_page_handler(). git-svn-id: https://code.elgg.org/elgg/trunk@3446 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-26Added entity_owner_guid to get_annotations()brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3443 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-21Fixes #1180: Group join event triggered after joining group. This trigger's ↵brettp
return was never being tested so no overriding could be done. If we decide to test the trigger to stop group joining, groups_write_acl_plugin_hook() will need to be changed... git-svn-id: https://code.elgg.org/elgg/trunk@3438 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-08-11Added timelower and timeupper to get_annotations() and ↵brettp
__get_annotations_calculate_x() and its helpers. git-svn-id: https://code.elgg.org/elgg/trunk@3423 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-05Added documentation to list_entities_from_access_collection();brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3421 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-04Fixed a security issues when simple cache is off.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3420 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-03Added starttime and endtime for get_entities_from_annotation().brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3418 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-29Added get/list_entities_from_access_collection().brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3416 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-29Fixes #1151: Added is_dir() check before attempting to create cache directory.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3415 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-27Fixes #1148: Correctly comparing strings to get OS.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3414 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-24Fixes #1144: Added comma between order by fields.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3412 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-13Closes #1119: If post data not initially found then input stream is used.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3403 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-08Closes #1111: Using substr instead of parse_url.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3398 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-08Refs #427: Added $vars array to hook call.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3397 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-07Refs #1099: Using write access hook to allow group-only ACLs. Need to ↵brettp
examine better solutions after 1.7. git-svn-id: https://code.elgg.org/elgg/trunk@3395 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-06Closes #1075: XML-RPC client behaving as per specmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3393 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-06Refs #1089: Added [B] flag to rewrite for tags. Won't work until apache ↵brettp
2.2.12. Cleaned up some query code in pagehandler(). git-svn-id: https://code.elgg.org/elgg/trunk@3392 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-06small tweak to filestoredave
git-svn-id: https://code.elgg.org/elgg/trunk@3388 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-06Closes #742: Ability to retrieve master icon from getIcon() interface.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3386 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-02order by now works on get entities from metadatadave
git-svn-id: https://code.elgg.org/elgg/trunk@3379 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-07-01Refs #1086: Deprecating kses and removing it from core. Version bump.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3376 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-01Closes #1097: Results set by set_input are now also filtered by get_input()marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3374 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-01Short circuit on delete annotations to avoid error messagemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3373 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-01Metadata delete now passing correct object, also handles missing metadata ↵marcus
entity. git-svn-id: https://code.elgg.org/elgg/trunk@3372 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-29Closes #337: Added checking for metastrings in __get_annotations_calculate_x() brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3361 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-29Updated get_*() functions ot return false if an invalid subtype is specified.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3360 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-29Closes #1073: Captcha off by defaultmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3359 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-28Access levels on add_to_river() will now respect ACCESS_DEFAULT level.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3357 36083f99-b078-4883-b0ff-0f9b5a30f544