* ios: new user picker (#4770)
* current user picker progress
* one hand picker
* thin bullet icon
* more user picker buttons
* button clickable areas
* divider padding
* extra space after sun
* send current user option to address view
* add unread count badge
* with anim for apperance close
* edit current profile from picker
* remove you section from settings
* remove help and support
* simplify
* move settings and sun to same row
* remove redundant vstack
* long press on sun/moon switches to system setting
* remove back button from migrate device
* smooth profile transitions
* close user picker on list profiles
* fix dismiss on migrate from device
* fix dismiss when deleting last visible user while having hidden users
* picker visibility toggle tweaks
* remove strange square from profile switcher click
* dirty way to save auto accept settings on dismiss
* Revert "dirty way to save auto accept settings on dismiss"
This reverts commit e7b19ee8aa.
* consistent animation on user picker toggle
* change space between profiles
* remove result
* ignore result
* unread badge
* move to sheet
* half sheet on one hand ui
* fix dismiss on device migration
* fix desktop connect
* sun to meet other action icons
* fill bullet list button
* fix tap in settings to take full width
* icon sizings and paddings
* open settings in same sheet
* apply same trick as other buttons for ligth toggle
* layout
* open profiles sheet large when +3 users
* layout
* layout
* paddings
* paddings
* remove show progress
* always small user picker
* fixed height
* open all actions as sheets
* type, color
* simpler and more effective way of avoid moving around on user select
* dismiss user profiles sheet on user change
* connect desktop back button remove
* remove back buttons from user address view
* remove porgress
* header inside list
* alert on auto accept unsaved changes
* Cancel -> Discard
* revert
* fix connect to desktop
* remove extra space
* fix share inside multi sheet
* user picker and options as separate sheet
* revert showShareSheet
* fix current profile and all profiles selection
* change alert
* update
* cleanup user address
* remove func
* alert on unsaved changes in chat prefs
* fix layout
* cleanup
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
* ios: fix switching profiles (#4822)
* ios: different user picker layout (#4826)
* ios: different user picker layout
* remove section
* layout, color
* color
* remove activeUser
* fix gradient
* recursive sheets
* gradient padding
* share sheet
* layout
* dismiss sheets
---------
Co-authored-by: Levitating Pineapple <noreply@levitatingpineapple.com>
* ios: use the same way to share from all sheets (#4829)
* ios: close user picker before opening other sheets
* Revert "share sheet"
This reverts commit 0064155825.
* dismiss/show via callback
* Revert "ios: close user picker before opening other sheets"
This reverts commit 19110398f8.
* ios: show alerts from sheets (#4839)
* padding
* remove gradient
* cleanup
* simplify settings
* padding
---------
Co-authored-by: Diogo <diogofncunha@gmail.com>
Co-authored-by: Levitating Pineapple <noreply@levitatingpineapple.com>
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* ios: add chat message tail and roundness settings
* cleanup
* minor
* rename
* date separator
* revert max roundness to pills
* increase default roundness to 1
* minor
* out of bounds tails, style date separator
* formatting
* hardcode tail growth
* revert
* different shape (WIP)
* tail
* rename
* square
* only show tail for the last message
* remove func
* capture less
* variable tail height
* export localizations
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
* ios: added delete contacts, one hand ui, and contact action buttons
* remove unused, rework info buttons wip
* ios: moved existing buttons to new chat sheet
* ios: add basic list of contacts to new chat sheet
* ios: add deleted chats section to new chat sheet
* group chat info navigation
* fix spacing of group info buttons
* remove comment
* unify spacing logic across info views
* info button alerts wip
* calls alerts wip
* call buttons alerts
* fix call button to correctly update on preference change while in view
* refactor
* fix alert ids
* contact list wip
* more contact list actions
* open chat wip
* fix contact list elements clickability
* ios: search functionality on new chat sheet
* ios: white bg for search box on new chat sheet
* ios: don't show empty list when pasted contact is not known
* ios: add search and nav title to deleted chats
* navigation links wip
* fix refreshable
* ios: empty states for lists
* ios: hide contact cards from chat list
* ios: make search bar icon sizes consistent
* ios: fix deleted conversation dissapearing from chat list on back
* fix pending invitation cleanup in chat sheet
* rename search label from open to search
* make cleanup alert work on sheet and on dismiss
* dismiss all sheets after creation of groups
* fix double toolbar on group invite members
* fix double toolbar on group link invitation screen
* dismiss all on group creation error
* comment
* show alert in dismissAllSheets completion
* fix sheet dismissal on known group
* rework contact list with buttons (fixes dark mode)
* fix dark mode on new chat view
* fix search dark mode
* increase search padding
* improve new chat title and info button placing
* info view background
* improve create group title placement
* refactor
* fix delete dialogue in light mode
* change icon
* archivebox on contact list
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
* ios: blur for media
* line
* one more place
* changes for video
* using notification center
* change
* unused code
* string
* simplify
* refactor ifs
* fix
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
* ios: migration via link
* changes in UI
* UI
* UI and API changes
* UI and logic
* simplify statement
* UI, API, logic
* formatting
* animation fix
* better animation
* test
* changed directory
* changes
* migrating to device
* migrate settings
* more state updates on main thread
* texts
* continue migration after restart
* toggle for saving passphrase and footer text
* no visual arthefacts when deleting a chat after migration
* saving settings before changing passphrase
* back button is looking disabled when it's disabled
* fixed starting chat issues when migrating to device
* paste and share link elements
* proper import process and refactoring UI in SimpleXInfo
* show progress on settings while starting chat
* title bold font
* changes as in Android
* brace
* changes as in Android
* rename to prevent confusion
* fixes and adapted to Android
* unused param
* comment
* don't allow going back on Archiving step
* update core library
* changes as in Android
* correction
* correction
* change
* qr code
* update network settings view
* update progress
* changes
* navigation view and focus in text field
* texts
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* ios: show chat previews & save last draft toggles
* better view, toggle name
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
* core: delivery receipts
* update simplexmq
* preference, migration
* add activated state to receipts preference, update tests
* set receiveReceipts as activated on new profiles
* update simplexmq, fix tests
* update simplexmq, fix withAckMessage
* one more option
* more
* use tryChatError in ack message
* enable all tests
* rename pref
* update item status on delivery receipts
* show receipts for tests
* remove chat preference for delivery receipts
* add user, contact and group settings for delivery receipts
* only send delivery receipts if enabled for the contact or user profile (and not disabled for the contact)
* fix tests
* reuse event, test
* configure per contact - db, api, test
* rename commands
* update simplexmq
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* ios: UI to filter favorite and unread chats
* update localizations
* update colors
* star size and position
* filter button sizes and layout
* change AND to OR when both filters are chosen
* simplify filter UX
* store filter state in defaults
* remove comment, update localizations
* core: include contact links in profiles
* add connection request link to contact and group profiles
* set group link on update, view, api
* core: include contact addresses in profiles
* remove id from UserContactLink
* schema, fix test
* remove address from profile when deleting link, tests
* remove diff
* remove diff
* fix
* ios wip
* learn more, confirm save, reset on delete
* re-use in create link view
* remove obsolete files
* color
* revert scheme
* learn more with create
* layout
* layout
* progress indicator
* delete text
* save on change, layout
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
* ios: digital password (instead of device auth)
* set, ask, change password
* kind of working, sometimes
* ZSTack
* fix cancel
* update title
* fix password showing after settings dismissed
* disable button when 16 digits entered
* fixes
* layout on larger screens
* do not disable auth when switching to system if system auth failed, refactor
* fix enabling auth via the initial alert
* support landscape orientation
* core: support down migrations to allow reverting to the previous version
* update schema
* update simplexmq
* rename errors
* remove unused functions
* migration UI, test migration
* update migration UI
* return current migrations in CRVersionInfo
* update simplexmq
* test down migrations
* cleanup ios
* show migrations in log
* ios: choose user deletion mode
* update text
* refactor, disable button
* darker profile icon colors
* do not delete active user if changing user failed
* 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