Commit Graph

2753 Commits

Author SHA1 Message Date
Avently 6ca7fde76b api change 2025-01-08 20:37:44 +07:00
Avently f003f5b251 changes 2025-01-08 19:31:49 +07:00
Avently e873a323a7 unneeded updates and fixes 2025-01-08 17:40:06 +07:00
Avently 443f35831b changes 2025-01-08 17:01:40 +07:00
Avently fffab507be changes 2025-01-07 23:21:19 +07:00
Avently ec16b010f2 Merge branch 'master' into av/multiplatform-reports-screen 2025-01-07 15:33:57 +07:00
Evgeny Poberezkin 912aaa2741 Merge branch 'stable' 2025-01-06 20:18:00 +00:00
Diogo 38db2d075d android, desktop: types/api for reports (#5483)
* android, desktop: types/api for reports

* extra char

* data object -> object

* change

---------

Co-authored-by: Avently <7953703+avently@users.noreply.github.com>
2025-01-06 16:42:46 +00:00
Evgeny Poberezkin 95b19a4947 Merge branch 'stable' 2025-01-04 19:17:19 +00:00
Evgeny Poberezkin 651c5640e2 Merge branch 'stable' 2025-01-04 18:40:57 +00:00
Evgeny c9f6f3c053 core: api and protocol support for reporting messages to group moderators (#5469)
* core: api and protocol support for reporting messages to group moderators

* moderator role

* delete mode

* remove auto-accepting conditions for SimpleX Chat Ltd

* mark as deleted locally

* ui: delete mode type

* store msg_content_tag with chat items, support moderator option on receiving side

* report API

* send reports only to moderators that support them, fail if none support

* fix tests

* test

* remove comment

* revert version

* do not build ghc8107 in stable branch

* skip job

* fix condition

* remove condition

* condition

* exit

* update
2025-01-04 18:33:27 +00:00
Avently 44371d287d android, desktop: reports dashboard 2025-01-04 02:28:36 +07:00
Stanislav Dmitrenko 2793692a16 android, desktop: ability to scroll in all alerts if screen is small (#5470) 2025-01-03 07:53:37 +00:00
Stanislav Dmitrenko 4813ab526d android: limit PiP view size to adapt to Android limitations (#5468) 2025-01-03 07:53:10 +00:00
Stanislav Dmitrenko 23b20ac743 android: fixed scrolling in message text field (#5467) 2025-01-03 07:52:17 +00:00
Diogo aa7095dee2 ios: chat tags ux improvements (#5456)
* fix build

* Rename the second “create list” button to “save list”

* add notes preset tag

* reset search text if active filter is changed

* reset search when preset are pressed

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-01-01 23:12:12 +00:00
Diogo ab0c320fcb android, desktop: chat tags UX improvements (#5455)
* show "all" in meny when any active filter or text enabled, reset search when all selected

* show active preset filter as blue

* label changes

* edit, delete and change order via context menu

* simplify filter logic to match and make sure active chat always present

* notes preset

* remove no longer needed code

* reorder mode boolean, rememberSaveable

* avoid glitch in dropdown menu animation

* move dropdown menu to tagListview

* tagsRow via actual/expect

* current chat id always on top

* avoid recompose

* fix android

* selected preset should be blue

* show change list in context menu if chat already had tag

* swap icons

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-01-01 22:18:15 +00:00
Stanislav Dmitrenko cab938b9f0 android, desktop: improving group members loading to prevent crashes (#5462) 2025-01-01 21:31:32 +00:00
Stanislav Dmitrenko 0dfcd60490 android, desktop: moving chats changing in main thread (#5461)
* android, desktop: moving chats changing in main thread

* modifying chat items in main thread only

* comment
2025-01-01 21:31:06 +00:00
Evgeny Poberezkin 0a596e6417 6.3-beta.0: ios 258, android 267, desktop 86 2024-12-26 19:20:23 +00:00
Evgeny Poberezkin f3670965fb Merge branch 'stable' 2024-12-25 23:18:41 +00:00
Evgeny Poberezkin ce76c00c69 6.2.3: ios 257, android 265, desktop 85 2024-12-25 22:57:04 +00:00
Evgeny 00bc59b3a0 android: fix for disabled notifications (#5431)
* android: fix for disabled notifications

* change

* prevent showing alert multiple times

* changes

---------

Co-authored-by: Avently <7953703+avently@users.noreply.github.com>
2024-12-25 22:34:55 +00:00
Evgeny 086e375bac ui: chat tag fixes (#5427)
* ui: chat tag fixes

* fix switching tags

* change

* android: fix switching profile

* change

* sp

* change

---------

Co-authored-by: Avently <7953703+avently@users.noreply.github.com>
2024-12-25 22:09:18 +00:00
Evgeny 400967b03b ui: fix saving operators (#5428) 2024-12-25 16:54:21 +00:00
Evgeny Poberezkin a0cc177eb5 ios: update library 2024-12-25 12:15:10 +00:00
Diogo 84a45cedbe android, desktop: chat tags (#5396)
* types and api

* remaining api

* icons for tags (named label due to name conflict)

* icon fix

* wup

* desktop handlers to open list

* updates

* filtering

* progress

* wip dump

* icons

* preset updates

* unread

* + button in tags view

* drag n drop helpers

* chats reorder

* tag chat after list creation (when chat provided)

* updates on unread tags

* initial emoji picker

* fixes and tweaks

* reoder color

* clickable shapes

* paddings

* reachable form

* one hand for tags

* ui tweaks

* input for emojis desktop

* wrap chat tags in desktop

* handling longer texts

* fixed a couple of issues in updates of unread tags

* reset search text on active filter change

* fix multi row alignment

* fix modal paddings

* fix single emoji picker for skin colors

* dependency corrected

* icon, refactor, back action to exit edit mode

* different icon params to make it larger

* refactor

* refactor

* rename

* rename

* refactor

* refactor

* padding

* unread counter size

---------

Co-authored-by: Avently <7953703+avently@users.noreply.github.com>
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2024-12-25 11:35:48 +00:00
Evgeny Poberezkin 90c15ee07d Merge branch 'stable' 2024-12-25 08:18:59 +00:00
Evgeny Poberezkin 7d0768457e 6.2.2: ios 256, android 263, desktop 84 2024-12-24 23:56:40 +00:00
Stanislav Dmitrenko 5fef959e86 android, desktop: copy contact/group/member name into clipboard on their pages (#5423)
* android, desktop: copy contact/group/member name into clipboard on their pages

* name format
2024-12-24 19:40:06 +00:00
Stanislav Dmitrenko d80d2fa156 android: open file in default app (#5413)
* android: open file in default app

* icon

* changes

* changes

* fix

* allow files without extension
2024-12-24 19:33:47 +00:00
Evgeny Poberezkin e9bd7200c6 Merge branch 'stable' 2024-12-24 15:24:13 +00:00
Stanislav Dmitrenko 9e2e4722a3 android: start/stop service in migration from device process (#5412)
* android: start/stop service in migration from device process

* cleanup when finished uploading
2024-12-24 13:23:22 +00:00
Evgeny Poberezkin cb721f6c71 Merge branch 'stable' 2024-12-24 10:24:06 +00:00
Evgeny ba601552d2 ios: add chat to created list (#5407)
* ios: add chat to created list

* do not include muted chats in unread tags
2024-12-23 16:31:47 +00:00
Stanislav Dmitrenko 39ab56f494 android: starting service/worker after migrating database (#5411) 2024-12-23 16:30:51 +00:00
Stanislav Dmitrenko 9bfc861aea android: cancel worker task if the service was disabled (#5410) 2024-12-23 15:50:01 +00:00
Evgeny Poberezkin 0160d57e58 Merge branch 'stable' 2024-12-22 16:29:08 +00:00
Stanislav Dmitrenko 8c90a96d78 ios: show alert when import database is failed or succeeded (#5400)
* ios: show alert when import database is failed or succeeded

* don't hide error alert until pressing Ok

* always skip starting chat in case of import error

* changes

* defer
2024-12-22 16:28:53 +00:00
Stanislav Dmitrenko 9c87b8782c android, desktop: update message successfully if it's the same (#5404) 2024-12-22 16:22:36 +00:00
Stanislav Dmitrenko 3fead10ea2 android, desktop: show alert when import database is failed or succeeded (#5402) 2024-12-22 16:19:05 +00:00
Stanislav Dmitrenko bcdf08488e ios: show alert when import database is failed or succeeded (#5400)
* ios: show alert when import database is failed or succeeded

* don't hide error alert until pressing Ok

* always skip starting chat in case of import error

* changes

* defer
2024-12-22 16:18:45 +00:00
spaced4ndy a3140c2d3e ui prohibit sending to member if connection is not ready (#5399) 2024-12-20 20:33:09 +04:00
spaced4ndy 00973d6e13 core: split Chat.hs module (#5397) 2024-12-20 16:54:24 +04:00
Evgeny 9adff0bfd1 ios: track unread chat lists, avoid scanning when adding and removing chats (#5398)
* ios: track unread chat lists, avoid scanning when adding and removing chats

* disable favorites filter when no more favorite chats
2024-12-20 11:43:11 +00:00
spaced4ndy 143be1edaf ios: don't show what's new after import on onboarding (#5394) 2024-12-19 15:59:34 +00:00
Diogo fcb2d1dbac core, ios: chat tags (#5367)
* types and db

* migration module

* chat tag

* store method proposal

* profiles build

* update type

* update return type

* building

* working api

* update

* refactor

* attach tags to contact

* simplify

* attach chat tags to group info

* get chat tags with supplied user id

* get tags fix

* ios: chat tags poc (#5370)

* ios: chat tags poc

* updates to sheet

* temporary display for other option on swipe

* sheet height

* only show preset when it has matches

* changes

* worst emoji picker ever

* simplify tag casts and collapse

* open on create tag if no tags

* simple emoji text field

* nice emoji picker

* dismiss sheets on tag/untag

* semibold selection

* all preset tag and change collapsed icon on selection

* default selected tag (all)

* only apply tag filters on empty search

* + button when no custom lists

* reset selection of tag filter on profile changes

* edit tag (broken menu inside swiftui list)

* create list to end of list

* swipe changes

* remove context menu

* delete and edit on swipe actions

* tap unread filter deselects other filters

* remove delete tag if empty

* show tag creation sheet when + button pressed

* in memory tag edit

* color, size

* frame

* layout

* refactor

* remove code

* add unread to same unit

* fraction on long press

* nav fixes

* in memory list

* emoji picker improvements

* remove diff

* secondary plus

* stop flickering on chat tags load

* reuse string

* fix reset glitches

* delete destructive

* simplify?

* changes

* api updates

* fix styles on list via swipe

* fixed untag

* update schema

* move user tags loading to get users chat data

* move presets to model

* update preset tags when chats are updated

* style fixes and locate getPresetTags near tags model

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>

* deleted contacts and card should not match contact preset

* fix update presets on chat remove

* update migration indices

* fix migration

* not used chat model

* disable button on repeated list name or emoji

* no chats message for search fix

* fix edits and trim

* error in footer, not in alert

* styling fixes due to wrong place to attach sheet

* update library

* remove log

* idea for dynamic sheet height

* max fraction 62%

* minor fixes

* disable save button when no changes and while saving

* disable preset filter if it is no longer shown

* remove comments from schema

* fix emoji

* remove apiChatTagsResponse

* always read chat tags

* fix

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2024-12-19 10:48:26 +00:00
Evgeny Poberezkin a73fb89c44 ios: update library 2024-12-18 18:25:05 +00:00
Evgeny Poberezkin 4d82afe602 6.2.1: ios 255, android 261, desktop 83 2024-12-12 21:00:16 +00:00
Diogo 591f74a8e3 android, desktop: show contact reactions (#5376)
* android, desktop: show contact reactions

* refactor

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2024-12-12 20:33:50 +00:00