Age | Commit message (Collapse) | Author |
|
getAnnotations() when it is supposed to return an array)
git-svn-id: http://code.elgg.org/elgg/trunk@8991 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@8840 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
tests for setting metadata on saved / unsaved entities.
git-svn-id: http://code.elgg.org/elgg/trunk@8359 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
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
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@8182 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@8078 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
get_data_row() into elgg_query_runner(). Caching is now done in the query runner instead of spread across execute_query() and get_data*(). Namespacing cache for callback and single row request. I'm open to better names for that function. Not closing #1242 because the elgg_get_entities*() functions can still return false.
git-svn-id: http://code.elgg.org/elgg/trunk@7849 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@7379 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@7378 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
Updated tests to reflect this
git-svn-id: http://code.elgg.org/elgg/trunk@7376 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@7365 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@7302 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
metadata name.
Fixes #2273
git-svn-id: http://code.elgg.org/elgg/trunk@7301 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@7234 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@7167 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
and class method names
git-svn-id: http://code.elgg.org/elgg/trunk@7166 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@7165 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@7145 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
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
|
|
trunk
git-svn-id: http://code.elgg.org/elgg/trunk@6843 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
instead of everything.
This functionality is required to preserve context.
git-svn-id: http://code.elgg.org/elgg/trunk@6331 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@6118 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@5622 36083f99-b078-4883-b0ff-0f9b5a30f544
|
|
git-svn-id: http://code.elgg.org/elgg/trunk@3978 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@3743 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@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@3576 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
|
|
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
|
|
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
|