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

217 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 2f40d62d5c
Bump the minor group with 3 updates (#175)
Bumps the minor group with 3 updates: [futures](https://github.com/rust-lang/futures-rs), [once_cell](https://github.com/matklad/once_cell) and [ipnet](https://github.com/krisprice/ipnet).


Updates `futures` from 0.3.30 to 0.3.31
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.30...0.3.31)

Updates `once_cell` from 1.20.1 to 1.20.2
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.1...v1.20.2)

Updates `ipnet` from 2.10.0 to 2.10.1
- [Release notes](https://github.com/krisprice/ipnet/releases)
- [Changelog](https://github.com/krisprice/ipnet/blob/master/RELEASES.md)
- [Commits](https://github.com/krisprice/ipnet/commits)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: ipnet
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 08:14:05 -10:00
dependabot[bot] 3492028992
Bump the minor group with 3 updates (#174)
Bumps the minor group with 3 updates: [cadence](https://github.com/56quarters/cadence), [regex](https://github.com/rust-lang/regex) and [once_cell](https://github.com/matklad/once_cell).


Updates `cadence` from 1.4.0 to 1.5.0
- [Changelog](https://github.com/56quarters/cadence/blob/master/CHANGES.md)
- [Commits](https://github.com/56quarters/cadence/compare/1.4.0...1.5.0)

Updates `regex` from 1.10.6 to 1.11.0
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.10.6...1.11.0)

Updates `once_cell` from 1.20.0 to 1.20.1
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.0...v1.20.1)

---
updated-dependencies:
- dependency-name: cadence
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-03 12:53:13 +02:00
dependabot[bot] eaacb7e3c5
Bump once_cell from 1.19.0 to 1.20.0 in the minor group (#173)
* Bump once_cell from 1.19.0 to 1.20.0 in the minor group

Bumps the minor group with 1 update: [once_cell](https://github.com/matklad/once_cell).


Updates `once_cell` from 1.19.0 to 1.20.0
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fixing lint error.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Cottner <acottner@mozilla.com>
2024-09-17 11:29:53 -06:00
dependabot[bot] 00019dc433
Bump the minor group with 4 updates (#172)
Bumps the minor group with 4 updates: [serde](https://github.com/serde-rs/serde), [serde_derive](https://github.com/serde-rs/serde), [serde_json](https://github.com/serde-rs/json) and [ipnet](https://github.com/krisprice/ipnet).


Updates `serde` from 1.0.209 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210)

Updates `serde_derive` from 1.0.209 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210)

Updates `serde_json` from 1.0.127 to 1.0.128
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/1.0.127...1.0.128)

Updates `ipnet` from 2.9.0 to 2.10.0
- [Release notes](https://github.com/krisprice/ipnet/releases)
- [Changelog](https://github.com/krisprice/ipnet/blob/master/RELEASES.md)
- [Commits](https://github.com/krisprice/ipnet/compare/2.9.0...2.10.0)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: serde_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: ipnet
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-11 11:46:47 -06:00
dependabot[bot] ed122e3342
Bump openssl from 0.10.64 to 0.10.66 in the cargo group (#166)
Bumps the cargo group with 1 update: [openssl](https://github.com/sfackler/rust-openssl).


Updates `openssl` from 0.10.64 to 0.10.66
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.66)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 12:51:44 -06:00
dependabot[bot] 53b9336ceb
Bump the minor group across 1 directory with 3 updates (#171)
Bumps the minor group with 2 updates in the / directory: [serde](https://github.com/serde-rs/serde) and [serde_json](https://github.com/serde-rs/json).


Updates `serde` from 1.0.206 to 1.0.209
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.209)

Updates `serde_derive` from 1.0.206 to 1.0.209
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.209)

Updates `serde_json` from 1.0.124 to 1.0.127
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.124...1.0.127)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: serde_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 12:49:13 -06:00
dependabot[bot] 0e3d3be301
Bump the minor group across 1 directory with 6 updates (#169)
Bumps the minor group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [actix-web](https://github.com/actix/actix-web) | `4.7.0` | `4.9.0` |
| [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) | `1.4.0` | `1.5.0` |
| [regex](https://github.com/rust-lang/regex) | `1.10.5` | `1.10.6` |
| [serde](https://github.com/serde-rs/serde) | `1.0.203` | `1.0.206` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.117` | `1.0.124` |



Updates `actix-web` from 4.7.0 to 4.9.0
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/web-v4.7.0...web-v4.9.0)

Updates `lazy_static` from 1.4.0 to 1.5.0
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.4.0...1.5.0)

Updates `regex` from 1.10.5 to 1.10.6
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.10.5...1.10.6)

Updates `serde` from 1.0.203 to 1.0.206
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.206)

Updates `serde_derive` from 1.0.203 to 1.0.206
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.206)

Updates `serde_json` from 1.0.117 to 1.0.124
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.117...v1.0.124)

---
updated-dependencies:
- dependency-name: actix-web
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: lazy_static
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: serde_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 09:10:59 +01:00
Alex Cottner a577251825
/v1/country endpoint should handle all verbs, as ichnea did (#160)
* Handle all verbs for /v1/country
2024-06-13 10:15:01 -06:00
Alex Cottner 8e531cdfe8
Coalescing invalid keys to 'invalid-key' for country metrics (#159) 2024-06-12 14:22:15 -06:00
dependabot[bot] 43445d6ad6
Bump the minor group with 8 updates (#158)
* Bump the minor group with 8 updates

Bumps the minor group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [actix](https://github.com/actix/actix) | `0.13.3` | `0.13.5` |
| [actix-web](https://github.com/actix/actix-web) | `4.6.0` | `4.7.0` |
| [actix-rt](https://github.com/actix/actix-net) | `2.9.0` | `2.10.0` |
| [regex](https://github.com/rust-lang/regex) | `1.10.4` | `1.10.5` |
| [sentry](https://github.com/getsentry/sentry-rust) | `0.32.3` | `0.34.0` |
| [sentry-actix](https://github.com/getsentry/sentry-rust) | `0.32.3` | `0.34.0` |
| [serde](https://github.com/serde-rs/serde) | `1.0.202` | `1.0.203` |
| [serde_derive](https://github.com/serde-rs/serde) | `1.0.202` | `1.0.203` |


Updates `actix` from 0.13.3 to 0.13.5
- [Release notes](https://github.com/actix/actix/releases)
- [Commits](https://github.com/actix/actix/compare/actix-v0.13.3...actix-v0.13.5)

Updates `actix-web` from 4.6.0 to 4.7.0
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/web-v4.6.0...web-v4.7.0)

Updates `actix-rt` from 2.9.0 to 2.10.0
- [Release notes](https://github.com/actix/actix-net/releases)
- [Commits](https://github.com/actix/actix-net/compare/rt-v2.9.0...rt-v2.10.0)

Updates `regex` from 1.10.4 to 1.10.5
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.10.4...1.10.5)

Updates `sentry` from 0.32.3 to 0.34.0
- [Release notes](https://github.com/getsentry/sentry-rust/releases)
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.32.3...0.34.0)

Updates `sentry-actix` from 0.32.3 to 0.34.0
- [Release notes](https://github.com/getsentry/sentry-rust/releases)
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.32.3...0.34.0)

Updates `serde` from 1.0.202 to 1.0.203
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.202...v1.0.203)

Updates `serde_derive` from 1.0.202 to 1.0.203
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.202...v1.0.203)

---
updated-dependencies:
- dependency-name: actix
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: actix-web
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: actix-rt
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: sentry
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: sentry-actix
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: serde_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Removing publish workflow

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Cottner <acottner@mozilla.com>
2024-06-10 11:41:39 -06:00
Alex Cottner 465b05cac9
Adding metrics for country hit/miss (#157) 2024-06-07 10:29:53 -06:00
Alex Cottner 034f0d7704
Upgrading dependencies, fixing CI test, updating dependabot config (#154)
* Upgrading several dependencies
* Bumping min rust version
* Fixing CI test
2024-06-03 13:12:11 -06:00
Alex Cottner 6acb8b26b0
Macking geolite DB optional in dockerfile build as it can be injected later. (#155) 2024-05-31 08:53:09 -06:00
Alex Cottner efd97ca673
Moved API key loading/caching to startup. Added error logs and tests. (#153)
* Moved API key loading/caching to startup. Added error logs and tests.
2024-04-23 09:09:22 -06:00
Alex Cottner 4600b2fbf0
Allow downstream builds to self-identify for /v1/country, 404 /v1/geolocate (#152)
* Working on downstream firefox key changes.
* Added api_key metric and tests
* allowing path override for apiKeys.json file
* pulling env var in a consistent way
* updating depds
* updating readme
2024-04-19 11:42:46 -06:00
Alex Cottner 3bacc1fe9b
Adjusting paths for mls compatibility (#149) 2024-03-18 12:13:12 -06:00
Alex Cottner 03b26e7c00
Issue #132 - Added needed routes for geolocate (#133) 2024-03-14 09:44:24 -06:00
Mathieu Leplatre a7bd632a63
Fix #69: enable Sentry (#136)
* Fix #69: enable Sentry

* Install dependencies
2023-12-25 20:26:59 +01:00
Mathieu Leplatre 467fa95276
Switch CI to Github Actions (#135)
* Switch CI to Github Actions

* Remove superfluous stuff

* Fix usage of secret in action run command
2023-12-25 20:26:47 +01:00
Mathieu Leplatre bc2914656e
Enable Dependabot weekly updates (#131) 2023-12-22 10:34:33 +01:00
Mathieu Leplatre 7fead23dd6
Run `cargo update` (#129)
* Run `cargo update`

* Remove superfluous into_iter()

* Build container with Rust 1.74
2023-12-19 17:10:52 +01:00
Mathieu Leplatre ea2fa80284
Merge pull request #125 from mozilla/remove-ci-docker-bases
Fix #121: Remove use of ci-docker bases
2022-08-03 17:13:35 +02:00
Mathieu Leplatre f72bc136e6
Save Docker image in /tmp 2022-07-15 15:59:24 +02:00
Mathieu Leplatre e50273816f
Do not set working directory explicitly 2022-07-15 15:50:44 +02:00
Mathieu Leplatre f4bebcb0da
Use cimg/base:current for docker steps 2022-07-15 15:47:45 +02:00
Mathieu Leplatre 43deee44a5
Use rust:latest 2022-07-15 15:47:31 +02:00
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