Commit Graph

1381 Commits

Author SHA1 Message Date
Evgeny
a786693c1a core: improve error handling (#6602)
* core: improve error handling

* simplexmq
2026-01-28 21:57:39 +00:00
Evgeny
67fbe62ae1 core: update simplexmq (support any 127.x.x.x address as loopback), show other addresses in CLI during remote connection, update tests (#6526) 2025-12-23 14:16:05 +00:00
Evgeny
fa9bc1537c cli: option to disable backup or change backup directory on migration (#6267)
* cli: option to disable backup or change backup directory on migration

* update nix

* update simplexmq
2025-09-14 14:41:50 +01:00
Evgeny
5ebd8cc193 core: fix GHC 8.10.7 (#6248) 2025-09-07 22:20:27 +01:00
Evgeny Poberezkin
634fe96db6 core: 6.4.5.0 (simplexmq 6.4.5.2) 2025-09-07 15:27:14 +01:00
Evgeny
8798ede50a core: extended network errors information (simplexmq) (#6247)
* core: extended network errors information (simplexmq)

* fix test

* docs: add NetworkError to bot API types

* update simplexmq - JSON encoding for missing NetworkError
2025-09-07 15:07:21 +01:00
spaced4ndy
ca9b0d4e43 core, ui: correct member attention stat for support chat on opening it; mark support chat read (#6240) 2025-09-05 14:00:32 +00:00
Evgeny
f6c699f3a5 core: update simplexmq (error handling) (#6231)
* core: update simplexmq (error handling)

* update simplexmq
2025-08-29 10:05:20 +01:00
Evgeny
e2d5c675d0 bots: generate code for TypeScript types module from Haskell tests (#6220)
* bots: generate code for TypeScript types module from Haskell tests

* types for API events and command responses

* code for chat command types

* license, readme

* fix array types

* fix more types

* add response type

* add Connect command to docs/ts

* update typescript client package to use auto-generated types
2025-08-26 16:38:27 +01:00
Evgeny
3454935b3b core: pre- and post-start chat hooks for CLI-based bots (#6217) 2025-08-24 10:24:00 +01:00
spaced4ndy
0d22280358 core: forward member name; ui: don't show "Member" label if unknown member was created with name (#6211) 2025-08-22 09:53:21 +00:00
spaced4ndy
0046fc27fe core: fix member version range not being correctly updated in some cases (fixes introducing owner to member in review, when host admin was invited via owner's link; likely fixes other interactions that check version) (#6208)
* core: fix introducing owner to member in review

* fix

* remove diff

* unfocus

* plans
2025-08-20 12:00:11 +01:00
Evgeny
0440616171 core: enable files in business groups by default (#6206) 2025-08-19 18:45:53 +01:00
spaced4ndy
c5e05a10c0 core: fix duplicate error on group link creation (#6204)
* core: fix duplicate error on group link creation

* fix

* fix
2025-08-19 17:17:47 +01:00
Evgeny Poberezkin
44e8752e42 core: 6.4.4.0 (simplexmq 6.4.4.0) 2025-08-18 17:20:33 +01:00
spaced4ndy
24b66d9f4d core: exclude deleted entities when retrieving connection entity (#6198) 2025-08-18 15:59:18 +01:00
spaced4ndy
b607b629a6 core: fix forwarding for connection deleting events (x.grp.mem.del, x.grp.del) (#6189)
* core: fix forwarding for connection deleting events (x.grp.mem.del, x.grp.del)

* more tests

* docs, mute tests

* plans

* rework wip

* improve tests

* revert plans

* only forward original message

* update simplexmq (err context)

* update

* don't always wait delivery

* don't do unnecessary ack

* docs

* Revert "don't do unnecessary ack"

This reverts commit 1a560b0333.

* ack

* update simplexmq
2025-08-18 12:58:25 +01:00
Evgeny
dc3dcd4fc8 core, ui: safe mode to sanitize URIs when sending (#6196)
* core: safe mode to sanitize URIs when sending

* ui: use safe sanitize when sending
2025-08-18 12:58:10 +01:00
Evgeny
28a0959d96 core: additional whitelisted query string parameters (not removed from URLs) (#6190) 2025-08-16 16:46:34 +01:00
Evgeny
fb8d8ec7c3 core, ui: chat relay addresses (#6191) 2025-08-15 17:37:10 +01:00
spaced4ndy
16ed5bcb57 core: save correct body for received message record, instead of full batch body (#6188) 2025-08-14 16:41:04 +00:00
spaced4ndy
c94e3301ad core: fix member contact request not showing incognito correctly (#6174)
* core: fix member contact request not showing incognito correctly

* comment
2025-08-11 13:22:30 +01:00
Evgeny
12f0bd51c5 core, ui: improve removing tracking parameters (#6170)
* core: make URI sanitizer less zealous

* simplify

* subdomains

* update rule

* make "remove link tracking" option disabled by default
2025-08-10 12:38:34 +01:00
Evgeny
ef60ceea12 core, ui: markdown for hyperlinks, warn on unsanitized links, option to sanitize sent links (#6160)
* core: markdown for "hidden" links

* update, test

* api docs

* chatParseUri FFI function

* ios: hyperlinks, offer to open sanitized links, an option to send sanitized links (enabled by default)

* update markdown

* android, desktop: ditto

* ios: export localizations

* core: rename constructor, change Maybe semantics for web links

* rename
2025-08-09 10:52:35 +01:00
Evgeny
4811d663e6 rfc: bot messages and buttons, core: command markdown, supported commands in profile preferences, chat sessions preference, peer type field in profile to identify bots (#5360)
* rfc: bot messages and buttons

* update

* update bot rfc

* core: add bot commands to chat preferences and peer type to profile

* update postgresql schema

* update query plans

* chat sessions preference

* markdown for bot commands

* schema

* core: file preference, options to create bot from CLI

* core: different command type

* ios: commands menu

* update types

* update ios

* improve command markdown

* core, ios: update types

* android, desktop: clickable commands in messages in chats with bots

* android, desktop: commands menu

* command menu button, bot icon

* ios: connect flow for bots

* android, desktop: connect flow for bots

* icon

* CLI commands to view and set commands, remove "hidden" property of command, bot api docs

* corrections

* fix inheriting profile preferences to business groups

* note on business address

* ios: export localizations

* fix test

* commands to set file preference on user/contact, tidy up layout and display of command and attachment buttons
2025-08-07 11:13:35 +01:00
Evgeny
bdb18b2941 core: forward compatible format encoding (for remote desktop) (#6147)
* core: forward compatible format encoding (for remote desktop)

* fix ios
2025-08-02 16:10:15 +01:00
spaced4ndy
18a00511a7 core: set via_group_link_uri for groups (#6137)
* core: set via_group_link_uri for groups

* schema

* plans

* schema

* add to type

* plans, api
2025-08-01 16:23:52 +01:00
spaced4ndy
f42a6751b1 core: allow to manually accept member contact requests (#6129)
* core: allow to manually accept member contact requests

* response

* comment

* comment

* add fields

* fix

* field in request

* compiles

* fix tests

* test

* plans

* fix mobile tests

* fix doc tests

* renames

* group name in event

* fix renames

* tests

* plans

* rename selector

* ios wip

* fix

* ios wip

* move

* fix backend bug, ui

* reject dialogue

* update plans

* kotlin

* delete swipe

* should accept text

* rename

* postgres migration

* ios: pass chat as binding

* rename module

* fix queries

* schema

* update plans, api docs

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-08-01 10:18:29 +01:00
spaced4ndy
baf12207d5 core: prohibit connecting via direct message for blocked members (#6124) 2025-07-29 08:42:39 +00:00
Evgeny
7988463a47 core: store/get whether short link has large data set (#6120)
* core: store/get whether short link has large data set

* ui

* core: set shortLinkLargeDataSet flag in updated links

* remove largeLinkData

* remove instance
2025-07-28 16:49:13 +01:00
spaced4ndy
5de9bf7f2b core: fix duplicate banner when connecting to member contact (#6118) 2025-07-28 09:37:14 +00:00
Evgeny Poberezkin
c714a37221 core: 6.4.1.1 2025-07-25 22:21:41 +01:00
Evgeny Poberezkin
b2f9ee4326 Merge branch 'stable' 2025-07-25 21:16:32 +01:00
Evgeny
7a3b30cca5 core: backward compatible JSON parser for remote controller/host (#6105)
* core: backward compatible JSON parser for remote controller/host

* forward compatible JSON parsers for chats and content
2025-07-25 21:15:46 +01:00
spaced4ndy
e9a3eb8f10 core: fix retrying connection via contact card (preset contacts) (#6104)
* core: fix retrying connection via contact card (preset contacts)

* ios

* kotlin

* banner
2025-07-25 17:31:05 +01:00
spaced4ndy
749f6adc00 core: fix queries so they work for postgres (#6103) 2025-07-25 10:44:19 +00:00
spaced4ndy
d69511bcad core: improve indexes (#6095)
* core: improve indexes

* update plans

* queries

* postgres migration

* optimize query

* lint

* plans

* add indexes

* schema

* plans

* postgres schema

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-07-24 23:36:08 +01:00
spaced4ndy
7b7926a73e core, ui: allow to choose disappearing messages ttl in user profile (#6097) 2025-07-24 14:52:48 +00:00
Evgeny
cf8bd7f6ac docs: bots API (#6091)
* docs: bot API commands

* generate API commands doc

* generate commands docs with parameters and responses

* add API types

* more types

* document all types (with some deviations from JSON encodings)

* rename types

* interface objects

* separator

* command syntax

* more syntax

* API events

* event types

* fix all type definitions

* pre-process types outside of rendering

* pre-process event types

* overview

* pre-process commands

* param syntax WIP

* syntax for types in command parameters

* API error response and chat event

* remove unsupported/deprecated command parameters

* reorder

* syntax for choice

* show command errors

* event descriptions

* python syntax for commands and types (#6099)

* python syntax for commands and types

* python snippets: convert numbers to string

* fixes

* update readme, enable all tests

* fix operators test

* update plans

---------

Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2025-07-24 13:12:53 +01:00
spaced4ndy
052b9ad628 core: enable operator flux by default (#6096) 2025-07-22 07:22:46 +00:00
spaced4ndy
68b7f09c8f core, ui: chat banner (#6089)
* core: create banner item

* filter deletions

* fix query

* ios

* fixes

* remove comment

* revert diff

* refactor

* fix most tests

* fix tests

* spacer

* plans

* create banner for 1-time link initiator

* style in progress

* change background

* ui

* remove bio length limit

* ui

* create banner for client chat

* rename

* more contexts

* fix tests

* move

* fixed image size

* plans

* remove diff

* kotlin

* copy

* paddings

* paddings

* comment

* layout, messages

* fonts

* texts, icons

* kotlin refactor

* kotlin texts

* fix date

* Revert "fix date"

This reverts commit abbd48b334.

* date

* fix texts

* kotlin date

* color and corners

* kotlin

* color

* update banner, context menu in ios

* update texts, do not show epoch timestamp for banner

* fix texts

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-07-21 19:07:21 +01:00
spaced4ndy
a0ea2ede9e core: safely read preview chat item to avoid missing chat preview (#6080) 2025-07-15 14:00:56 +00:00
spaced4ndy
a94c3d9f39 core: don't create duplicate feature items when being accepted to prepared group with member review (#6074) 2025-07-15 09:15:47 +00:00
Evgeny
1e73eb512a core: fix connection plans to allow re-connecting to address after the contact with address in profile was deleted (#6073) 2025-07-14 22:37:39 +01:00
spaced4ndy
ed6ef02eeb core: add group forwarding tests (#6067) 2025-07-14 10:52:38 +00:00
Evgeny
dd3943d994 core, ios: allow moderators to delete messages and block members (#6064)
* core: allow moderators to delete messages and block members

* ios: moderator
2025-07-14 08:02:29 +01:00
Evgeny
a25c44494e core: revert member filter change, fix text (#6062) 2025-07-13 11:46:51 +01:00
Evgeny Poberezkin
362bdc3282 core: update contact cards 2025-07-12 19:46:34 +01:00
spaced4ndy
8094078bee core: improve message forwarding to better manage support scopes (#6056)
* core: test forwarding in support scope

* wip

* test

* add to test

* comment

* rework forwarding

* fixes

* refactor tests

* narrow

* forwardMsgs

* support mem

* unfocus tests

* fix, tests

* plans

* add test

* comment

* add scope to reaction and deletion, refactor

* fix del

* refactor

* query plans

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-07-12 19:39:41 +01:00
Evgeny
a5768e903d core, ui: short bio/description for contact and group profiles (#6055)
* core: short bio/description for contact and group profiles

* use short description in commands

* fix tests

* query plans

* ios: show contact and group profile descriptions

* android, desktop: short description/bio

* ui: layout for chat info, correct copy

* comment out fields to add/edit short descriptions

* remove short description from events

* postgres schema
2025-07-11 21:28:10 +01:00