264 Commits

Author SHA1 Message Date
Philip Jenvey
bcc5990eea
feat: add syncstorage-postgres
Closes STOR-330
2025-10-17 16:13:05 -07:00
Philip Jenvey
a29c8a7d48
Merge branch 'master' into release/0.21 2025-09-23 23:51:34 -07:00
Philip Jenvey
a46637db2c
chore: tag 0.21.1 2025-09-23 13:12:34 -07:00
Philip Jenvey
40b21345fa
refactor: move shared tokenserver db into tokenserver-db-common (#1801)
Closes STOR-354
2025-09-16 14:41:11 -07:00
Philip Jenvey
5dd9d4efe8
chore: tag 0.21.0 2025-09-11 14:07:13 -07:00
Taddes
1dd7dab55e
feat: tokenserver postgres schema (#1786)
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
feat: tokenserver postgres schema and documentation
2025-09-10 13:29:59 -04:00
Philip Jenvey
f2698a4251
feat: switch tokenserver to diesel-async (#1790)
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
Closes STOR-326
2025-09-08 13:08:29 -07:00
Philip Jenvey
a59661d660
Merge branch 'master' into feat/diesel-2-STOR-77 2025-08-29 13:46:26 -07:00
Philip Jenvey
6f227eb663
chore: tag 0.20.1 2025-08-29 12:54:38 -07:00
Philip Jenvey
e71980c242
feat: workaround batch_id conflicts w/ a simple retry
and don't specify patch versions of diesel in Cargo.toml

Issue STOR-77
2025-08-28 17:26:39 -07:00
Philip Jenvey
44148da7c8
merge master 2025-08-28 17:25:26 -07:00
Tommie Gannert
b9507e36c3
chore: Upgrade Diesel to 2.x.
See https://diesel.rs/guides/migration_guide.html.

- This pulls in mysqlclient-sys >=0.4.0, which allows using libmariadb instead of libmysqlclient.
  That allows using Debian's bundled client library.
  MySQL's APT repository only has packages for AMD64.
- Connections are now passed as mut refs, which requires RefCell/RwLock.
- Embedded migrations had a slight API change.
- put_bso_sync was calling update_collection without its transaction, which now causes a deadlock.
  Updated to write inside its transaction.

Signed-off-by: Tommie Gannert <tommie@gannert.se>
2025-08-28 17:07:15 -07:00
Philip Jenvey
0395cb0ed5
chore: tag 0.20.0 2025-08-13 17:53:04 -07:00
Philip Jenvey
f7db0eaa47
chore: tag 0.19.1 (#1750)
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
2025-08-13 17:44:02 -07:00
Taddes
f7197fefb8
chore: update syncstorage rust (#1749)
chore: update syncstorage rust
2025-08-13 15:14:34 -04:00
Philip Jenvey
dd546f028e
chore: strip actix-web features (#1713)
Some checks are pending
Glean probe-scraper / glean-probe-scraper (push) Waiting to run
while providing an optional actix-compress feature

also disables actix-web's cookies and unicode features

Closes STOR-256
2025-07-02 14:04:43 -07:00
Philip Jenvey
36614c3db4
chore: tag 0.18.3 2025-05-14 16:36:30 -07:00
Philip Jenvey
0148e04dd2
chore: bump to latest rust
for cargo nextest/backtrace
2025-05-07 16:49:09 -07:00
Philip Jenvey
1107eb4fa5
chore: tag 0.18.2 2024-12-05 14:17:21 -08:00
Philip Jenvey
2837c583d9
merge master 2024-12-05 14:15:54 -08:00
Philip Jenvey
bc79ccb972
chore: bump to latest sentry (#1639)
Co-authored-by: JR Conlin <jconlin+git@mozilla.com>
2024-12-04 16:50:48 -08:00
Philip Jenvey
6abde91d79
chore: tag 0.18.1 2024-11-27 12:06:50 -08:00
Philip Jenvey
a252c0a606
chore: tag 0.18.0 2024-11-26 15:36:32 -08:00
Philip Jenvey
ea6301cfd1
Merge branch 'master' into release/0.17 2024-11-26 15:05:49 -08:00
Taddes
9e9869ee06
feat: glean metrics logic (#1626)
feat: glean metrics logic
2024-11-26 17:04:38 -06:00
Philip Jenvey
c542b77305
chore: tag 0.17.15 2024-11-21 15:00:22 -08:00
Philip Jenvey
b43470f127
Merge branch 'master' into release/0.17 2024-11-21 15:00:16 -08:00
Philip Jenvey
9a97b6ce1a
fix: upgrade to latest deadpool (#1631)
which includes a fix for its incorrect metrics:

https://github.com/bikeshedder/deadpool/issues/92

Closes SYNC-4522
2024-11-21 14:59:40 -08:00
Philip Jenvey
269ee86ff6
chore: tag 0.17.14 2024-11-19 11:04:24 -08:00
Philip Jenvey
9d851ea951
chore: tag 0.17.13 2024-10-30 13:44:45 -07:00
Philip Jenvey
6105a80ec2
chore: tag 0.17.12 2024-10-29 12:50:58 -07:00
Philip Jenvey
6e8c3f2ebc
Merge branch 'master' into release/0.17 2024-10-29 12:50:47 -07:00
Philip Jenvey
b8641a6cab
fix: upgrade sentry w/ a fix for the blocking curl Transport (#1621)
includes the fix: https://github.com/getsentry/sentry-rust/pull/701

Closes SYNC-4460
2024-10-29 12:49:46 -07:00
Philip Jenvey
e06e93f4c2
chore: tag 0.17.11 2024-10-22 10:42:04 -07:00
Philip Jenvey
d3e6f81a19
chore: tag 0.17.10 2024-10-18 17:42:17 -07:00
Philip Jenvey
68e8149d07
chore: tag 0.17.9 2024-09-25 17:30:50 -07:00
Philip Jenvey
14e74e1367
chore: tag 0.17.8 2024-09-23 17:32:28 -07:00
Philip Jenvey
4d8a26e0d4
chore: tag 0.17.7 2024-09-19 13:52:04 -07:00
Philip Jenvey
8704be5724
chore: tag 0.17.6 2024-09-17 13:38:04 -07:00
Philip Jenvey
f4dd5cde7f
chore: tag 0.17.5 2024-09-12 11:43:12 -07:00
Philip Jenvey
44dd54006c
chore: tag 0.17.4 2024-09-06 12:17:06 -07:00
Philip Jenvey
ce81db2344
chore: tag 0.17.3 2024-08-29 17:56:38 -07:00
Philip Jenvey
613fcb56fd
chore: tag 0.17.2 2024-08-07 15:30:10 -07:00
Philip Jenvey
1c8e3ef870
chore: tag 0.17.1 2024-07-11 16:26:43 -07:00
JR Conlin
1713962c6a
Chore/update 2406 (#1576)
chore: Updates for Jun-2024

* f normalize diesel to 1.4

We're currenlty locked to diesel 1.4 due to some significant changes
in the `diesel_logger` crate and how it expects `Connections` to be
defined.
2024-06-25 13:29:42 -07:00
Philip Jenvey
33ffbe0d1d
chore: tag 0.17.0 2024-06-14 17:09:18 -07:00
JR Conlin
dbbdd1dfc3
feat: Remove support for BrowserID (#1531)
* feat: Remove support for BrowserID
* mark test only functions as such. I think we can drop MapAndThenTrait for more recent implementations of rust.

Closes: SYNC-3684
2024-06-14 12:51:02 -07:00
Philip Jenvey
3a969f2a9f
chore: tag 0.16.0 2024-06-11 11:20:25 -07:00
Philip Jenvey
450c3785ff
chore: tag 0.15.9 2024-05-31 16:17:56 -07:00
JR Conlin
771813087c
feat: Add normalized ReportableError to errors (#1559)
* feat: Add normalized ReportableError to errors

We want to do things like add tags and other features to sync errors the
way that we do in other packages. To do so, we're backporting
ReportableError from Autopush to Syncstorage.

This also addresses some clippy fixes required by 1.78

This continues to use the `Taggable` trait, which we may want to
port to autopush.

Closes SYNC-4262
2024-05-20 08:51:58 -07:00