aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/annotations.php
AgeCommit message (Collapse)Author
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
2008-11-03Minor tweaks 'cos case does matter...marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2379 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-25Clear annotations now clears annotations properly when no name is specified. ↵ben
Fixes #357 git-svn-id: https://code.elgg.org/elgg/trunk@2134 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-25Count annotations now fails properly if a metastring is not found. Fixes #377ben
git-svn-id: https://code.elgg.org/elgg/trunk@2133 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-09Closes #338: You're quite right, this is was an error on our part. Nice spot!marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2065 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-08Adjusted contributors file.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1806 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-07Adjusted list_entities_from_annotations to hide the gallery view by defaultben
git-svn-id: https://code.elgg.org/elgg/trunk@1769 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-07Removed an extra sanitise_string call in update_annotationsben
git-svn-id: https://code.elgg.org/elgg/trunk@1762 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-30Introducing url handlers for extenders.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1598 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-30Extender getURL() support (no overide as of yet)marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1591 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Moved container_guid to entities, modified a bunch of functions.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1473 36083f99-b078-4883-b0ff-0f9b5a30f544