Commit Graph

1643 Commits

Author SHA1 Message Date
Evgeny @ SimpleX Chat 7eb7c49d72 refactor verification 2026-06-28 11:30:55 +00:00
Evgeny @ SimpleX Chat 5600d01d45 renames 2026-06-28 10:04:41 +00:00
Evgeny @ SimpleX Chat 35fd8e7400 read short links when looking up by name 2026-06-28 09:18:40 +00:00
Evgeny @ SimpleX Chat 3084df657e load own names 2026-06-28 08:49:50 +00:00
Evgeny @ SimpleX Chat 38a360ce93 refactor to another type 2026-06-28 08:20:44 +00:00
Evgeny @ SimpleX Chat 2a7084960b refactor 2026-06-27 23:24:16 +00:00
Evgeny @ SimpleX Chat 5b659c8858 refactor more 2026-06-27 22:38:45 +00:00
Evgeny Poberezkin 09b4c7b151 bots api 2026-06-27 23:29:53 +01:00
Evgeny @ SimpleX Chat 8bcabcb912 move names 2026-06-27 21:57:53 +00:00
Evgeny Poberezkin cc86ee8e93 rename 2026-06-27 21:50:13 +01:00
Evgeny @ SimpleX Chat 30130f8402 refactor 2026-06-27 19:03:06 +00:00
Evgeny Poberezkin 72c5417c75 refactor setting user name 2026-06-27 16:49:17 +01:00
Evgeny Poberezkin c51071b740 refactor setting user name 2026-06-27 16:31:29 +01:00
Evgeny @ SimpleX Chat a990a7f7d4 remove spurious comments 2026-06-27 14:59:45 +00:00
Evgeny Poberezkin fbcdd1f21f type name 2026-06-27 15:34:27 +01:00
Evgeny @ SimpleX Chat 471a538622 remove cute language 2026-06-27 14:32:54 +00:00
Evgeny Poberezkin b4ce534643 simplify warnings 2026-06-27 15:17:21 +01:00
Evgeny Poberezkin 22122eed68 remove comment 2026-06-27 14:45:24 +01:00
Evgeny @ SimpleX Chat fc0582cf08 split verify API for contacts and public groups 2026-06-27 13:39:44 +00:00
Evgeny @ SimpleX Chat 9d753f5d1f remove same link, use simplexmq instead 2026-06-27 10:59:19 +00:00
Evgeny @ SimpleX Chat 7781e24209 ad hoc link comparison, create short link 2026-06-27 09:28:18 +00:00
Evgeny Poberezkin 79e0884e5e generate bot types, schema, unStrJSON, fix tests 2026-06-27 08:41:05 +01:00
Evgeny @ SimpleX Chat afe2cb9a49 simpler resolution, name proofs 2026-06-26 21:09:28 +00:00
Evgeny @ SimpleX Chat db963db47e update types and schema 2026-06-26 13:57:49 +00:00
Evgeny Poberezkin d04e93eb00 Merge branch 'master' into sh/namespace 2026-06-26 07:36:03 +01:00
spaced4ndy e49a5ec6b5 core: XGrpMemNew checks (#7132) 2026-06-25 11:42:01 +00:00
Evgeny Poberezkin 0fea6e8821 Merge branch 'master' into sh/namespace 2026-06-24 19:47:21 +01:00
spaced4ndy 4f855e6bba core: support connecting to channels via cli (#7131) 2026-06-24 14:55:21 +00:00
spaced4ndy 8d478b7167 core: don't create member role change chat item in channels (#7124) 2026-06-24 14:33:12 +00:00
shum 0706b2516e refactor(store): consolidate names migrations into one
Unshipped feature - merge the four incremental simplex_name migrations
(0603/0604/0606/0612) into a single M20260603_simplex_name. The combined
UP applies the ALTERs/indexes in the same order, so the resulting schema
is byte-identical (verified by SchemaDump on SQLite and pg_dump on Postgres).
2026-06-23 16:23:02 +00:00
shum 60258245eb chore: bump simplexmq pin to 6843b14c 2026-06-23 16:23:02 +00:00
shum e9656d0b18 Merge origin/master into sh/namespace
The names (simplex_name / RSLV) feature and master's badge feature both
extended the contact/group profile row layer. Resolution keeps both, with
simplex_name ordered last (chronological - it is the newer column):
- Profile/LocalProfile gain badge + simplex_name; simplex_name last in the
  data types, record builds, schema, and SQL row types/SELECTs/INSERTs
- SQL row types, SELECTs and INSERT/UPDATE lists carry both badge_* and
  simplex_name columns (simplex_name after badge)
- migration lists ordered by date (master 0601/0602 before names 0603+)
- SQLite chat_schema.sql regenerated; Postgres chat_schema.sql hand-merged

Verified: lib + test suite build; SchemaDump, Operators, Protocol and
direct/group profile round-trip tests pass.
2026-06-23 12:28:56 +00:00
shum e08367dc9b fix(store): single-line simplex_name WHERE to match CI sqlite (<=3.45) 2026-06-23 10:07:43 +00:00
sh a29ee24722 fix(core): annotate ambiguous memberRole record update (#7120)
The armv7a-android cross-compiler GHC refuses to disambiguate the bare
record update m {memberRole = role} (the field is shared by many record
types), failing the lib:simplex-chat build with "Record update is
ambiguous, and requires a type signature".

Annotate the updated record as (m :: GroupMember), matching the existing
workaround already used a few lines below in the same function.
2026-06-23 08:25:03 +01:00
spaced4ndy 0e09b38ea6 core: public groups - roster of privileged members (#7017) 2026-06-22 10:15:41 +00:00
Evgeny Poberezkin f64030f704 Merge branch 'stable' 2026-06-21 23:37:47 +01:00
Evgeny 6cde614e51 core: fix group link use after admin demotion (#7111)
* Fix group link use after admin demotion

* fix: group role change

* size limit

* fix

* allow delete

* do not remove link

* query plan

* relay test

* refactor

---------

Co-authored-by: Paul Bottinelli <paul.bottinelli@trailofbits.com>
Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-06-21 23:36:15 +01:00
Evgeny c42c121a36 core: improve short link decompression (#7110)
* fix: bound short-link decompression

* core: improve short link decompression

---------

Co-authored-by: Paul Bottinelli <paul.bottinelli@trailofbits.com>
2026-06-21 13:03:57 +01:00
Evgeny Poberezkin 3c68ba4803 Merge branch 'stable' 2026-06-20 20:55:10 +01:00
Evgeny 8c4580ee00 core: block obfuscated simplex links if the group does not allow them (#7107)
* core: block obfuscated simplex links if the group does not allow them

* remove newlines

* remove renames

* name

* more efficient parser

* remove comment

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-06-20 20:54:34 +01:00
Evgeny Poberezkin 90799ebbc5 docs: update query plans 2026-06-18 09:34:15 +01:00
Evgeny a6bc9da009 web: improve channel layout, fix subscriber count (#7092)
* web: improve channel layout

* limit link preview width

* fix

* update subscriber count in relays

* catch worker errors

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-06-18 08:41:05 +01:00
spaced4ndy cfefafc337 core: file invitation size check (#7069)
* core: file invitation size check

* comment

* comment
2026-06-17 19:20:58 +01:00
Narasimha-sc 8504c0ce98 cli: remove help entries for removed commands (#7079)
* cli: remove help entries for commands removed long ago

/pq and /pq @<name> were removed in #4049 (PQ encryption for contacts
is now automatic); /get stats and /reset stats were removed in #4375
(legacy agent stats). All four were left documented in CLI help, so
typing them fails. Remove the stale entries.

* plans: justify removal of outdated CLI help entries

* plans: drop //get stats mention from CLI help plan
2026-06-17 19:18:32 +01:00
Evgeny Poberezkin e11cf1b82e Merge branch 'stable' 2026-06-17 19:13:51 +01:00
Evgeny 80538850f1 ui: show badges in more contexts (#7084)
* core: fix delivery cursor not advancing to maximum group member id for posgtgres (#7043)

* ui: show badge in user picker above message entry

* core: send badge with channel owner profile

---------

Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-06-17 19:10:37 +01:00
spaced4ndy 09e9235c86 core: fix delivery cursor not advancing to maximum group member id for posgtgres (#7043) 2026-06-17 19:09:50 +01:00
Evgeny @ SimpleX Chat 8dd888295d website: add SimpleX Network News channel preview (#7087)
* website: add SimpleX Network News channel preview

* send relay domain/capability to channel owner on profile update

* add channel ID

* add top offset parameter

* allow overscroll

* better scroll

* improve

* fix promoted communities

* use path for channel renderer without host

* fix

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2026-06-17 19:06:24 +01:00
Evgeny adb3fb8cb2 core: render web previews for channels (#7029)
* plan: web previews for channels

* types for recipient side to support channel web previews and domain names

* fix

* migrations

* update schema and api types

* update schema

* rename migrations

* core: render channel preview data

* core: render channel preview data in relays

* website: use cpp to inject JS functions

* JSC files

* remove directory.js

* channel preview renderer

* Revert "cli: fix redraw slowness (#6735)"

This reverts commit b801d77c74.

* sample channel page

* default avatar

* rename options

* better layout

* layout

* images

* some fixes

* tails

* markdown colors

* image sizes

* reactions

* fix reactions

* fewer avatars

* forward icon

* command to change group access parameters

* view public group access changes in CLI

* media metadata color

* ios: group web access ui

* update ui

* add init

* kotlin, labels

* update page

* update relay base URL

* fix

* ios update channel web page info

* update kotlin layout

* use cards

* update layout

* use domains for relay data, path is fixed

* update embed code

* fix bots api

* include only history items and senders

* update preview JS/HTML

* show different error if link is different

* remove stale json files

* better layout

* layout fixes

* improve layout

* improve layout

* update embed code

* web cta

* better layout

* buttons

* layout

* paddings

* desktop cta

* desktop cta

* cta layout

* fonts

* paddings

* paddings

* more paddings

* copy link

* read more

* hide avatar and placeholder when all messages are from channel

* color scheme

* fix color

* improve

* layout

* welcome message

* dark mode colors

* padding

* font size

* overscroll

* font

* logo on button

* better join

* buttons

* refactor

* another logo

* text

* desktop button

* button text

* center

* fix svg

* padding

* smaller gap

* render channel on any message changes etc

* fixes

* atomic file updates, escape attributes

* fix tests

* more tests

* more efficient rendering

* improve security

* sanitize links, include mentioned members

* schema

* fixes

* improve rendering

* fix showing correct subscribers count

* fix member names

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-06-16 14:36:55 +01:00
Evgeny Poberezkin 37f7ed3126 Merge branch 'stable' 2026-06-16 07:40:58 +01:00