Commit Graph

764 Commits

Author SHA1 Message Date
Avently
3fabeef49f changes 2025-01-10 15:21:51 +07:00
Avently
7ba0c189b4 Merge branch 'master' into av/multiplatform-reports-screen 2025-01-10 13:28:26 +07:00
Evgeny Poberezkin
13fae855fc Merge branch 'stable' 2025-01-09 22:29:31 +00:00
Diogo
cd9eb66ebb ui: remove support for inline moderation (#5495)
* android: remove support for inline moderation

* ios: emove support for inline moderation

* fix prefix on preview for ios

* unused

* final pass

* ios: should not be able to assign moderator

* button label

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-01-09 22:28:29 +00:00
Avently
3c79b21d94 a lot of changes 2025-01-10 00:14:35 +07:00
Avently
51b339baec Merge branch 'master' into av/multiplatform-reports-screen 2025-01-09 15:30:25 +07:00
Evgeny Poberezkin
5256606f9d Merge branch 'stable' 2025-01-09 07:21:01 +00:00
Avently
4b79410fa2 item moderated/deleted 2025-01-09 14:19:17 +07:00
Stanislav Dmitrenko
3cfc74e0fd android, desktop: fixed loading items when one was deleted (#5472)
* android, desktop: fixed loading items when one was deleted

* optimization

* removed comment
2025-01-09 06:58:41 +00:00
Avently
7aadb988b3 Merge branch 'master' into av/multiplatform-reports-screen 2025-01-09 13:29:51 +07:00
Evgeny Poberezkin
146c968a79 Merge branch 'stable' 2025-01-08 22:32:24 +00:00
Diogo
7281255480 android, desktop: inline reports (#5485)
* simple send and receive

* fix sending reason enum via api

* trim ""

* report preview and msg display

* adding support for moderator (not active)

* disable all bulk actions for reports

* progress on context menu

* make delete messages and block fn suspend

* block and moderate

* fixes and code cleanup

* never show report on own messages

* minor code improvements

* supportedRoles -> selectableRoles

* remove paddings on msg not allowed and other overlapping views, change color

* reports: disables attachments, cleans previews and stops lives

* disable report on lives

* refactor

* reports - enable delete for self on bulk actions

* text

* select report context menu

* ios: text

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-01-08 20:07:32 +00:00
Diogo
7e344b3ee8 ios: reports inline (#5466)
* initial types

* changes types

* decode

* possible mock for inline report

* remove avatar

* diff

* updates

* parser and display message

* send messages and support placeholder

* profile reports and all reports working

* new api

* check member support for receiving reports

* report chat item text

* moderator role

* placeholder on text compose for report

* rename method

* remove need to have reported item in memory to action

* archived reports

* changes/fix

* fix block member

* delete and moderate

* archive

* report reason

* context menu/moderation fixes

* typo

* not needed

* report reason as caption, and change text

* remove auto archive

* move placeholder to match text

* prefix red italic report

* archive

* apply mark deleted fix

* Revert "apply mark deleted fix"

This reverts commit b12f14c0f5.

* remove extra space

* context menu rework

* strings, icons

* recheck items extra check on reports

* simplify

* simpler

* reports: never show for own messages, disable attachments, hide when recording or live

* style, allow local deletion

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-01-08 18:28:45 +00:00
Evgeny Poberezkin
105d188e76 Merge branch 'stable' 2025-01-08 18:18:21 +00:00
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
Evgeny
569832c8de core: rfc, protocol and types for user reports (#5451)
* core: rfc, protocol and types for user reports

* add comment

* rfc

* moderation rfc

* api, types

* update

* typos

* migration

* update

* report reason

* query

* deleted

* remove auto-accepting conditions for SimpleX Chat Ltd

* api, query

* make indices work

* index without filtering

* query for unread

* postgres: rework chat list pagination query (#5441)

* fix query

* fix

* report counts to stats

* internalMark

* fix parser

* AND

* delete reports on event, fix counters

* test

* remove reports when message is moderated on sending side

---------

Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2025-01-08 09:42:26 +00:00
Diogo
f33a9650bc android, desktop: fix previous years display on chat view (#5486) 2025-01-07 20:58:22 +00:00
Avently
fffab507be changes 2025-01-07 23:21:19 +07:00
Stanislav Dmitrenko
05a5d161fb desktop: saving settings in a safer way to handle process death (#4687)
* desktop: saving settings in a safer way to handle process death

* enhancements

* unused

* changes

* rename
2025-01-07 09:52:01 +00: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
23b20ac743 android: fixed scrolling in message text field (#5467) 2025-01-03 07:52:17 +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
f3670965fb Merge branch 'stable' 2024-12-25 23:18:41 +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
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
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
Stanislav Dmitrenko
39ab56f494 android: starting service/worker after migrating database (#5411) 2024-12-23 16:30:51 +00:00
Evgeny Poberezkin
0160d57e58 Merge branch 'stable' 2024-12-22 16:29:08 +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
spaced4ndy
a3140c2d3e ui prohibit sending to member if connection is not ready (#5399) 2024-12-20 20:33:09 +04:00