Timo Kösters
a5465dfd3e
fix: allow trailing slashes for /state/<type>/ again
2022-04-01 16:00:04 +02:00
Timo Kösters
f9bf465578
Merge branch 'readable' into 'next'
...
Fix security issue.
See merge request famedly/conduit!316
2022-04-01 07:30:05 +00:00
Timo Kösters
1219535e56
Merge branch 'fix/bad-uid-crash' into 'next'
...
Fix crash when a bad user ID is in the database
See merge request famedly/conduit!334
2022-03-31 19:23:41 +00:00
4a12a7cbc8
Fix crash when a bad user ID is in the database
...
To my understanding, a bad user ID can sometimes make it into the
database, which lead to a panic prior to this change.
2022-03-31 20:59:59 +02:00
Jonas Zohren
08072d2c8d
Merge branch 'docker/ci-bump-alpine-version' into 'next'
...
chore: Bump alpine version for CI generated docker
See merge request famedly/conduit!333
2022-03-30 20:30:56 +00:00
Jonas Zohren
1ebf417c11
chore: Bump alpine version for CI generated docker
2022-03-30 20:23:04 +00:00
Jonas Zohren
a2a7c61872
Merge branch 'docker-bump-alpine-version' into 'next'
...
chore(docker): Bump alpine (base image) version
Closes #255
See merge request famedly/conduit!330
2022-03-18 17:52:50 +00:00
Jonas Zohren
61277452af
chore(docker): Bump alpine (base image) version
2022-03-18 18:44:05 +01:00
Timo Kösters
6be5e83e61
Merge branch 'reqwest-tls-native-roots' into 'next'
...
Use native root CA certificates for reqwest
See merge request famedly/conduit!329
2022-03-14 14:27:12 +00:00
Timo Kösters
c70c0129f8
Merge branch 'proxy-config-examples' into 'next'
...
Fix proxy config examples in config/proxy.rs
See merge request famedly/conduit!321
2022-03-14 14:26:28 +00:00
Andrej Kacian
194a85d4c5
Use native root CA certificates for reqwest
2022-03-12 15:44:22 +01:00
Jonas Zohren
738f5e8f68
Merge branch 'ci-fix-cross-musl-builds' into 'next'
...
CI: Fix musl builds
See merge request famedly/conduit!328
2022-03-08 22:13:31 +00:00
Jonas Zohren
5a9462c9ab
fix(ci): Fix musl builds
...
This pins the image to use for cross to a working image's sha256
2022-03-08 21:52:57 +00:00
Jonas Zohren
36a6d724fe
Merge branch 'writable' into 'next'
...
Fix permissions
See merge request famedly/conduit!317
2022-03-01 23:55:10 +00:00
TomZ
5c6c6f272c
Fix security issue.
...
The docs state that you need to make the config file _readable_
and then proceeds to make the file writable.
This changes it to make the file to be owned by root and readable by
anyone. This is the default for unix / linux and suggested practice
for files in /etc.
2022-02-23 10:15:33 +01:00
Andrej Kacian
65fa4b2ca4
Fix proxy config examples in config/proxy.rs
2022-02-22 22:32:38 +01:00
Jonas Zohren
6788225cac
Merge branch 'fix-docker-db-dir-permissions' into 'next'
...
Fix(docker): Make conduit own default db path
See merge request famedly/conduit!320
2022-02-22 15:34:14 +00:00
Jonas Zohren
a5bb6786c8
fix(docker): Make conduit own default db path
...
When a user mounts a volume into the default volume path,
it uses the permissions and ownership from the host volume.
In most cases, this is 1000:1000, which it also uses on the inside.
If you don't mount a volume though (e.g., for testing), conduit cries:
“The database couldn't be loaded or created.”
This fix chowns the default db dir to remedy this.
2022-02-22 16:26:30 +01:00
TomZ
949f2523f9
Fix permissions
...
The text just sets the ownership and ignores that defaults on unix
are to have newly created dirs be readable by everyone.
This closes the database to unauthorized users on multi-user systems.
2022-02-21 22:35:08 +01:00
Jonas Zohren
237645e975
Merge branch 'docs' into 'next'
...
docs: make all configs match
Closes #205
See merge request famedly/conduit!301
2022-02-20 10:59:56 +00:00
Jonas Zohren
86162c2c20
Merge branch 'next' into docs
2022-02-20 11:43:50 +01:00
Jonas Zohren
199c84195a
Merge branch 'improve-docker-documentation' into 'next'
...
Improve docker documentation some
See merge request famedly/conduit!314
2022-02-20 10:43:05 +00:00
Jonas Zohren
57ac4160b7
Merge branch 'next' into docs
2022-02-20 11:42:19 +01:00
Jonas Zohren
91c648253a
Merge branch 'docs-remove-obsolete-cross-readme' into 'next'
...
Remove the now obsolete cross readme
See merge request famedly/conduit!315
2022-02-20 10:22:47 +00:00
Jonas Zohren
5a80507006
chore(docs): Remove the now obsolete cross readme
2022-02-20 11:12:49 +01:00
Jonathan de Jong
cc14727888
revert reflow
2022-02-20 10:55:17 +01:00
Jonathan de Jong
94573a3a61
improve docker documentation some
2022-02-19 17:06:06 +01:00
Jonas Zohren
0ba0fa5f6c
Merge branch 'ci-audit-dependencies' into 'next'
...
CI: audit dependencies
See merge request famedly/conduit!313
2022-02-19 11:25:30 +00:00
Jonas Zohren
ad6eb92bbd
feat(ci): Add dependency audit to CI tests
2022-02-19 12:19:06 +01:00
Timo Kösters
ce76041c03
Merge branch 'up-ruma' into 'next'
...
Update Ruma
See merge request famedly/conduit!312
2022-02-19 09:46:56 +00:00
Jonas Zohren
8f063c99d5
chore(ci): Split up tests
2022-02-18 22:29:55 +01:00
Jonathan de Jong
557d119bee
change search_events_v3 to search_events::v3
2022-02-18 19:54:26 +01:00
Jonathan de Jong
e9f87e1952
update ruma
2022-02-18 15:33:14 +01:00
Jonas Zohren
f3795846b5
Merge branch 'readme' into 'next'
...
Slight clarification
See merge request famedly/conduit!310
2022-02-18 12:19:51 +00:00
Timo Kösters
b8eaa3be85
Merge branch 'redactfix' into 'next'
...
Redaction fix
Closes #235
See merge request famedly/conduit!298
2022-02-18 12:00:40 +00:00
Timo Kösters
c496e599ef
Merge branch 'serde-cleanup' into 'next'
...
Remove useless serde roundtrips
See merge request famedly/conduit!311
2022-02-18 11:07:59 +00:00
Jonas Platte
27692a2f14
Remove useless serde roundtrips
2022-02-18 11:52:00 +01:00
TomZ
e57cd437d4
Slight clarification
...
Which version it started being beta in is quite irrelevant here.
2022-02-17 23:00:39 +01:00
Timo Kösters
5a99460a4c
Merge branch 'not-found' into 'next'
...
Add a not-found route
See merge request famedly/conduit!306
2022-02-17 15:43:08 +00:00
Jonas Zohren
ba83d0ac68
Merge branch 'more-vscode-defaults' into 'next'
...
Provide some sane defaults for vscode developing
See merge request famedly/conduit!309
2022-02-17 15:33:03 +00:00
Jonas Zohren
bcd6c0bf53
feat: Provide sane defaults for vscode developing
...
This includes some extensions and a debug profile
2022-02-17 11:14:50 +00:00
Jonas Zohren
b4225cb0fc
fix(docker): use user 1000 and standard db path
2022-02-16 15:13:04 +01:00
Jonas Zohren
98b67da649
fix: Docker syntax
2022-02-16 15:13:03 +01:00
Jonas Zohren
0be8500c4f
Set all env vars in docker README
2022-02-16 15:12:40 +01:00
Jonas Zohren
97507d2880
Remove most env vars from Dockerfile
2022-02-16 15:12:40 +01:00
Jonas Zohren
c4353405a5
Suggestions from Jonas Zohren
2022-02-16 15:12:38 +01:00
Timo Kösters
de6c3312ce
docs: make all configs match
2022-02-16 15:11:46 +01:00
Jonas Zohren
c66866d890
Merge branch 'ci-lint-dockerfiles-with-hadolint' into 'next'
...
CI: Lint dockerfiles with hadolint
Closes #239
See merge request famedly/conduit!308
2022-02-15 19:10:12 +00:00
Jonas Zohren
b21a44ca4c
feat(ci): Lint dockerfiles with hadolint
2022-02-15 20:01:38 +01:00
Jonas Zohren
e04d4ff150
Merge branch 'ci-fix-tag-pipelines' into 'next'
...
Ci fix tag pipelines
Closes #229
See merge request famedly/conduit!307
2022-02-15 10:56:25 +00:00