642bb7e62a 
								
							 
						 
						
							
							
								
								fix: in memory database is not actually in memory  
							
							... 
							
							
							
							Since we can't pass the fake filesystem to hive, instead we just store
the database in a temporary directory. 
							
						 
						
							2023-11-21 14:30:34 +01:00  
				
					
						
							
							
								 
						
							
								f72d298a0b 
								
							 
						 
						
							
							
								
								fix: database tests group can't be async  
							
							
							
						 
						
							2023-11-17 13:05:14 +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  
				
					
						
							
							
								 
						
							
								a0970b7fcb 
								
							 
						 
						
							
							
								
								chore: don't manually enable default rules  
							
							
							
						 
						
							2023-11-17 12:59:20 +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  
				
					
						
							
							
								 
						
							
								82492f92e1 
								
							 
						 
						
							
							
								
								chore: upgrade lints  
							
							
							
						 
						
							2023-11-02 10:20:33 +01:00  
				
					
						
							
							
								 
						
							
								6f144198b7 
								
							 
						 
						
							
							
								
								fix: Do not convert linebreaks in pre blocks on markdown parsing  
							
							
							
						 
						
							2023-10-23 08:39:26 +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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								538865f62a 
								
							 
						 
						
							
							
								
								chore: cleanup some eventTypes and unused variables  
							
							
							
						 
						
							2023-06-27 13:46:39 +05:30  
				
					
						
							
							
								 
						
							
								f310632a83 
								
							 
						 
						
							
							
								
								fix: Assign correct type to signedOneTimeKeys  
							
							
							
						 
						
							2023-06-22 17:18:10 +02:00  
				
					
						
							
							
								 
						
							
								6a0a252912 
								
							 
						 
						
							
							
								
								feat: qr key verification  
							
							
							
						 
						
							2023-06-21 19:15:26 +05:30  
				
					
						
							
							
								 
						
							
								5943576b1b 
								
							 
						 
						
							
							
								
								refactor: Added type casts to match refactored matrix_api_lite  
							
							
							
						 
						
							2023-06-16 12:42:10 +02:00  
				
					
						
							
							
								 
						
							
								2ebda5e6fc 
								
							 
						 
						
							
							
								
								chore: fix edited last events breaking db  
							
							
							
						 
						
							2023-06-01 23:58:47 +05:30  
				
					
						
							
							
								 
						
							
								9c2f026b4d 
								
							 
						 
						
							
							
								
								refactor: Remove unused parameters  
							
							
							
						 
						
							2023-05-11 09:24:41 +02:00  
				
					
						
							
							
								 
						
							
								cc377202da 
								
							 
						 
						
							
							
								
								fix: remove deprecated sender_key occurrences  
							
							
							
						 
						
							2023-05-08 09:12:14 +00:00  
				
					
						
							
							
								 
						
							
								91617c1892 
								
							 
						 
						
							
							
								
								refactor: Make optional eventId a named parameter  
							
							... 
							
							
							
							This should not break the
API of consuming apps and
is more intuitive as the
parameter is nullable. 
							
						 
						
							2023-04-28 10:03:04 +02:00  
				
					
						
							
							
								 
						
							
								831938b8f5 
								
							 
						 
						
							
							
								
								fix: Skip rules with unknown conditions  
							
							... 
							
							
							
							Without this, when new rules are added with new conditions, we would
always match on them. This would mean all messages now notify. It is
better to skip them instead. 
							
						 
						
							2023-04-26 19:00:24 +02:00  
				
					
						
							
							
								 
						
							
								663ab11ec5 
								
							 
						 
						
							
							
								
								feat: Support private read receipts  
							
							... 
							
							
							
							You can either set them to private on the client or overwrite the
behaviour for that on each readMarker call. This also handles incoming
thread receipts and tries its best to figure out what is the latest
receipt. This however breaks the old m.receipt account data event. 
							
						 
						
							2023-04-21 18:31:15 +02:00  
				
					
						
							
							
								 
						
							
								7f519b5619 
								
							 
						 
						
							
							
								
								Merge branch 'main' into 'main'  
							
							... 
							
							
							
							Implement Thread creating/sending + added neccessary tests
