Evgeny Poberezkin
3e560278b6
ios: update chat previews, show filename in drafts ( #1847 )
...
* ios: update chat previews, show filename in drafts
* save and restore images/file/voice for draft
* refactor image
* it was a wrong value
* use param label
* proper stop of voice recording
* safe draft logic
* different way of finishing recording
* keep condition
* refactor
* fix live
* fix
* refactor
* fix
* simplify
* add space after filename in draft
---------
Co-authored-by: Avently <7953703+avently@users.noreply.github.com >
2023-01-27 22:09:39 +00:00
Evgeny Poberezkin
c01c629f73
mobile: use GMT timezone in filenames to prevent leaking user location ( #1837 )
...
* ios: use GMT timezone in filenames to prevent leaking user location
* android: use GMT timestamp in generated file names
2023-01-25 11:48:54 +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
Stanislav Dmitrenko
2679bc2e94
ios: enable swipe to go back from chat to list ( #1824 )
...
* ios: Testing workaround of a crash
* another try
* complete
* added file
* enable swipe to go back from ChatView
* Revert "enable swipe to go back from ChatView"
This reverts commit 22de79505c .
* ios: enable swipe to go back from ChatView
* remove title change
* remove unused
* remove unused variable
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-01-24 19:24:46 +00:00
Evgeny Poberezkin
93ab713748
ios: choose user deletion mode ( #1833 )
...
* ios: choose user deletion mode
* update text
* refactor, disable button
* darker profile icon colors
* do not delete active user if changing user failed
2023-01-24 19:00:30 +00:00
JRoberts
2a20f78877
core: use batch connection deletion api ( #1814 )
2023-01-24 16:24:34 +04:00
Stanislav Dmitrenko
1d5c361b9a
ios: restore scroll and update user profile in user profile menu ( #1811 )
...
* ios: Small UserPicker fixes
* update scroll
* update current user and update users list
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-01-23 15:48:29 +00:00
Stanislav Dmitrenko
4cd396a0d2
ios: Multiuser calls ( #1800 )
...
* ios: Multiuser calls
* counter update on badge
* padding before profile info in call view
* underline in name
* change after merge
* do not show Simplex Info button if users already created
* unread counter
* do not increase badge counter when chat has disabled notifications
* update incoming call
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-01-23 13:20:58 +00:00
Evgeny Poberezkin
bcc80be8e9
Merge branch 'master' into users
2023-01-22 23:08:53 +00:00
Evgeny Poberezkin
4b0046a60b
mobile: show version information ( #1820 )
...
* mobile: show version information
* export localizations
2023-01-22 18:34:01 +00:00
JRoberts
980c7a9ddd
ios: use agent connection id as key for network statuses map ( #1808 )
2023-01-20 17:35:39 +04:00
Evgeny Poberezkin
04d886e546
ios: user profiles view, per-user settings ( #1801 )
...
* ios: user profiles view, per-user settings
* remove comment
* bold profile name
2023-01-20 12:38:38 +00:00
JRoberts
396b3ae639
ios: maintain connections network statuses map separately from chats (allows to keep track of network statuses for all users) ( #1803 )
2023-01-20 14:56:05 +04:00
Stanislav Dmitrenko
ad6aa10cd2
ios: Multiusers feature continue ( #1793 )
...
* ios: Multiusers feature continue
* Logging of user in responses
* UserId
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* Undo ugly user inclusion into functions. Now it's in backend
* Do not set active user if it's unchanged
* Blank line
* if
* Change active user function
* refactor
* refactor
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* Alert
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2023-01-19 16:22:56 +00:00
Stanislav Dmitrenko
153f80fe64
ios: menu to switch active user profile ( #1758 )
...
* ios: User chooser UI
* Change
* Changes
* update view
* fix layout/refactor
* fix preview
* wider menu, update label
* hide Your profiles button
* Clickable background that hides userChooser
* No click listener
* Better animation
* Disabled scrolling for small number of items
* Separated scrollview and buttons
* No transition
* Re-indent
* Limiting width by the longest label
* UserManagerView
* Adapted API
* Hide user chooser after selection
* Top counter, users refactor
* Padding
* use VStack to fix layout bug
* eol
* rename: rename to getUserChatData
* update layout
* s/semibold/medium
* remove SettingsButton view
* rename
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-01-17 17:47:37 +00:00
JRoberts
9dc6c1327f
core: manage calls for all users ( #1748 )
2023-01-16 15:06:03 +04:00
JRoberts
424328b9d1
core: agent users ( #1727 )
2023-01-13 13:54:07 +04:00
JRoberts
7323bb4333
Merge branch 'master' into users
2023-01-11 18:38:55 +04: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
d1cc5c1769
ios: Better check for existing of image's alpha ( #1718 )
...
* ios: Better check for existing of image's alpha
* Allow non-transparent pixels
* optimize
* remove prints
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-01-10 19:39:42 +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
JRoberts
bb0482104c
core, ios, android: add UserId to api commands ( #1696 )
2023-01-05 20:38:31 +04:00
Evgeny Poberezkin
12574bed96
ios: move image utils to app ( #1642 )
...
* ios: move image utils to app
* name in comments
2022-12-24 11:38:59 +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
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
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
JRoberts
a4ecb41743
ios, android: show send direct message button only for active members ( #1554 )
2022-12-12 15:27:52 +04:00
Evgeny Poberezkin
7b4710d198
ios: verify connection security code ( #1542 )
...
* ios: verify connection security code
* verification in member sheet (still crashes)
* use navigation view for members list
* ios: show verified status in the lists
* update verification status in the list of members
* verified shield layout
* update icon, make add member navigation to right
* refactor chatPreviewTitle
2022-12-12 08:59:35 +00:00
Evgeny Poberezkin
ff14730738
mobile, core: fix voice message reception in groups ( #1524 )
2022-12-07 22:18:22 +00:00
JRoberts
4beb916754
ios: deleted item preview; android: refactor removeChatItem ( #1523 )
2022-12-07 20:46:38 +04:00
JRoberts
fda8836ab8
ios: show open direct chat button for direct contacts ( #1518 )
2022-12-07 17:30:15 +04:00
Evgeny Poberezkin
e44e9a0940
mobile: broker error type ( #1475 )
...
* mobile: broker error type
* fix
* ios: update libraries
* change AgentErrorType to String
2022-12-03 18:05:32 +00:00
Evgeny Poberezkin
c43ba7bf23
ios: fix item deletion in groups ( #1487 )
2022-12-03 15:21:14 +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
e5f07993a7
mobile: don't show notifications for certain chat items ( #1453 )
2022-11-28 19:11:26 +04:00
JRoberts
33b3557950
mobile: suppress fileAlreadyReceiving error ( #1441 )
2022-11-26 13:55:36 +04:00
JRoberts
9c06acd4bc
ios: voice message repeat receive ui workaround ( #1437 )
2022-11-26 12:43:26 +04:00
Evgeny Poberezkin
5263698e64
ios: show notifications alert only once, each time after notifications are disabled ( #1428 )
2022-11-25 21:43:10 +00: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
5806a2ceb4
Merge branch 'stable'
2022-11-22 08:55:01 +00:00
Evgeny Poberezkin
7e3d53b621
ios: advanced server configuration ( #1388 )
...
* ios: advanced server configuration
* UI is mostly working, QR code scan
* refactor
* error alerts
* fixes
* remove old view
* rename view
* translations
* only show valid QR code, spinner during server test
* update tested status on edit
* space wtf
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* moar space
* translation
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* translations
* translations
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-11-21 08:37:13 +00:00
Evgeny Poberezkin
02fa81e8aa
mobile: show unknown content with attached file as file item (for partial forward compatibility with voice and video messages) ( #1394 )
...
* mobile: show unknown content with attached file as file item (for partial forward compatibility with voice and video messages)
* fix
* android: show unknown files
2022-11-21 07:42:36 +00:00
JRoberts
4e5aa3dcbc
ios: adjust preferences UX; fix group profile not updating; fix servers api ( #1377 )
2022-11-17 12:59:13 +04:00
JRoberts
828b502431
ios: load and save preferences ( #1373 )
2022-11-16 20:26:43 +04:00
Evgeny Poberezkin
491fe4a9bf
core, ios: advanced server config ( #1371 )
...
* ios: advanced server config
* simplify UI
* core: ServerCfg
* commit migration, update schema
* add preset servers to response
* return default servers if none saved
* fix test
2022-11-16 15:37:20 +00:00
JRoberts
b9d625da18
ios: support ( #1346 )
...
* ios: update settings
* translation
* redundant item
* fix stopped chat buttons
* corrections
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* translations
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-11-11 08:30:10 +00:00
JRoberts
f3e59aa3c3
ios: dismiss re-opened contact connection view upon connection ( #1316 )
2022-11-07 21:05:59 +04:00
JRoberts
18677cec63
mobile: repeat group invitations don't duplicate chat preview ( #1310 )
2022-11-07 12:08:37 +04:00
Evgeny Poberezkin
00f712dc59
ios: fix group role ( #1308 )
2022-11-06 14:20:15 +00:00
JRoberts
5ca21dea13
mobile: seamless transition from group link to group; ios: group link alert ( #1296 )
2022-11-05 17:48:57 +04:00