Age | Commit message (Collapse) | Author |
|
git-svn-id: http://code.elgg.org/elgg/trunk@3978 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
Added unit tests for this.
git-svn-id: http://code.elgg.org/elgg/trunk@3970 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
metadata_name_value_pair option of elgg_get_entities_from_metadata().
Added unit tests for elgg_get_entities_from_metadata().
Cleaned up some documentation for elgg_get_entities_from_metadata().
git-svn-id: http://code.elgg.org/elgg/trunk@3969 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
destruct methods. Fixed a few new tests that were failing because of sorting by time.
git-svn-id: http://code.elgg.org/elgg/trunk@3948 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
conditionals. Added some tests to check for no subtypes. Updated the documentation.
git-svn-id: http://code.elgg.org/elgg/trunk@3946 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
deletes its subtypes now.
git-svn-id: http://code.elgg.org/elgg/trunk@3945 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
cache before attempting to delete. Removed a misplaced unset() in a unit test that was causing test objects not to be properly deleted.
git-svn-id: http://code.elgg.org/elgg/trunk@3922 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
elgg_get_entities(). Disabled execution time during unit tests.
git-svn-id: http://code.elgg.org/elgg/trunk@3914 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
return FALSE if there are no valid subtypes passed. Ignores all invalid subtypes. Added (partial) tests for elgg_get_entities() types and subtypes.
git-svn-id: http://code.elgg.org/elgg/trunk@3901 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
implemented a clone method. The clone copies over all metadata but not annotations and private settings. It sets the guid to 0 so saving the cloned entity creates a new database record. The ownership/access of metadata is set during the save and will be the same as that of the entity.
git-svn-id: http://code.elgg.org/elgg/trunk@3802 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3754 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3743 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3724 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3706 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
Fixes #607
git-svn-id: http://code.elgg.org/elgg/trunk@3700 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3677 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
unit tests)
git-svn-id: http://code.elgg.org/elgg/trunk@3676 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
authentication
git-svn-id: http://code.elgg.org/elgg/trunk@3635 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3610 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
will happen with annotations.
git-svn-id: http://code.elgg.org/elgg/trunk@3607 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
Plugins building the file matrix with the username will still work, but a warning is logged.
git-svn-id: http://code.elgg.org/elgg/trunk@3602 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3601 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3591 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
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
|
|
get_entities_from_metadata() to fail.
git-svn-id: http://code.elgg.org/elgg/trunk@3588 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3581 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3576 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3569 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
Adding a new unit test for ElggMetadata.
git-svn-id: http://code.elgg.org/elgg/trunk@3568 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
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
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3566 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3562 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
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
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3553 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
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
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3534 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
Uses access overrides for cli-based tests.
git-svn-id: http://code.elgg.org/elgg/trunk@3531 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
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
|
|
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
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3518 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3516 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3512 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
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
|
|
Added a test skeleton.
git-svn-id: http://code.elgg.org/elgg/trunk@3506 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3504 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3503 36083f99-b078-4883-b0ff-0f9b5a30f544
|