aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #45950 from nextcloud/chore/remove-depreacted-searchAndy Scherzinger2024-08-011-3/+0
|\ | | | | chore: Remove deprecated legacy search backend
| * chore: Remove deprecated legacy search backendJulius Härtl2024-08-011-3/+0
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix(activity): regroup Files and spltit sharing activityskjnldsv2024-08-011-2/+10
|/ | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* refactor(comments): Replace security annotations with respective attributesprovokateurin2024-07-251-3/+4
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Move comments event handler to use proper event dispatcherJulius Härtl2024-06-262-21/+22
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* feat(notifications): Migrate server INotifiers to new exceptionsJoas Schilling2024-06-251-5/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-2718-366/+42
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: rename users to account or personVincent Petry2024-02-131-1/+1
| | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* chore: Fix missing template parameter for IEventListenerCôme Chilliet2024-01-303-0/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor: Migrate IgnoreOpenAPI attributes to OpenAPIprovokateurin2024-01-181-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(comments): Drop dead code from comments appFerdinand Thiessen2023-12-122-7/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-233-4/+4
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat(comments): Use activity tab to mount comments sidebar section if availableFerdinand Thiessen2023-11-161-0/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Make adjustments based on the reviewHamid Dehnavi2023-09-284-12/+12
| | | | | Co-authored-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* Refactor comments appHamid Dehnavi2023-09-2815-136/+70
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* fix: avoid side-effect importsJohn Molakvoæ (skjnldsv)2023-09-211-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* comments: Ignore endpoints in OpenAPIjld31032023-09-041-0/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(comments): Emit CommentsEntityEvent as typed eventJoas Schilling2023-07-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* comments: Add OpenAPI specjld31032023-07-102-4/+14
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Merge pull request #38605 from fsamapoor/replace_strpos_calls_in_comments_appCôme Chilliet2023-06-292-3/+3
|\ | | | | Refactors "strpos" calls in /apps/comments
| * Refactors "strpos" calls in /apps/comments to improve code readability.Faraz Samapoor2023-06-122-3/+3
| | | | | | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* | Cleanup comments codeCarl Schwan2023-06-2011-143/+49
| | | | | | | | | | | | | | - Fix various psalm issues - Add as much typing as possible while preserving stable API Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | comments: Stop using a service alias for controllerjld31032023-06-192-6/+3
|/ | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Get rid of all useless calls to setParsedSubject now that setRichSubject is ↵Côme Chilliet2022-11-292-27/+4
| | | | | | able to do it Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #33615 from ↵Joas Schilling2022-08-191-15/+1
|\ | | | | | | | | nextcloud/perf/noid/user-displayname-cache-for-activity-providers Use user name cache in activity providers
| * Use user name cache in activity providersJoas Schilling2022-08-191-15/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Use user displayname cache for comment mentionsJoas Schilling2022-08-191-5/+5
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Modernize comments appCarl Schwan2022-03-1610-152/+52
| | | | | | | | * Use php 7.4 typed properties * More typed methods (and replace existing php doc in some cases) * query -> get for Container Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Split common vendor chunkJohn Molakvoæ (skjnldsv)2022-01-081-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* l10n: Correct spellingValdnet2021-12-151-2/+2
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0418-38/+23
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move over notification to new registrationRoeland Jago Douma2021-04-161-5/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move comments to initial stateRoeland Jago Douma2021-03-222-19/+19
| | | | | | | | | * Do not extend the jssettings * Just use the proper intial state * Use it in the js code as well Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-2/+2
| | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Improve mention matchesJoas Schilling2021-02-062-10/+8
| | | | | | The previous regex didn't correctly match users with . ' or - Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove unneeded casts that were found by PsalmMorris Jobke2021-01-111-1/+1
| | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add ICommentsManager::load methodJohn Molakvoæ (skjnldsv)2020-10-204-103/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Init vue comments tabJohn Molakvoæ (skjnldsv)2020-10-204-0/+109
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use absolute URLs on search results for the clientsJoas Schilling2020-09-151-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-246-6/+15
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Hand in the route and the parameters of the requestJoas Schilling2020-08-051-1/+5
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Make apps handle the order logicJohn Molakvoæ (skjnldsv)2020-08-051-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Show mime icon, bump bundles, make the SearchResultEntry class ↵John Molakvoæ (skjnldsv)2020-08-043-35/+21
| | | | | | non-abstract, Fix header search icon, various fixes Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix unified searchJohn Molakvoæ (skjnldsv)2020-08-031-9/+22
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Adjust apps' code to use the ContainerInterfaceChristoph Wurst2020-07-212-8/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Migrate comments to unified search APIChristoph Wurst2020-06-245-77/+218
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Migrate Comments to the new bootstrap mechanismChristoph Wurst2020-06-172-36/+76
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add a capability when file comments are enabledJoas Schilling2020-05-282-0/+38
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>