aboutsummaryrefslogtreecommitdiff
path: root/engine
AgeCommit message (Collapse)Author
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
2009-12-09minor tweak in comment - closes #1264cash
git-svn-id: http://code.elgg.org/elgg/trunk@3746 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-09fixes #1323 and #1186 - PHP 5.3 requires magic methods to be publiccash
git-svn-id: http://code.elgg.org/elgg/trunk@3744 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-08fixes #1305 - user and entity cache now cleared on deletecash
git-svn-id: http://code.elgg.org/elgg/trunk@3743 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-08gatekeeper functions now display helpful messages - closes #1060cash
git-svn-id: http://code.elgg.org/elgg/trunk@3742 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-08fixes #1287 - users now removed from group acl when leaving group - changed ↵cash
order of event and relationship removal git-svn-id: http://code.elgg.org/elgg/trunk@3741 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-07Adding alias ElggSession methodsnickw
git-svn-id: http://code.elgg.org/elgg/trunk@3739 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-07fixes #1187cash
git-svn-id: http://code.elgg.org/elgg/trunk@3738 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-07fixed issue where php notices were written to log on any debug level and ↵cash
added a plugin hook so plugins can direct elgg_log messages where they want git-svn-id: http://code.elgg.org/elgg/trunk@3735 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-07removed code that wasn't doing anything in access.phpcash
git-svn-id: http://code.elgg.org/elgg/trunk@3733 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-07fixed typo in get_entities_from_relationship()cash
git-svn-id: http://code.elgg.org/elgg/trunk@3732 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-05get_entities_from_annotations was ignoring group_guid - setting ↵cash
container_guid now git-svn-id: http://code.elgg.org/elgg/trunk@3730 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-05if there is already a user in the session, we don't need to set the code ↵cash
from the cookie git-svn-id: http://code.elgg.org/elgg/trunk@3728 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-05fixed bug introduced in [3608]cash
git-svn-id: http://code.elgg.org/elgg/trunk@3727 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-04fixes #1273 - replaced previous hack with call to getTypecash
git-svn-id: http://code.elgg.org/elgg/trunk@3725 36083f99-b078-4883-b0ff-0f9b5a30f544