Граф коммитов

191 Коммитов

Автор SHA1 Сообщение Дата
bors[bot] ca26217b49
Merge #124
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>
2022-05-06 15:29:33 +00:00
Sven Marnach 751f489966
Fix app_data access, which I broke in the Actix Web 4 upgrade. 2022-05-06 14:09:33 +02:00
bors[bot] e5b6824212
Merge #123
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>
2022-05-05 10:25:35 +00:00
Sven Marnach fe59a370a6
Ignore chrono vulnerabilities we are not affected by. 2022-05-05 11:48:03 +02:00
Sven Marnach 54a3fcf437
Fix clippy lints in tests. 2022-04-29 10:37:52 +02:00
Sven Marnach a4a77dc4d1
Use latest Docker images for CI and production build. 2022-04-29 10:26:47 +02:00
Sven Marnach 48fe07da6f
Upgrade Actix Web to 4.0.
Co-authored-by: Brett Kochendorfer <brett.kochendorfer@gmail.com>
2022-04-28 15:54:23 +02:00
Sven Marnach 7a9693734b
Upgrade maxminddb to latest version. 2022-04-28 14:46:04 +02:00
Sven Marnach bf48daa96a
Upgrade cadence to latest version. 2022-04-28 14:46:03 +02:00
Sven Marnach c6e22ce660
Upgrade to 2021 edition of Rust. 2022-04-28 14:46:03 +02:00
Sven Marnach 170cb72374
Run `cargo update`. 2022-04-28 14:45:38 +02:00
bors[bot] 20c79a48b5
Merge #120
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>
2021-05-26 18:40:53 +00:00
Michael Cooper 91b10e0900
Disable renovate
Classify Client is essentially in maintenance mode, and doesn't need regular dependency updates.
2021-05-26 11:40:17 -07:00
bors[bot] bedb3dba2e
Merge #114
114: 2021 Updates r=jrconlin a=mythmon

- Remove automatic geoip database download
- Update to Rust 1.52 and fix clippy lints
- Update to actix-web 2
- Update to actix-web 3
- Update remaining crates

Co-authored-by: Michael Cooper <mythmon@gmail.com>
2021-05-26 18:27:58 +00:00
Michael Cooper f5e2226da5
Use curl instead of wget for more compatibility 2021-05-17 11:04:36 -07:00
Michael Cooper 5287d84a21
Download geolite database using MaxMind API 2021-05-17 10:56:08 -07:00
Michael Cooper 0c0b758525
Update remaining crates 2021-05-13 16:20:05 -07:00
Michael Cooper 836b175b7e
Update to actix-web 3 2021-05-13 16:20:04 -07:00
Michael Cooper 10c4a5f2d1
Update to actix-web 2 2021-05-13 16:20:04 -07:00
Michael Cooper 553e06cf9a
Update to Rust 1.52 and fix clippy lints 2021-05-13 16:20:04 -07:00
Michael Cooper a6c6ee8229
Remove automatic geoip database download 2021-05-13 14:32:43 -07:00
Mathieu Leplatre 00fa42b5dd
Merge pull request #92 from mozilla/renovate/docker-rust-1.x
Update rust Docker tag to v1.40
2019-12-23 09:30:56 +01:00
Renovate Bot 39b9125dee
Update rust Docker tag to v1.40 2019-12-20 01:22:18 +00:00
bors[bot] d0bd4e7eb0
Merge #89
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>
2019-11-14 18:23:31 +00:00
bors[bot] 9bce469e45
Merge #88
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>
2019-11-13 22:04:30 +00:00
Michael Cooper f12c8ccb49
Update cidockerbases images (#91)
Update cidockerbases images
2019-11-13 13:52:36 -08:00
Mike Cooper 281911ef21
Fix yaml syntax in CircleCI config 2019-11-13 13:31:46 -08:00
Mathieu Leplatre bd09da1e7d
Merge remote-tracking branch 'origin/master' into 87-fix-heartbeat-dummy-ip 2019-11-13 21:50:16 +01:00
Mathieu Leplatre 2aba503952
Merge pull request #90 from mythmon/ignore-rustsec-2018-0015
Ignore RUSTSEC-2018-0015
2019-11-13 21:49:54 +01:00
Mike Cooper 9b1f6727cb
Update cidockerbases images 2019-11-13 10:21:08 -08:00
Mike Cooper c4ae6aca11
Ignore RUSTSEC-2018-0015
This is that the package is now unmaintained. This is not an immediate security problem that should block our CI.
2019-11-13 09:31:32 -08:00
Mathieu Leplatre 56c72b6f17
Merge remote-tracking branch 'origin/master' into 87-fix-heartbeat-dummy-ip 2019-11-13 15:38:09 +01:00
Mathieu Leplatre 0325d05a67
Use !.is_empty()
Co-Authored-By: Michael Cooper <mythmon@gmail.com>
2019-11-13 11:10:41 +01:00
Mathieu Leplatre afc86ef671
Loosen heartbeat test
As suggested by @mythmon
2019-11-12 17:38:04 +01:00
Renovate Bot 3d53a880d2
Update rust Docker tag to v1.39 2019-11-08 04:21:43 +00:00
Michael Cooper 5d1ace5404
Upgrade term to 0.6.1 (#85)
Upgrade term to 0.6.1
2019-11-07 09:13:09 -08:00
Mathieu Leplatre 52c1e76478
Fix #87: pick up IP in US for heartbeat 2019-11-07 12:48:23 +01:00
Mathieu Leplatre 4ae323ef68
Upgrade term to 0.6.1 2019-11-04 12:56:26 +01:00
bors[bot] 0f52d0dd98
Merge #74
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>
2019-10-08 16:12:20 +00:00
Renovate Bot a723461503
Update Rust crate envy to ^0.4.0 2019-10-08 15:59:52 +00:00
bors[bot] 1dc82769f1
Merge #72
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>
2019-10-08 15:59:18 +00:00
bors[bot] 7160fed530
Merge #73
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>
2019-10-08 15:38:52 +00:00
Renovate Bot 41373e43d8
Update Rust crate cadence to ^0.19.0 2019-10-08 08:26:35 +00:00
Renovate Bot 05018e94ba
Update Rust crate actix to ^0.8.0 2019-10-08 08:25:34 +00:00
bors[bot] 13713f5bb9
Merge #71
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>
2019-09-27 23:27:52 +00:00
Renovate Bot f23fa050dd
Update rust Docker tag to v1.38 2019-09-27 00:23:02 +00:00
bors[bot] 8e379de554
Merge #67
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>
2019-09-20 17:40:13 +00:00
Mike Cooper dd2d8d661a
Remove unused code 2019-09-20 10:39:24 -07:00
Michael Cooper 5160ff58fd Add semver ranges for actix and futures dependencies 2019-09-19 12:52:36 -07:00
Mike Cooper 95453ba75e Update actix-web to 1.0
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.
2019-09-18 15:00:31 -07:00