Commit Graph

2062 Commits (9453dbc7408c2ad043c5801bd0f25edd2f1769b7)
 

Author SHA1 Message Date
Timo Kösters f4dd051a1d Merge branch 'sd-notify' into 'next'
call sd-notify after init and before exit

See merge request famedly/conduit!426
2 years ago
Vladan Popovic 06d3efc4d0 feat(systemd): call sd-notify after init and before exit 2 years ago
Vladan Popovic 66ad114e19 feat: add systemd feature flag 2 years ago
Jonas Zohren 4b737b46ac Merge branch 'cross-compiling' into 'next'
Added cross-compilation instructions

See merge request famedly/conduit!430
2 years ago
Orhideous bcd522e75f Added cross-compilation instructions to DEPLOY.md 2 years ago
Jonas Zohren 249960b111 Merge branch 'fix-lock' into 'next'
Update Cargo.lock

See merge request famedly/conduit!427
2 years ago
Andriy Kushnir (Orhideous) 583aea187b
Update Cargo.lock 2 years ago
Timo Kösters 396dac6d82 Merge branch 'fixroomleave' into 'next'
fix: unable to leave room

See merge request famedly/conduit!419
2 years ago
Timo Kösters 9149be31af Merge branch 'logs-cleanup' into 'next'
Clean some noisy logs

See merge request famedly/conduit!423
2 years ago
Timo Kösters 32a4ded4a1 Merge branch 'Nyaaori/reduce-generated-token-length' into 'next'
Reduce length of generated access tokens and session ids

See merge request famedly/conduit!386
2 years ago
Timo Kösters e3dabdf525 Merge branch 'Nyaaori/cleanup' into 'next'
misc. cleanup

See merge request famedly/conduit!420
2 years ago
Nyaaori b59304a4df
Reduce length of generated access tokens and session ids
Reduces generated tokens and session ids down to 32 characters (~190 bits of entropy) in length
2 years ago
Nyaaori 66bc41125c
refactor: cleanup 2 years ago
Nyaaori 6786c44f4d
chore: Fix MSRV
Ruma requires Rust 1.64
2 years ago
Andriy Kushnir (Orhideous) a3a1db124d
Clean some noisy logs 2 years ago
Timo Kösters 3b3c451c83
fix: unable to leave room 2 years ago
Timo Kösters cf99316082 Merge branch 'dendritefix' into 'next'
Dendrite invite fix

See merge request famedly/conduit!416
2 years ago
Timo Kösters c063700255
fix: invite dendrite users 2 years ago
Timo Kösters 7540227388
chore: bump dependencies 2 years ago
Ticho 34782694 09015f113c Describe a better way to enforce Content-Type in nginx
add_header will not override the Content-Type header set by the server,
but will instead add another header below, which is obviously not ideal.

The proposed change will instead tell nginx to set the correct value for
this header straight away.
2 years ago
Paul Beziau a2d8aec1e3 Moving the unwraping of a variable
Moving the unwraping of the variable "rule" inside the condition instead of the if body, for the migration of the database from version 11 to 12.
2 years ago
Timo Kösters ccdaaceb33 Merge branch 'ci-revamp-2022-10' into 'next'
Fix CI

See merge request famedly/conduit!414
2 years ago
Jonas Zohren b37876f3b2 fix(ci): Only build in (remote host) docker and switch to glibc 2 years ago
Timo Kösters e8e0a4dcc5 Merge branch 'Nyaaori/fix-trusted-server-panic' into 'next'
Cleanly handle invalid response from trusted server instead of panicking

See merge request famedly/conduit!411
2 years ago
Nyaaori 23cf39c525
Cleanly handle invalid response from trusted server instead of panicking 2 years ago
Nyaaori 00996dd834
Cargo Clippy 2 years ago
Timo Kösters 2a52f666dc Merge branch 'fixtyping' into 'next'
Fix typing indicators and unencrypted messages in encrypted rooms

See merge request famedly/conduit!409
2 years ago
Timo Kösters 0cf6545116
fix: not sending enough state on join 2 years ago
Timo Kösters 5d691f405e
fix: stuck typing indicators 2 years ago
Timo Kösters c61914c8e1 Merge branch 'fixhead' into 'next'
fix: HEAD requests should continue to produce METHOD_NOT_ALLOWED

