Compare commits

...
Author SHA1 Message Date
StandardNotes CI 5944cead98 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected].5
2025-12-18 13:00:02 +00:00
Antonella Sgarlatta 0109a01897 chore: trigger release [skip e2e] 2025-12-18 09:50:15 -03:00
Antonella Sgarlatta 844b7a7a2b fix: Shows informative error on UI when file upload limit is reached (#2961) 2025-12-18 09:49:27 -03:00
Antonella Sgarlatta 5d1f6ca963 chore: fix conflicts in demo (#2962) 2025-12-18 09:49:07 -03:00
Antonella Sgarlatta b2910faa11 fix: Fixes Linux ARM desktop app packaging (#2964)
* fix: potential linux arm packaging fix

* fix: apply changes to actual workflow
2025-12-18 09:48:53 -03:00
Antonella Sgarlatta 9affbf91be chore: add desktop missing dependencies (#2963)
* chore: add desktop missing dependencies

* chore: update lockfile
2025-12-17 10:28:39 -03:00
StandardNotes CI 996ac9c2e4 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
2025-12-05 14:16:53 +00:00
Antonella Sgarlatta 6391f93674 chore: trigger release [skip e2e] 2025-12-05 11:07:38 -03:00
Antonella Sgarlatta 26735b5e7a fix: Fix confirmation dialog title for permanently deleting files (#2960) 2025-12-03 11:38:13 -03:00
StandardNotes CI f2289e3e80 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
2025-11-21 00:41:53 +00:00
Antonella Sgarlatta 3190a27831 fix: Use regular debouncing for tab indentations (#2959) [skip e2e] 2025-11-20 21:32:46 -03:00
StandardNotes CI 3fe500bd95 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
2025-11-18 13:36:20 +00:00
Antonella Sgarlatta b6cebbe08d chore: trigger release [skip e2e] 2025-11-18 10:26:59 -03:00
Antonella Sgarlatta b883d5f1d4 chore: update provisioning profiles 2025-11-17 17:35:17 -03:00
StandardNotes CI 6355aa8327 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2
2025-11-07 14:41:55 +00:00
Antonella Sgarlatta 47bb5facf2 chore: increment editor debounce rate (#2958) [skip e2e] 2025-11-07 11:32:31 -03:00
34 changed files with 378 additions and 52 deletions
+134 -23
View File
@@ -56,8 +56,8 @@ jobs:
packages/desktop/dist/*.yml
packages/desktop/dist/*.yaml
Linux-AppImage:
name: Linux AppImage
Linux-AppImage-X64:
name: Linux AppImage X64
runs-on: ubuntu-latest
defaults:
run:
@@ -87,31 +87,67 @@ jobs:
- name: Compile for AppImage
run: yarn run webpack --config desktop.webpack.prod.js
- name: AppImage
run: |
yarn run electron-builder --linux --x64 -c.linux.target=AppImage --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: AppImageX64
run: |
yarn run electron-builder --linux --x64 -c.linux.target=AppImage --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: AppImageArm64
run: |
yarn workspace @standardnotes/desktop rebuild:home-server --arch arm64
yarn run electron-builder --linux --arm64 -c.linux.target=AppImage --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
env:
npm_config_target_arch: 'arm64'
- name: Upload
uses: actions/[email protected]
with:
name: dist-linux-appimage
name: dist-linux-appimage-x64
path: |
packages/desktop/dist/*.AppImage
packages/desktop/dist/*.yml
packages/desktop/dist/*.yaml
Linux-Dir:
name: Linux Dir
Linux-AppImage-ARM64:
name: Linux AppImage ARM64
runs-on: ubuntu-24.04-arm
defaults:
run:
working-directory: packages/desktop
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install FPM
run: sudo gem install fpm -f
- run: yarn install --immutable
- name: Rebuild Electron Native Modules
run: yarn workspace @standardnotes/desktop rebuild:home-server
- run: yarn build:desktop
- run: echo APP_VERSION=$(node -p "require('./../web/package.json').version") >> $GITHUB_ENV
- name: Compile for AppImage
run: yarn run webpack --config desktop.webpack.prod.js
- name: AppImageArm64
run: |
yarn run electron-builder --linux --arm64 -c.linux.target=AppImage --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: Upload
uses: actions/[email protected]
with:
name: dist-linux-appimage-arm64
path: |
packages/desktop/dist/*.AppImage
packages/desktop/dist/*.yml
packages/desktop/dist/*.yaml
Linux-Dir-X64:
name: Linux Dir X64
runs-on: ubuntu-latest
defaults:
run:
@@ -143,16 +179,43 @@ jobs:
run: |
yarn run webpack --config desktop.webpack.prod.js
yarn run electron-builder --linux --x64 -c.linux.target=dir --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
Linux-Dir-ARM64:
name: Linux Dir ARM64
runs-on: ubuntu-24.04-arm
defaults:
run:
working-directory: packages/desktop
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install FPM
run: sudo gem install fpm -f
- run: yarn install --immutable
- name: Rebuild Electron Native Modules
run: yarn workspace @standardnotes/desktop rebuild:home-server
- run: yarn build:desktop
- run: echo APP_VERSION=$(node -p "require('./../web/package.json').version") >> $GITHUB_ENV
- name: DirArm64
run: |
yarn workspace @standardnotes/desktop rebuild:home-server --arch arm64
yarn run webpack --config desktop.webpack.prod.js
yarn run electron-builder --linux --arm64 -c.linux.target=dir --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
env:
npm_config_target_arch: 'arm64'
Linux-Deb:
name: Linux Deb
Linux-Deb-X64:
name: Linux Deb X64
runs-on: ubuntu-latest
defaults:
run:
@@ -184,19 +247,56 @@ jobs:
run: |
yarn run webpack --config desktop.webpack.prod.js --env deb
yarn run electron-builder --linux --x64 -c.linux.target=deb --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: Upload
uses: actions/[email protected]
with:
name: dist-linux-deb-x64
path: |
packages/desktop/dist/*.deb
packages/desktop/dist/*.yml
packages/desktop/dist/*.yaml
Linux-Deb-ARM64:
name: Linux Deb ARM64
runs-on: ubuntu-24.04-arm
defaults:
run:
working-directory: packages/desktop
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install FPM
run: sudo gem install fpm -f
- run: yarn install --immutable
- name: Rebuild Electron Native Modules
run: yarn workspace @standardnotes/desktop rebuild:home-server
- run: yarn build:desktop
- run: echo APP_VERSION=$(node -p "require('./../web/package.json').version") >> $GITHUB_ENV
- name: DebArm64
env:
npm_config_target_arch: 'arm64'
USE_SYSTEM_FPM: 'true'
run: |
yarn workspace @standardnotes/desktop rebuild:home-server --arch arm64
yarn run webpack --config desktop.webpack.prod.js --env deb
yarn run electron-builder --linux --arm64 -c.linux.target=deb --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
- name: Upload
uses: actions/[email protected]
with:
name: dist-linux-deb
name: dist-linux-deb-arm64
path: |
packages/desktop/dist/*.deb
packages/desktop/dist/*.yml
@@ -347,7 +447,18 @@ jobs:
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
if: ${{ always() }}
needs: [Windows, Mac, Linux-AppImage, Linux-Dir, Linux-Deb, Linux-Snap]
needs:
[
Windows,
Mac,
Linux-AppImage-X64,
Linux-AppImage-ARM64,
Linux-Dir-X64,
Linux-Dir-ARM64,
Linux-Deb-X64,
Linux-Deb-ARM64,
Linux-Snap,
]
defaults:
run:
working-directory: packages/desktop
+6
View File
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.26.96](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-18)
### Bug Fixes
* Shows informative error on UI when file upload limit is reached ([#2961](https://github.com/standardnotes/app/issues/2961)) ([844b7a7](https://github.com/standardnotes/app/commit/844b7a7a2b26bd4e74c2d8d36ddfa9e28b47f589))
## [1.26.95](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-06)
**Note:** Version bump only for package @standardnotes/api
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/api",
"version": "1.26.95",
"version": "1.26.96",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
@@ -134,7 +134,7 @@ export class FetchRequestHandler implements RequestHandlerInterface {
response.data.error = {
message: ErrorMessage.RateLimited,
}
} else {
} else if (!response.data.error.message) {
response.data.error.message = ErrorMessage.RateLimited
}
}
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.1.564](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-18)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.563](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-05)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.562](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-21)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.561](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-07)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.560](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-06)
**Note:** Version bump only for package @standardnotes/clipper
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/clipper",
"description": "Web clipper browser extension for Standard Notes",
"version": "1.1.560",
"version": "1.1.564",
"private": true,
"scripts": {
"build-mv2": "yarn clean && webpack --config ./webpack.config.prod.js",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.110.169](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-18)
**Note:** Version bump only for package @standardnotes/desktop
## [3.110.168](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-05)
**Note:** Version bump only for package @standardnotes/desktop
## [3.110.167](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-21)
**Note:** Version bump only for package @standardnotes/desktop
## [3.110.166](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-07)
**Note:** Version bump only for package @standardnotes/desktop
## [3.110.165](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-06)
**Note:** Version bump only for package @standardnotes/desktop
+3 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/desktop",
"main": "./app/dist/index.js",
"version": "3.110.165",
"version": "3.110.169",
"license": "AGPL-3.0",
"author": "Standard Notes.",
"private": true,
@@ -38,6 +38,8 @@
"@electron/remote": "^2.1.2",
"@standardnotes/domain-core": "^1.40.0",
"@standardnotes/electron-clear-data": "1.1.1",
"@standardnotes/snjs": "workspace:*",
"@standardnotes/utils": "workspace:*",
"@standardnotes/web": "workspace:*",
"axios": "^1.4.0",
"compare-versions": "^6.1.0",
+4
View File
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.28.133](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-18)
**Note:** Version bump only for package @standardnotes/filepicker
## [1.28.132](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-06)
**Note:** Version bump only for package @standardnotes/filepicker
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/filepicker",
"version": "1.28.132",
"version": "1.28.133",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
+6
View File
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.20.16](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-18)
### Bug Fixes
* Shows informative error on UI when file upload limit is reached ([#2961](https://github.com/standardnotes/app/issues/2961)) ([844b7a7](https://github.com/standardnotes/app/commit/844b7a7a2b26bd4e74c2d8d36ddfa9e28b47f589))
## [1.20.15](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-06)
**Note:** Version bump only for package @standardnotes/files
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/files",
"version": "1.20.15",
"version": "1.20.16",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
@@ -26,7 +26,7 @@ export interface FilesApiInterface {
encryptedBytes: Uint8Array,
): Promise<boolean>
closeUploadSession(valetToken: string, ownershipType: FileOwnershipType): Promise<boolean>
closeUploadSession(valetToken: string, ownershipType: FileOwnershipType): Promise<boolean | ClientDisplayableError>
downloadFile(params: DownloadFileParams): Promise<ClientDisplayableError | undefined>
+20
View File
@@ -3,6 +3,26 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.58.228](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-18)
**Note:** Version bump only for package @standardnotes/mobile
## [3.58.227](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-05)
**Note:** Version bump only for package @standardnotes/mobile
## [3.58.226](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-21)
**Note:** Version bump only for package @standardnotes/mobile
## [3.58.225](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-18)
**Note:** Version bump only for package @standardnotes/mobile
## [3.58.224](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-07)
**Note:** Version bump only for package @standardnotes/mobile
## [3.58.223](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-06)
### Bug Fixes
@@ -852,7 +852,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "com.standardnotes.standardnotes.Share-To-SN";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "match AppStore com.standardnotes.standardnotes.Share-To-SN";
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.standardnotes.standardnotes.Share-To-SN 1727276153";
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.standardnotes.standardnotes.Share-To-SN";
SKIP_INSTALL = YES;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -924,7 +924,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.standardnotes.standardnotes;
PRODUCT_NAME = StandardNotes;
PROVISIONING_PROFILE_SPECIFIER = "match AppStore com.standardnotes.standardnotes";
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.standardnotes.standardnotes 1727276140";
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.standardnotes.standardnotes";
SWIFT_OBJC_BRIDGING_HEADER = "StandardNotes-Bridging-Header.h";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/mobile",
"version": "3.58.223",
"version": "3.58.228",
"author": "Standard Notes.",
"private": true,
"license": "AGPL-3.0",
+20
View File
@@ -3,6 +3,26 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.4.868](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-18)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.867](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-05)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.866](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-21)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.865](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-18)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.864](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-07)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.863](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-06)
**Note:** Version bump only for package @standardnotes/releases
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/releases",
"version": "1.4.863",
"version": "1.4.868",
"license": "AGPL-3.0",
"main": "dist/releases.json",
"types": "dist/index.d.ts",
+6
View File
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.72.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-18)
### Bug Fixes
* Shows informative error on UI when file upload limit is reached ([#2961](https://github.com/standardnotes/app/issues/2961)) ([844b7a7](https://github.com/standardnotes/app/commit/844b7a7a2b26bd4e74c2d8d36ddfa9e28b47f589))
## [1.72.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-06)
### Bug Fixes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/services",
"version": "1.72.1",
"version": "1.72.2",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
@@ -227,7 +227,11 @@ export class FileService extends AbstractService implements FilesClientInterface
vault && vault.isSharedVaultListing() ? 'shared-vault' : 'user',
)
if (isErrorResponse(uploadSessionStarted) || !uploadSessionStarted.data.uploadId) {
if (isErrorResponse(uploadSessionStarted)) {
return ClientDisplayableError.FromNetworkError(uploadSessionStarted)
}
if (!uploadSessionStarted.data.uploadId) {
return new ClientDisplayableError('Could not start upload session')
}
@@ -259,6 +263,10 @@ export class FileService extends AbstractService implements FilesClientInterface
operation.vault && operation.vault.isSharedVaultListing() ? 'shared-vault' : 'user',
)
if (uploadSessionClosed instanceof ClientDisplayableError) {
return uploadSessionClosed
}
if (!uploadSessionClosed) {
return new ClientDisplayableError('Could not close upload session')
}
+6
View File
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [2.211.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-18)
### Bug Fixes
* Shows informative error on UI when file upload limit is reached ([#2961](https://github.com/standardnotes/app/issues/2961)) ([844b7a7](https://github.com/standardnotes/app/commit/844b7a7a2b26bd4e74c2d8d36ddfa9e28b47f589))
## [2.211.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-06)
### Bug Fixes
+5 -2
View File
@@ -821,7 +821,10 @@ export class LegacyApiService
return response.data.success
}
public async closeUploadSession(valetToken: string, ownershipType: FileOwnershipType): Promise<boolean> {
public async closeUploadSession(
valetToken: string,
ownershipType: FileOwnershipType,
): Promise<boolean | ClientDisplayableError> {
const url = joinPaths(
this.getFilesHost(),
ownershipType === 'user' ? Paths.v1.closeUploadSession : Paths.v1.closeSharedVaultUploadSession,
@@ -835,7 +838,7 @@ export class LegacyApiService
})
if (isErrorResponse(response)) {
return false
return ClientDisplayableError.FromNetworkError(response)
}
return response.data.success
+17 -1
View File
@@ -807,6 +807,12 @@ export class SyncService
throw Error('Attempting to default mode sync without having completed initial.')
}
const isReadOnlySession = this.sessionManager.isCurrentSessionReadOnly()
if (isReadOnlySession) {
this.logger.debug('Skipping upload payloads because session is read-only.')
return { uploadPayloads: [], syncMode: useMode }
}
const uploadPayloads: ServerSyncPushContextualPayload[] =
useMode === SyncMode.Default ? await this.payloadsByPreparingForServer(payloads) : []
@@ -901,6 +907,7 @@ export class SyncService
const { shouldExecuteSync, releaseLock } = this.configureSyncLock(options)
const { items, beginDate, frozenDirtyIndex, neverSyncedDeleted } = await this.prepareForSync(options)
const shouldSkipUploadsForReadOnlySession = this.sessionManager.isCurrentSessionReadOnly() === true
if (options.mode === SyncMode.LocalOnly) {
this.logger.debug('Syncing local only, skipping remote sync request')
@@ -918,7 +925,16 @@ export class SyncService
return
}
const latestItems = await this.prepareForSyncExecution(items, inTimeResolveQueue, beginDate, frozenDirtyIndex)
const latestItems = await this.prepareForSyncExecution(
shouldSkipUploadsForReadOnlySession ? [] : items,
inTimeResolveQueue,
beginDate,
frozenDirtyIndex,
)
if (shouldSkipUploadsForReadOnlySession && items.length > 0) {
this.logger.debug('Read-only session detected, skipping upload of dirty items.')
}
const online = this.sessionManager.online()
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/snjs",
"version": "2.211.1",
"version": "2.211.2",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
+4
View File
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.39.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-18)
**Note:** Version bump only for package @standardnotes/ui-services
## [1.39.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-06)
**Note:** Version bump only for package @standardnotes/ui-services
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/ui-services",
"version": "1.39.1",
"version": "1.39.2",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
+22
View File
@@ -3,6 +3,28 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.201.5](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-18)
### Bug Fixes
* Shows informative error on UI when file upload limit is reached ([#2961](https://github.com/standardnotes/app/issues/2961)) ([844b7a7](https://github.com/standardnotes/app/commit/844b7a7a2b26bd4e74c2d8d36ddfa9e28b47f589))
## [3.201.4](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-05)
### Bug Fixes
* Fix confirmation dialog title for permanently deleting files ([#2960](https://github.com/standardnotes/app/issues/2960)) ([26735b5](https://github.com/standardnotes/app/commit/26735b5e7a5ca0362b5ba185e67121382c936c88))
## [3.201.3](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-21)
### Bug Fixes
* Use regular debouncing for tab indentations ([#2959](https://github.com/standardnotes/app/issues/2959)) [skip e2e] ([3190a27](https://github.com/standardnotes/app/commit/3190a278314fe788f9136528971c0a9cd0dffbf4))
## [3.201.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-07)
**Note:** Version bump only for package @standardnotes/web
## [3.201.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-06)
**Note:** Version bump only for package @standardnotes/web
+53
View File
@@ -1,5 +1,58 @@
{
"versions": [
{
"version": "3.201.5",
"title": "[3.201.5](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-18)",
"date": null,
"body": "### Bug Fixes\n\n* Shows informative error on UI when file upload limit is reached ([#2961](https://github.com/standardnotes/app/issues/2961)) ([844b7a7](https://github.com/standardnotes/app/commit/844b7a7a2b26bd4e74c2d8d36ddfa9e28b47f589))",
"parsed": {
"_": [
"Shows informative error on UI when file upload limit is reached (#2961) (844b7a7)"
],
"Bug Fixes": [
"Shows informative error on UI when file upload limit is reached (#2961) (844b7a7)"
]
}
},
{
"version": "3.201.4",
"title": "[3.201.4](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-12-05)",
"date": null,
"body": "### Bug Fixes\n\n* Fix confirmation dialog title for permanently deleting files ([#2960](https://github.com/standardnotes/app/issues/2960)) ([26735b5](https://github.com/standardnotes/app/commit/26735b5e7a5ca0362b5ba185e67121382c936c88))",
"parsed": {
"_": [
"Fix confirmation dialog title for permanently deleting files (#2960) (26735b5)"
],
"Bug Fixes": [
"Fix confirmation dialog title for permanently deleting files (#2960) (26735b5)"
]
}
},
{
"version": "3.201.3",
"title": "[3.201.3](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-21)",
"date": null,
"body": "### Bug Fixes\n\n* Use regular debouncing for tab indentations ([#2959](https://github.com/standardnotes/app/issues/2959)) [skip e2e] ([3190a27](https://github.com/standardnotes/app/commit/3190a278314fe788f9136528971c0a9cd0dffbf4))",
"parsed": {
"_": [
"Use regular debouncing for tab indentations (#2959) skip e2e] ([3190a27)"
],
"Bug Fixes": [
"Use regular debouncing for tab indentations (#2959) skip e2e] ([3190a27)"
]
}
},
{
"version": "3.201.2",
"title": "[3.201.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-07)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.201.1",
"title": "[3.201.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2025-11-06)",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/web",
"version": "3.201.1",
"version": "3.201.5",
"license": "AGPL-3.0",
"main": "dist/app.js",
"author": "Standard Notes",
@@ -1,7 +1,7 @@
import { MILLISECONDS_IN_A_SECOND } from '@/Constants/Constants'
export const EditorSaveTimeoutDebounce = {
Desktop: 350,
Desktop: 700,
ImmediateChange: 100,
NativeMobileWeb: 700,
LargeNote: 60 * MILLISECONDS_IN_A_SECOND,
@@ -253,11 +253,16 @@ export const PlainEditor = forwardRef<PlainEditorInterface, Props>(
setEditorText(editor.value)
void controller.saveAndAwaitLocalPropagation({
text: editor.value,
bypassDebouncer: true,
isUserModified: true,
})
setIsPendingLocalPropagation(true)
void controller
.saveAndAwaitLocalPropagation({
text: editor.value,
isUserModified: true,
})
.then(() => {
setIsPendingLocalPropagation(false)
})
},
})
@@ -524,9 +524,9 @@ export class FilesController extends AbstractViewController<FilesControllerEvent
if (operation instanceof ClientDisplayableError) {
addToast({
type: ToastType.Error,
message: 'Unable to start upload session',
message: operation.text,
})
throw new Error('Unable to start upload session')
return undefined
}
const initialProgress = operation.getProgress().percentComplete
@@ -595,7 +595,7 @@ export class FilesController extends AbstractViewController<FilesControllerEvent
type: ToastType.Error,
message: uploadedFile.text,
})
throw new Error(uploadedFile.text)
return undefined
}
if (onUploadFinish) {
@@ -691,7 +691,7 @@ export class FilesController extends AbstractViewController<FilesControllerEvent
}
deleteFilesPermanently = async (files: FileItem[]) => {
const title = Strings.trashItemsTitle
const title = Strings.deleteItemsPermanentlyTitle
const text = files.length === 1 ? StringUtils.deleteFile(files[0].name) : Strings.deleteMultipleFiles
if (
+2
View File
@@ -7910,6 +7910,8 @@ __metadata:
"@electron/remote": ^2.1.2
"@standardnotes/domain-core": ^1.40.0
"@standardnotes/electron-clear-data": 1.1.1
"@standardnotes/snjs": "workspace:*"
"@standardnotes/utils": "workspace:*"
"@standardnotes/web": "workspace:*"
"@types/fs-extra": ^11.0.1
"@types/lodash": ^4.14.189