Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
lmgithu authored Nov 8, 2024
2 parents bb9193d + 4f26daf commit 294db27
Show file tree
Hide file tree
Showing 22 changed files with 353 additions and 317 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd-app-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
deployments: write
name: Publish app to production
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
deployments: write
name: Publish docs to production
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/cd-docker-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
working-directory: packages/crypto

steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
working-directory: packages/lib

steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
working-directory: packages/cli

steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
run: echo "RELEASE_VERSION=${{ github.event.inputs.release_version }}" >> $GITHUB_ENV

- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
Expand All @@ -170,7 +170,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: |
corentinth/enclosed:latest
Expand All @@ -183,7 +183,7 @@ jobs:
with:
context: .
file: ./Dockerfile.rootless
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: |
corentinth/enclosed:latest-rootless
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd-preview-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
name: Build app and upload build artifact
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand All @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
name: Build docs and upload build artifact
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-app-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
working-directory: packages/app-client

steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-app-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
working-directory: packages/app-server

steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
working-directory: packages/cli

steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-crypto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
working-directory: packages/crypto

steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-deploy-cloudflare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
working-directory: packages/deploy-cloudflare

steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
working-directory: packages/docs

steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
working-directory: packages/lib

steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Base image using Node.js Alpine version 22
FROM node:22-alpine AS builder
# Base image is node:22-slim, we cannot use node:22-alpine because of
# a known issue for arm/v7 architecture (hangs on dependency installation)
# see https://github.com/nodejs/docker-node/issues/2077
FROM node:22-slim AS builder

# Set the working directory for the app
WORKDIR /app
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile.rootless
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Base image using Node.js Alpine version 22
FROM node:22-alpine AS builder
# Base image is node:22-slim, we cannot use node:22-alpine because of
# a known issue for arm/v7 architecture (hangs on dependency installation)
# see https://github.com/nodejs/docker-node/issues/2077
FROM node:22-slim AS builder

# Set the working directory for the app
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enclosed/root",
"version": "1.9.0",
"version": "1.9.2",
"description": "Send private and secure note",
"packageManager": "pnpm@9.12.2",
"license": "Apache-2.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/app-client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@enclosed/app-client",
"type": "module",
"version": "1.9.0",
"version": "1.9.2",
"packageManager": "pnpm@9.12.2",
"description": "Enclosed frontend client",
"author": "Corentin Thomasset <corentinth@proton.me> (https://corentin.tech)",
Expand Down Expand Up @@ -34,7 +34,7 @@
"@solid-primitives/i18n": "^2.1.1",
"@solid-primitives/storage": "^4.2.1",
"@solidjs/router": "^0.14.3",
"@unocss/reset": "^0.63.0",
"@unocss/reset": "^0.64.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"jszip": "^3.10.1",
Expand All @@ -55,7 +55,7 @@
"jsdom": "^25.0.0",
"tsx": "^4.19.1",
"typescript": "catalog:",
"unocss": "^0.63.0",
"unocss": "^0.64.0",
"vite": "^5.0.11",
"vite-plugin-solid": "^2.8.2",
"vitest": "catalog:"
Expand Down
14 changes: 7 additions & 7 deletions packages/app-client/src/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"github": "GitHub",
"theme": {
"light-mode": "Светлая тема",
"dark-mode": "Темная тема",
"dark-mode": "Тёмная тема",
"system-mode": "Система"
},
"settings": {
"documentation": "Документация",
"cli": "Закрытый интерфейс командной строки",
"support": "Поддержка Enclosed",
"cli": "Enclosed CLI",
"support": "Поддержать Enclosed",
"report-bug": "Сообщить об ошибке",
"logout": "Выйти",
"contribute-to-i18n": "Внести свой вклад в i18n"
Expand All @@ -32,7 +32,7 @@
},
"login": {
"title": "Войти в Enclosed",
"description": "Это приватный режим Enclosed. Введите учетные данные, чтобы создать заметку.",
"description": "Это приватный режим Enclosed. Введите учётные данные, чтобы создать заметку.",
"email": "Электронная почта",
"password": "Пароль",
"submit": "Логин",
Expand All @@ -41,15 +41,15 @@
"unknown": "Неизвестная ошибка. Пожалуйста, повторите попытку позже."
},
"footer": [
"Нет учетной записи?",
"Нет учётной записи?",
"Связаться с владельцем"
]
},
"create": {
"errors": {
"empty-note": "Введите содержание заметки или приложите файл",
"rate-limit": "Вы превысили лимит создания заметок. Пожалуйста, повторите попытку позже.",
"too-large": "Превышен объем содержания заметки и вложения. Уменьшите размер и повторите попытку.",
"too-large": "Превышен объём содержания заметки и вложения. Уменьшите размер и повторите попытку.",
"unauthorized": "У вас нет прав для создания заметки. Войдите в систему и повторите попытку.",
"unknown": "При создании заметки произошла ошибка. Повторите попытку."
},
Expand Down Expand Up @@ -77,7 +77,7 @@
},
"attach-files": "Прикрепить файлы",
"drop-files": {
"title": "Перенесите файлы сюда",
"title": "Перетащите файлы сюда",
"description": "Перетащите файлы, чтобы прикрепить их к заметке"
},
"create": "Создать заметку",
Expand Down
2 changes: 1 addition & 1 deletion packages/app-server/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@enclosed/app-server",
"type": "module",
"version": "1.9.0",
"version": "1.9.2",
"packageManager": "pnpm@9.12.2",
"description": "Enclosed backend server",
"author": "Corentin Thomasset <corentinth@proton.me> (https://corentin.tech)",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@enclosed/cli",
"type": "module",
"version": "1.9.0",
"version": "1.9.2",
"packageManager": "pnpm@9.12.2",
"description": "Enclosed cli to create secure notes.",
"author": "Corentin Thomasset <corentinth@proton.me> (https://corentin.tech)",
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@enclosed/crypto",
"type": "module",
"version": "1.9.0",
"version": "1.9.2",
"packageManager": "pnpm@9.12.2",
"description": "Enclosed cross-env crypto primitives",
"author": "Corentin Thomasset <corentinth@proton.me> (https://corentin.tech)",
Expand Down
2 changes: 1 addition & 1 deletion packages/deploy-cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enclosed/deploy-cloudflare",
"version": "1.9.0",
"version": "1.9.2",
"description": "Deploy scripts for Cloudflare Pages",
"packageManager": "pnpm@9.12.2",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@enclosed/docs",
"type": "module",
"version": "1.9.0",
"version": "1.9.2",
"packageManager": "pnpm@9.12.2",
"description": "Documentation website for Enclosed.",
"author": "Corentin Thomasset <corentinth@proton.me> (https://corentin.tech)",
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@enclosed/lib",
"type": "module",
"version": "1.9.0",
"version": "1.9.2",
"packageManager": "pnpm@9.12.2",
"description": "Enclosed lib to create secure notes.",
"author": "Corentin Thomasset <corentinth@proton.me> (https://corentin.tech)",
Expand Down
Loading

0 comments on commit 294db27

Please sign in to comment.