aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/annotations.php
AgeCommit message (Collapse)Author
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
2008-07-17Fixed get_entities_by_annotationben
git-svn-id: https://code.elgg.org/elgg/trunk@1451 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-17Introducing list_entities_from_annotationsben
git-svn-id: https://code.elgg.org/elgg/trunk@1450 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-08Closes #125: get_entities_by_latest_annotation function marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1330 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-01The $entity_guid on get_annotations can now be an array.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1221 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-01get_annotations can now optionally take an array as owner_guidben
git-svn-id: https://code.elgg.org/elgg/trunk@1219 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-25Fixes #87 & #88marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1125 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-25Adding an annotation triggers an 'annotate' eventben
git-svn-id: https://code.elgg.org/elgg/trunk@1122 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-22Introducing the annotation listing functions.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1047 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-13getAnnotations now has an extra param $orderdave
git-svn-id: https://code.elgg.org/elgg/trunk@917 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-05Marcus Povey <marcus@dushka.co.uk>icewing
* Partial internationalisation of exceptions git-svn-id: https://code.elgg.org/elgg/trunk@801 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-03Marcus Povey <marcus@dushka.co.uk>icewing
* Debug removed git-svn-id: https://code.elgg.org/elgg/trunk@781 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-03Marcus Povey <marcus@dushka.co.uk>icewing
* Fixed annotations not returning anything * Access control on db now disabled when run from privileged code block. git-svn-id: https://code.elgg.org/elgg/trunk@780 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-23Marcus Povey <marcus@dushka.co.uk>icewing
* Support for river entries git-svn-id: https://code.elgg.org/elgg/trunk@701 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-02reversed my last tweak, another solution will be requireddave
git-svn-id: https://code.elgg.org/elgg/trunk@628 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-02small tweak to get annotationsdave
git-svn-id: https://code.elgg.org/elgg/trunk@626 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-01Fixed a bug in countAnnotationsben
git-svn-id: https://code.elgg.org/elgg/trunk@610 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-29Fixed typoben
git-svn-id: https://code.elgg.org/elgg/trunk@557 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-29Fixed a minor SQL error in annotation sum functionsben
git-svn-id: https://code.elgg.org/elgg/trunk@555 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-29Minor fix involving ratings and get annotationsben
git-svn-id: https://code.elgg.org/elgg/trunk@554 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-25Marcus Povey <marcus@dushka.co.uk>icewing
* Using common attribute type var to determine ODD export type for uuid generation, now attributes can support a uuid git-svn-id: https://code.elgg.org/elgg/trunk@529 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-24Marcus Povey <marcus@dushka.co.uk>icewing
* Generated now published * Metadata and annotations use time from db * Attributes use time from entity git-svn-id: https://code.elgg.org/elgg/trunk@514 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-15Removing the multiple slash problem on metastrings in extendersben
git-svn-id: https://code.elgg.org/elgg/trunk@458 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-15Marcus Povey <marcus@dushka.co.uk>icewing
* Using common detect_extender_valuetype function git-svn-id: https://code.elgg.org/elgg/trunk@449 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-14Marcus Povey <marcus@dushka.co.uk>icewing
* ODD Annotation and Metadata export git-svn-id: https://code.elgg.org/elgg/trunk@439 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-11Marcus Povey <marcus@dushka.co.uk>icewing
* Entity ODD export git-svn-id: https://code.elgg.org/elgg/trunk@435 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-08Marcus Povey <marcus@dushka.co.uk>icewing
* Simplified extender types, now only supports integer and text - types deamed not to be necessary (yet), also simplifies import and export. * Types better detected. git-svn-id: https://code.elgg.org/elgg/trunk@424 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-08Misja Hoebe <misja@curverider.co.uk> More docstring fixesmisja
git-svn-id: https://code.elgg.org/elgg/trunk@421 36083f99-b078-4883-b0ff-0f9b5a30f544