JRoberts
414b174e32
ios: groups ui wip ( #809 )
2022-07-14 16:40:32 +04:00
Evgeny Poberezkin
f16d8842b2
iOS: accept images in NSE if enabled, reorder chats when coming from background ( #800 )
...
* ios: automatically accept images in NSE, if enabled in settings
* remove unnecessary TODOs
* reorder chat when coming from background
2022-07-10 14:28:00 +01:00
Evgeny Poberezkin
06cb564eae
ios: ensure that device token is registered once ( #794 )
2022-07-09 09:29:56 +01:00
Evgeny Poberezkin
ab6301c3e9
ios: notification preview mode, show connection entity notification ( #781 )
...
* ios: notification preview mode, show connection entity notification
* prepare connection entity notification as best attempt
2022-07-06 11:52:10 +01:00
JRoberts
ab848e8c13
ios: refresh call invitations and report call on start and activation; core: restore calls on activation ( #776 )
2022-07-05 15:15:15 +04:00
Evgeny Poberezkin
e4c6d210c6
ios: fix updating chats when exiting background ( #772 )
2022-07-02 17:18:45 +01:00
Evgeny Poberezkin
f7f3f82090
ios: fix migration, refreshing chat list; disable periodic notifications ( #767 )
...
* ios: fix migration, disable refreshing chat list and periodic notifications
* fix refreshing chats when exiting background
* remove unused model property
2022-07-01 22:45:58 +01:00
Evgeny Poberezkin
815981487b
ios: register notification token/mode on app start ( #761 )
...
* ios: register notification token/mode on app start
* refactor
* register token on start
* update model on main thread
2022-07-01 09:49:30 +01:00
Evgeny Poberezkin
54126eba6b
APNS push environments ( #756 )
2022-06-27 23:03:27 +01:00
Evgeny Poberezkin
6d25991417
ios: process notifications, suspend app, notifications settings UI ( #754 )
2022-06-27 10:28:30 +01: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
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
JRoberts
c3c712aa02
ios: show local authentication notice; ios & android: retry authentication button ( #706 )
...
* advertisement
* refactor
* advertisement state machine
* simplify
* ios: retry
* remove log
* android: retry
* Update apps/ios/Shared/ContentView.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
* Update apps/ios/Shared/Views/UserSettings/SettingsView.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-05-28 22:09:46 +04:00
JRoberts
5e476516cb
ios: lock toggle; android: fix lock timer ( #702 )
2022-05-28 14:58:52 +04: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
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
3f2ca8f902
mobile: use updated_at in chat previews ( #671 )
...
* mobile: use updated_at in chat previews
* use updated_at returned from chat response
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-05-20 12:00:58 +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
c0528baba7
ios: show spinners when connecting contacts ( #628 )
...
* ios: show spinners when connecting contacts
* move status to the corner
2022-05-10 08:04:18 +01:00
Evgeny Poberezkin
dcaefd6566
mobile: onboarding ( #618 )
...
* mobile: onboarding
* ios onboarding: create profile and make connection
* how SimpleX works
* connect via link
* remove separate view for connecting via link, fix bugs
* remove unused files
* fix help on small screens, update how it works page
* layout
* add About to settings, tidy up
* rename function
* update layout
* translations
* translation corrections
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
* correction
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
* corrections
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
* fix translations/layout
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-05-09 09:52:09 +01: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
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
Evgeny Poberezkin
fc5cdc5eb1
mobile: use batched DOWN/UP events, core: include pending contacts ( #573 )
...
* mobile: use batched DOWN/UP events, core: include pending contacts
* query style
2022-04-26 07:51:06 +01:00
Evgeny Poberezkin
89c36d42e2
ios: pending contact connections UI, core: delete connections on the server when deleting in UI/db ( #565 )
...
* ios: started pending connections UI
* ios: UI for pending contact connections complete
* this has to be getter, or it would break JSON parsing
* ios: update "initiated" status of connection
2022-04-25 10:39:28 +01:00
Evgeny Poberezkin
0091e9f162
ios: show notification token status in UI ( #552 )
...
* ios: show notification token status in UI
* show notification token status
2022-04-23 09:32:16 +04:00
IanRDavies
1932873776
Show pending contacts ( #547 )
...
* capture contact connecting event
* disable navigation to not ready chat
* update "pending contact" alert, Russian translations
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-04-22 17:26:17 +01:00
Evgeny Poberezkin
f594774579
ios: push notifications ( #482 )
...
* ios: get device token for push notifications
* ios: receive messages when background notification is received
* add notifications API, update simplexmq
* chat API to register and verify notification token
* update AppDelegate to recognize different notification types, update simplexmq
* core: api to enable periodic background notifications
* update simplexmq
* chat API to delete device notification token
* use base64url encoding in verification code
* update simplexmq for notifications
2022-04-21 20:04:22 +01: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
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
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
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
Mark Aleksander Hil
102fdf3b18
mobile: update copy, fix typo ( #440 )
...
* Updated copy and fixed typo
* Updated copy and fixed typo
2022-03-14 20:58:19 +00:00
John Roberts
90a18186d9
configurable smp servers ( #366 , #411 ); core: profile images ( #384 )
...
* 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>
* ios, android: configurable smp servers (only model and api for android) (#392 )
* android: configurable smp servers (ui)
* fix thumb color, fix text field color in dark mode
* update simplexmq hash (configurable servers in master)
Co-authored-by: IanRDavies <ian_davies_@hotmail.co.uk>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-03-10 15:45:40 +04:00
Evgeny Poberezkin
e272048f24
ios: date/time formatting now respects locale settings ( #420 )
2022-03-09 22:35:33 +00:00
Evgeny Poberezkin
c47a7d78fe
support for unknown message content types ( #395 )
...
* android: parse/serialize unknown chat items
* ios: more resilient decoding of MsgContent
* core: preserve JSON of unknown message content type in MCUknown, so it can be parsed once it is supported by the client
2022-03-03 08:32:25 +00:00
Evgeny Poberezkin
0b00c2ad76
android: receiving messages in background; ios: background task completion ( #382 )
...
* android: receiving messages in background; ios: background task completion
* complete receiving and sending messages in background
2022-02-28 10:44:48 +00:00
Evgeny Poberezkin
1d2d1e6df7
process subscription summaries in ios/android ( #374 )
2022-02-25 20:26:56 +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
51f5982205
markdown: parse emails and phone numbers ( #365 )
...
* markdown: parse emails and phone numbers
* phone parsing
* refactor
2022-02-24 07:55:18 +00:00
Evgeny Poberezkin
470b18786e
android: show markdown in messages ( #361 )
...
* android: show markdown in messages
* empty line
2022-02-23 12:30:48 +00:00
Evgeny Poberezkin
8f21453e82
fix markdown type for Colored, add types/parsing for formatted text to iOS/android ( #358 )
2022-02-23 08:45:49 +00:00