Commit Graph

922 Commits

Author SHA1 Message Date
Evgeny Poberezkin
af6cb73bee Merge branch 'master' into av/multiplatform-reports-screen 2025-01-10 14:51:44 +00:00
Evgeny Poberezkin
5fcf5c2cf8 Merge branch 'stable' 2025-01-10 13:59:21 +00:00
Stanislav Dmitrenko
d5ce770f41 android, desktop: non-transparent background in some cases (#5502) 2025-01-10 13:38:05 +00:00
Diogo
5289d86254 android, desktop: prevent swipe reply to reports (#5499) 2025-01-10 12:03:38 +00:00
Avently
859a041af1 rename 2025-01-10 18:36:45 +07:00
Avently
a4d3d58483 simplify 2025-01-10 18:34:27 +07:00
Avently
fd28197258 reorder 2025-01-10 18:29:13 +07:00
Avently
ae7985edb7 fix archived by 2025-01-10 18:14:10 +07:00
Avently
1b46bf12f4 groupInfo button and closing when needed 2025-01-10 17:53:06 +07:00
Avently
473fdedf23 refactor 2025-01-10 17:26:59 +07:00
Avently
97e21e68b6 increasing counter when new report arrives 2025-01-10 17:01:11 +07:00
Avently
6dd6608e94 archived by 2025-01-10 16:53:12 +07:00
Avently
de2d0e16ea reports tag and icon in ChatList 2025-01-10 16:25:18 +07:00
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
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
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