aboutsummaryrefslogtreecommitdiff
path: root/engine
AgeCommit message (Collapse)Author
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
2011-02-12Refs #2898: Updated docs and test manifest for the xmlns changes.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8171 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #2898: Using an XML namespace instead of version attribute on plugin ↵brettp
manifests. git-svn-id: http://code.elgg.org/elgg/trunk@8170 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12fixed bug in elgg_format_attributes() that caused none string values to be ↵cash
ignored git-svn-id: http://code.elgg.org/elgg/trunk@8152 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12register_entity_url_handler => elgg_register_entity_url_handler (because ↵ewinslow
every other reigstration function asks for the callback last) git-svn-id: http://code.elgg.org/elgg/trunk@8140 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #2610: Using call_user_func in url hooksewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8139 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Page handler uses call_user_func (so methods of classes can be used as page ↵ewinslow
handlers) git-svn-id: http://code.elgg.org/elgg/trunk@8138 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Added elgg_get_entities_from_plugin_user_settings(). Added a name_prefix ↵brettp
option to elgg_get_entities_from_private_settings(). git-svn-id: http://code.elgg.org/elgg/trunk@8136 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Fixes #2904: Converted most elgg_view('layout/objects/module') instances to ↵ewinslow
elgg_view_module() git-svn-id: http://code.elgg.org/elgg/trunk@8135 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Added an elgg_view_module shortcut function -- now to try it out!ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8133 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Added missing @deprecated tags to a couple functionsewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8131 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12set_view_location => elgg_set_view_location (to match elgg_get_view_location)ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8130 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12One more conversion to elgg_view_formewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8128 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Typo correction: @deprecate => @deprecatedewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8124 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Fixes #2888: Plugins are checked for validity in elgg_get_plugins(). It ↵brettp
won't return broken plugins unless specifically requested. git-svn-id: http://code.elgg.org/elgg/trunk@8121 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Bah Didn't hit save on annotations.php before I commited the previous change.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8120 36083f99-b078-4883-b0ff-0f9b5a30f544