Commit graph

376 commits

Author SHA1 Message Date
Nicolas Meienberger
e0d52e79c1 fix(cli): ensure user is allowed to run docker commands before starting 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
2dcb358392 chore: bump version to 2.2.0 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
9efacb5797 ci(alpha): add image build for worker 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
bdfb019df2 fix(worker): docker not throwing an error when failing to start 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
af8509aacc test(worker): implement test suites with vitest 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
55e0cd155e refactor(shared): factorize common helpers in shared package 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
417785ee24 refactor(worker): move executors from cli to worker 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
5f18ff16de feat: create base worker package 2023-11-16 20:49:27 +01:00
Stavros
09461527ee
feat(cli): set custom postgres port in config.json (#918)
* feat(cli): set custom postgres port in config.json

* fix(cli): small misspelling error.

* fix(cli): misspelling error again

Co-authored-by: Nicolas Meienberger <47644445+meienberger@users.noreply.github.com>

* fix(cli): add required env vard to schemas.

* fix(cli): add default port to schema

* fix(cli): add requested changes

* fix(cli): move posgresPort to pick

---------

Co-authored-by: Nicolas Meienberger <47644445+meienberger@users.noreply.github.com>
2023-11-15 21:16:10 +01:00
Nicolas Meienberger
d032bbdc5f chore(cli): remove duplicate stopping app messages 2023-11-07 22:44:52 +01:00
Nicolas Meienberger
f38c3416a4 chore(cli): remove duplicate starting app message 2023-11-07 21:58:49 +01:00
dependabot[bot]
e81e26fb07 chore(deps): bump bullmq from 4.12.7 to 4.13.0
Bumps [bullmq](https://github.com/taskforcesh/bullmq) from 4.12.7 to 4.13.0.
- [Release notes](https://github.com/taskforcesh/bullmq/releases)
- [Commits](https://github.com/taskforcesh/bullmq/compare/v4.12.7...v4.13.0)

---
updated-dependencies:
- dependency-name: bullmq
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 07:27:57 +01:00
Nicolas Meienberger
45e71539db ci: move all workflow to use ghcr.io registry 2023-11-06 07:25:46 +01:00
Nicolas Meienberger
cea9697b6d fix: downgrade log-update to version 5.0.1 2023-11-02 20:21:16 +01:00
Nicolas Meienberger
677fb12ad4 chore: bump version to 2.1.0 2023-11-02 19:18:59 +01:00
dependabot[bot]
eccc1decad chore(deps-dev): bump @types/node from 20.8.9 to 20.8.10
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.8.9 to 20.8.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 19:14:25 +01:00
dependabot[bot]
a2d9610c22 chore(deps): bump bullmq from 4.12.6 to 4.12.7
Bumps [bullmq](https://github.com/taskforcesh/bullmq) from 4.12.6 to 4.12.7.
- [Release notes](https://github.com/taskforcesh/bullmq/releases)
- [Commits](https://github.com/taskforcesh/bullmq/compare/v4.12.6...v4.12.7)

---
updated-dependencies:
- dependency-name: bullmq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 19:07:59 +01:00
dependabot[bot]
1d6228a96a chore(deps): bump log-update from 5.0.1 to 6.0.0
Bumps [log-update](https://github.com/sindresorhus/log-update) from 5.0.1 to 6.0.0.
- [Release notes](https://github.com/sindresorhus/log-update/releases)
- [Commits](https://github.com/sindresorhus/log-update/compare/v5.0.1...v6.0.0)

---
updated-dependencies:
- dependency-name: log-update
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 19:05:29 +01:00
Nicolas Meienberger
fd6c5afe2c chore(cli): add guest dashboard env variable 2023-11-02 19:04:57 +01:00
Nicolas Meienberger
9b9541cee7 chore: create migration to add is_visible_on_guest_dahsboard field on app table 2023-11-02 19:04:57 +01:00
dependabot[bot]
6c0f7548f7 chore(deps): bump axios from 1.5.1 to 1.6.0
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 12:15:11 +02:00
dependabot[bot]
8b221dcf0a chore(deps): bump systeminformation from 5.21.13 to 5.21.15
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 5.21.13 to 5.21.15.
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v5.21.13...v5.21.15)

---
updated-dependencies:
- dependency-name: systeminformation
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 12:13:48 +02:00
dependabot[bot]
01062d0041 chore(deps-dev): bump @types/node from 20.8.4 to 20.8.9
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.8.4 to 20.8.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 10:09:20 +02:00
dependabot[bot]
bb887f284e chore(deps): bump bullmq from 4.12.5 to 4.12.6
Bumps [bullmq](https://github.com/taskforcesh/bullmq) from 4.12.5 to 4.12.6.
- [Release notes](https://github.com/taskforcesh/bullmq/releases)
- [Commits](https://github.com/taskforcesh/bullmq/compare/v4.12.5...v4.12.6)

---
updated-dependencies:
- dependency-name: bullmq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 09:57:24 +02:00
dependabot[bot]
3a41c0c9c0 chore(deps): bump commander from 11.0.0 to 11.1.0
Bumps [commander](https://github.com/tj/commander.js) from 11.0.0 to 11.1.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v11.0.0...v11.1.0)

---
updated-dependencies:
- dependency-name: commander
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 07:26:36 +02:00
dependabot[bot]
d5a313fc03 chore(deps-dev): bump @types/web-push from 3.6.1 to 3.6.2
Bumps [@types/web-push](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/web-push) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/web-push)

---
updated-dependencies:
- dependency-name: "@types/web-push"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 07:24:45 +02:00
dependabot[bot]
36a683a36e chore(deps): bump bullmq from 4.12.3 to 4.12.5
Bumps [bullmq](https://github.com/taskforcesh/bullmq) from 4.12.3 to 4.12.5.
- [Release notes](https://github.com/taskforcesh/bullmq/releases)
- [Commits](https://github.com/taskforcesh/bullmq/compare/v4.12.3...v4.12.5)

---
updated-dependencies:
- dependency-name: bullmq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 07:24:32 +02:00
Nicolas Meienberger
f39232e1a7 refactor(cli): add spinner text when stopping and starting apps 2023-10-25 18:36:11 +02:00
Nicolas Meienberger
435ff66522 refactor(cli): use flush method for cleanLogs 2023-10-25 18:36:11 +02:00
Nicolas Meienberger
ef0298665c refactor(cli): improve help message for app commands 2023-10-25 18:36:11 +02:00
dependabot[bot]
2cdc7e2d5b chore(deps-dev): bump @types/cli-progress from 3.11.3 to 3.11.4
Bumps [@types/cli-progress](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/cli-progress) from 3.11.3 to 3.11.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/cli-progress)

---
updated-dependencies:
- dependency-name: "@types/cli-progress"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 22:58:14 +02:00
dependabot[bot]
0888e4a873 chore(deps-dev): bump @faker-js/faker from 8.1.0 to 8.2.0
Bumps [@faker-js/faker](https://github.com/faker-js/faker) from 8.1.0 to 8.2.0.
- [Release notes](https://github.com/faker-js/faker/releases)
- [Changelog](https://github.com/faker-js/faker/blob/next/CHANGELOG.md)
- [Commits](https://github.com/faker-js/faker/compare/v8.1.0...v8.2.0)

---
updated-dependencies:
- dependency-name: "@faker-js/faker"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 22:33:35 +02:00
Nicolas Meienberger
1925b0cb75 chore(cli): flush all logs when app is starting 2023-10-24 19:43:33 +02:00
dependabot[bot]
89fe3156a5 chore(deps-dev): bump vite from 4.4.11 to 4.5.0
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.4.11 to 4.5.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.0/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 19:40:50 +02:00
dependabot[bot]
8919700245 chore(deps): bump systeminformation from 5.21.11 to 5.21.13
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 5.21.11 to 5.21.13.
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v5.21.11...v5.21.13)

---
updated-dependencies:
- dependency-name: systeminformation
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 19:39:18 +02:00
Nicolas Meienberger
b85fbc3224 chore(cli): pull app store repo upon start 2023-10-23 21:57:55 +02:00
Nicolas Meienberger
1dd64af4ed chore(cli): generate APP_PROTOCOL env var even for http 2023-10-23 07:52:14 +02:00
Nicolas Meienberger
9f1e09098a feat(cli): add commands for starting and stopping apps 2023-10-23 07:46:37 +02:00
dependabot[bot]
f928b5a056 chore(deps): bump winston from 3.9.0 to 3.11.0
Bumps [winston](https://github.com/winstonjs/winston) from 3.9.0 to 3.11.0.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/v3.9.0...v3.11.0)

---
updated-dependencies:
- dependency-name: winston
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 08:02:14 +02:00
dependabot[bot]
57dc28f518 chore(deps): bump zod from 3.21.4 to 3.22.4
Bumps [zod](https://github.com/colinhacks/zod) from 3.21.4 to 3.22.4.
- [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.21.4...v3.22.4)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 07:38:47 +02:00
Nicolas Meienberger
abde5868ac chore: fix typo in ts 2023-10-16 20:21:23 +02:00
Nicolas Meienberger
2cff0de4ac fix(cli): flush cache before adding scheduled jobs 2023-10-15 13:54:41 +02:00
Nicolas Meienberger
1fb8b6409a refactor(cli): enable lazy connect for redis connexion 2023-10-14 21:28:28 +02:00
Nicolas Meienberger
5b28f50847 refactor: flush cache on start 2023-10-14 20:22:34 +02:00
Nicolas Meienberger
ab3409d411 chore(deps): install ioredis and swr 2023-10-14 20:22:34 +02:00
Nicolas Meienberger
bc8c4bfe88 chore: rename all reference of personal github account to new organization 2023-10-12 21:16:37 +02:00
Nicolas Meienberger
a3ce08bee3 refactor(cli): don't change permissions on media folder 2023-10-12 20:45:22 +02:00
Nicolas Meienberger
bbba17168b chore: bump dependencies 2023-10-10 22:37:58 +02:00
Nicolas Meienberger
0221021b84 tests(cli): include postgrest env vars in .env.test 2023-10-10 21:31:26 +02:00
Nicolas Meienberger
e0865f1326 chore: bump version to 2.0.6 2023-10-10 20:57:06 +02:00