-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from pdsinterop/feature/notifications
Implementiation for webhooks and notification registration endpoints
- Loading branch information
Showing
24 changed files
with
714 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
solid/bin | ||
solid/vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
TODO: | ||
- [ ] advertise the notifications channel in well-known | ||
- [ ] advertise the notifications channel in HTTP headers | ||
|
||
Backlog / later: | ||
- [ ] add actor to notifications | ||
- [ ] add UUID to notifications | ||
- [ ] Add support for the rate limit feature. | ||
- [ ] create a solid-notifications-lastsent database table - columns are subscription_id and lastsent; | ||
- [ ] how can we stop sending notifications when read access was revoked? | ||
- [ ] use a background process to send notifications so they are out of bound with requests | ||
|
||
Done: | ||
- [v] create a solid-notifications-subscription database table - columns should have: id, webid, path, url, expiry | ||
- [v] add notifications controller | ||
- [v] handle register requests - this must validate that the requestor has read access to the resource; | ||
- [v] handle unregister requests - only the webid that subscribed should be able to unsubscribe | ||
- [v] reinstate the updates-via header in HEAD requests, which was removed from solid-crud | ||
- [v] implement function to get subscription in SolidWebhook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.