nexy7574
9dbd0e654c
fix build errors
2025-05-31 21:23:39 +01:00
Jade Ellis
bb9e8af4e0
fixup! fix OidcResponse: reimplement IntoResponse
2025-05-21 12:47:45 +01:00
lafleur
71201c780a
fix OidcResponse: reimplement IntoResponse
2025-05-21 12:47:45 +01:00
Jade Ellis
4692a936a7
chore: fix up
2025-05-21 12:47:45 +01:00
lafleur
a76480be48
oidc: small cosmetics + typos
2025-05-21 12:47:45 +01:00
lafleur
aa2575be3e
remove stale debugging logs
...
I don't have the hd space to do debug builds, so I use tracing::info to debug
on release builds. Silly, right ?
2025-05-21 12:47:45 +01:00
lafleur
8f3fdb0023
use config.server_name as title in OIDC pages
2025-05-21 12:47:44 +01:00
lafleur
95f25f67cf
fix oidc_provider discovery message and docstrings
2025-05-21 12:47:44 +01:00
lafleur
8beaa55352
typos oidc_provider discovery
2025-05-21 12:47:44 +01:00
lafleur
ad6297c1c8
fix oidc_provider config section's doc generation
2025-05-21 12:47:44 +01:00
Jade Ellis
168c21bb27
fix: Don't crash when the client URL doesn't have a domain
...
Having a URL with an IP literal, for example, is allowed
2025-05-21 12:47:43 +01:00
Jade Ellis
c1bad98702
fix: Use correct CSP for login page
2025-05-21 12:47:43 +01:00
Jade Ellis
5c73d3d168
chore: Ignore formatting PR in blame
2025-05-21 12:47:43 +01:00
Jade Ellis
4f8afcf3e1
chore: Fix most clippy issue, format & typos
2025-05-21 12:47:43 +01:00
lafleur
6c5289192d
remove stale dependency oxide-auth-axum
2025-05-21 12:47:42 +01:00
lafleur
ec2c2bb27c
feat(oidc_provider) use askama templates
...
Implements a custom OidcResponse with CSP headers and oxide-auth processing
compatibility.
2025-05-21 12:47:42 +01:00
lafleur
bfbd7abf44
rebase on current main
2025-05-21 12:47:42 +01:00
lafleur
fc62213e64
impl MSC2966: register clients dynamically
2025-05-21 12:47:42 +01:00
lafleur
a96a5b3219
impl MSC2964: OIDC token flow
2025-05-21 12:47:42 +01:00
lafleur
f8c7b2ae3a
impl MSC2965: self-advertise as OIDC authentication provider
...
MSC2965 proposes to let the homeserver advertise its current OIDC authentication
issuer. These changes let conduwuit advertise itself as the issuer when
[global.auth.enable_oidc_login] is set. It also advertises its account management
endpoint if [global.auth.enable_oidc_account_management] is set.
None of these endpoints are implemented. This commit only implements the bare
advertisement, as requested by the MSC.
2025-05-21 12:47:41 +01:00
Jade Ellis
dcbc4b54c5
ci: Always show sccache stats
2025-05-21 12:45:25 +01:00
Jade Ellis
fce024b30b
chore: Add must_use annotation
2025-05-21 12:45:14 +01:00
Jade Ellis
3e4e696761
fix: Make sure empty VERSION_EXTRA strings are ignored
...
Also updates built & removes unused optional features
2025-05-21 12:35:36 +01:00
Jason Volk
f605913ea9
Eliminate associated Id type from trait Event.
...
Co-authored-by: Jade Ellis <jade@ellis.link>
Signed-off-by: Jason Volk <jason@zemos.net>
2025-05-21 11:36:15 +01:00
Jason Volk
44302ce732
Eliminate explicit parallel_fetches argument.
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-05-21 11:36:15 +01:00
Jason Volk
bfb0a2b76a
Remove unused Pdu::into_any_event().
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-05-21 11:36:14 +01:00
Jason Volk
fcd5669aa1
Join jemalloc background threads prior to exit.
...
Co-authored-by: Jade Ellis <jade@ellis.link>
Signed-off-by: Jason Volk <jason@zemos.net>
2025-05-21 11:36:13 +01:00
Jade Ellis
9b8b37f162
docs: Badges for mirrors
2025-05-21 02:51:09 +01:00
Jade Ellis
7a46563f23
ci: Cache docker image build mounts
2025-05-21 01:48:25 +01:00
Jade Ellis
1bf6537319
build: Split docker target cache by target platform
2025-05-20 22:47:55 +01:00
Jade Ellis
4ed04b343a
build: Use xtrace in bash scripts in Dockerfile
2025-05-20 22:13:13 +01:00
Jade Ellis
a4ad72e11d
ci: Run cargo test
2025-05-20 21:48:40 +01:00
Jade Ellis
1f57508879
ci: Don't clippy check dependancies
2025-05-20 21:47:35 +01:00
Jade Ellis
a325dfa56a
ci: Use timelord in clippy check
2025-05-20 21:47:27 +01:00
Jade Ellis
b5d2ef9a4a
ci: Refactor timelord to its own action
2025-05-20 21:36:01 +01:00
Jade Ellis
e200a7d991
ci: Cache Rust registry
2025-05-20 21:36:01 +01:00
Jade Ellis
034762c619
chore: Allow raw string hashes for metadata crate
2025-05-20 21:36:00 +01:00
Jade Ellis
e31d261e66
ci: Run clippy check
2025-05-20 21:36:00 +01:00
Jade Ellis
c5db43ba9a
chore: Docker ignore forgejo files
2025-05-20 21:31:41 +01:00
Jade Ellis
ec08e16b9f
build: Allow builder to decide on incremental or not
2025-05-20 21:31:41 +01:00
Jade Ellis
f14725a51b
ci: Check formatting
...
Also moves rustup installation to a seperate workflow and
enables caching.
The sccache action required a github.com api token, so we set
all that up too.
2025-05-20 21:31:41 +01:00
Jade Ellis
d03325c65a
chore: Set editorconfig for workflows
2025-05-20 21:31:40 +01:00
Jade Ellis
066794fe90
ci: Don't try build images on PR
2025-05-20 21:31:40 +01:00
Jade Ellis
beee996f72
docs: Rename conduwuit to continuwuity in more places
2025-05-10 20:37:08 +01:00
Jade Ellis
7c58e40c96
chore(typos): Ignore certificate files
2025-05-10 19:42:40 +01:00
Jade Ellis
5577ddca27
chore: Add CONTINUWUITY_ environment variables
...
Also updates some examples to match
2025-05-10 12:54:33 +01:00
Jade
c0f46269b5
docs: Fix name in README
2025-05-08 09:38:47 +00:00
Jade Ellis
01594a6243
chore: Fix typos across the codebase
2025-05-06 20:51:12 +01:00
Jade Ellis
d78fc53577
ci: Fix bad comparison
2025-05-01 21:27:12 +01:00
Jade Ellis
e3ae024ed3
chore: Link to Matrix rooms directly
2025-05-01 21:23:37 +01:00