124: Fix app_data access, which I broke in the Actix Web 4 upgrade. r=smarnach a=smarnach
Accessing application state changed in Actix Web 4, and I implemented the changes in #123 only incompletely. With this change, we always use the `Data` wrapper for the endpoint state, which fixes the problem.
Co-authored-by: Sven Marnach <sven@mozilla.com>
123: Update dependencies r=smarnach a=smarnach
The only step that required substantial changes was upgrading actix-web. I followed the migration guide at https://github.com/actix/actix-web/blob/master/actix-web/MIGRATION-4.0.md.
The old version included both tokio 0.x and 1.x in the dependency graph, which are known to not work together. With this PR, tokio get included only a single time.
Co-authored-by: Sven Marnach <sven@mozilla.com>
120: Disable renovate r=mythmon a=mythmon
Classify Client is essentially in maintenance mode, and doesn't need regular dependency updates.
Co-authored-by: Michael Cooper <mythmon@gmail.com>
89: Update rust Docker tag to v1.39 r=mythmon a=renovate[bot]
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| rust | stage | minor | `1.38-slim-stretch` -> `1.39-slim-stretch` |
---
### Renovate configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box
---
Newsflash: Renovate has joined WhiteSource, and is now free for all use. [Learn more](https://renovate.whitesourcesoftware.com/blog/renovate-is-now-part-of-whitesource/) or view updated [terms](https://renovate.whitesourcesoftware.com/terms-of-service/) and [privacy](https://renovate.whitesourcesoftware.com/privacy-policy/) policies.
Co-authored-by: Renovate Bot <bot@renovateapp.com>
88: Fix#87: pick up IP in US for heartbeat r=mythmon a=leplatrem
...I don't know if that's the most sustainable way of fixing #87
Co-authored-by: Mathieu Leplatre <mathieu@mozilla.com>
74: Update Rust crate envy to ^0.4.0 r=mythmon a=renovate[bot]
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| envy | dependencies | minor | `^0.3.3` -> `^0.4.0` |
---
### Renovate configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://togithub.com/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#mozilla/classify-client).
Co-authored-by: Renovate Bot <bot@renovateapp.com>
72: Update Rust crate actix to ^0.8.0 r=mythmon a=renovate[bot]
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| actix | dependencies | minor | `^0.7` -> `^0.8.0` |
---
### Renovate configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://togithub.com/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#mozilla/classify-client).
Co-authored-by: Renovate Bot <bot@renovateapp.com>
73: Update Rust crate cadence to ^0.19.0 r=mythmon a=renovate[bot]
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| cadence | dependencies | minor | `^0.16.0` -> `^0.19.0` |
---
### Renovate configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://togithub.com/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#mozilla/classify-client).
Co-authored-by: Renovate Bot <bot@renovateapp.com>
71: Update rust Docker tag to v1.38 r=mythmon a=renovate[bot]
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| rust | stage | minor | `1.37-slim-stretch` -> `1.38-slim-stretch` |
---
### Renovate configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://togithub.com/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#mozilla/classify-client).
Co-authored-by: Renovate Bot <bot@renovateapp.com>
67: Update actix-web to 1.0 r=leplatrem,jaredkerim a=mythmon
This is a large change, since actix-web changed significantly. It also removes
Sentry integration, because currently the Sentry integration with Actix does
not support actix-web 1.0.
The biggest change is that the geoip looks now happen on the same thread instead of a separate shared set of workers. This was a neat trick we did in the initial implementation. I know that it can be done with Actix 1.0, but I didn't want to take the time to figure out how to do it right now. I suggest we load test this implementation, and if it performs similarly to the other one, keep this simpler implementation.
Co-authored-by: Mike Cooper <mythmon@gmail.com>
Co-authored-by: Michael Cooper <mythmon@gmail.com>
This is a large change, since actix-web changed significantly. It also removes
Sentry integration, because currently the Sentry integration with Actix does
not support actix-web 1.0.