Commit Graph

836 Commits (e1b89c1248680efa9b508fb30b58ba28e84d6bce)
 

Author SHA1 Message Date
Jonathan de Jong e1b89c1248 apply lint suggestions and version bump 3 years ago
Timo Kösters be6b6c3cf0 Merge branch 'rocket-update' into 'master'
Update rocket to rc1 and lock file

See merge request famedly/conduit!120
3 years ago
Jonathan de Jong 15471d9ac4 update rocket and lock 3 years ago
Timo Kösters 3c236fb671 Merge branch 'sqlite' into 'master'
Sqlite

See merge request famedly/conduit!114
3 years ago
Jonathan de Jong 9d4fa9a220 Sqlite 3 years ago
Timo Kösters bd4bd58612 Merge branch 'capabilities_auth' into 'master'
Getting capabilities requires authentication

See merge request famedly/conduit!117
3 years ago
Timo Kösters 0eec1cc696 Merge branch 'ci-tag-jobs-with-docker' into 'master'
Better CI (run on faster CI hosts, incremental release builds, thin-lto)

See merge request famedly/conduit!118
3 years ago
Jonas Zohren 3fa09ff57d Use thin-lto [1] for "better" release builds.
This performs a rather quick variant of Link Time Optimization [2].
It should add negligible build time but also more optimized binaries.

[1]: https://doc.rust-lang.org/cargo/reference/profiles.html#lto

[2]: https://llvm.org/docs/LinkTimeOptimization.html
3 years ago
Jonas Zohren 0080932aef Speed up release builds
Setting cargo to run incremental builds means partial build results should be cached. This is not enabled by default in release mode.

Incremental builds use 256 codegen units by default [1].
We set them to 16 (release default) again for somewhat faster code but slightly slower builds.


[1]: https://doc.rust-lang.org/cargo/reference/profiles.html#codegen-units
3 years ago
Jonas Zohren 888a2f7fa1 Make CI run on famedly runners
By default, jobs without tags only run on CI runners configured to do so [1].
Conduit can use famedly runners, which are more powerfull than gitlab's runners, but require a tag on the job to run it there.
This commit tags each job with the "docker" tag.
On the famedly/conduit repo this means faster CI.
On other gitlab.com forks the normal ci.
Selfhosted gitlab's might need to add a "docker" tag to their runner.

[1]: https://docs.gitlab.com/ee/ci/runners/configure_runners.html#use-tags-to-limit-the-number-of-jobs-using-the-runner
3 years ago
Kurt Roeckx dcb5e5900f Getting capabilities requires authentication 3 years ago
Timo Kösters 4732aa6782 Merge branch 'invalid_utf8' into 'master'
Return proper error in case of invalid UTF-8

See merge request famedly/conduit!110
3 years ago
Kurt Roeckx 699f77671f Return proper error in case of invalid UTF-8 in json_body
json_body is used in places that need authentication. In
case an unknown field is set, Ruma doesn't parse the field
and so doesn't give an error on invalid UTF-8. But Conduit
has parsed and on error makes json_body None. Return an
error to the client instead of generating an internal error.
3 years ago
Timo Kösters fcfb9b51de Merge branch 'fix-ci-failing-duplicate-nightly-release' into 'master'
Fix: Duplicate releases don't work, remove nightly

Closes #100

See merge request famedly/conduit!113
3 years ago
Jonas Zohren 36681dd3ac Fix: Duplicate releases don't work, remove nightly 3 years ago
Timo Kösters 13c0beafa6 Merge branch 'lib-fix' into 'master'
Export conduits Config struct and fix clippy warnings

See merge request famedly/conduit!99
3 years ago
Timo Kösters a313a93ff5 Merge branch 'master' into 'master'
Change default port in docker to the new

See merge request famedly/conduit!115
3 years ago
Daniel Wiesenberg 6a96cfaac1 Change default port in docker to the new
conduit default port 6167 and fix the docker healthcheck
3 years ago
Timo Kösters 787e18b2a4 Merge branch 'jfowl-master-patch-57056' into 'master'
Fix: Nightly release tag name should not be a branch name

