6 Commits
Author SHA1 Message Date
Marcin Czenko e956b77fcb feat: logos storage for History Archives (#7486)
* chore: adds setting file for NeoVim

* feat: wires up LogosStorageConfig db setup

* feat: adds implementation of ArchiveManagerLogosStorage and wires it up

* feat: wire LogosStorage history archive runtime control

* feat: expose history archive index completion signal

* feat: expose LogosStorage debug and connect APIs

* feat: add history archive timing knobs

* chore: align functional archive build toggles

* chore: refactors token permissions tests

* feat: wire LogosStorage archive APIs, request plumbing, and functional test

* fix: use UniversalChatID() for archive link distribution

* fix: functional archive tests

* feat: respecting online status in history archive task

* feat: more control over "ratchetNotFoundDelay"

* test: run storage-related functional tests only when USE_LOGOS_STORAGE is true

* test: adds LogosStorage backend tests

* build: updates testing on CI

* build: updates linting on CI

* fix: make sure archive_manager_torrent_test has use_torrent guard

* fix: formatting

* chore: updates nvim settings to include CGO paths

* chore: removes redundant "special disabled" files

* fix: Python linting issues

* build: use system Nim for libstorage native and Docker builds

* fix: initialize LogosStorage node config in DefaultNodeConfig

* fix: rebase

* fix: final review

* build: cleans up the vars in test storage and torrent targets in Makefile

* fix: stop unseeding before calling CreateHistoryArchiveFromDB (logos)

* test: cleans up some noise when closing websockets in functional tests

* test: further increase test coverage

* fix: linting

* chore: update local project nvim config

* chore: refactors ArchiveManagerLogosStorage

* chore: updates CONTRIBUTING.md

* build: temporarily add mc2 convenience scripts

* build: reset shared dependency repos before checkout in Makefile

Adds `git reset --hard` before `git checkout` in the `clone-nim-sds`
and `clone-storage` Makefile targets. Prevents CI failures when the
shared `../nim-sds` or `../logos-storage-nim` directories contain
unexpected local modifications from previous builds.

* fix: use shorter waku message retention policy only for LogosStorage tests

* fix: rename COMMUNITY_IMPORTING_HISTORY_ARCHIVE_MESSAGES_FINISHED to COMMUNITY_HISTORY_ARCHIVES_DOWNLOAD_AND_IMPORT_FINISHED

* build: move STORAGE and TORRENT envs close to their respective targets

* build: more robust cloning target for sds and storage
2026-06-23 18:03:37 +02:00
Igor Sirotin d771dbeda0 refactor: project layout (scripts) (#7214)
* chore: move git hooks

* refactor: move scripts
2025-12-22 19:58:26 +00:00
Igor Sirotin 63fe9e7227 feat: sds unwrapping (#7227)
* feat: Add SDS unwrap process for received messages (#7149)

* feat: enable sds for wrap message

* chore: add sds default flag

* feat: enable sds for public community message

* fix: always set community id

* feat: add message ID for public params

* chore: move sds to reliability

* chore: refactor flags

* chore: add unit test for sds

* chore: fix test

* chore: add test-single helper

* chore: update Makefile

Co-authored-by: Igor Sirotin <sirotin@status.im>

* chore: update logs

Co-authored-by: Igor Sirotin <sirotin@status.im>

* chore: refactor function name for init sds

* chore: merge upstream

* chore: refactor sds processor

* chore: move sds wrap logic to messaging sender.

* chore: refactor sds manager

* chore: disable sds wrap

* fix: disable Nim signal handler

---------

Co-authored-by: Igor Sirotin <sirotin@status.im>

* fix: cleanup sds manager

* feat: set sds logger

* chore: update sds-go-bindings

* test: named loggers

* test: TestSdsFileDescriptors

* chore: vendor hash

* feat: support updating nim-sds

* fix: TestSdsFileDescriptors skip comment

* chore: bump sds-go-bindings

* chore: bump nim-sds

* chore: vendor hash
2025-12-22 19:57:36 +00:00
Igor Sirotin aa1ec39d2a revert: "feat: Add SDS unwrap process for received messages (#7149)" (#7218)
This reverts commit fb57d64848.
2025-12-16 17:48:48 +00:00
kaichaoandIgor Sirotin fb57d64848 feat: Add SDS unwrap process for received messages (#7149)
* feat: enable sds for wrap message

* chore: add sds default flag

* feat: enable sds for public community message

* fix: always set community id

* feat: add message ID for public params

* chore: move sds to reliability

* chore: refactor flags

* chore: add unit test for sds

* chore: fix test

* chore: add test-single helper

* chore: update Makefile

Co-authored-by: Igor Sirotin <sirotin@status.im>

* chore: update logs

Co-authored-by: Igor Sirotin <sirotin@status.im>

* chore: refactor function name for init sds

* chore: merge upstream

* chore: refactor sds processor

* chore: move sds wrap logic to messaging sender.

* chore: refactor sds manager

* chore: disable sds wrap

* fix: disable Nim signal handler

---------

Co-authored-by: Igor Sirotin <sirotin@status.im>
2025-12-16 20:18:12 +08:00
Igor Sirotin 78800a17f3 docs: update and cleanup (#7112)
* refactor: rename _docs to docs

* refactor: moved releasing.md to docs

* docs: delete policies

* refactor: rename building doc

* docs: update releasing

* docs: update building

* docs: update contributing

* docs: update readme

* docs: describe how to create release branch
2025-11-18 22:35:05 +00:00