aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Notification/Manager.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(notifications): Change notification app ordersgavine992025-04-011-5/+13
| | | | | | | | The notification manager always calls notify() of the 'main' notifications app before other notify apps, and calls other functions for other notifications apps before the 'main' notification app Signed-off-by: gavine99 <github@xymail.tk>
* fix: Fix Event and Notification creation with the new required parameterCôme Chilliet2024-09-171-1/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-4/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-21/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(notifications): Add a warning when using relative linksJoas Schilling2024-04-121-0/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(notifications): Throw AlreadyProcessedException also from the manager ↵Joas Schilling2024-04-121-1/+1
| | | | | | when it's done Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(notifications): Add a dedicated exception when a notification was not ↵Joas Schilling2024-04-121-2/+4
| | | | | | parsed completely Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(notifications): Add a dedicated exception when the notification is ↵Joas Schilling2024-04-121-8/+17
| | | | | | unknown to the notifier Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(notifications): Add a dedicated exception when not all fields are set ↵Joas Schilling2024-04-121-4/+7
| | | | | | while saving a notification Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(notifications): Help finding missing notifications by logging itJoas Schilling2024-02-201-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* refactor lib/private/NotificationHamid Dehnavi2024-01-021-29/+16
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.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>
* Increase the fair-use push limit to 1.000 usersJoas Schilling2022-11-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix wording of undeliverable push notificationsJoas Schilling2022-08-311-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove ITimeFactoryLouis2022-08-171-5/+0
| | | Signed-off-by: Louis <6653109+artonge@users.noreply.github.com>
* Remove time check in isFairUseOfFreePushServiceLouis2022-08-161-4/+1
| | | | | What the TODO say, the dev does. Signed-off-by: Louis <6653109+artonge@users.noreply.github.com>
* Fix a few psalm issues and moved back to psalm/phar 4.18Carl Schwan2022-01-121-2/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Improve wordingJoas Schilling2021-10-271-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fair use of push notificationsJoas Schilling2021-10-231-18/+62
| | | | | | | | | We want to keep offering our push notification service for free, but large users overload our infrastructure. For this reason we have to rate-limit the use of push notifications. If you need this feature, consider setting up your own push server or using Nextcloud Enterprise. 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>
* Allow registering NotifierServices trough IBootstrapRoeland Jago Douma2021-04-161-1/+36
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow notification apps to defer and flush the sendingJoas Schilling2020-07-031-0/+44
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>
* Update license headers for 18Christoph Wurst2019-12-201-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add interface for notification handler for dimissed eventsRoeland Jago Douma2019-12-101-0/+15
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersChristoph Wurst2019-12-051-2/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update since to the correct versionJoas Schilling2019-07-161-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Keep the old method as a fallback and adjust the testsJoas Schilling2019-07-161-3/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix detection of NotifiersJoas Schilling2019-07-151-11/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Change how Notifiers and Apps are registeredJoas Schilling2019-07-151-58/+81
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make all interfaces strictJoas Schilling2019-07-151-9/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add return types and fully qualified function callsJoas Schilling2018-07-131-8/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow notifiers to know whether we are preparing push notificationsJoas Schilling2018-07-131-0/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | 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>
* Use a php class for the definitions to avoid loading problemsJoas Schilling2016-11-091-6/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow rich object subjects for NotificationsJoas Schilling2016-10-201-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Null !== void, those methods are voidJoas Schilling2016-09-051-3/+0
|
* Fix phpdocRoeland Jago Douma2016-08-161-1/+1
|
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Move \OC\Notification to PSR-4Roeland Jago Douma2016-04-181-0/+240