Hamid Dehnavi
0ac1480be2
refactor lib/private/Notification
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
1 год назад
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
7 месяцев назад
Joas Schilling
d1f2e5e967
Increase the fair-use push limit to 1.000 users
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 год назад
Joas Schilling
85eb3b2920
Fix wording of undeliverable push notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 год назад
Louis
f6081e35b4
Remove ITimeFactory
Signed-off-by: Louis <6653109+artonge@users.noreply.github.com>
1 год назад
Louis
dc5cdfb7e3
Remove time check in isFairUseOfFreePushService
What the TODO say, the dev does.
Signed-off-by: Louis <6653109+artonge@users.noreply.github.com>
1 год назад
Carl Schwan
aeecb72e96
Fix a few psalm issues and moved back to psalm/phar 4.18
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 лет назад
Joas Schilling
9a18bd7abf
Improve wording
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 лет назад
Joas Schilling
b578a1e8b5
Fair use of push notifications
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>
2 лет назад
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 лет назад
Roeland Jago Douma
808e589035
Allow registering NotifierServices trough IBootstrap
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 лет назад
Joas Schilling
3d559159f0
Allow notification apps to defer and flush the sending
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 лет назад
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 лет назад
Christoph Wurst
1b46621cd3
Update license headers for 18
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 лет назад
Roeland Jago Douma
2b581814f3
Add interface for notification handler for dimissed events
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 лет назад
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 лет назад
Joas Schilling
594efca1e3
Update since to the correct version
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 лет назад
Joas Schilling
55f5bc79a1
Keep the old method as a fallback and adjust the tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 лет назад
Joas Schilling
865c12aa0e
Fix detection of Notifiers
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 лет назад
Joas Schilling
9690b3153a
Change how Notifiers and Apps are registered
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 лет назад
Joas Schilling
9b288cda6d
Make all interfaces strict
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 лет назад
Joas Schilling
79b540ecc3
Add return types and fully qualified function calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 лет назад
Joas Schilling
28d8d15a98
Allow notifiers to know whether we are preparing push notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 лет назад
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 лет назад
Roeland Jago Douma
5f227bd93b
More phpstorm inspection fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 лет назад
Joas Schilling
706b5c3fb6
Use a php class for the definitions to avoid loading problems
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 лет назад
Joas Schilling
b35d2fd8f2
Allow rich object subjects for Notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 лет назад
Joas Schilling
fb04c56827
Null !== void, those methods are void
7 лет назад
Roeland Jago Douma
035f55c913
Fix phpdoc
8 лет назад
Joas Schilling
ba87db3fcc
Fix others
8 лет назад
Roeland Jago Douma
3301bfd195
Move \OC\Notification to PSR-4
8 лет назад
Lukas Reschke
933f60e314
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
8 лет назад
Morris Jobke
da06447c3b
Fix typo in PHPDoc
8 лет назад
Joas Schilling
ee02165005
Move the notification API to public namespace
8 лет назад
Joas Schilling
3cca8498cb
Make it possible to get a list of notifiers for a potential settings page
8 лет назад
Thomas Müller
682821c71e
Happy new year!
8 лет назад
Joas Schilling
c3420fface
Allow checking whether there are notifiers registered
8 лет назад
Joas Schilling
38001d824b
Move interfaces to private until they are no longer experimental
8 лет назад
Joas Schilling
190d2c3d5b
Add tests for the notification manager
8 лет назад
Joas Schilling
0d154595f8
Fix the subject of notifications
8 лет назад
Joas Schilling
57c273b2da
Fix closures and adding parsed Actions
8 лет назад
Joas Schilling
913e2e9ae6
Use an INotification to getCount() and markProcessed()
8 лет назад
Joas Schilling
f0ecfa6e6c
Add the app id to the markProcessed method
8 лет назад
Joas Schilling
0bcae89d14
Handle InvalidArgumentException more gracefully
8 лет назад
Joas Schilling
f16c5a38a8
Add language to the preparation method
8 лет назад
Joas Schilling
4e347170ac
Notification API
8 лет назад