aboutsummaryrefslogtreecommitdiff
path: root/engine
AgeCommit message (Collapse)Author
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
2009-10-08Adding unit test for ElggEntity annotations.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3518 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-08Brought access.php and sesssion.php up to code standards.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3517 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-08Adding generic unit tests for ElggEntity.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3516 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-07database.php now more closely matches coding standards.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3515 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-07Fixes #1181: UTF8 now correctly stored in database.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3514 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-07Fixes #790: Removing unneeded @s.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3513 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-06Adding unit test methods to the new Entities test.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3512 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-06Fixing a spacing issue with constructed SQL query.nickw
Closes #1295. git-svn-id: http://code.elgg.org/elgg/trunk@3510 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-05Removing old testing.php lib.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3508 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-03Moved core tests into tests/core.brettp
Fixed typo in skeleton and entities tests. Only run tests in debug mode. git-svn-id: http://code.elgg.org/elgg/trunk@3507 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-02Added more info to the test.brettp
Added a test skeleton. git-svn-id: http://code.elgg.org/elgg/trunk@3506 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-02Added unit tests for entities.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3505 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-02Added unit tests.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3504 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-02Added simpletest and start of unit tests.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3503 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-23Updated the user picker to avoid possible mysql injection attacks and to ↵brettp
search only by leading chars. git-svn-id: http://code.elgg.org/elgg/trunk@3494 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-21New river code added to allow user comment to be pulled out and displayeddave
git-svn-id: http://code.elgg.org/elgg/trunk@3490 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-16Changed get_entities_from_access_collection() to ↵brettp
get_entities_from_access_id() to be more generic. git-svn-id: https://code.elgg.org/elgg/trunk@3488 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-16Fixes #1238: Added ElggExtender::getOwnerEntity() and changed ↵brettp
ElggExtender::getOwner() to return just the GUID. Also, this fixes a bug with checking permissions on annotations. git-svn-id: https://code.elgg.org/elgg/trunk@3487 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-10Updated fixes for checking for admin in get_access_sql_prefix()brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3485 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-10Checking against admin metadata instead of $is_admin global in ↵brettp
get_access_sql_suffix(). git-svn-id: https://code.elgg.org/elgg/trunk@3484 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-10Fixing a bug with when getting the sql suffix for the non-loggedin user.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3483 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-07Updated livesearch page handler to use classes instead of hard coded css.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3476 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-04Added strip_tags() to setting titles in ElggEntitybrettp
git-svn-id: https://code.elgg.org/elgg/trunk@3463 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-04Patch submitted for ticket #886 rolled back as it was causing #1205 -> #886 ↵dave
will need further investigating git-svn-id: https://code.elgg.org/elgg/trunk@3462 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-03Adding additional hooks to add/remove/update users for access_collections()brettp
Added autocomplete endpoint in input_init() git-svn-id: https://code.elgg.org/elgg/trunk@3460 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-03missing comma addeddave
git-svn-id: https://code.elgg.org/elgg/trunk@3457 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-02order by bug fixed in get_entities_from_relationshipdave
git-svn-id: https://code.elgg.org/elgg/trunk@3453 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-01a simple function which returns a string version of an entity's access leveldave
git-svn-id: https://code.elgg.org/elgg/trunk@3452 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-31All line endings are now Unix-style.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-28Fixes #1196: ElggEntity::disable() now accepts a 2nd arg for recursive. New ↵brettp
users are not recursively disabled for plugins that need to create entities owned by the new user upon entity creation. git-svn-id: https://code.elgg.org/elgg/trunk@3450 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-27Fixes #1191: set_input() was never being called for tag in ↵brettp
search_page_handler(). git-svn-id: https://code.elgg.org/elgg/trunk@3446 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-26Added entity_owner_guid to get_annotations()brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3443 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-21Fixes #1180: Group join event triggered after joining group. This trigger's ↵brettp
return was never being tested so no overriding could be done. If we decide to test the trigger to stop group joining, groups_write_acl_plugin_hook() will need to be changed... git-svn-id: https://code.elgg.org/elgg/trunk@3438 36083f99-b078-4883-b0ff-0f9b5a30f544