Commit Graph

244 Commits

Author SHA1 Message Date
Adam Brown 2e2e4aff99 use matching colour for attachment icon and message hint 2022-10-30 18:42:22 +00:00
Adam Brown 2ad4ca1c61 add fullscreen image viewing when tapping image 2022-10-30 18:23:05 +00:00
Adam Brown 918f186560 allowing duplicate text content and handling header line breaks 2022-10-29 13:59:29 +01:00
Adam Brown eeb13b3f6c adding missing rich text test usages 2022-10-24 22:56:17 +01:00
Adam Brown de8c476ed5 Merge branch 'main' of github.com:ouchadam/helium into feature/message-formatting 2022-10-24 22:19:20 +01:00
Adam Brown c25171eeca fixing wrong author name in replies 2022-10-24 22:11:47 +01:00
Adam Brown 9476fc5814 handling more text parsing cases for fallbacks and urls 2022-10-24 22:03:53 +01:00
Adam Brown fddcdaa50c adding custom html parsing with tag styling 2022-10-23 23:15:46 +01:00
Adam Brown f695b319eb handling bubble long clicks as copy text events 2022-10-22 16:18:15 +01:00
Adam Brown 4a912c70fa reusing image request build base instance to avoid redundant creations 2022-10-22 14:02:13 +01:00
Adam Brown e024860a77 extract reply bubble view to the components module 2022-10-22 11:46:33 +01:00
Adam Brown d17ee34d78 porting image bubble to design system 2022-10-18 22:25:52 +01:00
Adam Brown 9ba6d70daa extracts the swipeable bubble container to the design system 2022-10-18 22:08:24 +01:00
Adam Brown b8b1612f01 fixing login sometimes never transitioning to next state 2022-10-17 22:26:52 +01:00
Adam Brown f47a44063b fixing images causing decryption errors
- introduces a dedicated encrypted room event type
2022-10-17 20:47:04 +01:00
Adam Brown ab163001db
Merge pull request #202 from ouchadam/bug/android-13-notifications
Fix missing notifications on android 13
2022-10-12 23:06:34 +01:00
Adam Brown b8689292c3 request notification permission on android 13 when showing home content 2022-10-12 22:59:31 +01:00
Adam Brown cf9d94a72b Fix Android 13 being unable to launch attachment picker
- Android 13 requires the read_media_images permission instead of read external
2022-10-12 22:36:17 +01:00
Adam Brown 709d6c0e1f porting notification tests to the engine 2022-10-12 21:05:56 +01:00
Adam Brown 4d033230e4 porting notifications to chat engine 2022-10-12 20:52:02 +01:00
Adam Brown 86ad2a8a32 fixing wrong room overview in test state 2022-10-12 20:10:35 +01:00
Adam Brown 8a95a77d7a porting settings tests to engine 2022-10-12 20:07:23 +01:00
Adam Brown d491bb844a porting directory tests to engine 2022-10-12 20:03:44 +01:00
Adam Brown 8f1d8cdcc1 porting messenger tests to the engine module 2022-10-12 19:57:16 +01:00
Adam Brown 489f45056c converting share module to engine 2022-10-09 21:44:06 +01:00
Adam Brown b987d1e21c converting profile module to engine 2022-10-09 21:37:43 +01:00
Adam Brown 0b02e6d028 porting pushes to chat engine 2022-10-09 21:22:43 +01:00
Adam Brown 8bbf7258be porting media decryption to the chat engine 2022-10-09 19:38:33 +01:00
Adam Brown e61dea7ba7 porting the messenger module to chat-engine 2022-10-09 19:22:03 +01:00
Adam Brown baf7cfc17a porting message observing to the chat engine 2022-10-09 18:58:03 +01:00
Adam Brown d2e8a29af8 porting settings module to chat engine 2022-10-09 17:44:18 +01:00
Adam Brown 492d7df9ac moving login and home modules to the chat engine 2022-10-09 17:24:05 +01:00
Adam Brown 128c2db432 starting engine migration
- add a chat-engine abstraction
- create a matrix-chat-engine implementation
- starts by porting the initial creation and directory listing
2022-10-09 16:52:33 +01:00
Adam Brown 94731d006e reusing error component in login screen 2022-10-09 15:55:10 +01:00
Adam Brown ec5c58a95c adding error views to profile, messenger and settings screens 2022-10-09 15:53:26 +01:00
Adam Brown 7e0d4d6013 add error handling to the image gallery 2022-10-09 15:40:07 +01:00
Adam Brown 9ec9797d17 providing more details to the import errors via dialog 2022-10-09 15:30:00 +01:00
Adam Brown 3a8c4c11ce adding dedicated error for missing room keys cipher 2022-10-09 15:09:56 +01:00
Adam Brown 0d0a5767d6 add subtitle to toggle item 2022-10-08 12:08:43 +01:00
Adam Brown 990cb08347 exposing option to enable/disable sending read receipts
Disabled by default
2022-10-08 11:35:14 +01:00
Adam Brown 0e4f6d6ac2 lifting hidden/private read receipt option to the view model 2022-10-08 11:09:08 +01:00
Adam Brown 43e53261b6 adding ability to opt in to on device logs, disabled by default 2022-10-08 11:07:30 +01:00
Adam Brown 31318037a7 providing a caching preferences abstraction to reading from an in memory value 2022-10-08 11:07:29 +01:00
Adam Brown 1e060dad44 fixing wrong in progress reply text colour for material you 2022-10-05 21:36:44 +01:00
Adam Brown 19724ea5b3 avoiding recalculating static toolbar height 2022-10-03 20:08:03 +01:00
Adam Brown eb497be421 avoiding recreating navigation callback on recomposition 2022-10-03 20:08:03 +01:00
Adam Brown 511273517e extracting flow extension for starting and ignoring future emissions 2022-10-03 20:08:03 +01:00
Adam Brown 8e336fd730 avoiding duplicated room event emissions when watching a specific room id 2022-10-03 20:08:03 +01:00
Adam Brown 03cb954ea8 computing the image size before sending to allow it to be used in local echos
- fixes local echo images changing size
2022-10-03 20:08:03 +01:00
Adam Brown 1efb1cf6c6 styling the inline composer rely to match the reply messages 2022-10-03 20:08:03 +01:00
Adam Brown d18c14b152 using bubble colour with alpha for the reply background + some tweaks to padding and corners 2022-10-03 20:08:03 +01:00
Adam Brown 98d0652616 adding button to dismiss inprogress reply 2022-10-03 20:08:03 +01:00
Adam Brown 933197dfd7 supporting local echos for text replies 2022-10-03 20:08:03 +01:00
Adam Brown cbf1e568a7 fixing test compilation error 2022-10-03 20:08:03 +01:00
Adam Brown aa277615e5 adding support for sending replies 2022-10-03 20:08:03 +01:00
Adam Brown 2486a1eef6 adding barebones styling to the reply box 2022-10-03 20:08:03 +01:00
Adam Brown 625a2f682f adding sliding reply animation 2022-10-03 20:08:03 +01:00
Adam Brown f4e852b628 flattening box layer 2022-10-03 20:08:03 +01:00
Adam Brown 65bc3d8100 moving the hint state to the field decoration 2022-10-03 20:08:03 +01:00
Adam Brown a919e1b966 adding swiping to start reply process 2022-10-03 20:08:03 +01:00
Adam Brown 86a8865cd1 updating to latest material3 lib 2022-10-03 20:08:03 +01:00
Adam Brown 9d4f0f4197 adding ability to show the raw exception information on login errors 2022-10-03 20:08:03 +01:00
Adam Brown c2b45d6fa9 temporarily removing no-op room settings toolbar overflow 2022-09-29 19:52:44 +01:00
Adam Brown c39a474774 fixing reply text being unreadable on some material/theme combinations 2022-09-29 19:47:54 +01:00
Adam Brown e0c1421fd5 fixing missing input cursor due to decoration box not taking the original text field into account 2022-09-29 17:42:31 +01:00
Adam Brown ff69156330 including room name in the image gallery toolbar 2022-09-29 16:43:40 +01:00
Adam Brown 14d625765c avoiding try emit 2022-09-29 16:25:33 +01:00
Adam Brown 415ea4b150 providing image gallery via DI graph 2022-09-29 16:24:17 +01:00
Adam Brown bd885823bd removing unused import 2022-09-29 15:12:53 +01:00
Adam Brown 3f956d1903 moving the image gallery to the messenger module and attaching to a attachment button 2022-09-29 14:32:04 +01:00
Adam Brown c61646bbd3 creating dedicated activity for image selection 2022-09-29 13:50:58 +01:00
Adam Brown 34e0415892 fixing performance issue when loading large lists of images 2022-09-29 13:11:40 +01:00
Adam Brown 6f89c71300 adding skeleton for image gallery folder viewing 2022-09-28 22:37:53 +01:00
Adam Brown debfc5e5f0 adding first pass at a image gallery component with folder fetching 2022-09-28 19:51:30 +01:00
Adam Brown 114aa9f785 persisting the decrypted images to the disk and enabling in memory image cache 2022-09-26 22:59:35 +01:00
Adam Brown 3c865179d7 improving image decrypting pipeline to use one less copy and adding smoke test to sending encrypted images 2022-09-21 22:42:04 +01:00
Adam Brown 2635a5f3e5 making the image fectching factory part of the dagger graph 2022-09-21 22:11:35 +01:00
Adam Brown 3c2a226555 extracting a dedicated media decrypter 2022-09-20 20:54:35 +01:00
Adam Brown f8f2eead36 ignoring tab taps when already on the tab page 2022-09-19 22:09:25 +01:00
Adam Brown 257f94830d fixing test compilation error 2022-09-19 20:52:30 +01:00
Adam Brown 3cec16e33a cleaning up messages theming 2022-09-15 20:06:17 +01:00
Adam Brown eff150aebc fixing crash when switching from the invitations screen to the conversation directory and back to the profile 2022-09-15 20:06:17 +01:00
Adam Brown e5eb597369 skipping first invite emission as we only want to render future invites 2022-09-15 20:06:17 +01:00
Adam Brown c8eaeff48f only showing material you option for android 12+ devices 2022-09-15 20:06:17 +01:00
Adam Brown e773bc35c4 rendering invites as notification which temporarily open the app on tap 2022-09-15 20:06:17 +01:00
Adam Brown ee91de4301 removing invites from the database after rejecting them and allowing them to fail with 403 (if the user no longer has access) 2022-09-15 20:06:17 +01:00
Adam Brown 40461f692f observe invite changes and render a ! badge on the profile bottom item 2022-09-15 20:06:17 +01:00
Adam Brown 50914aaeb4 fixing firebase classes being imported for foss variant
- the notification module was pulling in firebase for an annotation import, which in turn pulled in the .aar manifest entries and services etc, fixed by removing the unneeded dependency
2022-09-15 20:06:17 +01:00
Adam Brown 0c113896c1 adding material you toggle
- meant moving the base preferences to the core module and allowing the activity to recreate itself if the theme congifuration has changed
2022-09-08 20:06:08 +01:00
Adam Brown f646da9d1e making use of theme values for text colours 2022-09-08 20:06:08 +01:00
Adam Brown ef7af20853 applying dynamic colour scheme and fixing appbar/navbar quirks 2022-09-08 20:06:08 +01:00
Adam Brown 1a6f8b6b40 including material3 dependencies and attempting 1 for 1 swap of imports 2022-09-08 20:06:08 +01:00
Adam Brown f973e01a4e fixing broken settings view model tests and handling file opening errors 2022-09-04 14:13:36 +01:00
Adam Brown 25c8ac0716 improving key import messaging 2022-09-04 13:46:15 +01:00
Adam Brown 71af573d06 using the import result directly in the UI, will allow separate error displays per reason 2022-09-04 13:36:48 +01:00
Adam Brown 5b2243cfa9 providing progress during room key imports by switching to a flow 2022-09-04 12:43:03 +01:00
Adam Brown 1ed4248e13 updating tests 2022-08-18 21:33:22 +01:00
Adam Brown c6d68b7583 avoiding run blocking 2022-08-18 21:29:20 +01:00
Adam Brown 0c35481bda adding support for unified push 2022-08-18 21:25:38 +01:00
Adam Brown 41da7a2af9 abstracting the push token register/unregister 2022-08-18 17:56:01 +01:00