aboutsummaryrefslogtreecommitdiff
path: root/engine
AgeCommit message (Collapse)Author
2010-02-24Fixes #1542: Pulled in Kevin's patch to add ability to sort by metadata. ↵brettp
Added unit tests for this. git-svn-id: http://code.elgg.org/elgg/trunk@3970 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-23Refs #1543: Added support to have pass an array as a value in the ↵brettp
metadata_name_value_pair option of elgg_get_entities_from_metadata(). Added unit tests for elgg_get_entities_from_metadata(). Cleaned up some documentation for elgg_get_entities_from_metadata(). git-svn-id: http://code.elgg.org/elgg/trunk@3969 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-22Fixes #1528: Correctly throwing exceptions for objects, groups, and users.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3968 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-22Fixes #1531: Correctly implemented dates for friendly times. No more coding ↵brettp
while watching the Olympics! git-svn-id: http://code.elgg.org/elgg/trunk@3965 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-21Deprecated elgg_validate_action_url() by elgg_add_action_tokens_to_url(). ↵brettp
Updated elgg_deprecated_notice() to include the file & line of the caller. Updated core to use elgg_add_action_tokens_to_url(). git-svn-id: http://code.elgg.org/elgg/trunk@3962 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-21Refs #1517: only encode <,>, and & for strings in xmlcash
git-svn-id: http://code.elgg.org/elgg/trunk@3961 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-21Apache's MultiViews was matching the rest page handler incorrectlycash
git-svn-id: http://code.elgg.org/elgg/trunk@3958 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-20Refs #1531: Added full time and dates to friendly time stamptes via acronym ↵brettp
tags. git-svn-id: http://code.elgg.org/elgg/trunk@3957 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-19Fixes #1421: Banning and unbanning users invalidates the memcache entity.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3955 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-19Fixes #1519: Corrected site_guid in create_access_collection().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3949 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-18Getter API test: Moved the setup and tear down into the construct and ↵brettp
destruct methods. Fixed a few new tests that were failing because of sorting by time. git-svn-id: http://code.elgg.org/elgg/trunk@3948 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-17Fixes #1488: Removed use of deprecated functions in core. brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3947 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-17Refs #1523: elgg_get_entities() uses the constants for defaults and ↵brettp
conditionals. Added some tests to check for no subtypes. Updated the documentation. git-svn-id: http://code.elgg.org/elgg/trunk@3946 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-17Fixes #1526: Big honking warning added to unit tests. Getter test also ↵brettp
deletes its subtypes now. git-svn-id: http://code.elgg.org/elgg/trunk@3945 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-17Fixes #1527: Logout doens't require an action token. This is a temporary fix ↵brettp
until #1509 is implemented. git-svn-id: http://code.elgg.org/elgg/trunk@3943 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-16Removing embed extended view from core.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3939 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-13Cleaned up tag searching so you can search on a specific tag. Useful in ↵brettp
search so a tag in "Things I like" won't match a tag in "Things I hate." git-svn-id: http://code.elgg.org/elgg/trunk@3938 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-12Can't type hint for strings.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3937 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-12Closes #1506: Added elgg_register_tag_metadata_name(), ↵brettp
elgg_get_registered_tag_metadata_names(), and ElggEntity::getTags(). Search on tags updated to use registered tag names instead of hard-coded 'tags' metadata name. git-svn-id: http://code.elgg.org/elgg/trunk@3936 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-12Fixes #1510: Added elgg_get_file_list(). get_library_files() wraps to this ↵brettp
function with a deprecation notice for any plugin authors using it to auto-load files. git-svn-id: http://code.elgg.org/elgg/trunk@3935 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-12Fixes #1512: Using a helper function for mb_parse_str() instead of wrapping ↵brettp
it exactly. git-svn-id: http://code.elgg.org/elgg/trunk@3934 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-12updated documentation on the REST API user authenticationcash
git-svn-id: http://code.elgg.org/elgg/trunk@3933 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-11Fixes #1501: Setting ini for mbstring.internal_encoding to utf8 to work ↵brettp
around a PHP bug. Replaced calls to parse_str() with elgg_parse_str(). git-svn-id: http://code.elgg.org/elgg/trunk@3932 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-09Fixes #1503, fixes #1474: Library files are loaded using a hard-coded list ↵brettp
to better deal with removed files. Also, ~4% performance increase per page load on my server! git-svn-id: http://code.elgg.org/elgg/trunk@3927 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-08Updated copyright for core plugin manifests.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3923 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-08Fixes #1496: delete_access_collection() invalidates the access collection ↵brettp
cache before attempting to delete. Removed a misplaced unset() in a unit test that was causing test objects not to be properly deleted. git-svn-id: http://code.elgg.org/elgg/trunk@3922 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-07tweaked some documentation on the REST APIcash
git-svn-id: http://code.elgg.org/elgg/trunk@3918 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-07Correcting documentation for elgg_get_entities_from_metadata().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3917 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-06Refs #1200: Added tests to test for false being returned with ↵brettp
elgg_get_entities(). Disabled execution time during unit tests. git-svn-id: http://code.elgg.org/elgg/trunk@3914 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-06Fixes #1492: Removed usage info collecting from installation.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3913 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-06Fixes #1493: Updated schema to set auto_increment IDs for access_collections ↵brettp
to 3 to avoid overwriting default values with group / shared access ACLs. git-svn-id: http://code.elgg.org/elgg/trunk@3912 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-06missing new on upgrade_details object creationcash
git-svn-id: http://code.elgg.org/elgg/trunk@3910 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-06fixes #1486 - elgg_dump now works when sending to server error logcash
git-svn-id: http://code.elgg.org/elgg/trunk@3909 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-05Fixes #1483: Reset password emails forward to a confirmation page handler ↵brettp
instead of directly to an action. git-svn-id: http://code.elgg.org/elgg/trunk@3907 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-05Fixes #1212: Removed unused code.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3906 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-05Fixes #1486: elgg_log() can now log arrays and objects to error_log().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3905 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-05Fixes #1319: Applied patch for missing xml-rpc <value> tag.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3904 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-05Fixes #1481: Applie Mike's patch and created function ↵brettp
elgg_http_add_url_query_elements() to handle what the pagination view was trying to do. git-svn-id: http://code.elgg.org/elgg/trunk@3903 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-04Refs #1200: Changed logic in elgg_get_entity_type_subtype_where_sql() to ↵brettp
return FALSE if there are no valid subtypes passed. Ignores all invalid subtypes. Added (partial) tests for elgg_get_entities() types and subtypes. git-svn-id: http://code.elgg.org/elgg/trunk@3901 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01PHP complains about not casting the timestampt to int for use in date().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3898 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Added error checking to clear_metadata_by_owner().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3897 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixed incorrect variable for subtype in get_entity_dates().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3896 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #340: add_menu() and make_register_object() deprecated.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3894 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1166. get_installed_translations() only calculates completion if ↵brettp
admin is logge din. git-svn-id: http://code.elgg.org/elgg/trunk@3893 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1406: get_entity_dates() supports order by.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3892 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Adding some \ns between the SQL error and the query in the database exception.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3891 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1398: autop() doesn't call missing clean_pre() function.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3890 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1376: added ElggEntity::removeRelationship().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3889 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1478: uh....how did that get in there?brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3888 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes: #1475. elgg_http_build_url() correctly sets port number.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3887 36083f99-b078-4883-b0ff-0f9b5a30f544