aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/annotations.php
AgeCommit message (Collapse)Author
2010-08-22Merged r6812:6837 from 1.7 branch to trunk (skipping some changes to plugins ↵cash
like groups and wire) git-svn-id: http://code.elgg.org/elgg/trunk@6851 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6757:6810 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6701:6756 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6849 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6614:6617 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6845 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-06-08elgg_get_entities_from_metadata() and egef_annotations() support singular -> ↵brettp
plural rewrites. (Why didn't I add this originally?!) git-svn-id: http://code.elgg.org/elgg/trunk@6390 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-06-02Mathematical calculations on annotations will return false for non-existent ↵nickw
entity subtypes. git-svn-id: http://code.elgg.org/elgg/trunk@6334 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-06-02Requesting annotations from a non-existent subtype will now return nothing ↵nickw
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
2010-05-19Refs #2165: Added elgg_list_entities_from_annotations() to deprecate ↵brettp
list_entities_from_annotations(). git-svn-id: http://code.elgg.org/elgg/trunk@6102 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Merged 5530:5604 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5622 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-25Cleaned up the likes interface a bit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5508 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-22Merged 1.7 bugfixes back into core. (5376:HEAD).brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5471 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-21generic like this functionality addeddave
git-svn-id: http://code.elgg.org/elgg/trunk@5456 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-01Fixes #1558: Applied Cash's patch. Added unit tests to test for regressions ↵brettp
for any bugs fixed in trac. git-svn-id: http://code.elgg.org/elgg/trunk@3979 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixed incorrect deprecated warning.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3878 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Add elgg_deprecated_notice() so we don't have to re-write all the elgg_log() ↵brettp
deprecated notices to register_error()s. Updated current ones to use this. git-svn-id: http://code.elgg.org/elgg/trunk@3874 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-27Fixes #1419: Added remove_from_river_by_annotation(). Deleting annotations ↵brettp
now deletes their river entry. git-svn-id: http://code.elgg.org/elgg/trunk@3850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-10Fixes #1399: Case sensitivity was never in the deprecated function, so no ↵brettp
need to add it. Use the new functions if required. git-svn-id: http://code.elgg.org/elgg/trunk@3794 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-05get_entities_from_annotations was ignoring group_guid - setting ↵cash
container_guid now git-svn-id: http://code.elgg.org/elgg/trunk@3730 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-21fixes #1374 - owner_guid wasn't being set correctly in options arraycash
git-svn-id: http://code.elgg.org/elgg/trunk@3697 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-13Properly ordering annotation objects returned by Elgg methods.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3679 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-02Deprecated elgg_get_entities_from_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3614 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-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-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-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-20Whoa nelly this is a big one: Removed license and copyright for files.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3427 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-11Added timelower and timeupper to get_annotations() and ↵brettp
__get_annotations_calculate_x() and its helpers. git-svn-id: https://code.elgg.org/elgg/trunk@3423 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-03Added starttime and endtime for get_entities_from_annotation().brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3418 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-01Short circuit on delete annotations to avoid error messagemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3373 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-29Closes #337: Added checking for metastrings in __get_annotations_calculate_x() brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3361 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-17Closes #719: More options on annotation count functions.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3343 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-05-27Delete event now triggered on metadata and annotation deletemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3305 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-22Deleting correct data + using correct tablesmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3228 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-22Closes #957: Annotations and metadata owned by a deleted user are now also ↵marcus
deleted. git-svn-id: https://code.elgg.org/elgg/trunk@3227 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-23RSS for group topics, including fixes for annotation getURL() overrideben
git-svn-id: https://code.elgg.org/elgg/trunk@2898 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-20Fixes an annoying problem in countAnnotations.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2866 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-09Added the 'annotate' event on entities.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2694 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-04Moves access permissions references over to using the ACCESS_* constants ↵ben
defined in access.php. Refs #687 git-svn-id: https://code.elgg.org/elgg/trunk@2639 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-26Fixed pagination issue with count annotations function.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2616 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-23Refs #706marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2611 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-21Introducing a function that orders by sums of an annotation AND limits by a ↵ben
metadata value git-svn-id: https://code.elgg.org/elgg/trunk@2590 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-20Added toggling for the annotation sum list functions.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2587 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-20Added to and fixed the list by annotation count functions.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2586 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-20Fix for previousben
git-svn-id: https://code.elgg.org/elgg/trunk@2585 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-20Added the missing 'group by' clause to the get annotations by sum SQL query.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2584 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-19Fix for previous.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2579 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-19Added annotation sum functionsben
git-svn-id: https://code.elgg.org/elgg/trunk@2578 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-08Closes #663: Added access checks on entity on get_entities_from_annotation ↵marcus
and count functions. git-svn-id: https://code.elgg.org/elgg/trunk@2541 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-06Fixes #648: Copy and paste error corrected.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2533 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-14* Introducing get_loggedin_user() and get_loggedin_userid()marcus
* ACLs now using get_loggedin_user* * Some logic cleaned up * Some "Undefined..." messages cleaned up git-svn-id: https://code.elgg.org/elgg/trunk@2459 36083f99-b078-4883-b0ff-0f9b5a30f544