Closes  #351 
See merge request famedly/company/frontend/famedlysdk!1262 
							
						 
						
							2023-04-17 13:15:36 +00:00  
				
					
						
							
							
								 
						
							
								203fc25d7a 
								
							 
						 
						
							
							
								
								feat: allow sending messages inside threads  
							
							
							
						 
						
							2023-04-17 14:39:11 +03:00  
				
					
						
							
							
								 
						
							
								7039c33f3a 
								
							 
						 
						
							
							
								
								chore: Upgrade to matrix_api_lite 1.6  
							
							
							
						 
						
							2023-04-17 13:23:51 +02:00  
				
					
						
							
							
								 
						
							
								9aff62a18c 
								
							 
						 
						
							
							
								
								feat: Expose a getter for all rooms including archived rooms  
							
							
							
						 
						
							2023-03-20 13:12:47 +00:00  
				
					
						
							
							
								 
						
							
								92999339a9 
								
							 
						 
						
							
							
								
								Merge branch 'krille/fake-user-event' into 'main'  
							
							... 
							
							
							
							fix: Fake User object
Closes  #343 
See merge request famedly/company/frontend/famedlysdk!1221 
							
						 
						
							2023-02-17 09:02:59 +00:00  
				
					
						
							
							
								 
						
							
								0c9e129347 
								
							 
						 
						
							
							
								
								fix: clean expired member state events in group calls  
							
							
							
						 
						
							2023-02-14 23:08:50 +05:30  
				
					
						
							
							
								 
						
							
								1219604dc9 
								
							 
						 
						
							
							
								
								fix: hasActiveGroup call now checks all group calls  
							
							... 
							
							
							
							fix: implement activeGroupCallEvents to get all active group call state events in a room
refactor: move staleCallChecker and expires_Ts stuff to an extension on Room, instead of Voip because it makes much more sense per room rather than on voip, also makes testing easier
fix: populate local groupCalls list on instantiating VOIP()
fix: starting stale call checker is now handled by the sdk itself because clients can forget to do so 
							
						 
						
							2023-02-14 15:02:28 +05:30  
				
					
						
							
							
								 
						
							
								31d4d5d08e 
								
							 
						 
						
							
							
								
								fix: Check if argument is valid mxid in /maskasdm command  
							
							
							
						 
						
							2023-02-14 09:16:48 +01:00  
				
					
						
							
							
								 
						
							
								9b3dd5acd7 
								
							 
						 
						
							
							
								
								chore: bump dart to 2.18  
							
							... 
							
							
							
							Allows us to get rid of some null assertions. 
							
						 
						
							2023-02-01 11:39:55 +01:00  
				
					
						
							
							
								 
						
							
								c5d484bb13 
								
							 
						 
						
							
							
								
								feat: add method to generate the matrix.to link  
							
							
							
						 
						
							2023-01-20 03:41:43 +05:30  
				
					
						
							
							
								 
						
							
								d6c4b530c5 
								
							 
						 
						
							
							
								
								refactor: room displayname calculation  
							
							... 
							
							
							
							This deprecates the displayname
getter in favor of the new
getLocalizedDisplayname which
gets the default localization
by default so it can be
called without defining localizations. It adds a method
to calculate if a room is an
abandoned DM room where
it is made sure that the room
is actually empty. 
							
						 
						
							2023-01-17 08:51:07 +01:00  
				
					
						
							
							
								 
						
							
								ed0ab3bdb9 
								
							 
						 
						
							
							
								
								Merge branch 'krille/remove-transaction-workaround' into 'main'  
							
							... 
							
							
							
							refactor: Remove database transaction workaround
See merge request famedly/company/frontend/famedlysdk!1192 
							
						 
						
							2022-12-27 13:20:21 +00:00  
				
					
						
							
							
								 
						
							
								185b27eaf7 
								
							 
						 
						
							
							
								
								Merge branch 'nico/invalid_pushrule_test' into 'main'  
							
							... 
							
							
							
							test: Add test for dendrites invalid pushrules
See merge request famedly/company/frontend/famedlysdk!1201 
							
						 
						
							2022-12-27 08:54:43 +00:00  
				
					
						
							
							
								 
						
							
								2c87b2a8e3 
								
							 
						 
						
							
							
								
								test: Add test for dendrites invalid pushrules  
							
							... 
							
							
							
							While we do test against dendrite, it is useful to have a few targeted
