summaryrefslogtreecommitdiffstats
path: root/lib/public/Notification
Commit message (Collapse)AuthorAgeFilesLines
* composer run cs:fixCôme Chilliet2023-01-204-4/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Compute parsed from rich subject and message in NotificationCôme Chilliet2022-11-291-10/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix typo in deprecatedJoas Schilling2022-10-041-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve wordingJoas Schilling2021-10-271-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fair use of push notificationsJoas Schilling2021-10-231-0/+12
| | | | | | | | | 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-048-11/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Deprecate the old wayRoeland Jago Douma2021-04-161-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #22432 from nextcloud/enh/phpdocRoeland Jago Douma2020-08-266-6/+0
|\ | | | | Add php docs build script
| * Remove @package annotations from public namespaceJulius Härtl2020-08-266-6/+0
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-7/+8
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow notification apps to defer and flush the sendingJoas Schilling2020-07-032-0/+65
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | 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 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-202-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add interface for notification handler for dimissed eventsRoeland Jago Douma2019-12-102-0/+50
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersChristoph Wurst2019-12-056-6/+20
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Keep the old method as a fallback and adjust the testsJoas Schilling2019-07-162-2/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Change how Notifiers and Apps are registeredJoas Schilling2019-07-153-10/+58
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make all interfaces strictJoas Schilling2019-07-155-60/+86
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add strict type on Notifications testsJohn Molakvoæ (skjnldsv)2019-06-131-9/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix userid casting in notificationsJohn Molakvoæ (skjnldsv)2019-06-111-2/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update documentation of setParsed* and setRich*Joas Schilling2019-01-251-0/+42
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow notifiers to know whether we are preparing push notificationsJoas Schilling2018-07-131-0/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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-8/+8
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow rich object strings in messages as wellJoas Schilling2016-10-311-0/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow rich object subjects for NotificationsJoas Schilling2016-10-201-0/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add an icon to the notification APIJoas Schilling2016-10-071-7/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Null !== void, those methods are voidJoas Schilling2016-09-052-4/+0
|
* Fix othersJoas Schilling2016-07-215-10/+15
|
* Move \OCP\Notification to PSR-4Roeland Jago Douma2016-05-185-0/+485