aboutsummaryrefslogtreecommitdiff
path: root/engine
AgeCommit message (Collapse)Author
2010-02-01Fixes #1314: Filestore opens read-only with rb instead of r+b.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3886 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1261: Exceptions force an HTTP recache.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3884 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1213: delete_relationship() triggers delete:relationship hook.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3883 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1211: page_owner() sets the page owner after figuring it out.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3882 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Updated documentation for elgg_get_entities().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3881 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1325: ElggEntities::countEntitiesFromRelationship() support inverse ↵brettp
relationships. git-svn-id: http://code.elgg.org/elgg/trunk@3880 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1473: Simple patch to create a view for the registration page.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3879 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixed incorrect deprecated warning.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3878 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Refs #1079: elgg_view() casts view to a string before attempting to call views.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3877 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #678. Friending appears in the river for invited new users.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3876 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Put the can_write_to_container() plugin hook in the right place after [3871].brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3875 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Add elgg_deprecated_notice() so we don't have to re-write all the elgg_log() ↵brettp
deprecated notices to register_error()s. Updated current ones to use this. git-svn-id: http://code.elgg.org/elgg/trunk@3874 36083f99-b078-4883-b0ff-0f9b5a30f544
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 #1164: can_write_to_container() now sends default values through ↵brettp
container_permissions_check hook. git-svn-id: http://code.elgg.org/elgg/trunk@3871 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-31Fixes #959: Added elgg_http_remove_url_query_element() to remove a GET ↵brettp
element instead of using faulty regexp. git-svn-id: http://code.elgg.org/elgg/trunk@3866 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-30Changed array_key_exists() to isset() in elgg_validate_action_url().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3865 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-30Added checking for $query array in elgg_validate_action_url().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3864 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-30Setting a default value to avoid notices.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3863 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-30Refs #1425: Cleaned up regexp for parlse_urls().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3861 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-29Fixes #1468: Cleaned up logic for enabling and disabling plugins. Checking ↵brettp
for arrays when metadata returns only a single enabled plugin. git-svn-id: http://code.elgg.org/elgg/trunk@3859 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-29Added db migration 2010012901 that adds last_action column to entities table.brettp
Bumped version number to 1.7b (2010012901). git-svn-id: http://code.elgg.org/elgg/trunk@3857 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-29Fixes #1472: get_entity_relationships() supports inverse relationships.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3856 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-29Fixes #1470, Fixes #1471: elgg_view_regenerate_simplecache() no longer ↵brettp
triggers the pagesetup/system hook. Fixes problems with creating the submenu. git-svn-id: http://code.elgg.org/elgg/trunk@3855 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-28Corrected clear_plugin_setting() to only remove a single plugin setting ↵brettp
instead of all setting for a plugin. Added clear_all_plugin_settings() to remove all settings for a plugin. git-svn-id: http://code.elgg.org/elgg/trunk@3853 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-27Fixes #1419: Added remove_from_river_by_annotation(). Deleting annotations ↵brettp
now deletes their river entry. git-svn-id: http://code.elgg.org/elgg/trunk@3850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-27Fixes #1465: Added unregister_event_handler() and unregister_plugin_hook().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3848 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
2010-01-26Fixes #1454: Applied Cash's patch. Bad plugins are automatically disabled ↵brettp
and a notice is displayed instead of breaking the site. git-svn-id: http://code.elgg.org/elgg/trunk@3841 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-25Fixes #1450, Fixes #1461: Using $_SERVER['REQUEST_URI'] to pull in GET ↵brettp
params on apache servers. git-svn-id: http://code.elgg.org/elgg/trunk@3840 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-24Correctly forwarding messages among multiple forwards (action_gatekeeper() ↵brettp
-> index -> dashboard would drop messages generated in action_gatekeeper()). git-svn-id: http://code.elgg.org/elgg/trunk@3839 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-24Fixes #1460, Fixes #1459: Tokens are not required to disable a plugin or ↵brettp
install. This allows users to disable plugins that overwrite admin pages without tokens. git-svn-id: http://code.elgg.org/elgg/trunk@3836 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-22Fixed a bug preventing messages and warnings from passing during a forward().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3829 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-21Removing debug output from previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3826 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-21Corrected a possible SQL insertion bug in elgg_get_entity_metadata_where_sql().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3825 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-21Fixing bug in resizing function that would incorrectly attempt to crop a ↵brettp
picture that was smaller than the target image. git-svn-id: http://code.elgg.org/elgg/trunk@3824 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-21Changed default declaration of $vars in elgg_view() to array().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3823 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-21Fixes #750: All actions require __elgg_ts and __elgg_token.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3821 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-21elgg_http_build_query() now supports ports.brettp
Checking for __elgg_ts also in elgg_validate_action_url(). Fixed a spelling mistake ;) git-svn-id: http://code.elgg.org/elgg/trunk@3820 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-20Resetting cropping coords for images that can't be cropped in filestore.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3816 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-20Fixes #1445: get_resized_image_from_existing_file() has an optional ↵brettp
parameter to allow upscaling if requested image is larger than original image. git-svn-id: http://code.elgg.org/elgg/trunk@3815 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-20Fixed documentation for time created and modified params in elgg_get_entities().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3814 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-14Added checking and an ERROR log if elgg_view() is passed a non-array $vars.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3806 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-13Creating a helper function to return INI values in bytes.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3804 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-12Fixes #1414: Metadata set to a falsy value (except NULL) returns TRUE for ↵brettp
isset($obj->md). git-svn-id: http://code.elgg.org/elgg/trunk@3803 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-11Always generating action tokens with output/confirmlink.nickw
Includes a check for actions already defining the tokens. git-svn-id: http://code.elgg.org/elgg/trunk@3799 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-11Sanitising relationship in elgg_get_entities_from_relationship();brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3797 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-10Fixes #1399: Case sensitivity was never in the deprecated function, so no ↵brettp
need to add it. Use the new functions if required. git-svn-id: http://code.elgg.org/elgg/trunk@3794 36083f99-b078-4883-b0ff-0f9b5a30f544