Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2022-03-23Add options in personal settings to play the soundsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-14Preload devices and statuses with a single query in case of flushingtechdebt/noid/group-queries-on-pushingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-14Defer preparing of payloads when we don't push anywayJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-14Only query the devices of a user onceJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-14Only load the user status once per userJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-28Use a fake user to skip database queriesJoas Schilling
Getting a user runs 2 queries: 1. Load the user from oc_users 2. Load the preferences This is somewhat dangerous, but all methods only rely on the userId and the objects are not cached anywhere on the way, so this should still work and does in tests Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-24Do not read the notification we just insertedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-24Handle notification deletion less uniqueJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-27shortenJsonEncodedMultibyte was moved to \OCP\Util for 23.Arthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-01Merge pull request #1101 from ↵Joas Schilling
nextcloud/bugfix/noid/improve-feedback-when-device-is-too-old Improve feedback in test-push when device is too old
2021-10-27Merge pull request #1102 from nextcloud/bugfix/noid/improve-wordingv23.0.0beta2John Molakvoæ
2021-10-27Improve wordingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-27Improve feedback in test-push when device is too oldJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-26Restore old device signature so the proxy works againJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-23Fair use of push notificationsJoas Schilling
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>
2021-10-19Merge pull request #1094 from ↵Joas Schilling
nextcloud/test/1081/add-integration-tests-for-push-registration Add integration tests for push registration
2021-10-18sign final payloadMartin Zimmermann
Returned signature did not match payload as it was changed after signing. Signed-off-by: Martin Zimmermann <martin.zimmermann@bytepoets.com>
2021-10-18Fix id selectionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Fix review commentsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Move logic to the mapperJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Fix psalm complainsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Fix wording and sorting in the settings sectionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Fix CS lintingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Add a background job to create entries for new users and existing users on ↵Joas Schilling
updates Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Fix personal settingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Select users from a new notifications_settings tableJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Move constants and don't use deprecated classJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Introduce a batch size for the mail notifications so it does not consume too ↵Joas Schilling
much time Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Improve email wording for screenreadersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Remove unused memberJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Fix eslinting and minor API thingsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11Sending unseen notifications as email periodically. Includes a new user ↵Julien Barnoin
settings page for notifications to configure this option. Signed-off-by: Julien Barnoin <julien@berryandcloud.com>
2021-10-06Fix deleting notifications with numeric user IDJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-24Change elseif to orValdnet
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2021-08-24High priority for the PhoneTrack appValdnet
Added high priority for notifications for PhoneTrack. Notifications sent from this application are also important for users. The information it contains must be received very quickly in the event of exceeding the set zone or approaching two devices. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-08-23Give twofactor nextcloud notifications a high priorityszaimen
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-06-21Merge pull request #1027 from ↵Vincent Petry
nextcloud/bugfix/noid/fix-handling-the-response-of-the-proxy Fix handling the response of the proxy
2021-06-21Fix handling the response of the proxyJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-19Fix casting token to intJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-18Use the BeforeTemplateRenderedEvent and check if we show it as a userJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-18Don't load the UI on embedded pagesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-11Replace executeUpdate with executeStatementJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-22Merge pull request #937 from nextcloud/bugfix/noid/reduce-delete-push-spamJoas Schilling
Only push delete-push to devices that also got the notification
2021-04-20Only push delete-push to devices that also got the notificationJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-19Defer deletion-push when rendering or deleting all notificationsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-15Move to PSR LoggerJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-15IQueryBuilder::execute() is deprecatedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-15Use Response::setETag()Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-15Get DateTime object from ITimeFactoryJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-15Make everything strictJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>