Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reuse Configurations With Asterisk App IDs and Token Based APNS Auth #108

Merged
merged 9 commits into from
Apr 24, 2020

Conversation

ismailgulek
Copy link
Contributor

@ismailgulek ismailgulek commented Apr 23, 2020

This PR aims to enable having appId's like im.vector.* in sygnal.yaml file, which will enable using the same authentication to APNS against multiple appId's.
It also aims to enable token-based authentication for APNS, which is the only way to reuse authentication when notifying multiple apps.

@ismailgulek ismailgulek changed the title Reuse Configurations With Asterisk appIds and Token Based APNS Auth Reuse Configurations With Asterisk App IDs and Token Based APNS Auth Apr 23, 2020
Signed-off-by: ismailgulek <[email protected]>
Signed-off-by: ismailgulek <[email protected]>
Copy link
Contributor

@babolivier babolivier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It all looks sane to me, apart from some documentation bits.
However, I feel like I'm missing a lot of context on what issue does this solve in the first place and why do we need this patch. Could you please provide us with some details about that?

sygnal/http.py Outdated Show resolved Hide resolved
sygnal/http.py Outdated Show resolved Hide resolved
sygnal/http.py Show resolved Hide resolved
tests/test_http.py Outdated Show resolved Hide resolved
tests/test_http.py Show resolved Hide resolved
ismailgulek and others added 2 commits April 24, 2020 12:18
Update doc

Co-Authored-By: Brendan Abolivier <[email protected]>
Update doc

Co-Authored-By: Brendan Abolivier <[email protected]>
@richvdh
Copy link
Member

richvdh commented Apr 24, 2020

However, I feel like I'm missing a lot of context on what issue does this solve in the first place and why do we need this patch. Could you please provide us with some details about that?

+1. please don't just send in PRs without any description whatsoever about what they are supposed to do and why.

Signed-off-by: ismailgulek <[email protected]>
Signed-off-by: ismailgulek <[email protected]>
Copy link
Contributor

@babolivier babolivier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the details and changes, it makes perfect sense to me now :)
Looks good to me apart from one last small doc bit!

sygnal/http.py Outdated Show resolved Hide resolved
Update doc

Co-Authored-By: Brendan Abolivier <[email protected]>
@babolivier babolivier merged commit 64a0271 into master Apr 24, 2020
@babolivier babolivier deleted the improvement_reuse_configs branch April 24, 2020 10:59
@richvdh
Copy link
Member

richvdh commented Apr 24, 2020

ahhhh, "asterisk" as in wildcard, as opposed to "Asterisk" as in the popular telephony software...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants