Adam Brown
1d1aff0ca9
allowing the profile call to continue when receiving a 404 instead of crashing
...
- this case is known by the spec for when a profile doesn't exist yet
- 403s still crash as fetching your own profile information should never result in access denied
2022-10-03 20:08:03 +01:00
Adam Brown
0a0f998785
taking into account redactions and updating the message list
2022-09-29 19:00:40 +01:00
Adam Brown
5a67275b89
parsing redacted events
2022-09-29 17:58:45 +01:00
Adam Brown
bd9c247ee8
fixing bridge images not showing up
...
- caused by a missing mimetype field in the message request
2022-09-29 17:03:08 +01:00
Adam Brown
ef41f13a7b
adding entry point for extending services
2022-09-27 21:12:40 +01:00
Adam Brown
1c37667485
using a single sync flow instance to reduce memory and risk of concurrent flows
2022-09-27 19:09:33 +01:00
Adam Brown
ccdeed24ef
using separate content provider query to find image file size rather than collect the content of the image itself into memory, should be much more effecient!
2022-09-21 23:29:01 +01:00
Adam Brown
02e76548e3
adding separate image for encrypted image test and re-enabling clear image test
2022-09-21 22:51:07 +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
9d6e72303a
moving the media encrypting to the crypto module and exposing as part of the service
2022-09-21 21:24:45 +01:00
Adam Brown
f6ef073689
adding support for sending encrypted images
2022-09-21 20:35:39 +01:00
Adam Brown
06947301ac
lifting the message contents jsonising to the message usecase
2022-09-21 20:07:03 +01:00
Adam Brown
94ad1cb595
moving the ApiMessage to the message module
2022-09-21 19:55:41 +01:00
Adam Brown
3c2a226555
extracting a dedicated media decrypter
2022-09-20 20:54:35 +01:00
Adam Brown
3d7730bc32
filtering out spaces from the room overviews
2022-09-19 22:00:31 +01:00
Adam Brown
ff83263619
providing null heroes for fixture
2022-09-19 21:08:01 +01:00
Adam Brown
d30925fd5a
taking heroes into account when processing room display name
2022-09-19 20:49:56 +01:00
Adam Brown
355d4a021c
taking into account canonical room aliases
2022-09-19 20:17:39 +01:00
Adam Brown
f4007bff76
fixing keys being rotated out when the server returns a 0 key count but we have local keys
2022-09-15 20:27:25 +01:00
Adam Brown
577e692e32
removing invites from the database after rejecting them and allowing them to fail with 403 (if the user no longer has access)
2022-09-10 19:50:19 +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
ef2a2c5624
logging the room import time taken
2022-09-04 14:01:07 +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
6a3c594481
extracting the json accumulation to its own class
2022-09-04 13:03:54 +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
d406586afa
performance room key inserts in transactions to help improve performance
...
- adds explicit dispatcher contexts when interacting with the olm store
2022-09-03 13:51:14 +01:00
Adam Brown
a860b4937b
increasing the amount of in memory room keys that are processed at once
...
- 500 balanced memory with performance from my testing
2022-09-03 13:50:16 +01:00
Adam Brown
d463f7028b
using json instance for decoding json element in custom serializers
2022-08-19 17:36:48 +01:00
Adam Brown
0c35481bda
adding support for unified push
2022-08-18 21:25:38 +01:00
Adam Brown
f668a1b8ea
adding mimetype and reusing filename image content properties
2022-08-09 21:55:27 +01:00
Adam Brown
0730cd069c
adding support for sending clear images
2022-08-09 21:12:43 +01:00
Adam Brown
3859aa7f0b
extracting api responses to their own files to improve ide performance
2022-08-06 12:16:47 +01:00
Adam Brown
9c99b6a0a9
Merge branch 'main' of github.com:ouchadam/helium into feature/share-images-via-small-talk
2022-07-28 22:08:44 +01:00
Adam Brown
c7da6c1663
allowing h/w information to be null
2022-07-11 21:07:10 +01:00
Adam Brown
1450a70283
Merge branch 'main' of github.com:ouchadam/helium into feature/share-images-via-small-talk
2022-06-13 19:05:41 +01:00
Adam Brown
173d34a535
updating timeline to take into account start syncing emissions
2022-06-13 18:54:56 +01:00
Adam Brown
b82397d965
emitting events each time the sync completes so that we can know if the first sync is happening
2022-06-11 22:46:41 +01:00
Adam Brown
e9ad0b4a64
Merge branch 'main' into feature/share-images-via-small-talk
2022-06-11 19:11:45 +01:00
Adam Brown
4a0d2cd42d
prepping for kotlin 1.7.0 release, removing compose from modules that don't need it
2022-06-11 13:29:47 +01:00
Adam Brown
a06c00eea4
Merge branch 'main' into feature/share-images-via-small-talk
2022-06-11 11:13:03 +01:00
Adam Brown
fbfc349b2e
forcing raw response type for the wellknown as some servers may not correctly set the content-type
...
- migrates to the content negotiation api
2022-06-11 11:07:36 +01:00
Adam Brown
6fed8a35ce
wip, passing the image urls down to the matrix client layer
2022-06-08 20:31:07 +01:00
Adam Brown
92ad630e45
Merge branch 'main' into feature/share-images-via-small-talk
2022-06-08 19:25:59 +01:00
Adam Brown
8743052899
fixing replies and image messages jumping to the wrong position
2022-06-08 18:51:59 +01:00
Adam Brown
2f71a0163a
Merge branch 'main' into feature/share-images-via-small-talk
2022-06-07 20:05:56 +01:00
Adam Brown
c2c6296e9a
fixing missing nested replies/images
2022-06-07 19:58:58 +01:00
Adam Brown
e6bd0f80dc
fetching rooms and displaying when starting a share flow
2022-05-30 19:16:16 +01:00
Adam Brown
a6fa7487f3
supporting images and replies in the room list
2022-05-30 18:06:11 +01:00
Adam Brown
8ba66b3943
supporting images and replies in the room list
2022-05-30 18:05:45 +01:00
Adam Brown
64bce44a12
extracting notification logic to its own class with unit tests
2022-05-23 20:28:02 +01:00
Adam Brown
8716500d99
replacing links with their content, in the future this should be a representation with ranges of the formatting within the text
2022-05-09 18:20:42 +01:00
Adam Brown
299c6af27a
fixing message starts being cutoff due to expecting a reply tag to exist
2022-05-08 19:02:54 +01:00
Adam Brown
e85d7a5ede
adding an lru cache and making use of it in the room member cache
...
- keeps 25 members from 12 rooms in memory to avoid the cache growing infinitely
2022-05-08 18:50:14 +01:00
Adam Brown
5fae38aac7
allowing the joined member display name to be null
2022-05-08 13:06:06 +01:00
Adam Brown
347074b10f
allowing the image info to be missing and reusing scaling logic for other image messge types
2022-04-25 22:38:44 +01:00
Adam Brown
aa78bcd439
extracting the room members caching to its own class - need an upper limit to be set
2022-04-13 21:52:37 +01:00
Adam Brown
e1fd79de02
adding support for signing in to homeservers without wellknown setup
2022-04-13 21:05:08 +01:00
Adam Brown
7ea01dd292
using passed base64 instance, fixes android 26 requirement for imports
2022-04-12 22:51:41 +01:00
Adam Brown
cec21f2c6e
fixing 2.0 compile errors
2022-04-12 22:27:05 +01:00
Adam Brown
e17dd6ed3f
fixing crash when sending messages, updating version for store release
2022-04-05 22:40:06 +01:00
Adam Brown
d0b2627eb2
rendering images in the messenger
2022-03-31 22:23:43 +01:00
Adam Brown
5a6b7cf1c0
adding image type parsing and handling
2022-03-30 22:33:24 +01:00
Adam Brown
91cf19baad
fixing sign out not resetting database or inmemory caches
2022-03-28 22:16:45 +01:00
Adam Brown
8321b5a760
renaming timeline text to content, text is a subtype
2022-03-26 10:40:21 +00:00
Adam Brown
d2891cac69
Merge pull request #13 from ouchadam/feature/invitations
...
Invitations
2022-03-17 23:20:26 +00:00
Adam Brown
f0a856eb20
adding room join/leaving based on sync status
...
- means the invitations page should work!
2022-03-17 23:01:40 +00:00
Adam Brown
38c9e33a59
accumulating and storing the invite event metadata for member and room names
2022-03-16 22:36:42 +00:00
Adam Brown
be4fe82043
adding basic invitations list page via the profile
2022-03-13 22:53:58 +00:00
Adam Brown
f79804e5ef
using live counts for the invitations
2022-03-13 19:42:33 +00:00
Adam Brown
a8218b7e66
splitting the notification logic
2022-03-13 18:56:21 +00:00
Adam Brown
4fb6535310
ensuring that the startSync emits an initial value to signifying its running
2022-03-13 18:54:00 +00:00
Adam Brown
7fff5face4
flattening directory use case syncing into the main logic, adding tests around directory view model
2022-03-13 17:36:52 +00:00
Adam Brown
c6abba5638
adding tests around the timeline usecase
2022-03-13 14:12:13 +00:00
Adam Brown
a863625672
fixing wrong transient import
2022-03-13 13:27:31 +00:00
Adam Brown
e6c5eee948
adding tests around the messaging echo merging
2022-03-13 12:17:49 +00:00
Adam Brown
fcfabcda27
adding tests around the messaging view model
2022-03-07 23:18:25 +00:00
Adam Brown
ccecfb08e0
speed up message render by marking room read state async
2022-03-07 20:00:39 +00:00
Adam Brown
5485ec3b84
extracting settings view model fixtures to their parent modules
2022-03-06 15:07:04 +00:00
Adam Brown
4dc89091ba
testing the room events decrypter
2022-03-06 12:46:18 +00:00
Adam Brown
1f96bfbc0f
making a start on testing the android side of the project
2022-03-05 19:23:37 +00:00
Adam Brown
ecb24ece11
more tests
2022-03-03 20:57:13 +00:00
Adam Brown
c78d24a458
initial commit
2022-02-27 21:48:14 +00:00