OfficialDakari
98031bbb3d
working hard
2025-10-25 18:43:31 +05:00
OfficialDakari
74c39f91fe
did something
2025-10-24 21:21:20 +05:00
OfficialDakari
0fb0a6c47f
working on threads
2025-10-22 18:13:59 +05:00
OfficialDakari
4ca2a5eee3
implement Thread.fromJson
2025-10-21 19:03:17 +05:00
Christian Kußowski
a43786674b
chore: Follow up forward displayPendingEvent when using Room.sendTextEvent() or Room.sendFileEvent()
2025-10-09 08:47:14 +02:00
Christian Kußowski
39f74a7293
feat: Make display sending event configurable in Room.sendEvent()
...
It might be desirable to not display
a pending event in the timeline.
For example when sending a
message from a push notification
while the app is in background, the
app does not sync at all so the
pending events will be
misplaced.
2025-10-09 07:48:46 +02:00
Christian Kußowski
8439e2b11e
chore: Remove unused callbacks
...
Forgot to remove them in the last PR.
2025-10-01 08:00:31 +02:00
Christian Kußowski
9549270423
chore: Revert on upload progress
...
This is not working as expected.
As far as I can see there is no
way to do this with the http
package for now. Only way would
be to switch to dio. Not sure
if we want to do this.
2025-09-29 14:58:40 +02:00
Christian Kußowski
8735ecd378
feat: Add onProgress for upload and download methods
2025-09-29 11:56:15 +02:00
Christian Kußowski
98dd75d822
feat: Set m.mention field when sending text event
2025-09-17 13:35:30 +02:00
Christian Kußowski
bc8164a487
refactor: Return a better default for lastEventReceivedTime
2025-09-17 11:56:53 +02:00
Christian Kußowski
8a4eda5201
feat: Auto refresh last event after limited timeline
...
This adds a new behavior
on sync that the app
automatically fetches the
last event from server
after we receive a
limited timeline and the
lastEvent has not
changed.
2025-09-17 11:56:53 +02:00
Christian Kußowski
0994fcfe8b
chore: Clarify room.setAvatar docs
2025-09-09 14:59:27 +02:00
Christian Kußowski
e0ff0b8698
refactor: Allow room ids to not have a domain
2025-08-07 09:51:20 +02:00
Christian Kußowski
282ac54c7b
refactor: Restrict canKick canBan and canRedact to joined users
2025-07-17 10:18:05 +02:00
Christian Kußowski
48f59f378d
refactor: Restrict canChangeStateEvent, canInvite and canSendEvent to joined users
2025-07-17 09:51:49 +02:00
Christian Kußowski
bac29d959d
fix: no user feedback if client.getConfig() takes some time
...
When sending a file in an environment with bad internet
where Client.getConfig() takes some
seconds, the user does not get
any feedback at all.
This change now makes sure that
the user always sees the pending
event in the timeline before anything
else is done in the room.sendFileEvent method.
2025-06-01 18:01:21 +02:00
Christian Kußowski
c618baae70
refactor: (BREAKING) Make database required
2025-05-16 08:28:08 +02:00
Karthikeyan S
a6999255d6
fix: incorrect Event status update in constructor
2025-05-08 19:18:17 +05:30
Krille
1275f752f3
fix: Do not load timeline while sync is processed
...
This sometimes lead to the
problem that the timeline misses
the newest messages. Especially
when opening the app from a
notification this can happen.
2025-05-05 07:17:55 +02:00
td
7e41b01176
fix: make sure to keep track of aggregated events after requesting history or future
2025-04-30 17:43:55 +02:00
Krille
f89e9f575b
refactor: Add file info to placeholder before sending file event
2025-03-13 08:15:59 +01:00
Karthikeyan S
0d084d8824
fix: room prev_batch set incorrectly follow-up
2025-03-13 10:05:05 +05:30
Karthikeyan S
e11878eef6
fix: room prev_batch set incorrectly
2025-03-11 17:32:43 +05:30
Krille
70dc9c6ef9
feat: Add command to upgrade room
2025-03-07 12:47:13 +01:00
Krille
662dac4142
feat: Add parameter for allow condition for restricted rooms
2025-03-07 12:36:03 +01:00
Krille
c194ddee66
refactor: Make markUnread a noop if unread is already as intendend and throw exception if room membership is not join
2025-02-28 11:24:46 +01:00
The one with the braid
86fa1f9203
feat: BREAKING improve command_extension
...
- unify behavior of all message sending related command
- add a StringBuffer as stdout-like output buffer for commands
- create a typedef for the command function signature
- create a common exception type for command execution
- enable commands to run on Client-level rather than Room-level
- BREAKING: Client.addCommand signature now takes an optional StringBuffer as second parameter
2025-02-04 16:19:57 +05:30
Krille
776e941b6e
refactor: Make converting linebreaks in markdowntohtml optional
...
Element actually does not do
this and use the linebreaks
inside of their <p> tags. It
works for our new html
rendering as well which is
already in FluffyChat.
2025-02-03 11:48:10 +01:00
The one with the braid
4edae55852
fix: priorize direct chat users over empty hero user list
...
Signed-off-by: The one with the braid <info@braid.business>
2025-02-01 13:34:15 +01:00
Krille
3f04532ffe
refactor: Remove BasicRoomEvent type
...
We actually never use the
roomId of this type and the
matrix spec has changed in
a way that the roomId is
never sent there actually. So
it was super easy to just
replace all BasicRoomEvent
with BasicEvent. The roomId
became nullable anyway.
2025-01-09 11:05:01 +01:00
Krille
bc328aab5c
refactor: Use Event instead of EventUpdate for storing in db
2025-01-07 14:56:04 +01:00
Karthikeyan S
05ee4031bf
chore: BREAKING rename timeCreated to latestEventReceivedTime in Room
2024-12-31 22:16:31 +05:30
Karthikeyan S
239a39e2cb
feat: support push rule conditions event_property_is & event_property_contains
2024-12-23 15:21:01 +05:30
Krille
bc7b987772
refactor: Remove unnecessary roomId parameter from decryptRoomEvent method
2024-12-17 11:23:58 +01:00
Krille
04a46226cb
refactor: Fix new lints from flutter 3.27
2024-12-15 12:21:26 +01:00
Krille
a26653a098
refactor: Clarify Room.join() behavior and make sure DM link is purged if room not found
2024-12-09 12:29:45 +01:00
Mohammad Reza Moradi
ba9c3e7fc9
Merge branch 'main' into reza/send-reaction-on-only-admin-can-send-message-room
2024-12-05 13:17:53 +01:00
Mohammad Reza Moradi
04612a2296
fix: throw error on failed reaction send
2024-12-05 13:13:47 +01:00
Johannes Nevels
7515ff6dbe
feat: support filtering events when requesting events history or future
2024-11-26 13:43:21 +01:00
Krille
989a1cd504
refactor: Do not set the deprecated dont_notify action in push rules
...
This has been deprecated since
https://spec.matrix.org/v1.7/client-server-api/#actions
An empty list of actions should now
be equal to a list with the entry
"dont_notify". Clients should
ignore this action and use
empty lists instead. A good
explaination can be found
https://github.com/matrix-org/matrix-spec-proposals/blob/main/proposals/3987-push-actions-clean-up.md
2024-11-25 14:08:45 +01:00
Krille
f46e76295c
fix: BREAKING! Cache members for encrypted rooms in database
...
This fixes a huge performance
leak as for every encrypted room
the whole member list is loaded
every time you start the client.
This also changes the default value of `cache` in
this method to if the room is encrypted or not.
For encrypted rooms we always want a complete
member list locally.
2024-11-11 11:58:18 +01:00
Mohammad Reza Moradi
9c32193dff
chore: add require trailing comma lint
2024-11-07 16:13:37 +01:00
td
7605b1de31
feat: v1.12 spec endpoints support (BREAKING CHANGE)
2024-10-21 13:58:33 +02:00
Krille
4a754ded5f
fix: (BREAKING) Change power level without changing memory
...
The problem here is that we
have not created a deep copy
of the power level map. By using .copy() we create a
deep copy now.
2024-10-08 15:10:49 +02:00
Krille
13d756856e
refactor: Migrate to m.marked_unread from Matrix v1.12
2024-10-08 15:03:39 +02:00
td
140db616d9
feat: BREAKING CHANGE v1.11 matrix-spec endpoints
2024-09-19 14:16:49 +02:00
td
4c4a062a27
fix: race condition between getState and requestUser updates
2024-08-27 10:04:56 +02:00
Krille
a0bfd0c73d
fix: App freezes because of recursive loop with getLocalizedDisplayname() call
2024-08-09 10:17:23 +02:00
Krille
b962e8288b
feat: Add support for isFederate option for rooms
2024-07-26 13:45:13 +02:00