Commit Graph

631 Commits

Author SHA1 Message Date
BarbossHack
2475a2163a scripts: pin ubuntu manifest digest hash for reproducibility (#6651) 2026-03-09 09:19:54 +00:00
spaced4ndy
3707a419ce core: update simplexmq (fix build) 2026-02-27 11:47:13 +04:00
sh
eb02e65ec9 flatpak: update metainfo (#6603)
* flatpak: update metainfo

* Update scripts/flatpak/chat.simplex.simplex.metainfo.xml

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

---------

Co-authored-by: Evgeny <evgeny@poberezkin.com>
2026-01-30 09:15:44 +00:00
Evgeny Poberezkin
98f1882a55 core: 6.5.0.9 (simplexmq 6.5.0.8) 2026-01-29 00:04:53 +00:00
Evgeny Poberezkin
14d5819ade Merge branch 'stable' 2026-01-28 23:38:54 +00:00
Evgeny Poberezkin
5d32e14559 core: 6.4.10.0 (simplexmq 6.4.8.0) 2026-01-28 22:03:25 +00:00
Evgeny
a786693c1a core: improve error handling (#6602)
* core: improve error handling

* simplexmq
2026-01-28 21:57:39 +00:00
sh
32a9b29666 scripts: sysctl adjustments in reproducible-builds-android (#6583)
* scripts: sysctl adjustments in reproducible-builds-android

* scripts/reproduce-builds-android: better errors and sudo only if sysctl

* scripts/reproduce-builds-android: set max_pid var early and fix sysctl
2026-01-19 09:33:39 +00:00
spaced4ndy
2d64365d8c core: correctly handle errors in createWithRandomId/Bytes for postgres (reuse withSavepoint from simplexmq) (#6578) 2026-01-15 15:18:15 +00:00
Alexandre Esteves
a8d7a9b389 scripts: more portable (#6562)
* scripts/desktop: use more portable shebang on linux

* scripts/desktop: only query uname for architecture

* scripts/desktop: don't hardcode ghc version

* revert GHC version

* Apply suggestions from code review

* accept arch as param

---------

Co-authored-by: Evgeny <evgeny@poberezkin.com>
2026-01-15 09:51:54 +00:00
Evgeny Poberezkin
2ecee42a40 core: 6.5.0.8 (simplexmq 6.5.0.7) 2026-01-13 22:28:52 +00:00
Evgeny Poberezkin
f99e8da8fe update simplexmq 2026-01-13 19:13:51 +00:00
Evgeny
3596c37275 core: improve database concurrency (#6541)
* core: improve database concurrency

* tests: prints on timeouts (#6546)

* update simplexmq

* fix test

* update simplexmq

---------

Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2026-01-08 13:43:37 +00:00
sh
d6eebd52fc desktop: rename library to libsimplex (#6528)
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2026-01-07 13:20:20 +00:00
Evgeny
2251da970e core: reset schema after changes (#6545)
* core: reset schema after changes

* update simplexmq
2026-01-05 22:10:51 +00:00
Evgeny
f0467aee00 directory service: fix queries (#6539)
* fix directory service queries

* fix

* reduce postgres pool size to 1

* stabilize postgres client tests, remove slow handshake tests

* update simplexmq

* fix test

* test delay
2026-01-04 19:04:32 +00:00
Evgeny Poberezkin
89b72effaf core: 6.5.0.7 (simplexmq 6.5.0.6) 2025-12-23 18:48:09 +00:00
Evgeny Poberezkin
b0eb01a8fa Merge branch 'stable' 2025-12-23 14:19:53 +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 Poberezkin
81d31e6c9e core: 6.5.0.6 2025-12-22 21:58:44 +00:00
sh
5096acc9e7 scripts/android/compress-and-sign-apk: fix sorting (remove -z) (#6524) 2025-12-22 09:01:56 +00:00
sh
4f65763d59 scripts/simplex-chat-reproduce-builds-android: fixes (#6523)
* scripts/simplex-chat-reproduce-builds-android: fix check

* drop the case
2025-12-22 09:01:27 +00:00
sh
e432f7a060 scripts/simplex-chat-reproduce-builds-android: add script (#6497)
* script/simplex-chat-reproduce-builds-android: initial structure

* Dockerfile.build: add dependencies

* scripts/build-android: allow setting custom vercode

* scripts/simplex-chat-reproduce-builds-android: populate functions

* Dockerfile.build: setup regular user

* Dockerfile.build: fix env

* Dockerfile.build: switch user to ubuntu

* Dockerfile.build: set USER variable

* Dockerfile.build: create ubuntu user (aarch64 doesn't have it)

* ci/build: remove permissions workaround

* Dockerfile.build: fix groupadd

* ci/build: adjust permissions before build

* Dockerfile.build: allow to dynamically set user/group

* ci/build: set uid and gid in Docker

* ci/build: remove unneeded step

* Dockerfile.build: also create /out

* sync changes, add debugging

* add verification function, fixes

* Dockerfile: add android scripts

* fixes, remove debugging

* more fixes

* fix download apk and add message at the end

* scripts/simplex-chat-reproduce-builds.sh: add user uid and gid

* fix vercode

* add logging

* refactor and make vars saner

* fixes
2025-12-20 17:19:00 +00:00
sh
afccda1b69 android: determinstic build in Android Studio (#6502)
* apps/android: pass and adjust PATH to shell script

* scripts/compress-and-sign: attempt to make determenistic build

* android: strip app-lib from project paths

* scripts/compress-and-sign-apk: compatability with MacOS

* apps/android: remove redundant cmake flag from app-lib

* scripts/compress-and-sign-apk: fix permissions + timestamp normalization

* scripts/compress-and-sign-apk: fix file ordering

some weird mac issues, i dunno

* apps/android: strip comment sections and do not embed build-id in libapp

* scripts/compress-and-sign-apk: disable verbose logging

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-12-12 17:00:59 +00:00
Evgeny Poberezkin
13bce0821c core: 6.5.0.5 2025-12-11 17:50:05 +00:00
sh
86a053729b flatpak: update metainfo (#6501) 2025-12-11 09:04:24 +00:00
Evgeny Poberezkin
99d655f5d3 Merge branch 'stable' 2025-12-10 21:03:56 +00:00
sh
c5a69a4950 scripts/build-android: make build reproducible (#6493)
* scripts/build-android: attempt to make it reproducible

* scripts/build-android: set epoch to 1764547200
2025-12-10 09:30:53 +00:00
spaced4ndy
f76e994034 core: forward based on relations vector (#6464)
* core: forward based on relations vector wip

* fix introductions

* fix forwarding tests

* fix forwarding inside support scope

* fix deduplication test

* fix more tests

* plans, api

* live migration wip

* enable tests

* member locks

* api

* plans

* fix for postgres

* fix for postgres

* rename predicate

* rename predicate

* optimize

* refactor

* fix

* check

* move part of migration to sql

* plans

* core: preserve detailed information in relation vectors (#6484)

* core: relations vector live migrations; stage 2 migration sql (#6472)

* rework forwarding in support scope

* move operations inside transactions

* set_member_vector_new_relation function

* read vector ad-hoc

* partition in transaction

* fix postgres

* postgres schema

* api

* plans

* remove comment

* lock before migration computation

* refactor

* simplify set relations

* retreive only support scope members

* fix

* refactor

* fix comment

* enable tests

* 1 second

* for update

* locks

* fix mask

* plans

* fix

* postgres

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-12-09 14:48:32 +00:00
sh
702f198566 ci: add cli deb and fix formatting to reproducible-builds (#6483)
* scripts/reproducible-builds: add cli deb and fix formatting

* scripts/reproducible-builds: properly strip v from tag
2025-12-02 11:33:30 +00:00
sh
8ff0ccf392 ci: build simplex-chat CLI deb package (#6474)
* ci: build simplex-chat CLI deb package

* scripts/build-cli-deb: reproducible size (also actual file size)

* scripts/build-cli-deb: fix epoch

* scripts/build-cli-deb: set epoch to 1764547200
2025-12-01 10:13:18 +00:00
spaced4ndy
850e4687f8 core: update simplexmq (support setting all link data fields) (#6425) 2025-11-05 08:11:26 +00:00
sh
3d30d999fe flatpak: update metainfo (#6422) 2025-11-03 13:05:40 +00:00
Evgeny Poberezkin
6ccd34bc40 Merge branch 'stable' 2025-11-02 22:28:28 +00:00
Evgeny Poberezkin
0c4f2343ae core: update zip library to build in ghc8.10.7 2025-11-01 22:01:11 +00:00
Evgeny Poberezkin
70035bd473 core: upgrade zip (fixes export when database file is larger than 4gb 2025-10-30 14:27:39 +00:00
Evgeny Poberezkin
84a82b7d4a core: 6.5.0.3 (simplexmq 6.5.0.3) 2025-10-24 16:12:39 +01:00
spaced4ndy
a65151ba6d core, ui: replace map of network statuses with subscription status of current chat (#6353)
* core: subscription status wip

* update

* update

* update

* remove statuses core

* cleanup ios

* comment

* plans

* remove NetworkStatus

* ios wip

* contact sub status

* Revert "contact sub status"

This reverts commit 50cf94beed.

* sub status

* set on connected

* kotlin

* rename

* layout

* member status

* kotlin

* fix chat subscription status

* string

* core: update simplexmq

* client notices

* update simplexmq

* update alert

* update simplexmq

* android/desktop

* formatting

* fix tests

* update plans and API docs

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-10-18 22:53:47 +01:00
spaced4ndy
37c8aca3b3 core: sync connections (#6345)
* core: sync subsbriptions

* sha map

* sync event

* should delete flag

* wip

* schema

* wip

* delete

* update simplexmq

* plans

* rename, adapt

* update

* plans

* option to show ids

* plans

* fix, test

* more tests

* postgres

* plans

* cleanup

* plans

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-10-10 06:27:50 +00:00
Evgeny Poberezkin
3d8bbaf03b core: update simplexmq 2025-10-06 22:36:15 +01:00
sh
0c3372917c flatpak: update metainfo (#6339) 2025-10-05 10:02:15 +01:00
Evgeny Poberezkin
f2b37eff51 core: 6.4.6.0 (simplexmq 6.4.6.0) 2025-10-04 16:53:18 +01:00
Evgeny Poberezkin
a7869d3ab1 core: update simplexmq (fix file reception, optimize subscriptions) 2025-09-30 13:05:04 +01:00
Evgeny
015d5de364 directory: move all storage to the database, optimize performance (#6287)
* core: add custom indexed columns to groups and contacts

* directory: use database (TODO search/listing)

* triggers to maintain current member count

* update simplexmq, fix tests, use summary from GroupInfo

* fix all directory tests

* remove acceptance fields from group reg

* enable all tests

* clean up

* postgres migrations, fixes

* query plans

* use function in postgres triggers, improve sqlite query

* fix export/import

* update schema

* prevent admins from promoting groups when approving

* update listing every 5 minutes
2025-09-28 15:11:49 +01:00
sh
107af00ca5 scripts: suffix deb packages with distribution codename (#6273) 2025-09-22 08:58:17 +01:00
Evgeny Poberezkin
bec015b994 Merge branch 'stable' 2025-09-17 09:25:05 +01:00
Evgeny Poberezkin
fa0103c7f5 core: update simplexmq 2025-09-17 09:13:28 +01:00
Evgeny
c07c176896 core: batch load queues for subscriptions with PostgreSQL client (#6272)
* core: batch load queues for subscriptions with PostgreSQL client

* update simplexmq

* fix, update simplexmq

* update query plans
2025-09-16 21:58:28 +01:00
sh
7c92c7666c scripts/db: update documentation, add pg -> sqlite section (#6177)
* scripts/db: update doc

* scripts/db: update documentation, add pg2sqlite script

* scripts/db/pg2sqlite: formatiing, code quality, modularity

* scripts/db: parallel pgloader
2025-09-15 14:06:39 +01:00
Evgeny Poberezkin
e9961ebb8e Merge branch 'stable' 2025-09-15 14:04:11 +01:00