Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-16Update all license headers for Nextcloud 21Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-04Add a function to get the unread count for multiple objects in one goJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-22Fix missing sinceJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21Fix return typeJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21Add return descriptionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21Get the last comment date for a list of actors (to allow sorting mention ↵Joas Schilling
suggestions e.g.) Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21Allow to search on multiple objects with one queryJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21Add methods to get the number of comments and last comment since a dateJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21Include an option to also include the lastKnownCommentId objectJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-20Add ICommentsManager::load methodJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-05Format code to a single space around binary operatorsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-26Remove @package annotations from public namespaceJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-29Update license headers for 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Add visibility to all constantsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31Allow to set and get the reference idJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-05Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-11-22Some php-cs fixesRoeland Jago Douma
* Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-17use OCP\EventDispatcher\Event over Symfony's deprecated EventArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-06-26Allow apps to store longer messages in the comments APIJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-07-30Allow to filter the unread count by verbJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-07-25Add pagination supportJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-07-25Allow to search by commentsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-04-19Fix docsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-04-18Add proper comment offset supportJoas Schilling
The offset is based on the last known comment instead of limit-offset, so new comments don't mess up requests which get the history of an object- Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-11-06Update license headersMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-01Replace wrong PHPDocsLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-03-30Allow getting the unread comment count for an entire folder at onceRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-11-15@since 9.2.0 to @since 11.0.0Roeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-19resolve displayname via manager and registerable resolversArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-19move mention extraction to (I)Comment and report mentions via DAVArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-12emit pre-update event for commentsArthur Schiwon
* 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>
2016-10-07Notificacations for simple @-mentioning in commentsArthur Schiwon
(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>
2016-07-21Fix othersJoas Schilling
2016-05-26Update license headersLukas Reschke
2016-05-23Move EntityEvent to PSR-4Joas Schilling
2016-05-12Move \OCP\Comments to PSR-4 (#24565)Roeland Douma