See merge request famedly/conduit!112
3 years ago
Jonas Zohren fcc30f059e Fix: Nightly release tag name should not be a branch name
According to tulir this breaks the GitLab Matrix bot, and nightly is a better match anyway
3 years ago
Timo Kösters f1a2aa3a94 Merge branch 'jfowl-master-patch-97252' into 'master'
Publish master builds as nightly releases & also build debs

See merge request famedly/conduit!111
3 years ago
Jonas Zohren a7cb1c999a Publish master builds as nightly releases & also build debs 3 years ago
Timo Kösters 5711467ad9 Merge branch 'state-res-closure' into 'master'
Remove auth_cache using a closure to fetch events in state-res

See merge request famedly/conduit!108
3 years ago
Devin Ragotzy c30cc50a0b Switch ruma to a commit from next 3 years ago
Timo Kösters 5f6b0c673c Merge branch 'feature/proxy' into 'master'
add support for arbitrary proxies

See merge request famedly/conduit!54
3 years ago
Aiden McClelland c53cc03ff8
address pr comments 3 years ago
Timo Kösters af903ceac3 Merge branch 'ci-build-artifacts-1' into 'master'
Generate binaries for 3 architectures in the CI

See merge request famedly/conduit!94
3 years ago
Aiden McClelland f25f61d4a9
fix errors introduced by rebase 3 years ago
Aiden McClelland b2d5516058 add support for arbitrary proxies 3 years ago
Devin Ragotzy 1bb84a8e2d Fix docs for fetch_and_handle_events 3 years ago
Devin Ragotzy 98f1480e2b
Remove auth_cache using a closure to fetch events in state-res 3 years ago
Timo Kösters cc9111059d Merge branch 'search-impovements' into 'master'
improvement: /search works for multiple rooms

See merge request famedly/conduit!106
3 years ago
Timo Kösters 05821d6fd5
improvement: pdu cache, /sync cache 3 years ago
Devin Ragotzy 09a8737f24 Export conduits Config struct and fix clipp warningsy 3 years ago
Timo Kösters dcac1361ec
improvement: /search works for multiple rooms 3 years ago
Timo Kösters fee7d3d2e3 Merge branch 'allow_appservice_registration' into 'master'
Always allow appservices to register new users

See merge request famedly/conduit!105
3 years ago
Timo Kösters 1a70ea5702 Merge branch 'upgrade-deps' into 'master'
Upgrade Ruma

See merge request famedly/conduit!104
3 years ago
phesch 637d9d3b6f Always allow appservices to register new users 3 years ago
Jonas Platte 808741bcb6
Remove unnecessary Option-wrapping and successive unwrapping 3 years ago
Jonas Platte b291e76572
Use try operator for Option more 3 years ago
Jonas Platte f3e630c064
Fix lots of clippy lints 3 years ago
Jonas Platte af2ce5803e
Remove pointless double deserialization 3 years ago
Jonas Platte 7fa54e4411
Use Ruma-provided default power levels for shorter code 3 years ago
Jonas Platte f6046871f4
Upgrade Ruma 3 years ago
Timo Kösters 2ac7b6d411 Merge branch 'event_auth' into 'master'
feat: /event_auth

Closes #43

See merge request famedly/conduit!103
3 years ago
Timo Kösters 67f9592b17
feat: /event_auth 3 years ago
Timo Kösters 07271b7725 Merge branch 'roomdirfilter' into 'master'
improvement: filter our room directory

Closes #35

See merge request famedly/conduit!102
3 years ago
Timo Kösters 77a23f8969
improvement: filter our room directory
Fixes #35
3 years ago
Timo Kösters 01e01bf25e Merge branch 'state' into 'master'
feat: /state

Closes #47

See merge request famedly/conduit!101
3 years ago
Timo Kösters 3c9ea55938
feat: /state 3 years ago