Evgeny Poberezkin
25e4a1e86d
ios: fix layout of voice message ( #1836 )
...
* ios: fix layout of voice message
* fix layout
* prevent translations
2023-01-25 10:18:02 +00:00
Evgeny Poberezkin
e27013071b
ios: preserve message draft in the latest chat only ( #1834 )
...
* ios: preserve message draft in the latest chat only
* show attachment icon and formatting in draft
* button to remove message text
* show icon for active draft, refactor
* add voice message duration to draft
2023-01-25 08:35:25 +00:00
Evgeny Poberezkin
a6d7604d21
mobile: send live message when there is any content ( #1721 )
...
* ios: send live message when there is any content
* android: improve live message logic
* fix, refactor
* prohibit live messages with quotes
2023-01-11 12:01:02 +00:00
Stanislav Dmitrenko
16b041c8c6
ios: Live messages without sending an empty text ( #1714 )
...
* ios: Live messages without sending an empty text
* Custom Equatable
* Changes
* Change
* Fix liveMessage not hiding
* Refactoring
* Refactoring
* No animation when removing dummy live message item
* Check
* Anim
* Animation
* whitespace
* refactor
* Fix race
* Better fix of race
* fix race condition
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-01-10 19:12:48 +00:00
Evgeny Poberezkin
9f2d5486b6
mobile: fix race condition with live messages (when message is "revived" when it is being sent as no longer live – possibly core should reject "live" updates to non-live messages too) ( #1668 )
...
* mobile: fix race condition with live messages (when message is "revived" when it is being sent as no longer live – possibly core should reject "live" updates to non-live messages too)
* android: move delay for live messages
2022-12-31 10:25:32 +00:00
Evgeny Poberezkin
90a20cd52f
mobile: change live message button to lightning bolt ( #1653 )
2022-12-27 09:18:20 +00:00
Evgeny Poberezkin
c11a1aa0e6
ios: disallow editing text attributes
2022-12-25 13:58:07 +00:00
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
a936c14cf2
mobile: items with feature offers ( #1627 )
...
* mobile: items with feature offers
* ios interactive contact/user preference change items
* android: interactive preference items
* add missing view
* revert change
2022-12-22 21:01:29 +00:00
Evgeny Poberezkin
e1740a8be4
ios: disappearing messages ( #1614 )
...
* ios: disappearing messages
* show ttl in meta if different
* mark messages as disappearing when read
* previews
2022-12-21 12:59:45 +00:00
Evgeny Poberezkin
36eba01ef4
ios: fix padding in send button context menu ( #1618 )
2022-12-21 12:55:59 +00:00
Evgeny Poberezkin
76b4fd34c1
ios: fix live messages sending incomplete words, refactor ( #1604 )
2022-12-18 21:20:39 +00:00
Evgeny Poberezkin
9e847c2e1f
ios: live messages ( #1569 )
...
* ios: live messages
* remove comments
* remove conflict
* live message buttons and alert
* only send full words
* fix double sending
* typing indicator in live items
* add live parameter to API
* typing indication, pass live parameter to API
* refactor to support live messages with attachments
* disable attachments
2022-12-17 14:02:07 +00:00
Stanislav Dmitrenko
b4de9c266b
ios: Ability to add stickers ( #1593 )
...
* ios: Ability to add stickers
* fix text alignment for correct input field height
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-12-17 09:01:49 +00:00
Evgeny Poberezkin
04f10aede7
ios: fix screen protection in sheets, remove screen protection from settings and image pickers ( #1492 )
2022-12-03 21:42:12 +00:00
JRoberts
07ef6e4090
ios: marked deleted chat items, full deletion preference; android: types ( #1473 )
...
* ios: marked deleted chat items; full deletion preference
* text_, menu, backend
* android types
* more android types
* fix
* refactor ios
* restore previews
* box
* refactor menu
* revert unnecessary content.text changes
* Update apps/ios/Shared/Views/Chat/ChatItem/CIVoiceView.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* revert layered framed items
* clever framed view
* improve look
* restore previews
* restore previews
* refactor
* refactoring, almost looks good
* look
* add previews
* more previews
* remove preview of legacy item
* ChatItemDeleted
* flip if
* remove text_
* refactor
* abstract pref property
* move marked deleted
* revert pref change
* undo menu
* fix - change to constants
* undo pref logic
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-12-03 15:40:31 +04:00
JRoberts
acd72fb269
ios: remove voice message preview and stop rec/play if preference change prohibits it; more robust logic to stop playback on send ( #1463 )
2022-11-29 15:23:54 +04:00
JRoberts
c9620a594e
ios: fix - stop voice message preview playback on send ( #1461 )
2022-11-29 13:06:45 +04:00
JRoberts
5c9a14fdb6
ios: show button for opening settings when asking for microphone permission to record voice message ( #1459 )
2022-11-29 12:41:48 +04:00
JRoberts
9949ac073f
ios: decrease voice message progress bar width ( #1450 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-11-28 08:50:05 +00:00
JRoberts
e6c5ad5833
ios: fix image context item background color ( #1448 )
2022-11-28 11:23:40 +04:00
JRoberts
7e204127b8
ios: hide voice message button in chat console ( #1442 )
2022-11-26 18:43:49 +04:00
JRoberts
9c06acd4bc
ios: voice message repeat receive ui workaround ( #1437 )
2022-11-26 12:43:26 +04:00
JRoberts
f6ed099f17
ios: voice messages - improve hold to record button logic, alert if not allowed ( #1424 )
2022-11-25 21:05:14 +04:00
Evgeny Poberezkin
87d306383c
ios: protect screen ( #1420 )
...
* ios: protect screen
* AppSheet
* translations
* correction
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-11-25 14:31:37 +00:00
JRoberts
e18bb74bfd
ios: show voice message button based on preference ( #1416 )
2022-11-25 15:16:37 +04:00
JRoberts
de7548a9a8
ios: alert on error when recording voice message ( #1415 )
2022-11-25 12:30:24 +04:00
JRoberts
a6e4e68bc5
ios: voice messages ( #1389 )
...
* experiments
* audio recording in swiftui
* recording encapsulated
* permission + playback
* stopAudioPlayback on cancel
* method names
* check permission in recording start
* run timer on main thread
* remove obsolete view
* don't call playback timer callback unless player is playing
* compose + send view + preview + send
* animation + improve state + quality
* fix recording not stopping in time
* animate to end
* remove recorder delegate, fix cancelling during recording
* replace print with log
* recording start error constructor
* CIVoiceView file
* chat item wip
* chat item wip
* refactor settings
* layout
* send correct duration
* item previews
* more background, animation
* more layout
* more layout, send button conditions
* context, preview, quote, notification texts
* chat item actions
* use isEmpty
* remove comment
* uncomment file.loaded
* more layout, hold to record
* more layout
* preview player stop on disappear
* more layout
* comment
* only one player or recording
* remove voice message on chat close
* fix state bug
* remove commented code
* length 30
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-11-24 21:18:28 +04: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
Evgeny Poberezkin
36f635f6f0
ios: prevent messages from being sent twice ( #1120 )
2022-09-24 22:20:56 +01:00
Evgeny Poberezkin
bbaa45a0e1
ios: fix layout for messages in right-to-left languages, #1032 ( #1117 )
...
* ios: fix layout for messages in right-to-left languages, #1032
* text alignment in compose message view
* more right-to-left alignment
2022-09-24 19:26:55 +01:00
JRoberts
9442656bbe
ios: alerts on connection errors ( #1080 )
...
* ios: alerts on connection errors
* fixes
* refactor
* refactor
* refactor
* translations
* delete contact with groups error
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-09-21 17:18:48 +04:00
Evgeny Poberezkin
6a2f2a512f
ios: UI to export/import/delete chat database ( #743 )
...
* ios: UI to export/import/delete chat database
* move files
* ui for database migration
* migration screen layout
* ios: export archive and delete chat database
* import archive
* refactor, update texts
* database migration (almost works)
* fix missing import
* delete legacy database
* update migration errors
2022-06-24 13:52:20 +01:00
Evgeny Poberezkin
fa844c48e9
ios: SimpleXChat framework to be shared by app/NSE ( #714 )
...
* ios: SimpleXChat framework to be shared by app/NSE
* remove bridging headers from pp/NSE
* embed & sign
2022-05-31 07:55:13 +01:00
Evgeny Poberezkin
d6262bc2a4
ios: move files
2022-05-30 09:12:57 +01:00
Evgeny Poberezkin
23b75f11fe
ios: paste image ( #710 )
2022-05-30 09:03:56 +01:00
Evgeny Poberezkin
29e2c00811
mobile: settings for auto-accepting images, link previews, spinner for link previews; privacy settings ( #708 )
...
* ios: settings for auto-accepting images, link previews, spinner for link previews
* android: settings for auto-accepting images, link previews, spinner for link previews, privacy settings
* update translation
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* translation
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* translation
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-05-30 08:59:04 +01: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
9f5ea49676
mobile: show markdown in quotes and context items; ios: fix markdown help ( #649 )
2022-05-13 12:57:30 +04:00
Evgeny Poberezkin
3d2315a117
ios: update icons for edit/quote messages
2022-05-09 09:12:32 +01:00
JRoberts
884231369f
mobile: files UI ( #597 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-05-06 21:10:32 +04:00
JRoberts
2c1ad9a641
mobile: support receiving files ( #584 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-05-04 09:10:36 +04:00
JRoberts
a7554771a0
android: refactor compose ( #579 )
2022-04-27 20:54:21 +04:00
JRoberts
db4731f19b
mobile: correctly resize images, refine image sending UI ( #546 )
2022-04-25 12:44:24 +04:00
JRoberts
6835b6c1dd
mobile: enable/disable features for release ( #540 )
2022-04-19 13:24:26 +04:00
JRoberts
1152b5d737
mobile: support images ( #536 )
...
* ios api
* ios wip
* android wip
* ios files folder
* ios get address on start
* android app files folder
* ios more backend
* android more backend
* translation
* ios image without text, remove preview
* android image without text, remove preview
* fix translation
* file name in previews and w/t text
* Revert "file name in previews and w/t text"
This reverts commit 0110570e55 .
* ios filename in preview
* android filename in preview
* android wider images
* ios determine width on image for correct quote width
* ios images in previews wip
* ios square image in quote
* ios: update image layout
* android images in quotes
* android remove redundant modifier
* android clip to bounds
* android - image in right side of quote
* android refactor image view
* android - refactor, align quote text top
* android fix emoji view
* fix image layout
* full screen image view, fix quote layout
* android various size
* android fixed image width
* android meta on image
* ios: add drag gesture to hide full-screen image
* android: make image-only meta white
* refactor file.stored
* android: meta icon color
* android: open chat scrolled to last unread item
* copy/share image messages
* android: full screen image
* check file is loaded
* terminal: refactor view for messages with files
* android: change to onClick, only show stored file
* android: remove close sheet bar
* android: close image view on click
* translation
* android: pass showMenu to CIImageView to show menu on long click
* increase DropDown width
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-04-19 12:29:03 +04:00
Evgeny Poberezkin
87c688a739
ios: i18n ( #533 )
...
* ios: prepare for i18n
* commit localizations
* update Russian translations
* fix notifications and layouts after localizations
* localization docs
* update translations
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* fix typo
* update translations
* fix translations for different link types
* update translations
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* update translation
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* update translations
* update translations
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-04-16 09:37:01 +01: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
JRoberts
0b45ddfc79
mobile: message update (restore #460 ) ( #469 )
2022-03-25 22:26:05 +04:00