6e32addcfd
Update redirect URIs when syncing clients from the config
...
Fixes #3143
2024-08-30 18:21:33 +02:00
59d0f786d6
Bump sqlx to 0.8.1
2024-08-30 16:29:41 +02:00
0fbb21aea0
build(deps): bump the sea-query group with 2 updates
...
Bumps the sea-query group with 2 updates: [sea-query](https://github.com/SeaQL/sea-query ) and [sea-query-binder](https://github.com/SeaQL/sea-query ).
Updates `sea-query` from 0.30.7 to 0.31.0
- [Release notes](https://github.com/SeaQL/sea-query/releases )
- [Changelog](https://github.com/SeaQL/sea-query/blob/master/CHANGELOG.md )
- [Commits](https://github.com/SeaQL/sea-query/commits )
Updates `sea-query-binder` from 0.5.0 to 0.6.0
- [Release notes](https://github.com/SeaQL/sea-query/releases )
- [Changelog](https://github.com/SeaQL/sea-query/blob/master/CHANGELOG.md )
- [Commits](https://github.com/SeaQL/sea-query/compare/0.5.0...0.6.0 )
---
updated-dependencies:
- dependency-name: sea-query
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: sea-query
- dependency-name: sea-query-binder
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: sea-query
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-04 23:10:53 +02:00
144de0deb2
storage: freeze the error type on BoxRepository
...
This avoids having to deal with traits bounds everywhere. It also moves
the `boxed()` method to the PgRepository, because it was unnecessary to
keep it on the `Repository` trait
2024-07-26 11:36:55 +02:00
d1b9a4980c
Update opentelemetry to 0.24.0
2024-07-25 11:01:43 +02:00
dd0c8b1a7e
build(deps): bump uuid from 1.9.1 to 1.10.0
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.9.1...1.10.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-24 17:02:27 +02:00
cef4645286
storage: add a filter by last active time on app sessions
2024-07-19 13:40:27 +02:00
62c2af5e6a
storage: add a filter by last active time on OAuth 2.0 sessions
2024-07-19 13:40:27 +02:00
8bc1ef151f
storage: add a filter by last active time on compatibility sessions
2024-07-19 13:40:27 +02:00
c6b759c56d
storage: add a filter by last active time on browser sessions
2024-07-19 13:40:27 +02:00
f083ccf333
Add an index on the last_active_at column of the sessions tables
2024-07-19 13:40:27 +02:00
e89a818ff2
Use dynamic filters on app sessions by reusing the OAuth/compat sessions filters
2024-07-16 18:23:23 +02:00
12d2f1f827
Add new filters on the OAuth and compat sessions
2024-07-16 18:23:23 +02:00
c4e7cf1a27
Use dynamic filters on browser sessions
2024-07-16 18:23:23 +02:00
aa992d31f8
Use dynamic filters on users
2024-07-16 18:23:23 +02:00
76c033b76a
Use dynamic filters on user emails
2024-07-16 18:23:23 +02:00
112f673e22
Use dynamic filters on upstream OAuth 2.0 providers
2024-07-16 18:23:23 +02:00
7c2c310cac
Use dynamic filters on upstream OAuth 2.0 links
2024-07-16 18:23:23 +02:00
7c54c5f2e6
Use dynamic filters on OAuth 2.0 sessions
2024-07-16 18:23:23 +02:00
df7bc53826
Use dynamic filters on compatibility SSO logins
2024-07-16 18:23:23 +02:00
15c2c740a7
Use dynamic filters on compatibility sessions
2024-07-16 18:23:23 +02:00
452024764a
Add a trait to help building dynamic filters
2024-07-16 18:23:23 +02:00
e47f26fde6
Update the query introspection data
2024-07-16 14:13:11 +02:00
dcaf65e6e7
Batch finish browser sessions
2024-07-16 14:13:11 +02:00
04b96b87b8
Batch finish OAuth 2.0 sessions
2024-07-16 14:13:11 +02:00
f8d12cc305
Batch finish compatibility sessions
2024-07-16 14:13:11 +02:00
3eab10672f
Add a lock during syncs of user devices
2024-07-16 09:32:07 +02:00
e75df0752d
storage: methods to list and count users with filters and pagination
2024-07-05 13:44:14 +02:00
c7b40baf9a
build(deps): bump uuid from 1.8.0 to 1.9.1
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.8.0 to 1.9.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.8.0...1.9.1 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-28 19:07:56 +02:00
b2ee5de050
storage: Add an email filter on the user email list
2024-06-28 15:59:21 +02:00
43582e7eca
Data model and repository for the user recovery flow
2024-06-28 15:59:21 +02:00
3978acd94e
Fix recently added Clippy lints
...
This also ignores the clippy::blocks_in_conditions lint in two crates,
until tracing gets fixed: https://github.com/tokio-rs/tracing/issues/2876
2024-05-07 07:32:02 +02:00
cd0ec35d2f
Soft-delete upstream OAuth 2.0 providers on config sync
2024-04-03 09:51:22 +02:00
4e3823fe4f
Add a soft-deletion column on upstream OAuth 2.0 providers
2024-04-03 09:51:22 +02:00
dde907758e
Use OTEL semantic conventions constants for most attributes
2024-03-19 17:15:14 +01:00
7e30daf83e
Replace parse-display with manual Display/FromStr impls
2024-03-19 16:38:46 +01:00
d8f5fdaf5c
Moved some dependencies in the workspace and upgrade some dependencies
2024-03-19 14:54:35 +01:00
eb950151af
Upgrade OTEL and remove support for Jaeger and Zipkin exporters
2024-03-18 17:26:40 +01:00
61a69f5af4
Upgrade chrono and replace deprecated methods usage
2024-03-18 17:26:40 +01:00
1821136e3f
Additional parameters from upstream OAuth2 providers in the data model
2024-03-01 14:36:37 +01:00
2c9b8a446d
Bump Clippy to 1.75 and Rust to 1.76
2024-02-27 16:58:43 +01:00
f3cbd3b315
Parse User Agents on the backend side ( #2388 )
...
* Parse user agents on the server side
* Parse and expose user agents on the backend
* Use the parsed user agent in the device consent page
* Fix the device icon tests
* Fix clippy warnings
* Box stuff to avoid large enum variants
* Ignore a clippy warning
* Fix the requester boxing
2024-02-23 16:47:48 +01:00
f171d76dc5
Record user agents on OAuth 2.0 and compat sessions ( #2386 )
...
* Record user agents on OAuth 2.0 and compat sessions
* Add tests for recording user agent in sessions
2024-02-22 10:01:32 +01:00
ed5893eb20
Save which user session created a compat session
...
This also exposes the user session in the GraphQL API, and allow
filtering on browser session ID on the app session list.
2024-02-21 11:55:58 +01:00
03b6ad7138
Remove the unique constraint on device IDs on compatibility sessions
...
In OAuth 2.0 sessions, we can have multiple sessions for the same device
anyway, so this constraint doesn't exactly make sense.
Fixes #2033
Fixes #2312
2024-02-20 15:50:20 +01:00
90c386847a
Setup a repository to track user terms agreements
2024-02-07 17:21:22 +01:00
17e968f7cc
Record the user agent and IP in the device code grant
2024-02-02 18:01:51 +01:00
b0042eb0c3
Clippy thinks I have too many bools in my structs
2024-02-02 18:01:51 +01:00
31936bcc00
Save whether the client supports the device code grant in the database
2024-02-02 18:01:51 +01:00
50654d2e40
Implement the device code authorisation request
2024-02-02 18:01:51 +01:00