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/tests
AgeCommit message (Collapse)Author
2022-10-12Update base-query-count.txtJoas Schilling
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-08-02Fix CSJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-01Remove deprecated at matcher from testsfix/remove-at-matcher-in-testsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-21Bump guzzlehttp/guzzle from 6.5.7 to 6.5.8 in /tests/Integrationdependabot/composer/tests/Integration/guzzlehttp/guzzle-6.5.8dependabot[bot]
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.7 to 6.5.8. - [Release notes](https://github.com/guzzle/guzzle/releases) - [Changelog](https://github.com/guzzle/guzzle/blob/6.5.8/CHANGELOG.md) - [Commits](https://github.com/guzzle/guzzle/compare/6.5.7...6.5.8) --- updated-dependencies: - dependency-name: guzzlehttp/guzzle dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10Bump guzzlehttp/guzzle from 6.5.6 to 6.5.7 in /tests/Integrationdependabot[bot]
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.6 to 6.5.7. - [Release notes](https://github.com/guzzle/guzzle/releases) - [Changelog](https://github.com/guzzle/guzzle/blob/6.5.7/CHANGELOG.md) - [Commits](https://github.com/guzzle/guzzle/compare/6.5.6...6.5.7) --- updated-dependencies: - dependency-name: guzzlehttp/guzzle dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
2022-05-25Bump guzzlehttp/guzzle from 6.3.3 to 6.5.6 in /tests/Integrationdependabot/composer/tests/Integration/guzzlehttp/guzzle-6.5.6dependabot[bot]
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.3.3 to 6.5.6. - [Release notes](https://github.com/guzzle/guzzle/releases) - [Changelog](https://github.com/guzzle/guzzle/blob/6.5.6/CHANGELOG.md) - [Commits](https://github.com/guzzle/guzzle/compare/6.3.3...6.5.6) --- updated-dependencies: - dependency-name: guzzlehttp/guzzle dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25Enable helper app with forceJoas Schilling
This allows to not bump the version in the helper app anymore. Will save me a roundtrip of CI every time we branch off as I always forget it. Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-15Update testing app requirementsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-07Update master php testing versionsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-30Bump guzzlehttp/psr7 from 1.8.3 to 1.8.5 in /tests/Integrationdependabot[bot]
Bumps [guzzlehttp/psr7](https://github.com/guzzle/psr7) from 1.8.3 to 1.8.5. - [Release notes](https://github.com/guzzle/psr7/releases) - [Changelog](https://github.com/guzzle/psr7/blob/1.8.5/CHANGELOG.md) - [Commits](https://github.com/guzzle/psr7/compare/1.8.3...1.8.5) --- updated-dependencies: - dependency-name: guzzlehttp/psr7 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.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-01-28Bump PHPUnit, Behat, etc.Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-20Count the queries executed in integration testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-11Update integration testing appVincent Petry
Make it compatible with NC 24 Signed-off-by: Vincent Petry <vincent@nextcloud.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-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-18Add an integration test for push registrationJoas 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-06Replace app.phpJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-06Fix deleting notifications with numeric user IDJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-24Fix testing app versionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-21Fix handling the response of the proxyJoas 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-20Fix unit testsJoas 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-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>
2021-04-15Add an integration test for the admin notifications apiJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-29Update baseline and switch to vimeo/psalmJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-26Fix phpunit warningJoas Schilling
Method getResponse may not return value of type Mock_IResponse_c6b56317, its return declaration is ": Psr\Http\Message\ResponseInterface" Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-26Try starting the server in the actionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-15Fix vesion check of testing app for 22Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-07Add pslamRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-10Add a unit test for the empty message handlingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-30Add test for the new codeJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-30Fix unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-21PHP CS fixJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-21make executableJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-21Update request handling to new behat and guzzle versionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-21Update behat configJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-21Bump version of the integration helperJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-21Bump behat and integration tests utilsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-10PHP CS fixJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-26No push notifications when in DNDJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-26Set the user status as header, so clients can decide to not show notificationsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-09Don't push without internet connectionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>