mirror of
https://github.com/meienberger/runtipi.git
synced 2024-10-05 16:17:18 +03:00
06f36881c3
* refactor(app-store): improve apps payload to include only necessary fields * chore: downgrade to pnpm v9 * chore(deps): bump the minor-patch group across 1 directory with 7 updates Bumps the minor-patch group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [next](https://github.com/vercel/next.js) | `14.2.2` | `14.2.3` | | [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `18.2.0` | `18.3.1` | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.2.79` | `18.3.1` | | [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `18.2.0` | `18.3.1` | | [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `18.2.25` | `18.3.0` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.12.7` | `20.12.8` | | [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `14.2.2` | `14.2.3` | Updates `next` from 14.2.2 to 14.2.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v14.2.2...v14.2.3) Updates `react` from 18.2.0 to 18.3.1 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react) Updates `@types/react` from 18.2.79 to 18.3.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Updates `react-dom` from 18.2.0 to 18.3.1 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react-dom) Updates `@types/react-dom` from 18.2.25 to 18.3.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom) Updates `@types/node` from 20.12.7 to 20.12.8 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@types/react` from 18.2.79 to 18.3.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Updates `@types/react-dom` from 18.2.25 to 18.3.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom) Updates `eslint-config-next` from 14.2.2 to 14.2.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v14.2.3/packages/eslint-config-next) --- updated-dependencies: - dependency-name: next dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: react dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: react-dom dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: "@types/react-dom" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: "@types/react-dom" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: eslint-config-next dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> * feat: add tipi minimum version requirement when installing and updating * feat(dashboard): add warning if internal ip is public fix(dashboard): fix eslint error * New Crowdin updates (#1387) * New translations en.json (French) * New translations en.json (Turkish) * New translations en.json (Romanian) * New translations en.json (Spanish) * New translations en.json (Afrikaans) * New translations en.json (Arabic) * New translations en.json (Catalan) * New translations en.json (Czech) * New translations en.json (Danish) * New translations en.json (German) * New translations en.json (Greek) * New translations en.json (Finnish) * New translations en.json (Hebrew) * New translations en.json (Hungarian) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Dutch) * New translations en.json (Norwegian) * New translations en.json (Polish) * New translations en.json (Portuguese) * New translations en.json (Russian) * New translations en.json (Serbian (Cyrillic)) * New translations en.json (Swedish) * New translations en.json (Ukrainian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (English) * New translations en.json (Vietnamese) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Russian) * New translations en.json (Vietnamese) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Portuguese, Brazilian) * New translations en.json (French) * New translations en.json (Turkish) * New translations en.json (Romanian) * New translations en.json (Spanish) * New translations en.json (Afrikaans) * New translations en.json (Arabic) * New translations en.json (Catalan) * New translations en.json (Czech) * New translations en.json (Danish) * New translations en.json (German) * New translations en.json (Greek) * New translations en.json (Finnish) * New translations en.json (Hebrew) * New translations en.json (Hungarian) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Dutch) * New translations en.json (Norwegian) * New translations en.json (Polish) * New translations en.json (Portuguese) * New translations en.json (Russian) * New translations en.json (Serbian (Cyrillic)) * New translations en.json (Swedish) * New translations en.json (Ukrainian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (English) * New translations en.json (Vietnamese) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Russian) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Portuguese, Brazilian) * New translations en.json (French) * New translations en.json (Turkish) * New translations en.json (Romanian) * New translations en.json (Spanish) * New translations en.json (Afrikaans) * New translations en.json (Arabic) * New translations en.json (Catalan) * New translations en.json (Czech) * New translations en.json (Danish) * New translations en.json (German) * New translations en.json (Greek) * New translations en.json (Finnish) * New translations en.json (Hebrew) * New translations en.json (Hungarian) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Dutch) * New translations en.json (Norwegian) * New translations en.json (Polish) * New translations en.json (Portuguese) * New translations en.json (Russian) * New translations en.json (Serbian (Cyrillic)) * New translations en.json (Swedish) * New translations en.json (Ukrainian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (English) * New translations en.json (Vietnamese) * New translations en.json (Portuguese, Brazilian) * chore(deps-dev): bump @testing-library/react from 14.3.1 to 15.0.6 Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 14.3.1 to 15.0.6. - [Release notes](https://github.com/testing-library/react-testing-library/releases) - [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/react-testing-library/compare/v14.3.1...v15.0.6) --- updated-dependencies: - dependency-name: "@testing-library/react" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps-dev): bump @testing-library/dom from 9.3.4 to 10.1.0 Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 9.3.4 to 10.1.0. - [Release notes](https://github.com/testing-library/dom-testing-library/releases) - [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/dom-testing-library/compare/v9.3.4...v10.1.0) --- updated-dependencies: - dependency-name: "@testing-library/dom" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * New Crowdin updates (#1396) * New translations en.json (French) * New translations en.json (Turkish) * New translations en.json (Romanian) * New translations en.json (Spanish) * New translations en.json (Afrikaans) * New translations en.json (Arabic) * New translations en.json (Catalan) * New translations en.json (Czech) * New translations en.json (Danish) * New translations en.json (German) * New translations en.json (Greek) * New translations en.json (Finnish) * New translations en.json (Hebrew) * New translations en.json (Hungarian) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Dutch) * New translations en.json (Norwegian) * New translations en.json (Polish) * New translations en.json (Portuguese) * New translations en.json (Russian) * New translations en.json (Serbian (Cyrillic)) * New translations en.json (Swedish) * New translations en.json (Ukrainian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (English) * New translations en.json (Vietnamese) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Russian) * chore(deps): bump the minor-patch group across 1 directory with 24 updates (#1403) Bumps the minor-patch group with 24 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@sentry/integrations](https://github.com/getsentry/sentry-javascript) | `7.113.0` | `7.114.0` | | [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) | `7.113.0` | `7.114.0` | | [next-intl](https://github.com/amannn/next-intl) | `3.12.1` | `3.13.0` | | [react-hook-form](https://github.com/react-hook-form/react-hook-form) | `7.51.3` | `7.51.4` | | [sass](https://github.com/sass/dart-sass) | `1.76.0` | `1.77.0` | | [semver](https://github.com/npm/node-semver) | `7.6.0` | `7.6.2` | | [validator](https://github.com/validatorjs/validator.js) | `13.11.0` | `13.12.0` | | [zod](https://github.com/colinhacks/zod) | `3.23.6` | `3.23.8` | | [@playwright/test](https://github.com/microsoft/playwright) | `1.43.1` | `1.44.0` | | [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) | `6.4.3` | `6.4.5` | | [@testing-library/react](https://github.com/testing-library/react-testing-library) | `15.0.6` | `15.0.7` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.12.8` | `20.12.11` | | [@types/pg](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/pg) | `8.11.5` | `8.11.6` | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `1.5.3` | `1.6.0` | | [dotenv-cli](https://github.com/entropitor/dotenv-cli) | `7.4.1` | `7.4.2` | | [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) | `28.4.0` | `28.5.0` | | [knip](https://github.com/webpro/knip/tree/HEAD/packages/knip) | `5.12.0` | `5.13.0` | | [msw](https://github.com/mswjs/msw) | `2.2.14` | `2.3.0` | | [tsx](https://github.com/privatenumber/tsx) | `4.8.2` | `4.9.3` | | [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `1.5.3` | `1.6.0` | | [@sentry/types](https://github.com/getsentry/sentry-javascript) | `7.113.0` | `7.114.0` | | [@sentry/node](https://github.com/getsentry/sentry-javascript) | `7.113.0` | `7.114.0` | | [hono](https://github.com/honojs/hono) | `4.2.9` | `4.3.4` | | [systeminformation](https://github.com/sebhildebrandt/systeminformation) | `5.22.7` | `5.22.8` | Updates `@sentry/integrations` from 7.113.0 to 7.114.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.114.0/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0) Updates `@sentry/nextjs` from 7.113.0 to 7.114.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.114.0/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0) Updates `next-intl` from 3.12.1 to 3.13.0 - [Changelog](https://github.com/amannn/next-intl/blob/main/CHANGELOG.md) - [Commits](https://github.com/amannn/next-intl/compare/v3.12.1...v3.13.0) Updates `react-hook-form` from 7.51.3 to 7.51.4 - [Release notes](https://github.com/react-hook-form/react-hook-form/releases) - [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md) - [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.51.3...v7.51.4) Updates `sass` from 1.76.0 to 1.77.0 - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](https://github.com/sass/dart-sass/compare/1.76.0...1.77.0) Updates `semver` from 7.6.0 to 7.6.2 - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v7.6.0...v7.6.2) Updates `validator` from 13.11.0 to 13.12.0 - [Release notes](https://github.com/validatorjs/validator.js/releases) - [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/validatorjs/validator.js/compare/13.11.0...13.12.0) Updates `zod` from 3.23.6 to 3.23.8 - [Release notes](https://github.com/colinhacks/zod/releases) - [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md) - [Commits](https://github.com/colinhacks/zod/compare/v3.23.6...v3.23.8) Updates `@playwright/test` from 1.43.1 to 1.44.0 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.43.1...v1.44.0) Updates `@testing-library/jest-dom` from 6.4.3 to 6.4.5 - [Release notes](https://github.com/testing-library/jest-dom/releases) - [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.3...v6.4.5) Updates `@testing-library/react` from 15.0.6 to 15.0.7 - [Release notes](https://github.com/testing-library/react-testing-library/releases) - [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/react-testing-library/compare/v15.0.6...v15.0.7) Updates `@types/node` from 20.12.8 to 20.12.11 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@types/pg` from 8.11.5 to 8.11.6 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/pg) Updates `@vitest/coverage-v8` from 1.5.3 to 1.6.0 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v1.6.0/packages/coverage-v8) Updates `dotenv-cli` from 7.4.1 to 7.4.2 - [Release notes](https://github.com/entropitor/dotenv-cli/releases) - [Commits](https://github.com/entropitor/dotenv-cli/compare/v7.4.1...v7.4.2) Updates `eslint-plugin-jest` from 28.4.0 to 28.5.0 - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v28.4.0...v28.5.0) Updates `knip` from 5.12.0 to 5.13.0 - [Release notes](https://github.com/webpro/knip/releases) - [Changelog](https://github.com/webpro/knip/blob/main/packages/knip/.release-it.json) - [Commits](https://github.com/webpro/knip/commits/5.13.0/packages/knip) Updates `msw` from 2.2.14 to 2.3.0 - [Release notes](https://github.com/mswjs/msw/releases) - [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md) - [Commits](https://github.com/mswjs/msw/compare/v2.2.14...v2.3.0) Updates `tsx` from 4.8.2 to 4.9.3 - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs) - [Commits](https://github.com/privatenumber/tsx/compare/v4.8.2...v4.9.3) Updates `vitest` from 1.5.3 to 1.6.0 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v1.6.0/packages/vitest) Updates `@sentry/types` from 7.113.0 to 7.114.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.114.0/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0) Updates `@sentry/node` from 7.113.0 to 7.114.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.114.0/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0) Updates `hono` from 4.2.9 to 4.3.4 - [Release notes](https://github.com/honojs/hono/releases) - [Commits](https://github.com/honojs/hono/compare/v4.2.9...v4.3.4) Updates `systeminformation` from 5.22.7 to 5.22.8 - [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md) - [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v5.22.7...v5.22.8) --- updated-dependencies: - dependency-name: "@sentry/integrations" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: "@sentry/nextjs" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: next-intl dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: react-hook-form dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: sass dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: semver dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: validator dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: zod dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: "@testing-library/jest-dom" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@testing-library/react" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@types/pg" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@vitest/coverage-v8" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: dotenv-cli dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: eslint-plugin-jest dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: knip dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: msw dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: tsx dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: vitest dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: "@sentry/types" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: "@sentry/node" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: hono dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: systeminformation dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add password reset request expiry check and automatic session invalidation * chore(deps): bump the minor-patch group across 1 directory with 7 updates (#1405) * Update auth.service.ts Move request expiry time to a constant so it can be changed easier * chore: bump sentry dependencies * chore(deps): bump the minor-patch group across 1 directory with 7 updates (#1405) * chore: bump sentry dependencies * chore(auth.service): small async improvements * fix: missing sentry/next in worker * New Crowdin updates (#1400) * New translations en.json (Spanish) * New translations en.json (Spanish) * New translations en.json (French) * chore(deps): bump pnpm/action-setup from 3.0.0 to 4.0.0 Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 3.0.0 to 4.0.0. - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](https://github.com/pnpm/action-setup/compare/v3.0.0...v4.0.0) --- updated-dependencies: - dependency-name: pnpm/action-setup dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix(app-actions): missing open buttons with legacy app setup * test: enable app folder in tests * test: migrate to vitest * feat/section-app-install-form (#1414) * done * fix: wrong conditions --------- Co-authored-by: Nicolas Meienberger <github@thisprops.com> * refactor(docker-compose.json): fallback to classic docker compose in case of failing to parse file * chore(app.executors): add more logging * chore(watcher): pull repo only in non-dev mode * chore: cleanup eslint config and add no-floating-promise rule * chore: cleanup eslint configs in packages * chore(deps): bump the minor-patch group across 1 directory with 13 updates Bumps the minor-patch group with 3 updates in the / directory: [@hookform/resolvers](https://github.com/react-hook-form/resolvers), [sharp](https://github.com/lovell/sharp) and [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node). Updates `@hookform/resolvers` from 3.4.0 to 3.4.2 - [Release notes](https://github.com/react-hook-form/resolvers/releases) - [Commits](https://github.com/react-hook-form/resolvers/compare/v3.4.0...v3.4.2) Updates `@sentry/nextjs` from 8.2.1 to 8.3.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/8.2.1...8.3.0) Updates `@tabler/icons-react` from 3.4.0 to 3.5.0 - [Release notes](https://github.com/tabler/tabler-icons/releases) - [Commits](https://github.com/tabler/tabler-icons/commits/v3.5.0/packages/icons-react) Updates `bullmq` from 5.7.9 to 5.7.11 - [Release notes](https://github.com/taskforcesh/bullmq/releases) - [Commits](https://github.com/taskforcesh/bullmq/compare/v5.7.9...v5.7.11) Updates `react-hook-form` from 7.51.4 to 7.51.5 - [Release notes](https://github.com/react-hook-form/react-hook-form/releases) - [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md) - [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.51.4...v7.51.5) Updates `sharp` from 0.33.3 to 0.33.4 - [Release notes](https://github.com/lovell/sharp/releases) - [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md) - [Commits](https://github.com/lovell/sharp/compare/v0.33.3...v0.33.4) Updates `@types/node` from 20.12.11 to 20.12.12 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@vitejs/plugin-react` from 4.2.1 to 4.3.0 - [Release notes](https://github.com/vitejs/vite-plugin-react/releases) - [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.3.0/packages/plugin-react) Updates `ts-jest` from 29.1.2 to 29.1.3 - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.1.2...v29.1.3) Updates `tsx` from 4.10.4 to 4.11.0 - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs) - [Commits](https://github.com/privatenumber/tsx/compare/v4.10.4...v4.11.0) Updates `@sentry/types` from 8.2.1 to 8.3.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/8.2.1...8.3.0) Updates `@sentry/node` from 8.2.1 to 8.3.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/8.2.1...8.3.0) Updates `hono` from 4.3.7 to 4.3.9 - [Release notes](https://github.com/honojs/hono/releases) - [Commits](https://github.com/honojs/hono/compare/v4.3.7...v4.3.9) --- updated-dependencies: - dependency-name: "@hookform/resolvers" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@sentry/nextjs" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: "@tabler/icons-react" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: bullmq dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: react-hook-form dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: sharp dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@vitejs/plugin-react" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: ts-jest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: tsx dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: "@sentry/types" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: "@sentry/node" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: hono dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update regex in install script (#1426) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * chore(deps): bump the minor-patch group across 1 directory with 10 updates (#1434) Bumps the minor-patch group with 10 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) | `8.3.0` | `8.4.0` | | [bullmq](https://github.com/taskforcesh/bullmq) | `5.7.11` | `5.7.12` | | [next-intl](https://github.com/amannn/next-intl) | `3.14.0` | `3.14.1` | | [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.24.5` | `7.24.6` | | [@playwright/test](https://github.com/microsoft/playwright) | `1.44.0` | `1.44.1` | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.3.2` | `18.3.3` | | [@sentry/types](https://github.com/getsentry/sentry-javascript) | `8.3.0` | `8.4.0` | | [@sentry/node](https://github.com/getsentry/sentry-javascript) | `8.3.0` | `8.4.0` | | [hono](https://github.com/honojs/hono) | `4.3.9` | `4.3.11` | | [@sentry/esbuild-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) | `2.16.1` | `2.17.0` | Updates `@sentry/nextjs` from 8.3.0 to 8.4.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/8.3.0...8.4.0) Updates `bullmq` from 5.7.11 to 5.7.12 - [Release notes](https://github.com/taskforcesh/bullmq/releases) - [Commits](https://github.com/taskforcesh/bullmq/compare/v5.7.11...v5.7.12) Updates `next-intl` from 3.14.0 to 3.14.1 - [Changelog](https://github.com/amannn/next-intl/blob/main/CHANGELOG.md) - [Commits](https://github.com/amannn/next-intl/compare/v3.14.0...v3.14.1) Updates `@babel/core` from 7.24.5 to 7.24.6 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-core) Updates `@playwright/test` from 1.44.0 to 1.44.1 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.44.0...v1.44.1) Updates `@types/react` from 18.3.2 to 18.3.3 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Updates `@sentry/types` from 8.3.0 to 8.4.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/8.3.0...8.4.0) Updates `@sentry/node` from 8.3.0 to 8.4.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/8.3.0...8.4.0) Updates `hono` from 4.3.9 to 4.3.11 - [Release notes](https://github.com/honojs/hono/releases) - [Commits](https://github.com/honojs/hono/compare/v4.3.9...v4.3.11) Updates `@sentry/esbuild-plugin` from 2.16.1 to 2.17.0 - [Release notes](https://github.com/getsentry/sentry-javascript-bundler-plugins/releases) - [Changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/2.16.1...2.17.0) --- updated-dependencies: - dependency-name: "@sentry/nextjs" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: bullmq dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: next-intl dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@sentry/types" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: "@sentry/node" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: hono dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: "@sentry/esbuild-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @typescript-eslint/eslint-plugin (#1432) * ci: local e2e * ci(e2e): add workflow dispatch * ci(e2e): replace usages of old e2e workflow (#1436) * chore: various cleanups and deprecations fixes (#1437) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stavros <steveiliop56@gmail.com> Co-authored-by: hex-developer <77530549+hex-developer@users.noreply.github.com> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
213 lines
7.3 KiB
Bash
Executable File
213 lines
7.3 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
|
|
echo "Installing runtipi..."
|
|
|
|
ARCHITECTURE="$(uname -m)"
|
|
# Not supported on 32 bits systems
|
|
if [[ "$ARCHITECTURE" == "armv7"* ]] || [[ "$ARCHITECTURE" == "i686" ]] || [[ "$ARCHITECTURE" == "i386" ]]; then
|
|
echo "runtipi is not supported on 32 bits systems"
|
|
exit 1
|
|
fi
|
|
|
|
### --------------------------------
|
|
### CLI arguments
|
|
### --------------------------------
|
|
UPDATE="false"
|
|
VERSION="latest"
|
|
ASSET="runtipi-cli-linux-x86_64.tar.gz"
|
|
|
|
while [ -n "${1-}" ]; do
|
|
case "$1" in
|
|
--update) UPDATE="true" ;;
|
|
--version)
|
|
shift # Move to the next parameter
|
|
VERSION="$1" # Assign the value to VERSION
|
|
if [ -z "$VERSION" ]; then
|
|
echo "Option --version requires a value" && exit 1
|
|
fi
|
|
;;
|
|
--asset)
|
|
shift # Move to the next parameter
|
|
ASSET="$1" # Assign the value to ASSET
|
|
if [ -z "$ASSET" ]; then
|
|
echo "Option --asset requires a value" && exit 1
|
|
fi
|
|
;;
|
|
--)
|
|
shift # The double dash makes them parameters
|
|
break
|
|
;;
|
|
*) echo "Option $1 not recognized" && exit 1 ;;
|
|
esac
|
|
shift
|
|
done
|
|
|
|
OS="$(cat $(ls -p /etc | grep -v / | grep "[A-Za-z]*[_-][rv]e[lr]" | awk '{print "/etc/" $1}') | grep "^ID=" | cut -d= -f2 | uniq | tr '[:upper:]' '[:lower:]' | tr -d '"')"
|
|
SUB_OS="$(cat $(ls -p /etc | grep -v / | grep "[A-Za-z]*[_-][rv]e[lr]" | awk '{print "/etc/" $1}') | grep "^ID_LIKE=" | cut -d= -f2 | uniq | tr '[:upper:]' '[:lower:]' | tr -d '"' || echo 'unknown')"
|
|
|
|
function install_generic() {
|
|
local dependency="${1}"
|
|
local os="${2}"
|
|
|
|
if [[ "${os}" == "debian" ]]; then
|
|
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y "${dependency}"
|
|
return 0
|
|
elif [[ "${os}" == "ubuntu" || "${os}" == "pop" ]]; then
|
|
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y "${dependency}"
|
|
return 0
|
|
elif [[ "${os}" == "centos" ]]; then
|
|
sudo yum install -y --allowerasing "${dependency}"
|
|
return 0
|
|
elif [[ "${os}" == "rocky" ]]; then
|
|
sudo dnf -y install "${dependency}"
|
|
return 0
|
|
elif [[ "${os}" == "fedora" ]]; then
|
|
sudo dnf -y install "${dependency}"
|
|
return 0
|
|
elif [[ "${os}" == "arch" || "${os}" == "manjaro" ]]; then
|
|
if ! sudo pacman -Sy --noconfirm "${dependency}"; then
|
|
if command -v yay >/dev/null 2>&1; then
|
|
sudo -u "$SUDO_USER" yay -Sy --noconfirm "${dependency}"
|
|
else
|
|
echo "Could not install \"${dependency}\", either using pacman or the yay AUR helper. Please try installing it manually."
|
|
return 1
|
|
fi
|
|
fi
|
|
return 0
|
|
|
|
else
|
|
return 1
|
|
fi
|
|
}
|
|
|
|
function install_docker() {
|
|
local os="${1}"
|
|
echo "Installing docker for os ${os}"
|
|
echo "Your sudo password might be asked to install docker"
|
|
|
|
if [[ "${os}" == "debian" ]]; then
|
|
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates curl gnupg lsb-release
|
|
sudo mkdir -p /etc/apt/keyrings
|
|
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null
|
|
sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
|
|
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
|
return 0
|
|
elif [[ "${os}" == "ubuntu" || "${os}" == "pop" ]]; then
|
|
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates curl gnupg lsb-release
|
|
sudo mkdir -p /etc/apt/keyrings
|
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null
|
|
sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
|
|
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
|
return 0
|
|
elif [[ "${os}" == "centos" ]]; then
|
|
sudo yum install -y yum-utils
|
|
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
|
|
sudo yum install -y --allowerasing docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
|
sudo systemctl start docker
|
|
sudo systemctl enable docker
|
|
return 0
|
|
elif [[ "${os}" == "rocky" ]]; then
|
|
sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
|
|
sudo dnf -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
|
sudo systemctl start docker
|
|
sudo systemctl enable docker
|
|
return 0
|
|
elif [[ "${os}" == "fedora" ]]; then
|
|
sudo dnf -y install dnf-plugins-core
|
|
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
|
|
sudo dnf -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
|
sudo systemctl start docker
|
|
sudo systemctl enable docker
|
|
return 0
|
|
elif [[ "${os}" == "arch" || "${os}" == "manjaro" ]]; then
|
|
sudo pacman -Sy --noconfirm docker docker-compose
|
|
sudo systemctl start docker.service
|
|
sudo systemctl enable docker.service
|
|
return 0
|
|
else
|
|
return 1
|
|
fi
|
|
}
|
|
|
|
if ! command -v docker >/dev/null; then
|
|
echo "Installing docker"
|
|
install_docker "${OS}"
|
|
docker_result=$?
|
|
|
|
if [[ docker_result -ne 0 ]]; then
|
|
echo "Your system ${OS} is not supported trying with sub_os ${SUB_OS}"
|
|
install_docker "${SUB_OS}"
|
|
docker_sub_result=$?
|
|
|
|
if [[ docker_sub_result -ne 0 ]]; then
|
|
echo "Your system ${SUB_OS} is not supported please install docker manually"
|
|
exit 1
|
|
fi
|
|
fi
|
|
fi
|
|
|
|
function check_dependency_and_install() {
|
|
local dependency="${1}"
|
|
|
|
if ! command -v "${dependency}" >/dev/null; then
|
|
echo "Installing ${dependency}"
|
|
install_generic "${dependency}" "${OS}"
|
|
install_result=$?
|
|
|
|
if [[ install_result -eq 0 ]]; then
|
|
echo "${dependency} installed"
|
|
else
|
|
echo "Your system ${OS} is not supported trying with sub_os ${SUB_OS}"
|
|
install_generic "${dependency}" "${SUB_OS}"
|
|
install_sub_result=$?
|
|
|
|
if [[ install_sub_result -eq 0 ]]; then
|
|
echo "${dependency} installed"
|
|
else
|
|
echo "Your system ${SUB_OS} is not supported please install ${dependency} manually"
|
|
exit 1
|
|
fi
|
|
fi
|
|
fi
|
|
}
|
|
|
|
# Example
|
|
# check_dependency_and_install "openssl"
|
|
|
|
# If version was not given it will install the latest version
|
|
if [[ "${VERSION}" == "latest" ]]; then
|
|
LATEST_VERSION=$(curl -sL https://api.github.com/repos/runtipi/runtipi/releases/latest | grep tag_name | cut -d '"' -f4)
|
|
VERSION="${LATEST_VERSION}"
|
|
fi
|
|
|
|
if [[ "$ARCHITECTURE" == "arm64" || "$ARCHITECTURE" == "aarch64" ]]; then
|
|
ASSET="runtipi-cli-linux-aarch64.tar.gz"
|
|
fi
|
|
|
|
URL="https://github.com/runtipi/runtipi/releases/download/$VERSION/$ASSET"
|
|
|
|
if [[ "${UPDATE}" == "false" ]]; then
|
|
mkdir -p runtipi
|
|
cd runtipi || exit
|
|
fi
|
|
|
|
# If the asset has a .tar.gz extension, it will be extracted
|
|
if [[ "$ASSET" == *".tar.gz" ]]; then
|
|
curl --location "$URL" -o ./runtipi-cli.tar.gz
|
|
tar -xzf ./runtipi-cli.tar.gz
|
|
|
|
asset_name=$(tar -tzf ./runtipi-cli.tar.gz | head -n 1 | cut -f1 -d"/")
|
|
mv "./${asset_name}" ./runtipi-cli
|
|
rm ./runtipi-cli.tar.gz
|
|
else
|
|
curl --location "$URL" -o ./runtipi-cli
|
|
fi
|
|
|
|
chmod +x ./runtipi-cli
|
|
sudo ./runtipi-cli start
|