aboutsummaryrefslogtreecommitdiff
path: root/engine
AgeCommit message (Collapse)Author
2011-02-18Fixes #1433, #2183. Upgrades are now tracked and will be run if needed ↵brettp
regardless of version. git-svn-id: http://code.elgg.org/elgg/trunk@8277 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Moved all deprecated core functions into the appropriate deprecation fineewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8262 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Removed all calls to deprecated register_entity_typeewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8261 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Fixes #2923: Removed "view" prefix from simplecache function namesewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8260 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Fixes #2695: Return false on autoload fail, rather than throwing exceptionewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8259 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Fixes #2777: delete_entity is now recursiveewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8258 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-15Fixes #2476: update_entity_last_action() sanitizes posted time.ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8255 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Updated egef_plugin_user_settings() to accept plugin_id instead of plugin_name.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8254 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Fixes #2926: Fixed upgrade for plugin user settings.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8253 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Fixes #2920: Moved simplecache functions into cache.phpewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8248 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Fixes #2808: elgg_get_array_value => elgg_extractewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Replaced all occurrences of register_page_handler in core with ↵ewinslow
elgg_register_page_handler git-svn-id: http://code.elgg.org/elgg/trunk@8244 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Prepended elgg_ to (un)register_page_handler() functions. Deprecated old onesewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8239 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Refs #2610: Custom template handler for views now sent through call_user_funcewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8233 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Refs #2124: Adding backwards compatibility conversions for ↵ewinslow
internalname/internalid git-svn-id: http://code.elgg.org/elgg/trunk@8232 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Refs #2525: jQuery => 1.5, jQuery UI => 1.8.9ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8230 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Clearing caches in ElggBatch.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8226 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Cache handler won't serve up cached pages if caching is disabled. Refs ↵brettp
#2758: Added call to elgg_view_regenerate_simplecache() on cache misses if cache is enabled. Leaving #2758 open in case Cash has a better idea since he's more familiar with the simple cache changes. git-svn-id: http://code.elgg.org/elgg/trunk@8225 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-14Fixes #2918. Moved annotation/metadata delete functions from ElggUser to ↵brettp
ElggEntity. When deleted, entities now correctly delete metadata they own as well as metadata on them. Removed uses of deprecated functions. git-svn-id: http://code.elgg.org/elgg/trunk@8222 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-14Fixes #2914. Merged fix for r.time_created sorting to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8220 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-13Deprecated ElggEntity->clearMetadata() by ElggEntity->deleteMetadata(). ↵brettp
Disabling entities now disables their annotations and metadata. Enabling entities enables annotations and metadata. Fixes #1115. git-svn-id: http://code.elgg.org/elgg/trunk@8213 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13If using a callback in ElggBatch, make sure there's an initial value to return.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8212 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Allowing metastrings_type for metastring-based object functions.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8211 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Removed worthless function from previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8208 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-13Refs #2301 demoting type:subtype warnings to noticescash
git-svn-id: http://code.elgg.org/elgg/trunk@8205 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Fixes #2848 pulls user settings code out of actions into functions. We ↵cash
should investigate putting them in a library that is only loaded on demand git-svn-id: http://code.elgg.org/elgg/trunk@8204 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13user settings library is now user_settings.phpcash
git-svn-id: http://code.elgg.org/elgg/trunk@8203 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13documentation update for admin functionscash
git-svn-id: http://code.elgg.org/elgg/trunk@8202 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13admin menu uses weights for orderingcash
git-svn-id: http://code.elgg.org/elgg/trunk@8201 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Additional checking in ElggBatch for valid key.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8200 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Added ability to get results of callback function in ElggBatch.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8197 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Fixed ElggBatch problems when specifying a limit of 0. Fixed a shoot ↵brettp
yourself in the foot situation if passing a dumb number to chunk size. git-svn-id: http://code.elgg.org/elgg/trunk@8196 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Added ElggBatch class for more efficient batch operations on large sets of ↵brettp
Elgg* objects. git-svn-id: http://code.elgg.org/elgg/trunk@8195 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Replaced count_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8188 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Updated a few recent calls to elgg_get_annotations() to use ↵brettp
'reverse_order_by' => true. git-svn-id: http://code.elgg.org/elgg/trunk@8186 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #2906. Missed a file.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8185 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Fixes #2906. Added elgg_sql_reverse_order_by() and wired it up to ege() and ↵brettp
ega(). Pass 'reverse_order_by' => true in option arrays. git-svn-id: http://code.elgg.org/elgg/trunk@8184 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Replaced calls to get_annotations() by elgg_get_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8182 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Replaced uses for get_metadata_byname() by elgg_get_metadata()brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8180 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