aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
AgeCommit message (Collapse)Author
2013-06-08Fixes #5598: Properly update metadata cache in update_metadata()Steve Clay
2013-05-11Fixes #5419 adds tests for enabling/disabling annotations and fixes bug with ↵Cash Costello
deleting disabled annotations when deleting an entity
2013-03-30Fixes #4867 handling boolean false values as metadata pair valuecash
2013-03-15more coding standard fixescash
2013-03-10Fixes #5214: Successfully invalidates metadata cache in some corner casesSteve Clay
2013-03-06Fixes #4393 working around the overloaded 'count' parametercash
2013-03-05Fixes #5165 handling html tags passed as tagsCash Costello
2013-02-09Doc fixes and inline type hints for variables (big static analysis cleanup)Steve Clay
2012-09-03Fixes #4290: adds volatile metadata cache, unit tests, and pre-loading for ↵Steve Clay
fetched entities
2012-07-06Fixes #3046 adds documentation for requesting entities that do not have ↵Cash Costello
metadata or relationships
2012-05-10Fixes #4512. Passing inc_offset only for deleting / disabling callbacks in ↵Brett Profitt
metastring functions.
2012-05-10Documented that elgg_delete_metadata/annotations() returns null for no ops.Brett Profitt
2012-02-07Fixes #1043 tags retain their caseCash Costello
2012-01-22Fixes #4321. Limit alone is no longer valid for batch delete operations for ↵Brett Profitt
metadata or annotations.
2012-01-22Refs #4325. Restored the null vs bool return in elgg_delete_metadata().Brett Profitt
2012-01-22Fixes #4318 added guid to the list of parameters for elgg_delete_metadata()Cash Costello
2012-01-10Fixes #4269. Not using ElggBatch to delete metadata / annotations. Added ↵Brett Profitt
unit tests for deleting annotations/md. Fixed an annoying inconsistency with "metastring/s" option in private functions.
2012-01-09Fixes #4243. Added docs for metadata_calculation option to elgg_get_metadata().Brett Profitt
2012-01-09coding standard fixes to engineCash Costello
2012-01-08most of the comments in the engine now past the snifferCash Costello
2011-12-23Fixes #682 not deleting metadata when update, metadata event handlers return ↵Cash Costello
false
2011-11-01standardized the elgg_get_entities* function @return documentationcash
2011-10-08Fixes #3936 added @access private to internal functionsCash Costello
2011-10-02Merged docs update for getters from 1.7.Brett Profitt
2011-09-29Fixes #3827 updated documentation on @return for elgg_get_entities* functionscash
2011-03-26Refs #3238 fix for updating name of metadata for trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@8850 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-26added defaults for value_type and owner_guid to create_metadata - refs ↵cash
https://github.com/lorea/Elgg/commit/451d79f8b88023bfea40167027345d226b928dcf git-svn-id: http://code.elgg.org/elgg/trunk@8844 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-26Closes #3202 'count' already supported, added unit testscash
git-svn-id: http://code.elgg.org/elgg/trunk@8840 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Fixes #2860: Deprecated several registration functions that were using the ↵ewinslow
'callback-first' ordering git-svn-id: http://code.elgg.org/elgg/trunk@8257 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Removed last of deprecated metadata calls in trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8224 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Updated trunk to use new annotation functions. Added checks for ↵brettp
annotations_* options vs annotation_* options because it's so easy to confuse. git-svn-id: http://code.elgg.org/elgg/trunk@8223 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14More fixes to annotations/metadata changes. Now all function support getting ↵brettp
via a metastring id. git-svn-id: http://code.elgg.org/elgg/trunk@8221 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Refs #2912. Added checks for constraints in dangerous functions. Unit tests ↵brettp
no longer remove all metadata/annotations. git-svn-id: http://code.elgg.org/elgg/trunk@8215 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Refs #2907. DRY'd up and abstracted out a lot of metadata / annotation ↵brettp
functions so I can implement #1115 with a clean conscious. git-svn-id: http://code.elgg.org/elgg/trunk@8207 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Changed elgg_get_metadata_by_id() to elgg_get_metadata_from_id() ↵brettp
to be consistent with other functions. git-svn-id: http://code.elgg.org/elgg/trunk@8179 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Replaced get_metadata() by elgg_get_metadata_by_id()brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8178 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650: Replaced uses of get_metadata_for_entity() by elgg_get_metadata().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8177 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Deprecated get_metadata() by elgg_get_metadata_by_id() to avoid confusion ↵brettp
with elgg_get_metadata(). Not in love with the name...had considered elgg_get_metadatum(). Open to suggestions. git-svn-id: http://code.elgg.org/elgg/trunk@8175 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650: Deprecated find_metadata() with elgg_get_metadata(). Deprecated ↵brettp
get_metadata_for_entity() and get_metadata_byname() <twitch>. Added elgg_get_metastrings_based_objects() to deal with the commonalities between the metadata and annotation getter functions. git-svn-id: http://code.elgg.org/elgg/trunk@8174 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Refs #650. Deprecated get_annotations() for elgg_get_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8109 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Refs #2543: Core uses the new functions from previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8078 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Moved functions from export.php - river.php into deprecated filesewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7980 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Reversing 7975ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7978 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Refs #2839: moved deprecated functions from access.php - ↵ewinslow
private_settings.php to deprecated.php. Still have to do relationships.php - xml.php. Deleted documentation for these functions since 1) it was using up precious bytes, and 2) documentation should not be needed since people should not be trying to use these if they are using 1.8, and 3) I assume the documentation will exist as archived 1.7 docs. git-svn-id: http://code.elgg.org/elgg/trunk@7975 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-06Fixes #2774 - fixes several E_NOTICE issues - mostly due to accessign array ↵cash
indexes git-svn-id: http://code.elgg.org/elgg/trunk@7844 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-01Fixes #2698 not sanitizing strings to prevent double encodingcash
git-svn-id: http://code.elgg.org/elgg/trunk@7798 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-31Merged r7272 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7791 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-24Deprecated list_entities_from_metadata_multiewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7437 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-14Fixes #2334: Converted viewtype => listtype and viewtypetoggle => ↵ewinslow
listtypetoggle. Did my best to maintain backwards compatibility but might have missed something... git-svn-id: http://code.elgg.org/elgg/trunk@7311 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-12Updating ElggEntity::clearMetaData() to fail when passed a non-existent ↵nickw
metadata name. Fixes #2273 git-svn-id: http://code.elgg.org/elgg/trunk@7301 36083f99-b078-4883-b0ff-0f9b5a30f544