06669cbcac 
								
							 
						 
						
							
							
								
								refactor: Store fetched presence in db and deprecate own cache  
							
							
							
						 
						
							2023-11-27 15:48:21 +01:00  
				
					
						
							
							
								 
						
							
								193f404885 
								
							 
						 
						
							
							
								
								refactor: Add SyncConnectionException to syncloop  
							
							
							
						 
						
							2023-11-27 09:11:57 +01:00  
				
					
						
							
							
								 
						
							
								25f4353ab0 
								
							 
						 
						
							
							
								
								fix: key uploads only running once  
							
							... 
							
							
							
							There were several issues here. Key uploads in general failed, because
the await caused a Future<dynamic> to be returned, which failed type
checking.
But also we never unset our future, which was used for the online key
backup uploads, which meant we would very quickly stop uploading any
keys at all. 
							
						 
						
							2023-11-24 17:42:57 +01:00  
				
					
						
							
							
								 
						
							
								82b885dee0 
								
							 
						 
						
							
							
								
								feat: Add sendRaw command  
							
							
							
						 
						
							2023-11-22 15:35:29 +01:00  
				
					
						
							
							
								 
						
							
								029b648f26 
								
							 
						 
						
							
							
								
								fix: Do only convert linebreaks to br tags in p blocks  
							
							... 
							
							
							
							This changes the behavior
of the markdown method to
only convert linebreaks inside
of p blocks. I found no better
solution yet for the problem
as otherwise also lists
will have linebreaks between
the list items. Unfortunately
the default linebreak syntax
seems not to fulfill our needs. 
							
						 
						
							2023-11-22 11:02:17 +01:00  
				
					
						
							
							
								 
						
							
								8b8a647cf9 
								
							 
						 
						
							
							
								
								chore: enable discarded_futures lint  
							
							... 
							
							
							
							BREAKING CHANGE: This changes the runInRoot method to not return a