tests.
See also https://gitlab.com/famedly/company/frontend/famedlysdk/-/issues/349  
							
						 
						
							2022-12-23 11:38:00 +01:00  
				
					
						
							
							
								 
						
							
								8c096ef6ca 
								
							 
						 
						
							
							
								
								test: Add tests for account data store and retrieve  
							
							... 
							
							
							
							fixes https://gitlab.com/famedly/company/frontend/famedlysdk/-/issues/326  
							
						 
						
							2022-12-21 19:49:59 +01:00  
				
					
						
							
							
								 
						
							
								7a5b013c92 
								
							 
						 
						
							
							
								
								refactor: Remove database transaction workaround  
							
							... 
							
							
							
							The workaround was from the
time when we have used
sqflite or when Hive had
bugs. But now HiveCollections
already supports transactions
in Dart zones and concurrent
write operations shouldn't
be a problem anymore. 
							
						 
						
							2022-12-21 09:41:11 +01:00  
				
					
						
							
							
								 
						
							
								d517581fa5 
								
							 
						 
						
							
							
								
								Merge branch 'krille/fix-powerlevels' into 'main'  
							
							... 
							
							
							
							fix: PowerLevel calculation regarding to spec
See merge request famedly/company/frontend/famedlysdk!1172 
							
						 
						
							2022-11-21 09:39:50 +00:00  
				
					
						
							
							
								 
						
							
								f3287dbb99 
								
							 
						 
						
							
							
								
								fix: PowerLevel calculation regarding to spec  
							
							
							
						 
						
							2022-11-21 10:14:28 +01:00  
				
					
						
							
							
								 
						
							
								476963069a 
								
							 
						 
						
							
							
								
								feat: support MSC 3935: cute events  
							
							... 
							
							
							
							- add cute event skeletron (`im.fluffychat.cute_events`)
- add cute events to default command batch
- this way, all SDK users can profit from cute events
- supported events: `hug`, `googly_eyes`, `cuddle`
Fixes:
https://rail.chat/@AgathaSorceress@eldritch.cafe/109336005433123570 
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf> 
							
						 
						
							2022-11-21 09:17:07 +01:00  
				
					
						
							
							
								 
						
							
								e6182db16b 
								
							 
						 
						
							
							
								
								refactor: Remove deprecated fluffybox  
							
							
							
						 
						
							2022-10-28 12:56:20 +02:00  
				
					
						
							
							
								 
						
							
								ed7913e710 
								
							 
						 
						
							
							
								
								feat: introduce hightlighted room getter  
							
							... 
							
							
							
							- adds `Room.isUnreadOrInvited` extending `Room.isUnread` to invited rooms
This is some high-level abstraction simplifying computation of unread
room badges / notifications.
Related: https://gitlab.com/groups/famedly/company/-/epics/28 
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf> 
							
						 
						
							2022-10-26 11:51:32 +02:00  
				
					
						
							
							
								 
						
							
								69f82b2619 
								
							 
						 
						
							
							
								
								refactor: Remove unused imports  
							
							
							
						 
						
							2022-10-18 11:42:11 +02:00  
				
					
						
							
							
								 
						
							
								ee93d545cc 
								
							 
						 
						
							
							
								
								chore: fix exception test after api_lite update  
							
							
							
						 
						
							2022-10-17 12:52:08 +02:00  
				
					
						
							
							
								 
						
							
								f55bb4776a 
								
							 
						 
						
							
							
								
								feat: Support evaluating pushrules  
							
							... 
							
							
							
							fixes  #339  
						
							2022-10-17 04:29:20 +02:00  
				
					
						
							
							
								 
						
							
								403824b261 
								
							 
						 
						
							
							
								
								feat: Store original event  
							
							
							
						 
						
							2022-09-19 09:40:42 +02:00  
				
					
						
							
							
								 
						
							
								62cd4e78fb 
								
							 
						 
						
							
							
								
								chore: fix analyzer error.  
							
							
							
						 
						
							2022-09-17 00:19:21 +08:00  
				
					
						
							
							
								 
						
							
								163ad0de6b 
								
							 
						 
						
							
							
								
								fix: The initial sync waiting for a long time in some cases  
							
							
							
						 
						
							2022-08-30 14:22:09 +02:00  
				
					
						
							
							
								 
						
							
								dd1f61c29e 
								
							 
						 
						
							
							
								
								feat: support dehydrated devices  
							
							
							
						 
						
							2022-08-29 13:05:55 +02:00