Conversation
This comment was marked as resolved.
This comment was marked as resolved.
b74d5a6 to
4456cb0
Compare
This comment was marked as resolved.
This comment was marked as resolved.
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
f029393 to
3b9f200
Compare
|
I've rebased the PR on the master branch, and updated following some changes we did: apptype (array) => appTypes (String) |
3b9f200 to
ec63ade
Compare
|
I really love this PR and I wanted WebPush support in Nextcloud for some time already, so I am super sorry for all this! But another thing I noticed was, that you don’t seem to handle delete notifications at all? I am not even sure, how this could be properly handled. You could call I assume, integrating UnifiedPush for the mobile apps will be a lot more straight forward as most logic should already be in place there. It’s just a shame, that you have to do all this manual legwork for browsers. 😅 |
|
I suppose this is a typo and you're not sorry for this ? BTW, your help is very welcome, thanks. I will show a generic notification if we don't have the right content. You can also suggest code directly or open PR on my repo if you want :) Regarding UnifiedPush: the implementation is already done, I've a few things to do following changes on the backend Pr :D |
|
I just didn't want to come across as rude and complaining about a lot, especially since I am not affiliated with Nextcloud. :) And nice, I will see what my time allows me to do on contributing. :) I’m looking forward to the UnifiedPush implementation! |
|
No problem, code review is done for that ! At the end we have a better solution |
5e1deb0 to
cb3b999
Compare
Signed-off-by: sim <git@sgougeon.fr>
Signed-off-by: sim <git@sgougeon.fr>
Signed-off-by: sim <git@sgougeon.fr>
…n't supported Signed-off-by: sim <git@sgougeon.fr>
Signed-off-by: sim <git@sgougeon.fr>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: S1m <31284753+p1gp1g@users.noreply.github.com>
…eWorker Signed-off-by: sim <git@sgougeon.fr>
Signed-off-by: sim <git@sgougeon.fr>
Signed-off-by: sim <git@sgougeon.fr>
Signed-off-by: sim <git@sgougeon.fr>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: sim <git@sgougeon.fr>
Signed-off-by: sim <git@sgougeon.fr>
Signed-off-by: sim <git@sgougeon.fr>
Signed-off-by: sim <git@sgougeon.fr>
Signed-off-by: sim <git@sgougeon.fr>
Signed-off-by: sim <git@sgougeon.fr>
Co-authored-by: Maksim Sukharev <antreesy.web@gmail.com> Signed-off-by: S1m <31284753+p1gp1g@users.noreply.github.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
1bae34d to
a42e9db
Compare
|
How do you do your tests ? I've tested on Firefox and Chromium - both on Linux, but all platforms should work You still need your browser to be opened, else it isn't connected to their push server anymore. Except on mobile, where the browser can be waken by the device push service (APNS, FCM, UnifiedPush). But you don't have to have Nextcloud in one of the opened tab |
ExpectationSee a notification Actualnothing When 3 is skipped and you just navigate to another tab, it works. |
|
I wonder if it isn't because the test notification isn't formatted the same way than actual notifications. Can you do the same thing but send a Talk message or comment a shared file for the 4th step - to fire a real notification ? And, if something is wrong, then you may want to look at the Service : |
Well it is an accepted format. Any app can push notifications and it should the same for all of those. But lets see how the testing continues. |
|
You shouldn't have to click "Start", it is done automatically on push. Maybe the service worker wasn't registered for any reason, a cache or something |

This PR uses the new web push support (#2662) to get push notifications on the web application, even when nextcloud isn't opened in the browser.
It achieves 2 things:
To work, this PR needs to add
worker-src 'self'to the CSP by default:https://github.com/nextcloud/server/blob/master/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#L62