Commit Graph

256 Commits

Author SHA1 Message Date
Adam Brown 70bc1be72d port profile and page to reducer pattern 2022-11-01 17:36:22 +00:00
Adam Brown b9dda51112 port messageviewmodel tests to the reducer domain and add more 2022-11-01 12:13:31 +00:00
Adam Brown a5b7ede2d8 porting messenger domain to reducer 2022-11-01 10:35:48 +00:00
Adam Brown 327ba92767 port ReducerTest to exported module fixtures 2022-11-01 09:15:23 +00:00
Adam Brown 86f640d301 more tests around the directory reducer and helpers 2022-11-01 09:09:15 +00:00
Adam Brown 6c3006142b fixing visibility 2022-10-31 22:39:25 +00:00
Adam Brown b243a93782 removing dummy file 2022-10-31 22:33:55 +00:00
Adam Brown 38e242e8d1 update directory viewmodel test to reducer style 2022-10-31 22:32:58 +00:00
Adam Brown 9acf5ce479 avoiding exposing directory modules classes 2022-10-31 21:11:03 +00:00
Adam Brown fe363058b5 save and restoring state view model 2022-10-31 21:09:15 +00:00
Adam Brown de1aa00715 wip 2022-10-31 20:35:02 +00:00
Adam Brown 5b7fe5aa4e block application launch setup until beta upgrades have completed 2022-10-30 19:34:34 +00:00
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