aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add pagination supportJoas Schilling2018-07-251-17/+30
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to search by commentsJoas Schilling2018-07-253-1/+208
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Correctly register everything via the Application classJoas Schilling2018-07-251-0/+51
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #8355 from nextcloud/fix-comments-num-indexMorris Jobke2018-02-261-2/+4
|\ | | | | Fix comments (and systemtags) when involving users with numerical ids
| * fix creating comments when file is accessible to users with numeric idsArthur Schiwon2018-02-141-3/+4
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Remove unused import statementsMorris Jobke2018-02-142-2/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix array method usages with a proper callMorris Jobke2018-01-251-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix unit testsMorris Jobke2017-11-271-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* that has since been deleted, ID to nodeAllan Nordhøy2017-11-271-3/+3
| | | | | | You were mentioned in a group chat by a user that has since been deleted Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-069-21/+36
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge branch 'master' into autocomplete-guiArthur Schiwon2017-11-011-0/+6
|\
| * Add a doc why this should not be removedJoas Schilling2017-10-231-0/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix comment sorterArthur Schiwon2017-10-301-2/+13
| | | | | | | | | | | | | | background: we have a flat hierarchy of comments, not a tree. therefore we can also remove again the unnecessary additions. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | configurable amount of autocomplete results in commentsArthur Schiwon2017-10-272-0/+50
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | ensure that sorting is stableArthur Schiwon2017-10-221-3/+14
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | AutoCompletion backendArthur Schiwon2017-10-221-0/+93
|/ | | | | | | | | | * introduce a Controller for requests * introduce result sorting mechanism * extend Comments to retrieve commentors (actors) in a tree * add commenters sorter * add share recipients sorter Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use the wrapper to get the parameters which was added in #6369Joas Schilling2017-09-191-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow translations of the comments activity in the emails tooJoas Schilling2017-09-052-13/+35
| | | | | | | Message and object data is not available on emails atm, so we can not use them either... Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix CommentsRoeland Jago Douma2017-08-014-7/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use PNG version of the icons for shipped activitiesJoas Schilling2017-06-201-1/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move systemtags and comments to new accesslist functionsRoeland Jago Douma2017-04-201-7/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Get the user folder of the correct userJoas Schilling2017-03-091-6/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Cleanup comment testsJoas Schilling2017-01-091-8/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Set the comment link on render instead of creationJoas Schilling2017-01-092-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove leading slash from sharing activityJoas Schilling2016-12-151-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Adjust all implementations in the server repoJoas Schilling2016-12-011-4/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use the comment icon for the notificationsJoas Schilling2016-11-231-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Set the rich object string for comment notificationsJoas Schilling2016-11-231-13/+49
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use the display name for usersJoas Schilling2016-11-161-4/+41
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move comments activities to the new APIJoas Schilling2016-11-165-347/+391
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix comment mentions in activitiesJoas Schilling2016-10-281-0/+25
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* move mention extraction to (I)Comment and report mentions via DAVArthur Schiwon2016-10-191-13/+17
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* apply some polishArthur Schiwon2016-10-142-38/+15
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* emit pre-update event for commentsArthur Schiwon2016-10-122-9/+22
| | | | | | | * notifications can be cleaned up, no polluted DB * updating comments will re-notify users or remove notifications, depending on the message Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust wording of the notificationArthur Schiwon2016-10-081-3/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove notifications of deleted comments from the DBArthur Schiwon2016-10-081-1/+20
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* use different files route/controllerArthur Schiwon2016-10-071-6/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Notificacations for simple @-mentioning in commentsArthur Schiwon2016-10-075-0/+496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (WIP) notify user when mentioned in comments Fix doc, and create absolute URL for as notification link. PSR-4 compatibility changes also move notification creation to comments app Do not notify yourself unit test for controller and application smaller fixes - translatable app name - remove doubles in mention array - micro perf optimization - display name: special label for deleted users, keep user id for users that could not be fetched from userManager Comment Notification-Listener Unit Test fix email adresses remove notification when triggering comment was deleted add and adjust tests add missing @license tags simplify NotificationsController registration appinfo simplification, php docs make string easier to translate adjust test replace dispatcher-based listeners with a registration method and interface safer to not pass optional data parameter to setSubject for marking as processed. ID and mention suffices Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> update comment Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #1519 from nextcloud/better-comments-in-activity-sidebarMorris Jobke2016-10-051-12/+2
|\ | | | | Better comments in activity sidebar
| * Remove resolved FIXMEJoas Schilling2016-10-051-1/+0
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * Do not shorten comments in the activity sidebarJoas Schilling2016-10-051-11/+2
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Add icons to activity navigationJoas Schilling2016-10-051-2/+3
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Revert "Always add activities for comments to the stream"Joas Schilling2016-08-171-7/+3
| | | | This reverts commit 48c41b888c6a464f645de3e9087a39c163086d9f
* Fix apps/Joas Schilling2016-07-212-4/+6
|
* Move comments, systemtags and updatenotifications to PSR-4Joas Schilling2016-05-032-0/+457