Commit Graph
6896 Commits
Author SHA1 Message Date
Eric Eastwood 93312fb97b Add tests for old vs recent 2026-04-09 21:36:39 -05:00
Eric Eastwood dfe77c4b82 Cheeky filter inactive
See https://github.com/element-hq/matrix-authentication-service/pull/5607#discussion_r3057979830
2026-04-09 19:45:02 -05:00
Eric Eastwood 37a1a46d54 Add future FIXME to expose violations
See https://github.com/element-hq/matrix-authentication-service/pull/5607#discussion_r3058112947
2026-04-09 17:50:19 -05:00
Eric Eastwood 9284324663 Use slice pattern matching
See https://github.com/element-hq/matrix-authentication-service/pull/5607#discussion_r3058047468
2026-04-09 17:22:10 -05:00
Eric Eastwood 9b3e78909a Fix cargo doc not being able to resolve ExperimentalSessionLimitConfig
Fix https://github.com/element-hq/matrix-authentication-service/pull/5607#discussion_r3047813509
2026-04-09 16:58:08 -05:00
Eric Eastwood fcf6591588 Pass in session_limit to policy as BaseData 2026-04-09 11:01:53 -05:00
Eric Eastwood 8a3acae1ae Revert "Pass in session_limit_config directly to policy"
This reverts commit 724e0cf5ca.
2026-04-09 10:08:31 -05:00
Eric Eastwood a080e95bc0 Better clippy::uninlined_format_args 2026-04-07 15:56:22 -05:00
Eric Eastwood fe2ce41009 Run sh misc/update.sh 2026-04-07 15:49:02 -05:00
Eric Eastwood d02b216d72 Run cargo +nightly fmt 2026-04-07 15:45:38 -05:00
Eric Eastwood c794993b01 Merge branch 'main' into madlittlemods/hard_limit_eviction 2026-04-07 15:43:44 -05:00
matrixbot 7bdbdd6901 Automatic merge back to main (#5614) 2026-04-07 18:28:27 +02:00
github-actions[bot] f576332bb2 1.15.0 v1.15.0 2026-04-07 16:20:20 +00:00
matrixbot 0adc96f157 Translations updates for v1.15 (#5613) 2026-04-07 17:08:34 +02:00
github-actions[bot] 65133f1418 Translations updates 2026-04-07 14:59:22 +00:00
Eric Eastwood 3e76fe92e9 Tighten up descriptions 2026-04-06 19:36:27 -05:00
Eric Eastwood 12b837fc80 Assert most recent 2026-04-06 19:29:18 -05:00
Eric Eastwood ec540bf8ff Add test_hard_limit_eviction_compat_login 2026-04-06 18:40:34 -05:00
Eric Eastwood 724e0cf5ca Pass in session_limit_config directly to policy
Revert changes from
https://github.com/element-hq/matrix-authentication-service/pull/5221. I
assume it was done that way as the "session_limit_config" doesn't change
after the server is created. But this makes downstream usage complicated as
you whenever you create `SiteConfig`, you also have to make sure to configure
whatever else is necessary.

Easier to just pass in `session_limit_config` as necessary whenever
we evaluate the policy
2026-04-06 18:28:50 -05:00
Eric Eastwood c77afd5243 Add some tests 2026-04-06 17:45:26 -05:00
Eric Eastwood fc3bba48e7 Remove nested valid check 2026-04-06 16:36:10 -05:00
Eric Eastwood 45971fa42f Remove session_counts reference change 2026-04-06 16:28:48 -05:00
Eric Eastwood 04ccd6def5 num_sessions_removed 2026-04-06 16:27:13 -05:00
Eric Eastwood 9d7e941344 Generic process_violations_for_compat_login 2026-04-06 16:25:45 -05:00
Eric Eastwood 611c684e21 Better error 2026-04-06 16:08:02 -05:00
Eric Eastwood dfdc2edf2d Add potential repo.compat_session().finish_bulk(...) plans 2026-04-06 15:25:01 -05:00
Eric Eastwood d75b37c126 Run sh misc/update.sh 2026-04-06 15:13:16 -05:00
Eric Eastwood 6f2f63238a Comment in better place 2026-04-06 15:10:45 -05:00
Eric Eastwood a2eba2891f Fix type problems 2026-04-06 15:01:35 -05:00
Eric Eastwood 8964793f31 Draft: Evict old devices 2026-04-06 14:51:18 -05:00
Eric Eastwood d407efcbe7 Fix warning: it is more idiomatic to use Option<&T> instead of &Option<T>`` 2026-04-03 17:55:31 -05:00
Eric Eastwood ae0e08db14 Thread through some site_config.session_limit 2026-04-03 17:54:29 -05:00
Eric Eastwood 5532c0cda9 Better rustdoc links 2026-04-03 17:42:09 -05:00
Eric Eastwood e4c1be96fc Disabled by default 2026-04-03 16:03:49 -05:00
Eric Eastwood 0927f68d76 More refined figment error 2026-04-03 16:01:17 -05:00
Eric Eastwood 5462277f63 Validation (take 1) 2026-04-03 15:40:12 -05:00
Eric Eastwood 65ae2b6a35 Update session limit doc strings and add hard_limit_eviction 2026-04-03 15:01:19 -05:00
Quentin Gliech 0f4ce9eccb Automatic merge back to main (#5593) 2026-03-31 19:01:43 +02:00
github-actions[bot] 38d8aed2b9 1.15.0-rc.0 v1.15.0-rc.0 2026-03-31 11:54:23 +00:00
Quentin Gliech f43b194bfc Update command to list admin users in CLI docs (#5589) 2026-03-31 13:53:13 +02:00
Quentin Gliech 856fb7aec3 build(deps): bump the opentelemetry group across 1 directory with 2 updates (#5567) 2026-03-31 13:18:52 +02:00
Quentin Gliech b0c878026e Use get_otel_context instead of accessing OtelData directly
`OtelData` is going to become private in a future version of
`tracing-opentelemetry`. Use the new `get_otel_context` function
introduced in 0.32.1 to extract the trace ID from the span context.
2026-03-31 12:24:08 +02:00
Quentin Gliech 2c83fcfd56 build(deps-dev): bump the graphql-codegen group in /frontend with 3 updates (#5549) 2026-03-31 12:20:05 +02:00
Quentin Gliech 5f7aed94f9 build(deps-dev): bump happy-dom from 20.5.0 to 20.8.9 in /frontend (#5590) 2026-03-31 12:16:04 +02:00
Quentin Gliech 1ac6ffb5ca build(deps): bump codecov/codecov-action from 5.5.2 to 6.0.0 (#5585) 2026-03-31 12:08:09 +02:00
Quentin Gliech 50b574a086 build(deps): bump picomatch in /frontend (#5581) 2026-03-31 12:07:48 +02:00
Quentin Gliech 380671acbc build(deps): bump sigstore/cosign-installer from 4.1.0 to 4.1.1 (#5584) 2026-03-31 12:06:41 +02:00
Quentin Gliech baa96bea3a build(deps): bump actions/deploy-pages from 4.0.5 to 5.0.0 (#5583) 2026-03-31 12:06:31 +02:00
Quentin Gliech 551fce45b7 Fix scheduled jobs automatic cleanup not working in some conditions (#5574) 2026-03-31 12:05:33 +02:00
Quentin Gliech 5c2b2de15c Enable the tls-provider-agnostic feature of opentelemetry-otlp 2026-03-31 12:03:55 +02:00