aboutsummaryrefslogtreecommitdiff
path: root/engine
AgeCommit message (Collapse)Author
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
2009-12-18better parsing of query for action and page handlerscash
git-svn-id: http://code.elgg.org/elgg/trunk@3768 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-17perhaps this is what Brett intended with the new mb_wrapper codecash
git-svn-id: http://code.elgg.org/elgg/trunk@3767 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-17fixed warning due to database query cachecash
git-svn-id: http://code.elgg.org/elgg/trunk@3765 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-17when asking for a count of entities, we now return an integer rather than a ↵cash
string git-svn-id: http://code.elgg.org/elgg/trunk@3764 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-17get_submenu was throwing out tons of notices - this should be fixed nowcash
git-svn-id: http://code.elgg.org/elgg/trunk@3763 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-16better version of get_resized_image_from_existing_file() - fixes #685 - more ↵cash
robust to errors, and fixes a memory leak - tested with both profile photos and file plugin photos - old installs will still have profile icons of the wrong size due to #685 git-svn-id: http://code.elgg.org/elgg/trunk@3761 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-16added comments on get_input and set_input since they do not handle nested arrayscash
git-svn-id: http://code.elgg.org/elgg/trunk@3760 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-14closes #1277 - display_tagcloud() now has same parameters as get_tags()cash
git-svn-id: http://code.elgg.org/elgg/trunk@3758 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-14fixed line endings on services api unit testscash
git-svn-id: http://code.elgg.org/elgg/trunk@3754 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-10closes #1244 - checking whether file exists before deleting it in cachecash
git-svn-id: http://code.elgg.org/elgg/trunk@3752 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-10using defines for ACCESS values - closes #1064cash
git-svn-id: http://code.elgg.org/elgg/trunk@3749 36083f99-b078-4883-b0ff-0f9b5a30f544