aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Activity
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Fix Event and Notification creation with the new required parameterCôme Chilliet2024-09-171-24/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Add OCP interface to format richtext into stringCôme Chilliet2024-09-171-33/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(Activity): Restrict IEvent rich object parameters typeprovokateurin2024-09-101-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(activity): regroup Files and spltit sharing activityskjnldsv2024-08-011-6/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-244-87/+10
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(activity): Remove unneeded exception (types are enforced)Joas Schilling2024-04-171-4/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(activity): Add a dedicated exception when the filter or setting is not foundJoas Schilling2024-04-171-10/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(activity): Add a dedicated exception when not all fields are set while ↵Joas Schilling2024-04-171-11/+3
| | | | | | publishing an activity Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(activity): Add a dedicated exception when invalid values are setJoas Schilling2024-04-171-94/+40
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-022-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-5/+5
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* chore: Replace \OC::$server->query with \OCP\Server::get in /libChristoph Wurst2023-07-061-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Throw on missing type of rich subject parameterCôme Chilliet2022-12-081-5/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Throw instead of using a bogus value if name field is missingCôme Chilliet2022-11-291-3/+9
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Same thing for ActivityCôme Chilliet2022-11-291-1/+24
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-044-6/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-1/+1
| | | | | | | | | | 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>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-243-1/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* allow grouping of activity settingsRobin Appelman2020-08-052-6/+24
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix instanceof ISettings check for activity settingsRobin Appelman2020-07-301-1/+1
| | | | | | boolean logic is hard Signed-off-by: Robin Appelman <robin@icewind.nl>
* implement old settings interfaceRobin Appelman2020-07-241-3/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* build autoloaderRobin Appelman2020-07-212-2/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* basic settings system for activity notificationsRobin Appelman2020-07-213-4/+75
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headers for 19Christoph Wurst2020-04-292-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+1
| | | | | | | | | | | | | | | 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>
* Use elseif instead of else ifChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix multiline commentsChristoph Wurst2020-04-081-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-053-4/+8
| | | | 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>
* Always use the latest timestamp for merged activitiesJulius Härtl2019-10-091-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Set false as default for requirePNGDaniel Kesselberg2019-02-181-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Remove legacy activity stuffJoas Schilling2019-01-243-577/+27
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix default types of activity event member variablesJoas Schilling2018-10-151-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make activity events strictJoas Schilling2018-10-121-89/+69
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove deprecated publishActivity functionRoeland Jago Douma2018-10-051-25/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use $var[] = $a instead of array_push - 2x fasterMorris Jobke2018-01-251-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-064-0/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* More phpstorm inspection fixesRoeland Jago Douma2017-07-241-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add a flag to allow checking if SVGs are okayJoas Schilling2017-06-201-0/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Change the order on merging activities so the newest item is firstJoas Schilling2017-03-281-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add an event merger and use it for the files activitiesJoas Schilling2016-11-251-0/+256
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2165 from nextcloud/sharing-activities-updateRoeland Jago Douma2016-11-221-5/+0
|\ | | | | Move file sharing activities to the new API
| * Move file sharing activities to the new APIJoas Schilling2016-11-161-5/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix wrong copyright headersJoas Schilling2016-11-162-0/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>