aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
AgeCommit message (Collapse)Author
2011-10-02Merged test for can_write_to_container().Brett Profitt
2011-10-02Fixes #3675. Added admin gate keeper to unit tests.Brett Profitt
2011-09-28Fixes #3891. elgg_register_external_file() defaults priority to 500. Elgg's ↵Brett Profitt
default CSS now at 500 instead of 1.
2011-09-28Refs #3808. Removed failing tests for manifest translations.Brett Profitt
2011-09-28Fixes #3713. elgg_get_entities() and friends return false if passed invalid ↵Brett Profitt
options.
2011-08-30Fixes #3543. Ported access collections fix to master.Brett Profitt
2011-08-23Fixes #3355. Added ElggPriorityList. Adapted the externals system to use it.Brett Profitt
2011-08-17Finished ElggPriorityList. Migrated external files to use it.Brett Profitt
2011-08-15Refs #3355. Added ElggPriorityList.Brett Profitt
2011-07-06Revert "Fixes #3552. Addess ACL unit tests. These currently fail because of ↵Brett Profitt
#3522." This reverts commit d423aee393458d6827dbe913ceacd29171fa3d74. Removing because of problems with differences in how 1.7 and 1.8 populate the acl dropdown for groups.
2011-07-03Merged ACL fixes from 1.7 branch.Brett Profitt
2011-07-03Merged d423aee393458d6827db from 1.7 to master.Brett Profitt
Fixes #3552. Addess ACL unit tests. These currently fail because of #3522. git-svn-id: http://code.elgg.org/elgg/branches/1.7@9202 36083f99-b078-4883-b0ff-0f9b5a30f544 Conflicts: engine/lib/access.php
2011-04-21Fixed a problem with the annotation batch operation test.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@9009 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-21Fixes #3310. Removed old on_activate unit tests.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@9008 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-14fixed filtering of external files array and suppressed warning in external ↵cash
files unit test git-svn-id: http://code.elgg.org/elgg/trunk@8998 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-14fixed unit test broken by that last commit (we were returning a string from ↵cash
getAnnotations() when it is supposed to return an array) git-svn-id: http://code.elgg.org/elgg/trunk@8991 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-14suppressing warnings in web services unit tests (hellekin)cash
git-svn-id: http://code.elgg.org/elgg/trunk@8989 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-09Refs #2600. Removed the very special debug vars that I told myself "Make ↵brettp
sure you remove those before you commit or you'll look like an idiot" when I added. *ahem* git-svn-id: http://code.elgg.org/elgg/trunk@8970 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-09Fixes #2600. Applied Hellekin's patch. Props to him for understanding what ↵brettp
was going on because whoa. git-svn-id: http://code.elgg.org/elgg/trunk@8968 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-26Closes #3202 'count' already supported, added unit testscash
git-svn-id: http://code.elgg.org/elgg/trunk@8840 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-12Fixes #3091 adds load functions for js and csscash
git-svn-id: http://code.elgg.org/elgg/trunk@8675 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-12Refs #3091 registering js and css support priority though does not maintain ↵cash
registration order if items have equal priority git-svn-id: http://code.elgg.org/elgg/trunk@8669 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-12Refs #3091 rewrote the js and css register functions to require a namecash
git-svn-id: http://code.elgg.org/elgg/trunk@8668 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-10Fixes #2228: Major cleanup of urls -- remove leading pg/ and trailing / from ↵ewinslow
most urls in core and plugins git-svn-id: http://code.elgg.org/elgg/trunk@8653 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-20Refs #2956. Merged left out merges from r2799 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8365 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-20Fixes #2963: Rewrote ElggEntity->setMetadata() because yikes. Wrote unit ↵brettp
tests for setting metadata on saved / unsaved entities. git-svn-id: http://code.elgg.org/elgg/trunk@8359 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Updated trunk to use new annotation functions. Added checks for ↵brettp
annotations_* options vs annotation_* options because it's so easy to confuse. git-svn-id: http://code.elgg.org/elgg/trunk@8223 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Refs #2912. Added checks for constraints in dangerous functions. Unit tests ↵brettp
no longer remove all metadata/annotations. git-svn-id: http://code.elgg.org/elgg/trunk@8215 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-13Deprecated ElggEntity->clearMetadata() by ElggEntity->deleteMetadata(). ↵brettp
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
2011-02-13Refs #2907. DRY'd up and abstracted out a lot of metadata / annotation ↵brettp
functions so I can implement #1115 with a clean conscious. git-svn-id: http://code.elgg.org/elgg/trunk@8207 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Replaced calls to get_annotations() by elgg_get_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8182 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #2898: Updated docs and test manifest for the xmlns changes.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8171 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Refs #650. Deprecated get_annotations() for elgg_get_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8109 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Refs #2543: Core uses the new functions from previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8078 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Added suggests to the plugins deps system. It parallels the requires system, ↵brettp
but doesn't affect if the plugin can be enabled and only shows up in the deps table on the advanced view. git-svn-id: http://code.elgg.org/elgg/trunk@8070 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-04Renamed 'name' to 'plugin' for priority req. Updated unit tests and docs.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8019 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-03removed one_column_with_sidebar layout - use one_sidebar insteadcash
git-svn-id: http://code.elgg.org/elgg/trunk@8005 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-27removed menu code introduced for elgg.com that did not make it into 1.8cash
git-svn-id: http://code.elgg.org/elgg/trunk@7949 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-13Refs #2757 merged fix into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@7873 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-06Refs #1242, Fixes #2775. Pulled common code between get_data() and ↵brettp
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
2011-01-02Fixes #1986, #2170, #2225, #2759. Integrated ElggPluginPackage and ↵brettp
ElggPluginManifest with ElggPlugin. System now uses ElggPlugin objects to determin plugins. Order is stored in private settings. This absolutely requires running upgrade.php. git-svn-id: http://code.elgg.org/elgg/trunk@7817 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-09Refs #1411. Added elgg_get_entities_from_annotation_calculation(). ↵brettp
Deprecated get_entities_from_annotations_count() and get_entities_from_annotation_calculate_x(). elgg_get_entities_from_annotations() now runs through egef_metadata() for backward compatibility support. git-svn-id: http://code.elgg.org/elgg/trunk@7578 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-08Removed the silly things I was doing in the egef_relationship_count() test.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7568 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-08D'oh. Re-enabled the other getter unit tests.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7563 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-08Refs #1411: Added elgg_get_entity_from_relationship_count().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7562 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-06Renamed 'elgg' manifest requirment to 'elgg_version' to be more in line with ↵brettp
the current options. Removed assignments in if statements. 1.7 manifest files properly show elgg_version as a requirement. git-svn-id: http://code.elgg.org/elgg/trunk@7550 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-03Refs #1986 #2170 #2225. Added semantic manifest.xml support and unit tests. ↵brettp
Also added plugin dependencies system. See engine/tests/test_files/plugin_18/manifest.xml for examples. Not closing tickets pending discussion. git-svn-id: http://code.elgg.org/elgg/trunk@7512 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-30Refs #1986 #2170 #2225 Added ElggPluginManifest, ElggPluginManifestParser, ↵brettp
and its parser classes for 1.7 and 1.8 style manifests. Changed load_plugin_manifest() to use new parser. Added initial unit tests. git-svn-id: http://code.elgg.org/elgg/trunk@7481 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Refs #2668 adds getContainerGUID()cash
git-svn-id: http://code.elgg.org/elgg/trunk@7379 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Fixes #2668 adding getOwnerGUID()cash
git-svn-id: http://code.elgg.org/elgg/trunk@7378 36083f99-b078-4883-b0ff-0f9b5a30f544