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
cab5bc2daf
Merge branch 'master' into ios-notifications
2022-06-03 13:40:03 +01:00
JRoberts
3b708105a4
ios: fix modal views not closing ( #723 )
2022-06-03 13:19:41 +04:00
Evgeny Poberezkin
b435c0145f
Merge branch 'master' into ios-notifications
2022-06-02 12:39:51 +01:00
JRoberts
15ddefe86b
mobile: close modal views ( #715 )
2022-05-31 20:55:19 +04: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
866d84e7ac
mobile: move calls to experimental features, refactor ( #712 )
2022-05-30 12:32:11 +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
Evgeny Poberezkin
7c1d573a17
mobile: show skipped messages in the UI ( #707 )
...
* mobile: show skipped messages in the UI
* ios: skipped messages alert and translations
* android: skipped messages alert
* android translation keys
* more keys
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-05-29 08:06:56 +01:00
Evgeny Poberezkin
546ad01fcb
ios: integrating webrtc calls with callkit ( #686 )
...
* ios: integrating webrtc calls with callkit
* accept call via chat item (e.g. when DND is on, and callkit blocks the call); refactor
* fix remote video, support logging from ios
* use callkit depending on CallController setting
* call sound
* update incoming call view
* fixing audio encryption
* refactor encryption webrtc fix
* log ontrack success/error
* accept / ignore call via notification
* remove unused imports
* remove unused file
* remove comments
2022-05-24 19:34:27 +01:00
JRoberts
53d66be910
mobile: disable calls ( #683 )
2022-05-21 20:14:43 +04:00
Evgeny Poberezkin
d971e7c31f
mobile: call chat items ( #680 )
...
* mobile: call chat items
* android: call chat items
2022-05-21 12:13:37 +01:00
JRoberts
7f84057b86
android: add "mark read" action to chat link dropdown menu ( #675 )
...
* android: add "mark read" action to chat link dropdown menu
* Update apps/android/app/src/main/java/chat/simplex/app/model/ChatModel.kt
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-05-20 18:32:21 +04:00
JRoberts
5cddf8e2d3
mobile: clear conversation from chat info view ( #668 )
2022-05-19 16:56:34 +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
Evgeny Poberezkin
dc418923ac
mobile: webrtc calls ( #661 )
...
* mobile: webrtc calls work on Android and iOS separately
* core: only send public key with offer if invitation/current call supports e2ee
* update npm module
2022-05-18 10:01:32 +04:00
JRoberts
106dceabfc
mobile: clear chat; allow to delete items deleted by sender ( #660 )
...
* ios: clear chat
* android: clear chat
* fix chat stats
* fixes
* check if deleted
* delete from files for groups
* android - fixes
* Update apps/android/app/src/main/java/chat/simplex/app/model/ChatModel.kt
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* Update apps/android/app/src/main/java/chat/simplex/app/model/ChatModel.kt
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-05-17 22:48:54 +04:00
Evgeny Poberezkin
82445ec8d5
android: refactor webrtc calls, compress webrtc session info, make compatible with Safari (with flag) ( #642 )
...
* use simplex.chat relay
* update webrtc settings
* WebRTCView to use command/response types
* compress WebRTC session descriptions, simple web UI for calls
* update webrtc ui
* use webworked in desktop browser
* use RTCRtpScriptTransform in safari
* update android type
* refactor
* add await
2022-05-16 19:27:58 +01: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
Evgeny Poberezkin
b1024be74d
mobile: hide notifications and webrtc calls ( #612 )
...
* mobile: hide notifications and webrtc calls
* android: remove webrtc link
2022-05-07 16:10:57 +01:00
JRoberts
235bce8e2a
android: remove unnecessary READ_EXTERNAL_STORAGE permission request, open image picker in Gallery; IMG timestamp format ( #610 )
2022-05-07 16:25:04 +04:00
Evgeny Poberezkin
29990765e7
mobile: webrtc calls state machine ( #606 )
...
* mobile: webrtc calls state machine
* android: call api types
* android: call api methods
* ios: connect calls via chat UI (WIP)
* ios: webrtc call connects via UI
* core: update call duration/status when x.call.end is received
* improve call UX/UI
* audio calls
* different overlay for audio calls
* toggle video/audio in the call
2022-05-07 09:40:46 +04: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
Evgeny Poberezkin
3519032784
ios: notifications service extension - refactor model and API ( #578 )
...
* ios: notifications service extension
* create notifications in NSE (WIP)
* refactor notifications to use in NSE
* prepend team ID to shared defaults name to silence the warning
* remove whitespace
2022-05-03 08:20:19 +01: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
Evgeny Poberezkin
4a2bfef4b3
ios: refactor views with ViewBuilder ( #558 )
2022-04-23 12:52:05 +01: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
Evgeny Poberezkin
150b4196ea
ios: fix scrolling with link previews, fix large terminal item detail view ( #512 )
2022-04-08 19:58:02 +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
Evgeny Poberezkin
3dc9eded54
ios: fix alert on contact deletion from chat info ( #496 )
2022-04-02 12:23:05 +01:00
JRoberts
d080a3a87b
mobile: hide broadcast delete button ( #488 )
2022-03-31 21:38:53 +04:00
Evgeny Poberezkin
b6c578ca77
ios: fix missing profile image on the first received item in the group ( #483 )
2022-03-30 20:04:25 +01:00
JRoberts
f388512592
mobile: message delete ( #480 )
...
* mobile: message delete
* ios
* android api
* meta
* android
* new ios libs
* bug fixes
* adjust alert
* fix deleted item upsert
* change border color for ios
* format
* android - red button
* ios: deleted item design
* android: deleted item design
* android alert msg
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-03-30 20:37:47 +04:00
Evgeny Poberezkin
5e964cf7e9
mobile: show group member images in the chat ( #473 )
...
* mobile: show group member images in the chat
* improve layout for group chat
* android: show member images in group chat
* do not repeat member name in group messages
2022-03-30 08:57:42 +01:00
JRoberts
bdb3bc0bd7
mobile: hide edit button ( #474 )
2022-03-26 15:08:42 +04:00
JRoberts
0b45ddfc79
mobile: message update (restore #460 ) ( #469 )
2022-03-25 22:26:05 +04: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
Evgeny Poberezkin
744c451927
mobile: message actions (reply, share, copy) ( #431 )
...
* ios: add context menu to messages
* ios: UI for replies with quotes
* fix: scrolling crashing in chat
* ios: UI for message replies with quotes
* android: UI for message replies
* android: messages with quotes
* android: update imports
* android: refactor ChatItemView
* remove comments
2022-03-17 09:42:59 +00:00
Evgeny Poberezkin
e272048f24
ios: date/time formatting now respects locale settings ( #420 )
2022-03-09 22:35:33 +00:00
Evgeny Poberezkin
1cf3b776d7
ios: use core markdown parser, also make messages in android selectable ( #372 )
...
* ios: use core markdown parser, also make messages in android selectable
* remove bold font from members in previews
* markdown help
* text selection
2022-02-25 07:16:19 +00:00
Evgeny Poberezkin
1150c04298
ios: process commands and messages asynchronously, on the background thread ( #367 )
...
* ios: process commands and messages asynchronously, on the background thread
* move model updates to main thread
2022-02-24 17:16:41 +00:00
Evgeny Poberezkin
c81bb0f15d
iOS: show dates in older messages
2022-02-15 08:14:50 +00:00