Jonas Zohren
4b502d9038
Merge branch 'ci-rough-sytest-integration' into 'master'
...
CI: Add sytest
See merge request famedly/conduit!130
5 years ago
Jonas Zohren
aedd3c75f8
Resolve merge conflicts for sytest branch
5 years ago
Timo Kösters
ffa10a68b9
Merge branch 'more-detailed-issue-templates' into 'master'
...
Docs: More (detailed) templates for Issues and MRs
See merge request famedly/conduit!129
5 years ago
Timo Kösters
124b5484b5
Merge branch 'test-registering-with-element-web' into 'master'
...
CI: Test registration with element web
See merge request famedly/conduit!128
5 years ago
Jonas Zohren
2babff1e41
CI: Test registration with element web
5 years ago
Jonas Zohren
cdd01262d2
Shorten more templates
5 years ago
Jonas Zohren
092221ca3f
Reduce amount of text in Bug Report template
5 years ago
Jonas Zohren
2e3e3aa2bc
CI: Correctly parse TAP output into XML and report it to GitLab
5 years ago
Jonas Zohren
3880a200c3
CI: Make JUnit export run, even if sytest itself failed
5 years ago
Jonas Zohren
e7ce642258
CI: Generate junit test report
5 years ago
Jonas Zohren
ce09834c4b
Fix-Attempt: Remove /src before symlinking to it
5 years ago
Jonas Zohren
4f10436657
More CI debugging
5 years ago
Jonas Zohren
a2b49d1933
More CI debugging
5 years ago
Jonas Zohren
1f08d3d30c
Fix-Attempt: softlink conduit dir into /src
5 years ago
Jonas Zohren
5dea94f3d7
Debugging CI
5 years ago
Jonas Zohren
8563ea53d5
Fix: Symlink source code to /src
5 years ago
Jonas Zohren
6da26fce5b
Fix typo
5 years ago
Jonas Zohren
d824c69e19
First and ugly attempt at integrating sytest
...
This uses the valkum/sytest-conduit docker image
which was created for the old CI system.
It therefore has 'weird' paths which I am not cleaning up
until it at least ran in GitLab CI
5 years ago
Jonas Zohren
5d8ad4fd72
Add some more details to the MR template
5 years ago
Jonas Zohren
7054f74783
Add issue template for GitHub which redirects to Gitlab
5 years ago
Jonas Zohren
82a4ec9cbd
Add more detailed issue templates
...
Shamelessly stolen from
https://github.com/HedgeDoc/client
Originally written by
https://github.com/ErikMichelson and
https://github.com/DerMolly
5 years ago
Timo Kösters
f924ebf8a6
Merge branch 'fix-windows-signal' into 'master'
...
fix signal compiling on windows
See merge request famedly/conduit!126
5 years ago
Jonathan de Jong
b1993421c2
fix signal compiling on windows
5 years ago
Timo Kösters
8e2d6f7e43
Merge branch 'sled-fix' into 'master'
...
Sled fixes
See merge request famedly/conduit!125
5 years ago
Jonathan de Jong
d76e95e8fc
use existing db cache size
5 years ago
Jonathan de Jong
661101c9ae
add sled cache_capacity back
5 years ago
Timo Kösters
f7ecf83ac3
Merge branch 'stuff' into 'master'
...
fix: stuck/duplicate messages, e2ee and sync timeouts
See merge request famedly/conduit!123
5 years ago
Timo Kösters
9a4789efdc
Merge branch 'ci-format-check-before-cargo-test' into 'master'
...
CI: Check format before running test
See merge request famedly/conduit!124
5 years ago
Jonas Zohren
eaa4c77641
CI: Check format before running test
...
Testing needs compilation and is slow. Format checking is quick.
As format checking fails more often than tests,
switching them should result in faster failure and feedback
5 years ago
Timo Kösters
9268b33c3f
Merge branch 'shutdown-sync' into 'master'
...
Make shutdown short-circuit sync helpers
See merge request famedly/conduit!122
5 years ago
Timo Kösters
9de32ae12f
fix toolchain
5 years ago
Jonathan de Jong
952fb75795
add shutdown handler to kick sync
5 years ago
Timo Kösters
e12b1ff863
improvement: locks
5 years ago
Timo Kösters
e15e6d4405
improvement: efficient /sync, mutex for federation transactions
5 years ago
Timo Kösters
1c25492a7e
fix: stuck messages
...
Conduit did not send the event in /sync because of a race condition.
There is a brief moment in time where Conduit accepted the event, but
did not store it yet. So when the client /syncs it updates the since
token without sending the event. I hope I fixed it by significantly
shortening the race-condition period.
5 years ago
Timo Kösters
8c44312485
fix: e2ee verification
5 years ago
Timo Kösters
ac0027756e
improvement: more efficient state res
5 years ago
Timo Kösters
f3e806096b
Merge branch 'clippy-fix' into 'master'
...
Fix clippy lint
See merge request famedly/conduit!121
5 years ago
Jonathan de Jong
e1b89c1248
apply lint suggestions and version bump
5 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
5 years ago
Jonathan de Jong
15471d9ac4
update rocket and lock
5 years ago
Timo Kösters
3c236fb671
Merge branch 'sqlite' into 'master'
...
Sqlite
See merge request famedly/conduit!114
5 years ago
Jonathan de Jong
9d4fa9a220
Sqlite
5 years ago
Timo Kösters
bd4bd58612
Merge branch 'capabilities_auth' into 'master'
...
Getting capabilities requires authentication
See merge request famedly/conduit!117
5 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
5 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
5 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
5 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
5 years ago
Kurt Roeckx
dcb5e5900f
Getting capabilities requires authentication
5 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
5 years ago