Daniel Aloni
b2d30a740b
Merge pull request #75 from globekeeper/DEV-801/recent-locations-endpoint
...
✨ /location_sync endpoint for fetching recent locations in a room.
2023-07-13 13:17:49 +03:00
Daniel Aloni
b63efd7c3b
Merge pull request #77 from globekeeper/release/upstream-v0.13.1
...
Revert "Add CS API device tests (#3029 )"
2023-07-13 12:58:48 +03:00
Daniel Aloni
831451f853
💚 Upgrade tests on our fork instead of upstream.
2023-07-13 11:58:59 +03:00
Daniel Aloni
34eabd998a
Revert "Add CS API device tests ( #3029 )"
...
This reverts commit 2854ffeb7d .
2023-07-12 19:20:08 +03:00
Daniel Aloni
0ad4c16282
Merge pull request #76 from globekeeper/release/upstream-v0.13.1
...
Release/upstream v0.13.1
2023-07-11 12:04:53 +03:00
Daniel Aloni
20bbac5478
🔥 Get rid of jsonerror.
2023-07-10 17:56:18 +03:00
Daniel Aloni
2cca2b0141
Merge branch 'release/upstream-v0.13.1' into DEV-801/recent-locations-endpoint
2023-07-10 17:51:33 +03:00
Daniel Aloni
95c638274b
🥅 Don't lint errcheck for conn.Close() of LDAP connection.
2023-07-10 17:44:13 +03:00
Daniel Aloni
0e289d024f
Merge remote-tracking branch 'origin' into release/upstream-v0.13.1
2023-07-10 17:13:43 +03:00
Daniel Aloni
656f8fe08a
♻️ A more simplified way to query all the multiroom data for the room.
2023-07-09 16:26:05 +03:00
Daniel Aloni
6940728ffa
✨ /location_sync endpoint for fetching recent locations in a room.
2023-07-09 15:57:13 +03:00
Till
49d75d3cf6
Version 0.13.1 ( #3136 )
2023-07-06 09:28:39 +02:00
Till Faelligen
5a87c703fa
Fix metrics..
2023-07-05 12:34:53 +02:00
Till
4c3a526e1b
Fix adding state events to the database ( #3133 )
...
When we're adding state to the database, we check which eventNIDs are
already in a block, if we already have that eventNID, we remove it from
the list. In its current form we would skip over eventNIDs in the case
we already found a match (we're decrementing `i` twice)
My theory is, that when we later get the state blocks, we are receiving
"too many" eventNIDs (well, yea, we stored too many), which may or may
not can result in state resets when comparing different state snapshots.
(e.g. when adding state we stored a eventNID by accident because we
skipped it, later we add more state and are not adding it because we
don't skip it)
2023-07-04 17:15:44 +02:00
Till
2ee03fd657
Version 0.13.0 ( #3127 )
2023-06-30 08:49:37 +02:00
Omar Pakker
de1ed9d486
Extend Dendrite Helm chart with some additional config options ( #3077 )
...
This set of changes introduces a few (compatible) changes to the Helm
chart:
- Allow PVC class to be set on each PVC, not only one-for-all.
- Allow Prometheus servicemonitor and rules labels to be empty.
- Have the option to generate the ingress (incl. TLS config) based on
dendrite_config.
* [x] I have added Go unit tests or [Complement integration
tests](https://github.com/matrix-org/complement ) for this PR _or_ I have
justified why this PR doesn't need tests
* [x] Pull request includes a [sign off below using a legally
identifiable
name](https://matrix-org.github.io/dendrite/development/contributing#sign-off )
_or_ I have already signed off privately
Signed-off-by: Omar Pakker <Omar007@users.noreply.github.com>
---------
Signed-off-by: Omar Pakker <Omar007@users.noreply.github.com>
Co-authored-by: Till <2353100+S7evinK@users.noreply.github.com>
2023-06-30 08:26:06 +02:00
Till Faelligen
939ee325f8
Actually use the parameter
2023-06-29 18:02:11 +02:00
Till
23cd7877a1
Add MXIDMapping for pseudoID rooms ( #3112 )
...
Add `MXIDMapping` on membership events when
creating/joining rooms.
2023-06-28 20:29:49 +02:00
Till
4722f12fab
Fix setting displayname and avatar_url ( #3125 )
...
As per the spec, `displayname` and `avatar_url` may be empty.
2023-06-28 20:18:07 +02:00
Till
a5ea928d0f
Fix syncAPI redactions ( #3118 )
...
Previously we were setting `redacted_because` to the PDU event, but as
per the spec it should really be a client event.
This fixes it.
2023-06-28 10:05:00 +02:00
santhoshivan23
45082d4dce
feat: admin APIs for token authenticated registration ( #3101 )
...
### Pull Request Checklist
<!-- Please read
https://matrix-org.github.io/dendrite/development/contributing before
submitting your pull request -->
* [x] I have added Go unit tests or [Complement integration
tests](https://github.com/matrix-org/complement ) for this PR _or_ I have
justified why this PR doesn't need tests
* [x] Pull request includes a [sign off below using a legally
identifiable
name](https://matrix-org.github.io/dendrite/development/contributing#sign-off )
_or_ I have already signed off privately
Signed-off-by: `Santhoshivan Amudhan santhoshivan23@gmail.com`
2023-06-22 16:37:21 +00:00
Till
a734b112c6
Fix backfilling ( #3117 )
...
This should fix two issues with backfilling:
1. right after creating and joining a room over federation, we are doing
a `/backfill` request, which would return redacted events, because the
`authEvents` are empty. Even though the spec states that, in the absence
of a history visibility event, it should be handled as `shared`.
2. `gomatrixserverlib: unsupported room version ''` - because, well, we
were never setting the `roomInfo` field..
2023-06-20 16:52:29 +02:00
Daniel Aloni
1124ed08b0
Merge pull request #74 from globekeeper/daniel/lint-naked-returns
...
🚨 Fix naked returns lint errors from new golangci-lint.
2023-06-20 09:13:25 +03:00
Daniel Aloni
206dbb32a3
🚨 Fix naked returns lint errors from new golangci-lint.
2023-06-19 16:37:25 +03:00
Daniel Aloni
303a9599b8
Merge pull request #73 from globekeeper/daniel/remove-delete_devices-UIA
...
Daniel/remove delete devices UIA
2023-06-19 12:20:53 +03:00
CicadaCinema
d13466c1ee
rearrange order of sections about signing keys and configuring dendrite, fix a dead link ( #3114 )
...
I thought I would rearrange these pages since the configuration step
requires that a signing key has been generated.
Co-authored-by: kegsay <kegan@matrix.org>
2023-06-18 22:54:16 +01:00
Josh Qou
420e7ec81f
Fix unsafe hotserving behaviour for multimedia uploads. ( #3113 )
...
Return multimedia with a disposition type of attachment instead of
inline. NVT#1548992
Signed-off-by: Josh Qou [jqou@icloud.com ](mailto:jqou@icloud.com)
Co-authored-by: Jon <haddock.05.roast@icloud.com>
2023-06-15 12:28:34 +01:00
Devon Hudson
8cf6c381e2
Fix senderID/key conversion unit tests
2023-06-14 17:11:27 +01:00
Devon Hudson
3f4df25b31
Add missing dep
2023-06-14 17:04:19 +01:00
Devon Hudson
5aaa539e3e
Fix senderID/key conversions
2023-06-14 16:42:09 +01:00
devonh
e4665979bf
Merge SenderID & Per Room User Key work ( #3109 )
2023-06-14 14:23:46 +00:00
Till
7a2e325d10
Add AssignRoomNID to pre-assign roomNIDs ( #3111 )
2023-06-13 16:28:41 +02:00
Till
2c87972a3a
Create user room key if needed ( #3108 )
2023-06-13 14:19:31 +02:00
Till
82b73a4906
Add sender_key to ClientEvent ( #3110 )
2023-06-13 12:50:22 +02:00
devonh
77d9e4e93d
Cleanup remaining statekey usage for senderIDs ( #3106 )
2023-06-12 11:19:25 +00:00
Till
832ccc32f6
Add initial support for storing user room keys ( #3098 )
2023-06-12 12:45:42 +02:00
Antonio Cheong
5713c5715c
Update sample link ( #3107 )
...
Leftover work by f956a8c1d9
Signed-off-by: `Antonio Cheong <acheong@student.dalat.org>`
[skip ci]
2023-06-12 10:51:26 +02:00
devonh
8ea1a11105
Use SenderID Type ( #3105 )
2023-06-07 17:14:35 +00:00
devonh
7a1fd7f512
PDU Sender split ( #3100 )
...
Initial cut of splitting PDU Sender into SenderID & looking up UserID where required.
2023-06-06 20:55:18 +00:00
Till
725ff5567d
Make StrictValidityChecking a function ( #3092 )
...
Companion PR to https://github.com/matrix-org/gomatrixserverlib/pull/388
2023-06-06 15:16:55 +02:00
Till
d11da6ec7c
Fix newly found linter issues ( #3099 )
...
Fixes the issues found in
https://github.com/matrix-org/dendrite/actions/runs/5155539352/jobs/9285342056#step:5:22 .
Only naked returns in longer functions.
2023-06-02 15:48:04 +02:00
devonh
ea6b368ad4
Move Invite logic to GMSL ( #3086 )
...
This is both the federation receiving & sending side logic (which were
previously entangeld in a single function)
2023-05-31 16:33:49 +00:00
devonh
cbdc601f1b
Move CreateRoom logic to Roomserver ( #3093 )
...
Move create room logic over to roomserver.
2023-05-31 15:27:08 +00:00
Till
61341aca50
Add tests for the UpDropEventReferenceSHAPrevEvents migration ( #3087 )
...
... as they could fail if there are duplicate events in
`roomserver_previous_events`.
This fixes the migration by trying to combine the `event_nids` if
possible (same room) as mentioned by @kegsay in
https://github.com/matrix-org/dendrite/pull/3083#discussion_r1195508963
2023-05-30 18:05:48 +02:00
Till
3dcca4017c
Fix potential state reset when trying to join a room ( #3040 )
...
When trying to join a room in short sequence, it is possible that a
state reset occurs. This fixes it by using `singleflight`.
2023-05-30 15:27:11 +02:00
Till
f956a8c1d9
Docs restructure ( #2953 )
...
Needs to be merged into `gh-pages` later on.
2023-05-30 10:02:53 +02:00
Till
11b557097c
Drop reference_sha column ( #3083 )
...
Companion PR to https://github.com/matrix-org/gomatrixserverlib/pull/383
2023-05-24 12:14:42 +02:00
Till
5d6221d191
Move MakeLeave to GMSL ( #3085 )
...
Basically the same API shape as for `/make_join`
https://github.com/matrix-org/gomatrixserverlib/pull/385
2023-05-23 19:37:04 +02:00
devonh
2eae8dc489
Move SendJoin logic to GMSL ( #3084 )
...
Moves the core matrix logic for handling the send_join endpoint over to
gmsl.
2023-05-19 16:27:01 +00:00
Devon Hudson
027a9b8ce0
Fix bug with nil interface return & add test
2023-05-18 13:41:47 -06:00