58f6cde0bf 
								
							 
						 
						
							
							
								
								BREAKING CHANGE: high-level hadling of image sizes  
							
							... 
							
							
							
							- By using [package:image](https://pub.dev/packages/image ), the
`MatrixImageFile` was given automatically generated width and heigth.
- Moreover, `MatrixImageFile` was given a factory to create the image
  file from a given maximal dimension.
- When sending images without explicitly providing a thumbnail, the
  thumbnail is automatically generated based on the provided image.
- The blur hash in generated automatically based on the provided image.
Fixes:
https://gitlab.com/famedly/company/frontend/famedly-web/-/issues/162 , https://gitlab.com/famedly/fluffychat/-/issues/756 
Signed-off-by: Lanna Michalke <l.michalke@famedly.com> 
							
						 
						
							2022-01-19 13:10:17 +01:00  
				
					
						
							
							
								 
						
							
								cab03aa73b 
								
							 
						 
						
							
							
								
								fix: Allow unpadded base64 decoding  
							
							
							
						 
						
							2022-01-11 09:02:34 +00:00  
				
					
						
							
							
								 
						
							
								e9e9dcb4aa 
								
							 
						 
						
							
							
								
								Merge branch 'krille/newlinter' into 'main'  
							
							... 
							
							
							
							refactor: Remove unnecessary type checks and imports
See merge request famedly/company/frontend/famedlysdk!929 
							
						 
						
							2022-01-03 11:45:06 +00:00  
				
					
						
							
							
								 
						
							
								3bce8b4489 
								
							 
						 
						
							
							
								
								refactor: Remove unnecessary type checks and imports  
							
							
							
						 
						
							2021-12-23 11:46:45 +01:00  
				
					
						
							
							
								 
						
							
								326f1f3223 
								
							 
						 
						
							
							
								
								fix: Localize reactions  
							
							... 
							
							
							
							In notifications in FluffyChat we
have "Unknown event m.reaction"
for reactions. But it should just be
enough to display the body so it
should look like:
"username: :thumbs_up_emoji:" 
							
						 
						
							2021-12-23 11:43:00 +01:00  
				
					
						
							
							
								 
						
							
								921c694888 
								
							 
						 
						
							
							
								
								feat: Add clear cache command  
							
							
							
						 
						
							2021-11-23 09:48:08 +01:00  
				
					
						
							
							
								 
						
							
								a61e1ae4a3 
								
							 
						 
						
							
							
								
								feat: Add commands to create chats  
							
							
							
						 
						
							2021-11-21 13:40:41 +01:00  
				
					
						
							
							
								 
						
							
								66bf8e6ace 
								
							 
						 
						
							
							
								
								fix: HtmlToText crashes with an empty code block  
							
							
							
						 
						
							2021-11-16 08:18:07 +01:00  
				
					
						
							
							
								 
						
							
								d2e7de4702 
								
							 
						 
						
							
							
								
								fix: crash on invalid displaynames  
							
							
							
						 
						
							2021-11-09 21:27:55 +01:00  
				
					
						
							
							
								 
						
							
								9abe1ed81d 
								
							 
						 
						
							
							
								
								fix: Dont enable e2ee in test verification DM room  
							
							
							
						 
						
							2021-11-09 15:42:43 +01:00  
				
					
						
							
							
								 
						
							
								315ed7bdcb 
								
							 
						 
						
							
							
								
								feat: Add more benchmarks for sync, timeline, init  
							
							... 
							
							
							
							This also disables benchmarks if loglevel is higher than debug. 
							
						 
						
							2021-11-09 10:03:59 +01:00  
				
					
						
							
							
								 
						
							
								9be87918f1 
								
							 
						 
						
							
							
								
								refactor: Make room in Event class not nullable  
							
							
							
						 
						
							2021-11-04 14:21:04 +01:00  
				
					
						
							
							
								 
						
							
								5c87b560b9 
								
							 
						 
						
							
							
								
								fix: obay explicitly set ports in mxc URLs  
							
							
							
						 
						
							2021-11-03 08:54:04 +01:00  
				
					
						
							
							
								 
						
							
								6e20c53b01 
								
							 
						 
						
							
							
								
								refactor: remove redundant null checks  
							
							
							
						 
						
							2021-10-28 14:32:09 +02:00  
				
					
						
							
							
								 
						
							
								ebd5bc3d24 
								
							 
						 
						
							
							
								
								refactor: make room nullsafe  
							
							
							
						 
						
							2021-10-28 00:54:25 +02:00  
				
					
						
							
							
								 
						
							
								fb0a84d7b2 
								
							 
						 
						
							
							
								
								refactor: make client nullsafe  
							
							
							
						 
						
							2021-10-25 16:34:02 +02:00  
				
					
						
							
							
								 
						
							
								17fd1f22b3 
								
							 
						 
						
							
							
								
								refactor: make event nullsafe  
							
							
							
						 
						
							2021-10-25 10:10:25 +00:00  
				
					
						
							
							
								 
						
							
								faba36d476 
								
							 
						 
						
							
							
								
								fix: Missing null check in a nested json map  
							
							
							
						 
						
							2021-10-18 15:45:29 +02:00  
				
					
						
							
							
								 
						
							
								60956bde00 
								
							 
						 
						
							
							
								
								chore: port the remaining encryption files to nullsafety  
							
							
							
						 
						
							2021-10-13 13:58:21 +00:00  
				
					
						
							
							
								 
						
							
								3ae42d1a88 
								
							 
						 
						
							
							
								
								fix: Type error when using CryptoKey in dart web  
							
							... 
							
							
							
							In Dart Web when using CryptoKey we
get a type error. When using the html version of it
it seems to work fine. 
							
						 
						
							2021-10-13 12:30:04 +00:00  
				
					
						
							
							
								 
						
							
								3603dae312 
								
							 
						 
						
							
							
								
								feat: Calc benchmarks for hive operations on init  
							
							
							
						 
						
							2021-10-07 12:18:13 +00:00  
				
					
						
							
							
								 
						
							
								a7818bbd0f 
								
							 
						 
						
							
							
								
								refactor: null safety for all utils  
							
							
							
						 
						
							2021-10-05 15:41:25 +02:00  
				
					
						
							
							
								 
						
							
								7dd176c278 
								
							 
						 
						
							
							
								
								fix: apply review feedback  
							
							
							
						 
						
							2021-09-30 12:58:37 +00:00  
				
					
						
							
							
								 
						
							
								1c838e3be8 
								
							 
						 
						
							
							
								
								fix: Cleanup nullsafe encryption a bit  
							
							
							
						 
						
							2021-09-30 12:58:37 +00:00  
				
					
						
							
							
								 
						
							
								da80658c09 
								
							 
						 
						
							
							
								
								refactor: simplify device_keys_list.dart  
							
							
							
						 
						
							2021-09-30 12:58:37 +00:00  
				
					
						
							
							
								 
						
							
								a196b53219 
								
							 
						 
						
							
							
								
								refactor: nullsafe encryption  
							
							
							
						 
						
							2021-09-30 12:58:37 +00:00  
				
					
						
							
							
								 
						
							
								1d0202e14e 
								
							 
						 
						
							
							
								
								refactor: null safe matrix_id_string_extension  
							
							
							
						 
						
							2021-09-27 12:59:51 +00:00  
				
					
						
							
							
								 
						
							
								3b1c6e3d2b 
								
							 
						 
						
							
							
								
								refactor: arbitrary components in _parseIdentifierIntoUri  
							
							
							
						 
						
							2021-09-27 12:59:51 +00:00  
				
					
						
							
							
								 
						
							
								fb0ea2efc3 
								
							 
						 
						
							
							
								
								refactor: parseIdentifierIntoParts  
							
							
							
						 
						
							2021-09-27 12:59:51 +00:00  
				
					
						
							
							
								 
						
							
								7fce5b6040 
								
							 
						 
						
							
							
								
								refactor: inline parseQueryString in parseIdentifierIntoParts  
							
							
							
						 
						
							2021-09-27 12:59:51 +00:00  
				
					
						
							
							
								 
						
							
								8ea01fcee0 
								
							 
						 
						
							
							
								
								refactor: simplify parseQueryString in parseIdentifierIntoParts  
							
							
							
						 
						
							2021-09-27 12:59:51 +00:00  
				
					
						
							
							
								 
						
							
								77ca7523d0 
								
							 
						 
						
							
							
								
								refactor: remove unused clientId  
							
							
							
						 
						
							2021-09-24 16:05:05 +02:00  
				
					
						
							
							
								 
						
							
								42434761e8 
								
							 
						 
						
							
							
								
								chore: dart analyze fix  
							
							
							
						 
						
							2021-09-23 14:57:30 +02:00  
				
					
						
							
							
								 
						
							
								5da26a6923 
								
							 
						 
						
							
							
								
								refactor: null safe commands_extension  
							
							
							
						 
						
							2021-09-23 00:15:05 +00:00  
				
					
						
							
							
								 
						
							
								01c3b4d0bc 
								
							 
						 
						
							
							
								
								refactor: null safe MatrixFile  
							
							
							
						 
						
							2021-09-22 23:40:21 +00:00  
				
					
						
							
							
								 
						
							
								7a3553839c 
								
							 
						 
						
							
							
								
								fix: remove unused parameter in VariableTimeoutHttpClient  
							
							
							
						 
						
							2021-09-21 07:12:07 +00:00  
				
					
						
							
							
								 
						
							
								f491cfacc2 
								
							 
						 
						
							
							
								
								refactor: null safe http_timeout  
							
							
							
						 
						
							2021-09-21 07:12:07 +00:00  
				
					
						
							
							
								 
						
							
								6f0c7c5f64 
								
							 
						 
						
							
							
								
								feat: Add /discardsession command  
							
							
							
						 
						
							2021-09-17 05:52:53 +00:00  
				
					
						
							
							
								 
						
							
								e13b00d127 
								
							 
						 
						
							
							
								
								refactor: Make RoomUpdate class null safe by removing it  
							
							... 
							
							
							
							RoomUpdate came from a time where we had no data model for
SyncUpdates but now we have and therefore this class is just
code duplication. This removes the class
and uses the SyncRoomUpdate class from
the package matrix_api_lite instead.
It needed a lot of refactoring at some places
where I also have removed some unnecessary null or type checks. 
							
						 
						
							2021-09-08 12:31:55 +00:00  
				
					
						
							
							
								 
						
							
								5b13e0442e 
								
							 
						 
						
							
							
								
								refactor: Make Uri extension null safe  
							
							
							
						 
						
							2021-09-08 12:31:55 +00:00  
				
					
						
							
							
								 
						
							
								92755c07d3 
								
							 
						 
						
							
							
								
								refactor: Don't create dummy User object just to start a new chat  
							
							
							
						 
						
							2021-09-08 12:31:55 +00:00  
				
					
						
							
							
								 
						
							
								646d7e2640 
								
							 
						 
						
							
							
								
								fix: revert make bytes in EncryptedFile nullable  
							
							
							
						 
						
							2021-09-06 09:35:53 +02:00  
				
					
						
							
							
								 
						
							
								2cd32a8547 
								
							 
						 
						
							
							
								
								fix: Make bytes in encrypted file nullable  
							
							... 
							
							
							
							This was a mistake to make them non nullable. There are fields in the app where
we create this object without bytes. 
							
						 
						
							2021-09-06 08:46:23 +02:00  
				
					
						
							
							
								 
						
							
								9c1f79359e 
								
							 
						 
						
							
							
								
								refactor: Replace all logic regarding sortOrder  
							
							... 
							
							
							
							The current implementation of sortOrder can be made way more easier now
by just keeping the sortOrder of the list
and the timelineFragments in the hiveStore. This needed a huge
change but mostly removes a lot of code which can be done
way more easy now. This also needed some rewriting of the setState logic and changes to
the prevEvent calculation. This solution should also be more stable.
More information:
https://www.reddit.com/r/fluffychat/comments/pfnlhq/the_sort_order_of_matrix_timelines/  
							
						 
						
							2021-09-02 07:13:38 +00:00  
				
					
						
							
							
								 
						
							
								62694248b9 
								
							 
						 
						
							
							
								
								refactor: Make UIA Request null safe  
							
							
							
						 
						
							2021-08-30 09:26:34 +02:00  
				
					
						
							
							
								 
						
							
								efca583cf5 
								
							 
						 
						
							
							
								
								refactor: SyncUpdateExtension null safe  
							
							
							
						 
						
							2021-08-30 09:20:17 +02:00  
				
					
						
							
							
								 
						
							
								8ae77215b5 
								
							 
						 
						
							
							
								
								refactor: SpaceChild and SpaceParent null safe  
							
							
							
						 
						
							2021-08-30 09:20:17 +02:00  
				
					
						
							
							
								 
						
							
								dd48a379ec 
								
							 
						 
						
							
							
								
								refactor: runInRoot null safe  
							
							
							
						 
						
							2021-08-30 09:20:17 +02:00  
				
					
						
							
							
								 
						
							
								8621f82333 
								
							 
						 
						
							
							
								
								refactor: Null safe receipt  
							
							
							
						 
						
							2021-08-30 09:20:17 +02:00  
				
					
						
							
							
								 
						
							
								607658dcda 
								
							 
						 
						
							
							
								
								refactor: Null safe QueuedToDeviceEvent and fix CamelCase filename  
							
							
							
						 
						
							2021-08-30 09:20:17 +02:00