future. As a user, if you need the result of an async computation passed
to runInRoot, please await it directly. Also the KeyVerification start
and a few call methods now return a future. 
							
						 
						
							2023-11-17 12:59:27 +01:00  
				
					
						
							
							
								 
						
							
								5dc3adadfc 
								
							 
						 
						
							
							
								
								chore: enable avoid_bool_literals_in_conditional_expressions  
							
							
							
						 
						
							2023-11-17 12:59:27 +01:00  
				
					
						
							
							
								 
						
							
								a0970b7fcb 
								
							 
						 
						
							
							
								
								chore: don't manually enable default rules  
							
							
							
						 
						
							2023-11-17 12:59:20 +01:00  
				
					
						
							
							
								 
						
							
								e03826b1bb 
								
							 
						 
						
							
							
								
								Merge branch 'main' into krille/better-syncloop-error  
							
							
							
						 
						
							2023-11-16 22:21:59 +01:00  
				
					
						
							
							
								 
						
							
								0b3542730d 
								
							 
						 
						
							
							
								
								Merge branch 'main' into krille/store-presences  
							
							
							
						 
						
							2023-11-16 21:36:13 +01:00  
				
					
						
							
							
								 
						
							
								d1bbf57b6f 
								
							 
						 
						
							
							
								
								fix: Set presence when loading archive  
							
							
							
						 
						
							2023-11-15 14:18:48 +01:00  
				
					
						
							
							
								 
						
							
								d5447c62f7 
								
							 
						 
						
							
							
								
								fix: hangup on call crash  
							
							
							
						 
						
							2023-11-15 08:49:35 +01:00  
				
					
						
							
							
								 
						
							
								8cc863b1a3 
								
							 
						 
						
							
							
								
								feat: Store presences in  database  
							
							
							
						 
						
							2023-11-15 06:59:58 +01:00  
				
					
						
							
							
								 
						
							
								1ab06cb01a 
								
							 
						 
						
							
							
								
								fix: clear local database on logout even if server timesout  
							
							
							
						 
						
							2023-11-13 18:12:47 +05:30  
				
					
						
							
							
								 
						
							
								243275d644 
								
							 
						 
						
							
							
								
								Merge branch 'main' into karthi/fix-hangup-timeout  
							
							
							
						 
						
							2023-11-06 17:31:22 +05:30  
				
					
						
							
							
								 
						
							
								b1b2b2ffe2 
								
							 
						 
						
							
							
								
								fix: catch correct exception type for connection problems  
							
							
							
						 
						
							2023-11-05 09:52:08 +01:00  
				
					
						
							
							
								 
						
							
								37582a3a8e 
								
							 
						 
						
							
							
								
								fix: stale call checker leaks memory  
							
							
							
						 
						
							2023-11-04 00:30:14 +01:00  
				
					
						
							
							
								 
						
							
								579b8aa944 
								
							 
						 
						
							
							
								
								Merge branch 'main' into karthi/fix-hangup-timeout  
							
							
							
						 
						
							2023-11-03 19:22:01 +05:30  
				
					
						
							
							
								 
						
							
								88110773ab 
								
							 
						 
						
							
							
								
								fix: call hangup on timeout race condition  
							
							
							
						 
						
							2023-11-03 16:05:37 +05:30  
				
					
						
							
							
								 
						
							
								82492f92e1 
								
							 
						 
						
							
							
								
								chore: upgrade lints  
							
							
							
						 
						
							2023-11-02 10:20:33 +01:00  
				
					
						
							
							
								 
						
							
								620187c772 
								
							 
						 
						
							
							
								
								Merge branch 'main' into braid/store-left-rooms-in-archive  
							
							
							
						 
						
							2023-11-02 08:49:48 +01:00  
				
					
						
							
							
								 
						
							
								f0e4232930 
								
							 
						 
						
							
							
								
								refactor: Wait for room in sync until sync process and trigger cleanup call not before actually start clean up.  
							
							
							
						 
						
							2023-10-23 12:30:14 +02:00  
				
					
						
							
							
								 
						
							
								6f144198b7 
								
							 
						 
						
							
							
								
								fix: Do not convert linebreaks in pre blocks on markdown parsing  
							
							
							
						 
						
							2023-10-23 08:39:26 +02:00  
				
					
						
							
							
								 
						
							
								5dea95f02c 
								
							 
						 
						
							
							
								
								fix: Code style  
							
							... 
							
							
							
							Signed-off-by: The one with the braid <info@braid.business> 
							
						 
						
							2023-10-20 14:58:56 +02:00  
				
					
						
							
							
								 
						
							
								f1fd6f43f9 
								
							 
						 
						
							
							
								
								chore: remove archived room on forget ( #2 )  
							
							... 
							
							
							
							Co-authored-by: Clemens Toegel <clemens.toegel@x-tention.at> 
							
						 
						
							2023-10-20 14:04:11 +02:00  
				
					
						
							
							
								 
						
							
								0ec6a64cc8 
								
							 
						 
						
							
							
								
								chore: store states to archived rooms ( #1 )  
							
							... 
							
							
							
							* chore: store states to archived rooms
* chore: PR fix
---------
Co-authored-by: Clemens Toegel <clemens.toegel@x-tention.at> 
							
						 
						
							2023-10-20 14:04:11 +02:00  
				
					
						
							
							
								 
						
							
								053dddb76d 
								
							 
						 
						
							
							
								
								chore: incrementally add left rooms to archive  
							
							... 
							
							
							
							- store left rooms in archive during sync (as well as they are removed
  on join already)
- refactor room archive code
- fix typo
Internal reference: SMC-385
Signed-off-by: The one with the braid <info@braid.business> 
							
						 
						
							2023-10-20 14:04:11 +02:00  
				
					
						
							
							
								 
						
							
								4e310f16d5 
								
							 
						 
						
							
							
								
								feat: Add methods to load all room keys from online key backup  
							
							... 
							
							
							
							This makes it possible to load
and sync all room keys
right after the bootstrap if the
app wants to do this. 
							
						 
						
							2023-10-20 12:13:12 +02:00  
				
					
						
							
							
								 
						
							
								4b51c1c5fd 
								
							 
						 
						
							
							
								
								fix: fixed hardcoded historyCount  
							
							
							
						 
						
							2023-10-20 11:25:45 +02:00  
				
					
						
							
							
								 
						
							
								5c3c85ba3d 
								
							 
						 
						
							
							
								
								refactor: Trigger upload keys on sync and not in background job and upload them before logout  
							
							
							
						 
						
							2023-10-20 10:18:05 +02:00  
				
					
						
							
							
								 
						
							
								b5b5cfee5e 
								
							 
						 
						
							
							
								
								fix: Convert linebreaks into br tags on markdown parsing  
							
							... 
							
							
							
							Removes two test cases in the markdown test which do not work anymore.
Reason for this is that just parsing a word inside of $$ word $$
katex is not valid anyway because katex is only made for mathematical
things. So the output is undefined behavior anyway. 
							
						 
						
							2023-09-29 09:24:50 +02:00  
				
					
						
							
							
								 
						
							
								5dd444daf2 
								
							 
						 
						
							
							
								
								refactor: Update markdown  
							
							
							
						 
						
							2023-09-28 08:09:17 +02:00  
				
					
						
							
							
								 
						
							
								97bf7723dd 
								
							 
						 
						
							
							
								
								fix: Wait for rate limit to pass while sending messages  
							
							... 
							
							
							
							Otherwise the user can't handle that exception themselves, since we
don't rethrow. 
							
						 
						
							2023-09-21 13:04:57 +02:00  
				
					
						
							
							
								 
						
							
								8ac86a883d 
								
							 
						 
						
							
							
								
								feat: Implement member change type  
							
							... 
							
							
							
							For easier handling and
comparing of m.room.member
state events to better
know what these event
actually changes. 
							
						 
						
							2023-09-19 16:19:42 +02:00  
				
					
						
							
							
								 
						
							
								dab7f6667e 
								
							 
						 
						
							
							
								
								Merge branch 'main' into nico/fix-okb-bootstrap  
							
							
							
						 
						
							2023-09-19 14:02:18 +02:00  
				
					
						
							
							
								 
						
							
								bf51e57e78 
								
							 
						 
						
							
							
								
								chore: remove redundant log message  
							
							
							
						 
						
							2023-09-19 12:24:06 +02:00  
				
					
						
							
							
								 
						
							
								3fb77383a3 
								
							 
						 
						
							
							
								
								fix: wait for online key backup key to be cached on reset  
							
							... 
							
							
							
							Otherwise uploading the keys won't work, since the key backup is
"disabled". 
							
						 
						
							2023-09-18 17:16:43 +02:00  
				
					
						
							
							
								 
						
							
								500e423c00 
								
							 
						 
						
							
							
								
								fix: storing the end of history pagination  
							
							... 
							
							
							
							At least in our CI this throws a null assertion error and since we
explicitly expect this to sometimes be null in our code, we should store
it as such. 
							
						 
						
							2023-09-18 12:02:06 +02:00  
				
					
						
							
							
								 
						
							
								c38cbbc8dc 
								
							 
						 
						
							
							
								
								fix: apply state event before decryption on leaved room  
							
							
							
						 
						
							2023-09-18 11:33:17 +02:00  
				
					
						
							
							
								 
						
							
								5b47a647b6 
								
							 
						 
						
							
							
								
								fix: userOwnsEncryptionKeys returns true for empty device lists  
							
							
							
						 
						
							2023-09-13 14:26:41 +02:00  
				
					
						
							
							
								 
						
							
								cce3646339 
								
							 
						 
						
							
							
								
								fix: startDirectChat might return an unjoined room  
							
							... 
							
							
							
							If you create DM room, but the other party doesn't join it, they might
be unable to create a new DM using startDirectChat. Since creating a new
DM is pretty much the same as joining the invite, we try to join the
pending DM invite first and fall back to creating a new room if that
fails. 
							
						 
						
							2023-09-04 13:27:55 +02:00  
				
					
						
							
							
								 
						
							
								b17f3a47f2 
								
							 
						 
						
							
							
								
								Merge pull request  #1547  from famedly/krille/request-participants-cache  
							
							... 
							
							
							
							feat: Add option to not cache users in memory when requesting all of … 
							
						 
						
							2023-08-16 09:15:56 +00:00  
				
					
						
							
							
								 
						
							
								0c60ad7acd 
								
							 
						 
						
							
							
								
								feat: Add option to not cache users in memory when requesting all of a room  
							
							
							
						 
						
							2023-08-13 08:16:11 +02:00  
				
					
						
							
							
								 
						
							
								dd64f4702a 
								
							 
						 
						
							
							
								
								fix: Has new messages is never true  
							
							
							
						 
						
							2023-08-10 08:44:07 +02:00  
				
					
						
							
							
								 
						
							
								30c27f00a1 
								
							 
						 
						
							
							
								
								fix: direct message room name computation  
							
							... 
							
							
							
							Signed-off-by: The one with the braid <braid@famedly.com> 
							
						 
						
							2023-08-04 08:17:17 +02:00  
				
					
						
							
							
								 
						
							
								4addccd9da 
								
							 
						 
						
							
							
								
								Merge pull request  #1534  from famedly/nico/simplify-sorting  
							
							... 
							
							
							
							refactor: simplify UIA stage selection logic 
							
						 
						
							2023-08-01 08:56:56 +00:00  
				
					
						
							
							
								 
						
							
								59693b7375 
								
							 
						 
						
							
							
								
								refactor: simplify UIA stage selection logic  
							
							... 
							
							
							
							(Also prevents a potential out of bounds exception) 
							
						 
						
							2023-08-01 10:31:55 +02:00  
				
					
						
							
							
								 
						
							
								b27fd4575d 
								
							 
						 
						
							
							
								
								Merge pull request  #1535  from famedly/nico/fix-okb-reset  
							
							... 
							
							
							
							Make online key backup reset actually backup keys 
							
						 
						
							2023-08-01 08:24:25 +00:00  
				
					
						
							
							
								 
						
							
								a016709a40 
								
							 
						 
						
							
							
								
								feat: Upload keys on OKB reset  
							
							... 
							
							
							
							This does make the reset take longer on big accounts, but otherwise
users might sign out before the keys are uploaded, which makes the reset
more destructive than necessary. In the common case of not having any
keys it shouldn't make a difference. 
							
						 
						
							2023-07-31 17:31:04 +02:00  
				
					
						
							
							
								 
						
							
								eb0759caf5 
								
							 
						 
						
							
							
								
								fix: fix upload of old session after reset  
							
							... 
							
							
							
							Otherwise we would need to wait for a new inbound session to upload
them. It might increase disk usage a bit every 10 minutes. 
							
						 
						
							2023-07-31 17:31:04 +02:00