Commit Graph

1307 Commits

Author SHA1 Message Date
Stefan Ceriu 1bbc38c03e Moved timeline views to the room screen folder. Extracted timeline code into its own component. Added more preview providers. 2022-03-30 16:33:57 +03:00
Stefan Ceriu 9db1dda718 Added AttributedStringBuilder tests. 2022-03-30 14:32:41 +03:00
Stefan Ceriu 9169a9def9 Bumped the rust components to v1.0.7-alpha. 2022-03-29 18:14:33 +03:00
Stefan Ceriu 4053841e2f Removed manual message sorting after rust sdk fix. 2022-03-29 18:04:19 +03:00
Stefan Ceriu c4e5689272 Increased back pagination did reach top trigger offset. 2022-03-29 16:08:46 +03:00
Stefan Ceriu 88dd482be1 Reduced timeline sender details header size, removed divider. 2022-03-29 16:02:29 +03:00
Stefan Ceriu af5b75cde0 Correct dark theme support with html rendering. 2022-03-29 14:52:21 +03:00
Stefan Ceriu ab25689e38 Added support for emotes and notices. 2022-03-29 12:13:41 +03:00
Stefan Ceriu 2fcbd33158 Reimplemented ObjC attributed string handling in swift. 2022-03-28 21:16:18 +03:00
Stefan Ceriu e069aa48dd Fixed link matching regex. 2022-03-25 12:40:18 +02:00
Stefan Ceriu 8e1065e530 Bumped the rust components to v1.0.6-alpha. 2022-03-25 10:49:21 +02:00
Stefan Ceriu ff7c8f6128 Added link detection in plain text (not available ootb in SwiftUI) and support for user, room, event and group identifiers + room aliases. 2022-03-24 16:26:58 +02:00
Stefan Ceriu fde8ce63eb Reload the timeline on content size category changes, dynamic type support. 2022-03-24 14:49:09 +02:00
Stefan Ceriu 762b497940 Sort incoming messages client side, workaround backward stream issues (revisit later with new Rust implementation). 2022-03-24 14:48:38 +02:00
Stefan Ceriu cf42d61d27 Initial timeline HTML support. 2022-03-24 14:47:55 +02:00
Stefan Ceriu d3588cf6f1 Filter out space and tombstoned rooms from the rooms list. 2022-03-22 10:27:26 +02:00
Stefan Ceriu 5c7761e851 Added html body to text messages and rendering through Apple's default NSAttributedString.DocumentType.html parser 2022-03-22 10:09:46 +02:00
Stefan Ceriu d201ca1ad8 Added user display names and switched to using an avatar url directly in the homeScreen viewModel for the current user. 2022-03-21 19:35:24 +02:00
Stefan Ceriu a9c0a8f334 Switched back to release version of the SDK. 2022-03-18 14:50:15 +02:00
Stefan Ceriu c7878d7f5b FIxed full screen loading indicators and toasts not showing up on MacOS. 2022-03-18 14:36:39 +02:00
Stefan Ceriu fdb9242838 Fixed missing PlaceholderAvatarImage. 2022-03-18 14:35:38 +02:00
Stefan Ceriu e70b782956 Enabled markdown rendering. 2022-03-18 14:07:07 +02:00
Stefan Ceriu 22659ae214 Added protocols for the timeline and memberDetails providers. 2022-03-18 13:48:07 +02:00
Stefan Ceriu 2eae0f0573 Introduced MemberDetailsProvider, caching user avatar urls and images. Various other tweaks and improvements. 2022-03-18 13:40:25 +02:00
Stefan Ceriu 120bcaf012 Loading images and user avatars. 2022-03-17 18:09:29 +02:00
Stefan Ceriu 30378ae6a9 Correctly building image items for the timeline. Missing URL and way to load image. 2022-03-16 18:02:19 +02:00
Stefan Ceriu 439f09095a Fixed annoying WeakDictionary warning.. the right way .. I think. 2022-03-16 18:02:19 +02:00
Stefan Ceriu 3cc1395fbc Adopting different timeline item types exposed from rust. 2022-03-16 18:02:19 +02:00
Stefan Ceriu 44da96c55f Fixed login restoration on MacCatalyst. Added keychain access group entitlement. 2022-03-16 18:02:00 +02:00
Stefan Ceriu 43f78d0a26 Load room details on appearance. Avoid overwhelming the rust runtime and slow down the room timeline loading. 2022-03-16 14:52:25 +02:00
Stefan Ceriu 59e42ec938 Updating the room list on the home screen as soon as possible instead of waiting for the first sync response. 2022-03-16 11:42:01 +02:00
Stefan Ceriu 1ca3448ca3 Rewrote timeline back pagination on top of direct access to the underlying UITableView. 2022-03-15 13:06:50 +02:00
Stefan Ceriu 3d7b3d3d63 Introduced the RoomTimelineViewProvider with different timeline items/views. Added timeline date separators (currently breaks back pagination) 2022-03-11 14:49:09 +02:00
Stefan Ceriu d413a67329 Switched to discrete timeline items that directly expose view builders. 2022-03-11 11:27:08 +02:00
Stefan Ceriu 8d4f6f301b Better timeline handling, based on improved rust APIs. 2022-03-10 16:45:34 +02:00
Stefan Ceriu fc8e92eef1 Separated encrypted from non-encrypted rooms. Moved DMs to the bottom. 2022-03-10 16:40:16 +02:00
Stefan Ceriu d0f88356d2 Temporary - prevent backwards pagination from scrolling the timline all the way back to the begining of time. 2022-03-08 14:59:27 +02:00
Stefan Ceriu c22d9689d4 Added room timeline screen with live events listening and back pagination. Rearranged project files. 2022-03-08 14:24:33 +02:00
Stefan Ceriu f403c59b95 Bumped matrix-rust-components-swift to v1.0.2-alpha. 2022-03-01 14:27:05 +02:00
Stefan Ceriu 0d33e1e4ab Cleaning up user data on logout and passing a weak client delegate wrapper to rust. 2022-03-01 14:05:35 +02:00
Stefan Ceriu e50f0257d2 Fetching the room display names in background to avoid blocking the main thread. 2022-02-24 17:45:02 +02:00
Stefan Ceriu 97cb8adcee Added fastlane release scripts. 2022-02-24 17:44:21 +02:00
Stefan Ceriu 3e7e08d388 Added app icons and script to generate them from a .pdf file. 2022-02-24 09:36:09 +02:00
Stefan Ceriu c82548932b Disabled bitcode for rust compatibility - https://stackoverflow.com/a/70693118 2022-02-23 15:37:05 +02:00
Stefan Ceriu 7398df9f76 Update README.md 2022-02-23 09:01:20 +02:00
Stefan Ceriu caa42fa898 Add login screen return key actions, made home screen header smaller. 2022-02-22 17:33:03 +02:00
Stefan Ceriu cfc24cd48d Fix out of bounds crashes on homescreen disclosure groups, stopped logging passwords :D 2022-02-22 14:50:56 +02:00
Stefan Ceriu 1fbdff55fc Added disclosure groups for rooms and people. 2022-02-22 14:35:25 +02:00
Stefan Ceriu bea929a2ae Fixed MatrixRustSDK swift package references. 2022-02-22 14:11:11 +02:00
Stefan Ceriu d634995a20 Added error toasts on the login screen. 2022-02-22 13:53:34 +02:00