Commit Graph

317 Commits

Author SHA1 Message Date
Nicolas Werner
6f52686162
Automatically increase database limits when hit 2023-11-19 23:44:19 +01:00
Nicolas Werner
ff82452816
Upgrade trust of megolm sessions when receiving RoomKey
Before we only did that, when we basically didn't have the key yet. But
since we usually get sent a RoomKey when a new message is sent after we
sign in, we were discarding, that those messages should usually now be
trusted.
2023-11-19 20:11:21 +01:00
Nicolas Werner
67c69fd861
Make clazy happy 2023-11-02 18:33:15 +01:00
Nicolas Werner
3c7c8d66b4
Use sha256 to encode the database name instead of just hex encoding it 2023-11-02 18:27:58 +01:00
Nicolas Werner
bd1cadb6bb
Spaces are now bold 2023-11-01 21:44:21 +01:00
Nicolas Werner
7824c77234
Cleanup headers a bit more 2023-10-31 18:47:58 +01:00
Nicolas Werner
4357c47ebe
A few more small speedups 2023-10-31 13:04:39 +01:00
Nicolas Werner
99a3e8bcf2
Speed up compilation a bit 2023-10-31 13:04:39 +01:00
Nicolas Werner
7c21c41638
fix room name calculation with 3 members
fixes #1598
2023-10-28 13:47:58 +02:00
Nicolas Werner
51976cf367
Fix linting 2023-10-25 19:41:53 +02:00
Nicolas Werner
465a67bfaf
Properly close cursors before commit and db deletion 2023-10-25 17:41:40 +02:00
mips64-el
caba669e88 Fix double free on commit database migration 2023-10-25 01:30:50 +02:00
Nicolas Werner
d45dc6c77b
Migrate olm sessions to be stored in one database instead of thousands 2023-10-23 01:40:10 +02:00
Nicolas Werner
3ae5838230
Add a way to compact the database
Can also be used to fix some corruption.
2023-10-21 19:48:32 +02:00
Nicolas Werner
45ecb71444
Qt6.6 compatibility 2023-10-13 23:29:32 +02:00
Nicolas Werner
21889f00e7
Fix a few more bugs where a limited timeline could cause a hanging pagination 2023-07-09 17:32:44 +02:00
Nicolas Werner
7fc7aa2da3
Fix pagination in rooms with a full batch of redactions 2023-07-09 15:42:38 +02:00
Nicolas Werner
1abb52700a
Add an early out cache for event expiration 2023-07-06 20:51:04 +02:00
Nicolas Werner
e89e65dc17
Fix build against fmt10
fixes #1499
2023-06-28 13:16:10 +02:00
Nicolas Werner
0dbc9444c3
Add inviter to the invite reason
fixes #622
2023-06-10 00:54:08 +02:00
Nicolas Werner
5fed4d21b1
Fix a few more clazy warnings 2023-06-08 22:32:11 +02:00
Nicolas Werner
46f02bb0c3
Fix qtkeychain include 2023-06-08 22:32:10 +02:00
Nicolas Werner
19787d664c
Fix QChar range 2023-06-08 22:32:09 +02:00
Nicolas Werner
b518f6902e
Make Nheko compile on Qt6 2023-06-08 22:32:07 +02:00
Nicolas Werner
0a55c8ee17
Delete unused msg db function 2023-05-06 21:16:54 +02:00
Nicolas Werner
7dd3339477
Sort rooms in completer by 'activity' and make tombstoned rooms italic 2023-05-06 19:30:29 +02:00
Nicolas Werner
10b65b78fa
Adapt to the new inherited variant 2023-04-11 01:38:46 +02:00
Nicolas Werner
c543b2d4fa
Improve state event redaction 2023-03-26 23:37:28 +02:00
Nicolas Werner
7d5c0b7822
All around me are empty spaces 2023-03-20 21:26:49 +01:00
Nicolas Werner
eb1a900ed2
Reduce db writes a bit 2023-03-19 20:29:10 +01:00
Nicolas Werner
fafb9cc4a6
Don't try to load emotes from space parents we are not in 2023-03-19 14:04:13 +01:00
Nicolas Werner
9891b6bffe
Speed up writes of events with statekeys to state db 2023-03-14 18:16:08 +01:00
Nicolas Werner
aae3300860
Show rooms you share with someone 2023-02-24 02:40:14 +01:00
Nicolas Werner
d46a67f64b
Reenable the nosync options for the database
fixes #1355

So far we haven't seen any reduction in issues about database
corruption, so presumably this is unrelated and the lag is annoying.
2023-02-23 21:34:55 +01:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
ac4c9e024e
More template bloat reduction 2023-02-20 01:04:49 +01:00
Nicolas Werner
a1c4889339
Remove a few more unused symbols 2023-02-19 23:17:21 +01:00
Nicolas Werner
ee5b33978a
Optimize user model construction by 2.5x 2023-01-31 21:05:23 +01:00
Nicolas Werner
fd949f0b83
Speedup quick switcher 2023-01-07 17:39:32 +01:00
Nicolas Werner
f3b7919a53
Fix crash in migrations during secrets deletion
We need to block the migrations returning until the migrations are done.

Fixes #1258
2023-01-07 01:09:36 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Nicolas Werner
01915360b4
Fix state reset command 2022-12-27 16:15:49 +01:00
Nicolas Werner
f98b289ba2
Show invite reason in the UI (hidden by default) 2022-12-27 01:40:25 +01:00
Nicolas Werner
1a9f7860d4
Fix sending confetti 2022-12-16 17:24:52 +01:00
Nicolas Werner
725b5e0383
Try to fix clang-tidy 2022-11-06 04:02:14 +01:00
Nicolas Werner
537fa437e2
Store secrets (apart from the pickle key) in the database 2022-11-06 03:36:56 +01:00
Nicolas Werner
1f77e1c810
Prompt before deleting the database 2022-11-06 01:06:41 +01:00
Nicolas Werner
76347f1c6f
Continue fetching past messages when searching 2022-11-03 23:26:59 +01:00
Nicolas Werner
231bebba44
The hybris of committing a line without linting 2022-11-01 21:26:31 +01:00
Nicolas Werner
54931cb21b
Optimize fetching olm session from the db 2022-11-01 21:19:58 +01:00