aboutsummaryrefslogtreecommitdiff
path: root/engine
AgeCommit message (Collapse)Author
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
2010-01-10Fixes #538. Applied Cash's patch. This is an old one...jeepers.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3793 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-10Fixes #1375: Metadata names and values are properly escaped.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3792 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-10Fixes #1432: Version number is set during installation.brettp
Refs #1424: The upgrade functions now detect if no version number is saved to the db and silences all upgrade warnings and errors. This is required for all installations < this commit to upgrade correctly because of #1432. More strict regex for finding upgrade files. Upgrade mysql.sql schema with latest. git-svn-id: http://code.elgg.org/elgg/trunk@3791 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-08Refs #1400: Fixed a typo in checking the site_guid. Can't duplicate #1400 ↵brettp
now, so possible fix for that. Waiting for other tests to close this one. git-svn-id: http://code.elgg.org/elgg/trunk@3790 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-08Fixes #1172: URL now checked for trailing slash upon installation.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3787 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-06Fixing an upgrade issue relating from invalid (non-existent) usernamesnickw
git-svn-id: http://code.elgg.org/elgg/trunk@3786 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-05Added an upgrade to enable the search plugin.brettp
Bumped internal version number. git-svn-id: http://code.elgg.org/elgg/trunk@3785 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-31Closes #1424: Faulty database migrations will now halt an upgrade.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3783 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-31Removed debug data.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3782 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-31Removed lock tables from db utf8 migration because it fails on some (all?) ↵brettp
servers. git-svn-id: http://code.elgg.org/elgg/trunk@3781 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-21fixed #1087 - is_group_member() now returns boolean values onlycash
git-svn-id: http://code.elgg.org/elgg/trunk@3778 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-21fixes #988 - subtype is now available on new entities after being savedcash
git-svn-id: http://code.elgg.org/elgg/trunk@3777 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-20fixed bug where array of messages passed to system_messages caused execution ↵cash
to stop - also displaying only errors if they exist rather than having success and error messages overlapping each other git-svn-id: http://code.elgg.org/elgg/trunk@3776 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-20cleaned up logic on db query cachecash
git-svn-id: http://code.elgg.org/elgg/trunk@3773 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-20fixed typo in list_entities()cash
git-svn-id: http://code.elgg.org/elgg/trunk@3772 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-18Clarified the documentation for add_entity_relationship().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3771 36083f99-b078-4883-b0ff-0f9b5a30f544