See merge request famedly/conduit!402
2 years ago
Timo Kösters 9548c84d32 Merge branch 'fixnotifcount' into 'next'
fix: element android did not reset notification counts

See merge request famedly/conduit!408
2 years ago
Timo Kösters 02dd3d32f2
fix: element android did not reset notification counts 2 years ago
Timo Kösters 7c98ba64aa
fix: HEAD requests should produce METHOD_NOT_ALLOWED 2 years ago
Jonathan de Jong 52018c3967 allow complement dockerfile to copy over target folder 2 years ago
Timo Kösters e86fb11512 Merge branch 'nabulator-next-patch-84388' into 'next'
Update nginx configuration to allow for larger uploads.

See merge request famedly/conduit!407
2 years ago
Timo Kösters 20e3c42456 Merge branch 'add-nix-flake' into 'next'
add nix flake

See merge request famedly/conduit!403
2 years ago
Nabulator 1aff2a54ef comment typo 2 years ago
Nabulator 238ebcfcac Update nginx configuration to allow for larger uploads. 2 years ago
Timo Kösters 876fdf480d Merge branch '3pid_403_next' into 'next'
Return 403 to 3pid token routes to signal not implemented

See merge request famedly/conduit!375
2 years ago
James Blachly 3bc0a1924b Return 403 to 3pid token routes to signal not implemented 2 years ago
Timo Kösters 4af998963b Merge branch 'fix-axum-request-size' into 'next'
fix(main): fix request size limit to max_request_size (axum defaults 2MB)

See merge request famedly/conduit!406
2 years ago
AndSDev 10d2da3009 fix(main): fix request size limit to max_request_size (axum defaults 2MB) 2 years ago
Paul Beziau d47c1a8ba6 Fix database version check & code formating 2 years ago
Paul Beziau 9c0c74f547 Migrate database to use correct rule id in pushrules.
it convert :
- ".m.rules.call" to ".m.rule.call"
- ".m.rules.room_one_to_one" to ".m.rule.room_one_to_one"
- ".m.rules.encrypted_room_one_to_one" to ".m.rule.encrypted_room_one_to_one"
- ".m.rules.message" to ".m.rule.message"
- ".m.rules.encrypted" to ".m.rule.encrypted"

related to issue #264
2 years ago
Jonathan de Jong 215d909e59 More debug info when try_from_http_request fails 2 years ago
Jonathan de Jong ada15ceacc Complement improvements 2 years ago
Charles Hall 716f82db6d
add nix/nixos deployment documentation 2 years ago
Charles Hall fe7d8c4f12
add nix flake
Also add `.envrc` for direnv + Nix users. This makes developing locally
easier for us NixOS folks.

The flake itself will allow NixOS users to pull code directly from
Conduit's repository, making it completely trivial to stay up-to-date
with every commit.

I'd also like to add a NixOS module directly to this repository at some
point so that new configuration options will be available in the NixOS
module faster. But for now, NixOS users can simply override
`serivces.matrix-conduit.package` and get pretty much all the
functionality.

I've added myself to the `CODEOWNERS` file for the Nix files, since I am
willing to maintain this stuff. I use Conduit on NixOS so I'm personally
invested in having this work.

Lastly, `.gitignore` was updated to exclude symlinks created by `direnv`
and `nix build` and other such Nix commands.

This doesn't come without maintenance burden, however:

* The `sha256` in `flake.nix` will need to be updated whenever Conduit's
  MSRV is updated, but that should be pretty infrequent.

* `nix flake update` should be run every so often to pull in updates to
  `nixpkgs` and other flake inputs. I think downstream users can also
  override this themselves with `inputs.<name>.inputs.<name>.follows`.

* `nix flake check` should be run in CI to ensure Nix builds keep
  working.

* `nixpkgs-fmt --check $(fd '\.nix')` (or similar) should be run in CI
  to ensure style uniformity.
2 years ago
Timo Kösters cb2b5beea8 Merge branch 'fix_persy' into 'next'
fix: update persy implementation after refactor

See merge request famedly/conduit!396
2 years ago
Timo Kösters 2231a69b4c
fix: make previous MR compile 2 years ago