aboutsummaryrefslogtreecommitdiff
path: root/engine
AgeCommit message (Collapse)Author
2009-10-28Deprecated get_entities_from_metadata() and get_entities_from_metadata_multi().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3592 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-27Removing local debug info from filestore unit test.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3591 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-27Modifying user file locations to be based on guid.nickw
Previous implementations utilized the owner's username to determine a file path matrix based on (up to) the first five letters. To eliminate language and filesystem inconsistencies, the matrix is now created from the entity's creation date and guid. This has the added benefit of (potentially) allowing users to update their usernames. git-svn-id: http://code.elgg.org/elgg/trunk@3590 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-27Fixed caching issue that caused metadata test for ↵brettp
get_entities_from_metadata() to fail. git-svn-id: http://code.elgg.org/elgg/trunk@3588 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-27Removed some commented out code.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3587 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-27Fixed get_entities_from_metadata() wrapper when passing case_sensitive = FALSE.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3586 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-27Fixes #1161: Views now default to 'default' if not found.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3585 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-27Created elgg_get_entities_from_metadata() and made get_entities_from_metadata().brettp
Made elgg_get_entities() accept extra joins and wheres in the options. Created a helper function elgg_normalise_plural_options_array() to rewrite shortcut singular options to plurals. git-svn-id: http://code.elgg.org/elgg/trunk@3584 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-26Rewriting metastrings search query for simplicity.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3583 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-25cleaned up the web services unit testscash
git-svn-id: http://code.elgg.org/elgg/trunk@3581 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-25Corrected bug when passing container_guids or owner_guids of 0.brettp
Changed the name of the $prefix to $table in sql helper functions. Improved documentation. git-svn-id: http://code.elgg.org/elgg/trunk@3580 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-24Created elgg_get_entities() and rewrote get_entities() to pass to the new ↵brettp
function. First go at removing get_entities() calls in native functions. git-svn-id: http://code.elgg.org/elgg/trunk@3579 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-24Cleaned up some code in elgg_view().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3578 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-24Slight code cleanup.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3577 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-23Creating a unit test for ElggUsernickw
git-svn-id: http://code.elgg.org/elgg/trunk@3576 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-22Refs #1330: Contributed autop() to Wordpress.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3573 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-22Pulling in MITRE's search core. Fo'rizzle this time. Yo.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3572 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-22more unit tests for REST apicash
git-svn-id: http://code.elgg.org/elgg/trunk@3569 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-21Allowing entities to be retrieved by case-insensitive search.nickw
Adding a new unit test for ElggMetadata. git-svn-id: http://code.elgg.org/elgg/trunk@3568 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-21Reducing the output level of log messages set to "DEBUG".nickw
Debug level messages will be logged at the same level as warnings. Additionally, users will be notified when attempting to run the test suite without first placing the site in debug mode. git-svn-id: http://code.elgg.org/elgg/trunk@3567 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-20more unit tests for REST apicash
git-svn-id: http://code.elgg.org/elgg/trunk@3566 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-19Replacing a direct call to error_log() with new elgg_log().nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3564 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-19Adding debug options to admin site settings.nickw
Debugging errors and warnings to screen. If notice level is enabled, output is sent to system log file. git-svn-id: http://code.elgg.org/elgg/trunk@3563 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-19first version of new REST apicash
git-svn-id: http://code.elgg.org/elgg/trunk@3562 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-17updated documentation on PAMs as I will be fixing some API PAM issuescash
git-svn-id: http://code.elgg.org/elgg/trunk@3561 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-16Rewriting core debug messages to be more informative.nickw
Introducing the concept of levels for Elgg debugging: notices, warnings and errors are displayed when the appropriate debugging level is enabled. An additional level of "debug" exists to differentiate from errors. git-svn-id: http://code.elgg.org/elgg/trunk@3560 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-16Standardized filesbrettp
git-svn-id: http://code.elgg.org/elgg/trunk@3553 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-15Merged admin access override hook with ignore access system override hook.brettp
get_sql_access_prefix() now correctly uses elgg_check_access_overrides() instead of elgg_get_ignore_access(). git-svn-id: http://code.elgg.org/elgg/trunk@3552 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-15Standardized files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3549 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-15Standardized gobs of files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3548 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-14Standardized engine/lib/cache.phpbrettp
git-svn-id: http://code.elgg.org/elgg/trunk@3547 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-14Standardized engine/lib/api.phpbrettp
git-svn-id: http://code.elgg.org/elgg/trunk@3546 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-14Standardized engine/handlers/*brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3545 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-14test commitcash
git-svn-id: http://code.elgg.org/elgg/trunk@3536 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Swallowing all Elgg notices within unit tests.nickw
By default, SimpleTest converts PHP errors into exceptions. This is restricted by adding a call to swallowErrors() within the tearDown() methods. This has also been noted within the unit test skeleton. git-svn-id: http://code.elgg.org/elgg/trunk@3535 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Creating a generic ElggSite unit test.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3534 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Standardized users and entities.brettp
Fleshed out elgg_set_ignore_access() and elgg_get_ignore_access() git-svn-id: http://code.elgg.org/elgg/trunk@3533 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Standardize elgglib.phpbrettp
git-svn-id: http://code.elgg.org/elgg/trunk@3532 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Test suite now requires admin for web-based tests.brettp
Uses access overrides for cli-based tests. git-svn-id: http://code.elgg.org/elgg/trunk@3531 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Standardized entities.php.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3530 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Fix typo in ElggAccess:get_ignore_access().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3529 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13First pass at removing $is_admin global.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3528 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-12Adding unit tests for the ElggObject class.nickw
Restricting testing suite to only be run as a logged-in user. This will not allow the tests to be run from the command line, but this is already the case due to debug static. git-svn-id: http://code.elgg.org/elgg/trunk@3527 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-09Standardized annotations.php.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3525 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-09Standardized admin.phpbrettp
git-svn-id: http://code.elgg.org/elgg/trunk@3524 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-09Standardized activity.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3523 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-09Standardized actions.phpbrettp
git-svn-id: http://code.elgg.org/elgg/trunk@3522 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-09Reverted back to previous copy removing Justin's search because of views ↵brettp
problems in plugins. git-svn-id: http://code.elgg.org/elgg/trunk@3521 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-09Pulled in Justin's search changes from github.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3520 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-09Creating an ElggObject unit test.nickw
Fixing issues with the unit test plugin hooks, as well as infinite looping bugs introduced by the unit test skeleton. git-svn-id: http://code.elgg.org/elgg/trunk@3519 36083f99-b078-4883-b0ff-0f9b5a30f544