Add VAPID keys' generator for webpush notifications #8738
Add VAPID keys' generator for webpush notifications #8738andreslucena merged 6 commits intodevelopfrom
Conversation
|
@andreslucena , añadí test de la rake task y el coverage sigue sin pasar |
Please, let's talk in English here, so the rest of the community can understand us 😄 As I mentioned in the meeting today, for now the Codecov patch is not working correctly. I'll remove it altogether as having a check that doesn't work most of the time, it doesn't make much sense. |
Yep! of course! It was a mistake 😄 |
|
@quinHD I think |
Ok. Let's ask @andreslucena , because I took the name that's in the issue. |
andreslucena
left a comment
There was a problem hiding this comment.
A couple of doubts to solve before approving
Oh, I've just seen your comments - but it's great that we're aligned in this one, I thought exactly the same 😅 My hypothesis is that it was a placeholder, or that I was just with too many things in my mind and missed that while defining the User Stories. I was thinking about |
|
Watch out @quinHD |
dbc2a5b to
010b8d8
Compare
|
@andreslucena I've just realized something that might be wrong in this PR. Given that the task is defined in I think we should move the task to |
As we've talked in the meeting a couple of minutes ago, I agree, let's move it to |
🎩 What? Why?
Please describe your pull request.
📌 Related Issues
Link your PR to an issue
Testing
Acceptance criteria
When I run
rails decidim:generateThen I have the following ouput:
When I configure the VAPID_PRIVATE_KEY and VAPID_PUBLIC_KEY env vars
Then the push notifications service is set up
Step by step
In the root folder, run the decidim:generate rake task. Copy the the keys and add them to the env variables using the names specified above.
📋 Checklist
🚨 Please review the guidelines for contributing to this repository.
docs/.📷 Screenshots