vorotamoroz
bf556bd9f4
Merge pull request #838 from chinhkrb113/contribai/docs/undocumented-test-environment-variables
...
📝 Docs: Undocumented test environment variables
2026-04-03 13:05:05 +09:00
vorotamoroz
8b40969fa3
Add ru locale
2026-04-02 10:28:58 +00:00
vorotamoroz
6cce931a88
Add test for CLI
2026-04-02 09:58:25 +00:00
vorotamoroz
216861f2c3
Prettified
2026-04-02 10:33:36 +01:00
vorotamoroz
6ce724afb4
Add dockerfiles to webapp and webpeer
2026-04-02 10:33:13 +01:00
vorotamoroz
2e3e106fb2
Fix dockerfile
2026-04-02 10:31:17 +01:00
vorotamoroz
00f2606a2f
Added a bit for development on Windows.
2026-04-02 10:31:03 +01:00
vorotamoroz
3c94a44285
Fixed: Replication progress is now correctly saved and restored in the CLI.
2026-04-02 10:30:14 +01:00
vorotamoroz
4c0908acde
Add CI Build for cli-docker image
2026-04-02 07:47:10 +01:00
vorotamoroz
cda27fb7f8
- Update trystero to v0.23.0
...
- Add dockerfile for CLI
- Change relay image for testing on arm64
2026-03-31 07:17:51 +00:00
vorotamoroz
837a828cec
Fix: fix update note...
0.25.56
2026-03-30 09:20:01 +01:00
vorotamoroz
4c8e13ccb9
bump
0.25.55
2026-03-30 09:14:49 +01:00
vorotamoroz
1ae4eaab02
Merge pull request #805 from L4z3x/patch-1
...
[docs] added changing docker compose data and etc folder ownership to user 5984.
2026-03-30 17:04:12 +09:00
chinhkrb113
b1efbf74c7
docs: clarify P2P_TEST_RELAY as Nostr relay
2026-03-30 02:18:25 +07:00
vorotamoroz
a937feed3f
Merge pull request #833 from rewse/fix/cli-sync-locked-error-message
...
fix(cli): show actionable error when sync fails due to locked remote DB
2026-03-28 23:58:34 +09:00
ChinhLee
2de9899a99
docs: undocumented test environment variables
...
The P2P test suite relies on several specific environment variables (e.g., `P2P_TEST_ROOM_ID`, `P2P_TEST_PASSPHRASE`, `P2P_TEST_RELAY`) loaded from `.env` or `.test.env`. Because these are not documented anywhere in the repository, new contributors will be unable to configure their local environment to run the P2P tests successfully.
Affected files: vitest.config.p2p.ts
Signed-off-by: ChinhLee <76194645+chinhkrb113@users.noreply.github.com >
2026-03-27 22:26:00 +07:00
vorotamoroz
a0af6201a5
- No longer Peer-to-Peer Sync is not enabled. We cannot open a new connection. error occurs when we have not enabled P2P sync and are not expected to use it ( #830 ).
2026-03-26 13:13:27 +01:00
vorotamoroz
9c7c6c8859
Merge pull request #831 from rewse/fix/cli-entrypoint-polyfill-default
...
fix(cli): handle incomplete localStorage in Node.js v25+
2026-03-26 20:36:46 +09:00
vorotamoroz
38d7cae1bc
update some dependencies and ran npm-update.
2026-03-26 12:15:38 +01:00
vorotamoroz
fee34f0dcb
Update dependency: deduplicate
2026-03-26 11:55:06 +01:00
Shibata, Tats
e01f7f4d92
test(cli): add TODO comment and locked-remote-DB test script
...
- Add inline TODO comment in runCommand.ts about standardising
replication failure cause identification logic.
- Add test-sync-locked-remote-linux.sh that verifies:
1. sync succeeds when the remote milestone is not locked.
2. sync fails with an actionable error when the remote milestone
has locked=true and accepted_nodes is empty.
2026-03-26 00:58:51 +09:00
Shibata, Tats
985004bc0e
fix(cli): show actionable error when sync fails due to locked remote DB
...
When the remote database is locked and the CLI device is not in the
accepted_nodes list, openReplication returns false with no CLI-specific
guidance. The existing log message ('Fetch rebuilt DB, explicit
unlocking or chunk clean-up is required') is aimed at the Obsidian
plugin UI.
Check the replicator's remoteLockedAndDeviceNotAccepted flag after
sync failure and print a clear message directing the user to unlock
from the Obsidian plugin.
Ref: #832
2026-03-22 12:37:17 +09:00
Shibata, Tats
967a78d657
fix(cli): handle incomplete localStorage in Node.js v25+
...
Node.js v25 provides a built-in localStorage on globalThis, but without
`--localstorage-file` it is an empty object lacking getItem/setItem.
The existing check `!("localStorage" in globalThis)` passes, so the
polyfill is skipped and the CLI crashes with:
TypeError: localStorage.getItem is not a function
Check for getItem as well so the polyfill is applied when the native
implementation is incomplete.
2026-03-22 11:57:47 +09:00
vorotamoroz
2ff60dd5ac
Add missed files
2026-03-18 12:20:52 +01:00
vorotamoroz
c3341da242
Fix english
2026-03-18 12:05:15 +01:00
vorotamoroz
c2bfaeb5a9
Fixed: wrong import
2026-03-18 12:03:51 +01:00
vorotamoroz
c454616e1c
bump
0.25.54
2026-03-18 12:01:57 +01:00
vorotamoroz
c88e73b7d3
Add note
2026-03-18 11:55:50 +01:00
vorotamoroz
3a29818612
- Delete items which are no longer used that might cause potential problems
...
- Fix Some Imports
- Fix floating promises on tests
2026-03-18 11:54:22 +01:00
vorotamoroz
ee69085830
Fixed: Some buttons on the setting dialogue now respond correctly again ( #827 ).
2026-03-18 11:51:52 +01:00
vorotamoroz
3963f7c971
Refactored: P2P replicator has been refactored to be a little roust and easier to understand.
2026-03-18 11:49:41 +01:00
vorotamoroz
602fcef949
- Fixed the issue where the detail level was not being applied in the log pane.
...
- Pop-ups are now shown.
- Add coverage for test.
- Pop-ups are now shown in the web app as well.
2026-03-18 11:48:31 +01:00
vorotamoroz
075d260fdd
Fixed:
...
- Fixed the corrupted display of the help message.
- Remove some unnecessary codes.
2026-03-18 11:46:52 +01:00
vorotamoroz
0717093d81
update for npm ci
2026-03-17 20:09:28 +09:00
vorotamoroz
1f87a9fd3d
port setupManager, setupProtocol to serviceFeature
...
remove styles on webapp UI, and add stylesheet
2026-03-17 19:58:12 +09:00
vorotamoroz
fdd3a3aecb
Add: vaultSelector (webapp)
2026-03-17 19:51:04 +09:00
vorotamoroz
d8281390c4
bump
0.25.53
2026-03-17 10:34:29 +01:00
vorotamoroz
08b1712f39
bump
0.25.52-patched-3
2026-03-16 00:49:54 +09:00
vorotamoroz
6c69547cef
### Fixed
...
- Fixed flaky timing issues in P2P synchronisation.
- Fixed more binary file handling issues in CLI.
### Tests
- Rewrite P2P end-to-end tests to use the CLI as host.
2026-03-16 00:48:22 +09:00
vorotamoroz
89bf0488c3
Refactor: More refactor P2P Replicator
2026-03-15 04:07:47 +09:00
vorotamoroz
653cf8dfbe
Refactor: Refactor P2P Replicator
2026-03-15 03:33:03 +09:00
vorotamoroz
33338506cf
bump
0.25.52-patched-2
2026-03-14 17:02:16 +09:00
vorotamoroz
9dd479e597
Fix for an issue where conflicts cannot be resolved in Journal Sync
...
Remove unnecessary test calling in CLI
2026-03-14 16:51:30 +09:00
vorotamoroz
8cad4cdf80
Add workaround for my mac
2026-03-14 16:50:43 +09:00
vorotamoroz
beced219c7
Fix: exit code
2026-03-14 16:13:14 +09:00
vorotamoroz
dfe13b1abd
Fixed:
...
- No longer unexpected `Unhandled Rejections` during P2P operations (waiting acceptance).
CLI new features
- P2P sync has been implemented.
2026-03-14 15:08:31 +09:00
vorotamoroz
bf93bddbdd
Fix: prevent transfer twice.
2026-03-13 23:34:38 +09:00
vorotamoroz
44890a34e8
remove conflicting option.
2026-03-13 23:08:05 +09:00
vorotamoroz
a14aa201a8
Merge branch 'beta' of https://github.com/vrtmrz/obsidian-livesync into beta
2026-03-13 18:13:12 +09:00
vorotamoroz
338a9ba9fa
Add: mirror command
...
Tidy: test
2026-03-13 18:01:38 +09:00