summaryrefslogtreecommitdiffstats
path: root/lib/private/Comments/Comment.php
Commit message (Collapse)AuthorAgeFilesLines
* composer run cs:fixCôme Chilliet2023-01-201-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #32865 from nextcloud/bugfix/remove-unecessary-rowblizzz2022-07-081-6/+2
|\ | | | | Remove unecessary row and make compatible with db schema
| * Set as optional argumentVitor Mattos2022-06-131-1/+1
| | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * Remove unecessary row and make compatible with db schemaVitor Mattos2022-06-131-5/+1
| | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | Add comments expire dateVitor Mattos2022-06-151-0/+16
|/ | | | | | https://github.com/nextcloud/spreed/pull/7327 Signed-off-by: Vitor Mattos <vitor@php.rio>
* Add comments reactionsVitor Mattos2022-01-211-0/+16
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Prepare for group mentionsJoas Schilling2021-10-081-9/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix linterJoas Schilling2021-02-061-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make Psalm happyJoas Schilling2021-02-061-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve mention matchesJoas Schilling2021-02-061-0/+1
| | | | | | The previous regex didn't correctly match users with . ' or - Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-16/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-16/+15
| | | | | | | | | | | | | | | 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>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to set and get the reference idJoas Schilling2020-03-311-0/+31
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersChristoph Wurst2019-12-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-0/+1
| | | | | | | | | | | * 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>
* Fix user with id 0 to be able to commentJoas Schilling2019-09-251-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow guest mentions of talk to be parsedJoas Schilling2019-07-101-2/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow apps to store longer messages in the comments APIJoas Schilling2019-06-261-3/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Match mentions when the username is wrapped in quotesJoas Schilling2018-11-071-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* New regex to match mentionsMario Danic2018-06-081-1/+1
| | | | Signed-off-by: Mario Danic <mario@lovelyhq.com>
* Remove unsupported modifierMario Danic2018-06-081-1/+1
| | | | Signed-off-by: Mario Danic <mario@lovelyhq.com>
* Fix mentions regexMario Danic2018-06-081-1/+1
| | | | Signed-off-by: Mario Danic <mario@lovelyhq.com>
* comments should compile mentions also if done by authorArthur Schiwon2018-01-171-4/+0
| | | | | | | | it is used by clients for formatting reasons, there is no reason not format the author if her handle is included in the comment body. It is unrelated to sending out notifications. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* @since 9.2.0 to @since 11.0.0Roeland Jago Douma2016-11-151-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* move mention extraction to (I)Comment and report mentions via DAVArthur Schiwon2016-10-191-0/+37
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix phpdoc in CommentsRoeland Jago Douma2016-08-161-3/+3
|
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Update license headersLukas Reschke2016-05-261-1/+2
|
* Move \OC\Comments to PSR-4Roeland Jago Douma2016-04-151-0/+382