aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
AgeCommit message (Collapse)Author
2010-11-04Fixes #2463: Added ^ to beginning of normalize_url regex to prevent matching ↵ewinslow
on urls like mod/plugin/page.php. Added unit tests to verify functionality. git-svn-id: http://code.elgg.org/elgg/trunk@7236 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-04Added @deprecated docblock tag to events()ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7235 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-04Fixes #2210 - using new functions for registering the core js and css filescash
git-svn-id: http://code.elgg.org/elgg/trunk@7233 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Moved list_entities_groups to groups.php and deprecated in favor of ↵ewinslow
elgg_list_entities git-svn-id: http://code.elgg.org/elgg/trunk@7232 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #2351: deprecated get_objects_in_group() in favor of ↵ewinslow
elgg_get_entities(). There's nothing the former can do that the latter can't, so it's not worth maintaining. git-svn-id: http://code.elgg.org/elgg/trunk@7228 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #1320. Updated core to use elgg_echo()'s native string replacement.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7227 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #1320: elgg_echo() has built-in sprintf support.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7226 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixes #2440: Converted clearfloat to clearfix, brought back orig clearfloatewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7223 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #2050: Added missing docblock parametersewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7222 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixes #2050: Added subtype parameter to can_write_to_container functions and ↵ewinslow
hooks git-svn-id: http://code.elgg.org/elgg/trunk@7221 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Set return type of get_entity to ElggEntityewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7220 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #1411: Deprecated get_entities_from_metadata_groups(_multi) in favor of ↵ewinslow
elgg_get_entities_from_metadata. Added proper deprecation for delete_group_entity. Unsure of version deprecated -- set to 1.6 git-svn-id: http://code.elgg.org/elgg/trunk@7218 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03bah! forgot to rename all variables in list_entities_from_access_idewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7217 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixed regression in deprecated list_entities_from_access_id -- was passing ↵ewinslow
access_id as 'collection_id' instead of 'access_id' git-svn-id: http://code.elgg.org/elgg/trunk@7216 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixes #2128 - replaces all uses of set_context() and get_context() in core ↵cash
and plugins git-svn-id: http://code.elgg.org/elgg/trunk@7215 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixes #2151: Replaced elgg_get_viewtype() implementation with @cash's much ↵ewinslow
simpler version git-svn-id: http://code.elgg.org/elgg/trunk@7214 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #1411: Deprecated list_entities_from_relationship() in favor of ↵ewinslow
elgg_list_entities_from_relationship() git-svn-id: http://code.elgg.org/elgg/trunk@7213 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixes #2606: Abstracted elgg_list_entities. Takes an optional second ↵ewinslow
argument for the 'getter', defaulting to 'elgg_get_entities'. Converted current elgg_list_entities* functions to use it git-svn-id: http://code.elgg.org/elgg/trunk@7212 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Fixes #2360: page_draw => elgg_view_page in core + bundled pluginsewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7210 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2360: Deprecated page_draw in favor of elgg_view_page. Updated ↵ewinslow
packaged documentation to reflect this. git-svn-id: http://code.elgg.org/elgg/trunk@7208 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Added url normalization support to elgg_register_js and elgg_register_cssewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7207 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Added URL normalization support for entity and extender url handlersewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7203 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Fixed typo of elgg_normalize_url functionewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7201 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Removed some more instances of $CONFIG->url. Added support for ↵ewinslow
elgg_normalize_url to elgg_add_action_tokens_to_url git-svn-id: http://code.elgg.org/elgg/trunk@7200 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Added url normalization support to output/url, ↵ewinslow
output/confirmlink. Enhanced normalization to take care of urls like "example.com" git-svn-id: http://code.elgg.org/elgg/trunk@7199 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Removed many more graituitous calls to elgg_get_site_url(), ↵ewinslow
$CONFIG->url, etc. git-svn-id: http://code.elgg.org/elgg/trunk@7198 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Removed stay { that was causing the regexp to breakewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7196 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Added elgg_normalize_url. forward() and add_menu() make use of itewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7194 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2538: Renamed elgg.extendUrl to elgg.normalize_urlewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7188 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-01Refs #2538: Pulled in support for ajax actionsewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7184 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-31Refs #2210 - added functions for managing javascript and css filescash
git-svn-id: http://code.elgg.org/elgg/trunk@7169 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Refs #2128 - added stack context functionscash
git-svn-id: http://code.elgg.org/elgg/trunk@7153 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Refs #2598: Converted virtually all uses of $CONFIG->wwwroot to ↵ewinslow
elgg_get_site_url() git-svn-id: http://code.elgg.org/elgg/trunk@7146 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Fixes #2598: Added elgg_get_site_url()ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7144 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30fixed php exception and error handlers not being next to each other in elgglibcash
git-svn-id: http://code.elgg.org/elgg/trunk@7142 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30ripped out last remaining tentacles of old installer from core - just needs ↵cash
removal of install.php when elgg_view() is updated git-svn-id: http://code.elgg.org/elgg/trunk@7141 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Refs #1439: Using new page_owner functions in all of coreewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7140 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Refs #2124: Using get_loggedin_user functions instead of $vars['user'], ↵ewinslow
$_SESSION['user'], etc. git-svn-id: http://code.elgg.org/elgg/trunk@7139 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30organized functions in elgglib by purpose - more or lesscash
git-svn-id: http://code.elgg.org/elgg/trunk@7137 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30pulled navigation functions out of elgglib.phpcash
git-svn-id: http://code.elgg.org/elgg/trunk@7136 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30moved datalist code into the configuration libcash
git-svn-id: http://code.elgg.org/elgg/trunk@7135 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30fixed spelling mistake in commentcash
git-svn-id: http://code.elgg.org/elgg/trunk@7134 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30moved file path cache functions into the cache lib which seems to be a more ↵cash
logical location for them git-svn-id: http://code.elgg.org/elgg/trunk@7133 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Fixed an invalid call to get_pageowner_guid() in can_edit_entity().brettp
Removed the call to the validation function in useradd. git-svn-id: http://code.elgg.org/elgg/trunk@7132 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-28Fixes #2544. Pulled out the eval() for creating elgg_*() mb wrapper functions.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7126 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-28Fixes #2150: Removed old code in filestore.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7125 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-28Standardized code in all of core, not including language files, tests, or ↵brettp
core mods. git-svn-id: http://code.elgg.org/elgg/trunk@7124 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-22Removed @license, @copyright, and @author from files. License and copyright ↵brettp
are covered by LICENSE.txt and COPYRIGHT.txt in root. git-svn-id: http://code.elgg.org/elgg/trunk@7118 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-22Fixes #733 - events now support PHP callbackscash
git-svn-id: http://code.elgg.org/elgg/trunk@7116 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-22better creation of event and plugin hook registration arrayscash
git-svn-id: http://code.elgg.org/elgg/trunk@7115 36083f99-b078-4883-b0ff-0f9b5a30f544