autopush-rs icon indicating copy to clipboard operation
autopush-rs copied to clipboard

Push Server in Rust

Results 103 autopush-rs issues
Sort by recently updated
recently updated
newest added

The python code may have been lenient about accepting not strictly formattted JSON arguments. We should enforce JSON compliance with compound args like, Auth Keys, Bridge configuration arguments, etc. We...

3

Because we can't have nice things, we get stuff like: https://krebsonsecurity.com/2020/11/be-very-sparing-in-allowing-site-notifications/ Google already requires VAPID headers for subscription updates. This would help us isolate potentially abusive providers who may be...

enhancement
help wanted
8

Per https://github.com/mozilla-services/autopush/issues/1443, we should ensure that the correct status is returned.

3

`settings include_port` creates a standardized host & port. It should be made `pub(crate)` and used whenever we need to construct a host & port (e.g. when checking VAPID `aud` fields)

2

see [this comment](https://github.com/mozilla-services/autopush-rs/blob/9b93817776bb7c8f27383185a1b5ce08607a6b35/autoendpoint/src/middleware/sentry.rs#L83-L84) for details.

3

Inactive entries in the router table should be removed. An entry should be considered inactive if: * router_type == "webpush" & last_connect < current date - 60 days Once #222...

3
cleanup

Mobile devices generally only connect once. We already drop records for devices that are reported as "Unregistered" by the bridge system. We can therefore apply similar logic to the inbound...

3
cleanup

Logging this separately from #132 as it'll be its own chunk of work. This is the most recent hyper released a couple months ago, switching everything to `std::future::Future` (and associated...

enhancement
5

Per https://sentry.prod.mozaws.net/operations/autopush-prod/issues/7863037/ We should include the actual error's message that caused these.

enhancement

Notifications include a created at time (the `timestamp` field). Assuming the endpoint and connection nodes clocks are accurate/in sync, we should be able to track the total time taken from...

3