Stanislav Dmitrenko
cd63f81292
ios: Animated images (GIF) support ( #1636 )
...
* ios: Animated images (GIF) support
* Moved from String path to UIImage param
* Aspect ratio
* Image frame
* gif image size
* refactor
* refactor
* fix fullscreen scroll animation
* rename UploadContent -> AnyImage
* refactor, allow using gifs in profiles
* rename back
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-12-23 21:22:12 +00:00
Evgeny Poberezkin
4c8bc19182
ios: send multiple images ( #1188 )
...
* ios: send multiple images
* multi-select works (TODO race conditions)
* send multiple images, progress indicator in compose view
* scroll between fullscreen images, scroll to quoted item
* add swipe animation
* fix model state when sending the image
* fix sending multiple images
* use MainActor
* improve scrolling
* faster scroll
* improve scroll animation
* fix model updates
2022-10-10 13:40:30 +04:00
JRoberts
e4b1ff5e0f
android: fix race condition on taking photo resulting in null URI; ios: use fullScreenCover for camera ( closes #662 ) ( #663 )
2022-05-18 21:32:30 +04:00
JRoberts
70ea803a49
ios: move image utils to FileUtils ( #598 )
2022-05-04 16:08:40 +04:00
JRoberts
db4731f19b
mobile: correctly resize images, refine image sending UI ( #546 )
2022-04-25 12:44:24 +04:00
IanRDavies
1b930e717a
android: link previews ( #510 )
...
* wire up api for link metadata parsing
* add getLinkPreview (synchonous for now)
* api wiring fix
* get network requests off main thread
* copy over state machine logic from iOS
* filter api parsing calls from logs
* refactor of image processing
* remove image deepcopy
* minor change to log filtering
* mobile: link previews
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-04-11 09:39:04 +01:00
IanRDavies
d90c4261b8
ios: link previews ( #503 )
...
* refactor image utils and initial link metadata tools
* remove LPMetadata conversion as we will build our own view to avoid network calls
* initial very basic preview outline, remove icon loading
* connect preview view to compose view
* v0.1 barely working
* minor refactor
* refactor
* collect images effectively
* link up to api for send/receive
* rework async get metadata logic
* show previews in chat
* refactor resizing logic
* checkpoint before view editing
* ui changes
* housekeeping
* ui tweaks
* typo
* improve link preview design/logic
* resize image to target data size
* fix link preview state machine
* tidy up
* fix typo
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-04-08 18:17:10 +01:00
IanRDavies
0ecaa59df6
ios: update image picker ( #495 )
...
* switch to PHPicker for photos. TODO add back camera functionality. [rough]
* add back camera selection option
* remove force unwrap of optional
* response to comments
* rerun tests
* refactor naming
2022-04-04 19:19:54 +01:00
IanRDavies
052963f19e
ios: tidy up tmp images ( #494 )
...
* catch image URL and tidy up after the fact
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-04-01 17:13:54 +01:00
JRoberts
26558dfaca
profile images (restore #423 ) ( #466 )
...
* core: configurable smp servers (#366 )
* core: update simplexmq hash
* core: update simplexmq hash (fix SMPServer json encoding)
* core: fix crashing on supplying duplicate SMP servers
* core: update simplexmq hash (remove SMPServer FromJSON)
* core: update simplexmq hash (merged master)
* core: profile images (#384 )
* adding initial RFC
* adding migration SQL
* update RFC
* linting
* Apply suggestions from code review
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* refine RFC
* add avatars db migration to Store.hs
* initial chages to have images in users/groups
* fix protocol tests
* update SQL & MobileTests
* minor bug fixes
* add missing comma
* fix query error
* refactor and update functions
* bug fixes + testing
* update to parse base64 web format images
* fix parsing and use valid padded base64 encoded image
* fix typos
* respose to and suggestions from review
* fix: typo
* refactor: avatars -> profile_images
* fix: typo
* swap updateProfile parameters
* remove TODO
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* initial changes to show profile images
* simple set up complete
* add initial shape of image getting (needs work)
* redesign
* ios, android: configurable smp servers (only model and api for android) (#392 )
* example image picker placed in edit profile screen
* tidy up and allow encoding
* more tidying
* update bottom modal bar
* v0.1 UI for upload ready
* add api calls
* refactor edit profile screen
* complete the refactor with connection back to api
* linting
* update encoding for hs compat
* no line wrapping and resize image
* refactor and tidy up for cleanest compatability with haskell
* ios: UI for editing images
* crop image to square
* update profile edit layout
* fixing image preview orientation etc
* allow expandable image in profile view
* handle case where user exits camera rather than take image
* housekeeping on when to call apiUpdateProfileImage
* improve scaling of large image
* linting
* spacing
* fix padding
* revert whitespace change
* tidy up, one remaining issue
* refactor to get parsing working
* add missed change
* use custom modal in user profile
* fix image size after scaling
* scale image iteratively
* add filter
* update profile editing view
* ios: edit profile image (TODO aspect ratio)
* ios: UI to manage profile images
* ios: use new profile api
* android: use new api to update profile
* android: scroll profile view up when editing
* revert change
* reduce profile image resolution to 104px to fit in 12.5kb
Co-authored-by: IanRDavies <ian_davies_@hotmail.co.uk >
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-03-25 22:13:01 +04:00