Commit graph

129 commits

Author SHA1 Message Date
Nicolas Meienberger
56c9d51d13 feat: create app update event 2023-08-16 21:53:59 +02:00
Nicolas Meienberger
77dd73bdb4 test: fix failing tests by adding mocks to bullmq 2023-08-16 21:53:59 +02:00
Nicolas Meienberger
583a982930 ci: refactor alpha release and update lock file 2023-08-16 21:53:59 +02:00
Nicolas Meienberger
08ec2b8ea0 ci: checkout code before creating tag 2023-08-05 16:29:21 +02:00
Nicolas Meienberger
2ed8fa934d ci: add alpha release workflow 2023-08-05 16:26:00 +02:00
Nicolas Meienberger
575a9a8fac ci: fix un-needed download-artifact 2023-06-28 23:10:45 +02:00
Nicolas Meienberger
be4a4f0aa0 ci: split build and tests 2023-06-28 23:10:45 +02:00
Nicolas Meienberger
c2f7f19b84 ci: fix un-needed download-artifact 2023-06-28 18:47:18 +02:00
Nicolas Meienberger
ca64b1b3c9 ci: split build and tests 2023-06-28 18:45:01 +02:00
Nicolas Meienberger
b972f7b6e8
Release/1.5.0 (#488) 2023-06-15 18:56:48 +02:00
Nicolas Meienberger
4eaf2c00c3 ci(e2e): extract branch name from github.ref instead of github.head_ref 2023-06-10 12:51:34 +02:00
Nicolas Meienberger
4264d3df3e ci: change e2e to trigger on push to branch release/* 2023-06-10 12:36:30 +02:00
Nicolas Meienberger
a728507882 test(apps.service): copy file and replace variables coverage 2023-06-08 23:21:07 +02:00
Nicolas Meienberger
36dafcbc6d ci: use e2e only on release branches 2023-06-08 08:22:59 +02:00
Nicolas Meienberger
70b6c20b29 test: add coverage for new features 2023-06-07 23:51:18 +02:00
Nicolas Meienberger
307726706a ci: add missing env LOCAL_DOMAIN 2023-06-07 23:51:18 +02:00
Nicolas Meienberger
a31ecca41a tests(e2e): refactor register user to insert directly in db 2023-06-03 19:18:18 +02:00
Nicolas Meienberger
6b6aba9545 ci: deploy e2e report to github pages 2023-06-03 19:18:18 +02:00
Nicolas Meienberger
c0d5e95d4c ci: run e2e tests on digital ocean droplet 2023-06-03 19:18:18 +02:00
Nicolas Meienberger
2aeacd7d14 ci: create playwright tests workflow
ci: make db and redis as github action services
2023-06-03 19:18:18 +02:00
Nicolas Meienberger
716b368f31 ci: refactor deprecated usages of set-output command 2023-05-31 08:38:35 +02:00
dependabot[bot]
c017d87c23 Bump actions/dependency-review-action from 1 to 3
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 1 to 3.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-31 08:26:15 +02:00
dependabot[bot]
18fd3493e1 Bump pnpm/action-setup from 2.2.2 to 2.2.4
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v2.2.2...v2.2.4)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-31 08:25:47 +02:00
dependabot[bot]
e59d26d26a Bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-31 08:11:56 +02:00
Nicolas Meienberger
84ac086678 chore: log redis errors to file 2023-04-13 23:45:19 +02:00
Nicolas Meienberger
2239b44574
Update release.yml 2023-03-02 20:42:33 +01:00
Nicolas Meienberger
c9aefc347f
Update release.yml 2023-03-02 20:39:01 +01:00
Nicolas Meienberger
041626291f
Update release.yml 2023-03-02 20:33:27 +01:00
Nicolas Meienberger
ea2ad85f8b
Update release.yml 2023-03-02 20:30:18 +01:00
Nicolas Meienberger
e2869b1759
ci(release): add workflow dispatch option
[skip ci]
2023-03-02 20:23:27 +01:00
Nicolas Meienberger
c04b2b870c
ci(rc): add workflow dispatch option
[skip ci]
2023-03-02 20:22:36 +01:00
Nicolas Meienberger
3925cfa7bb
Release/1.0.0 (#316)
* fix: create default media folder structure on install

* feat: add link to open exposed app to domain

* [ImgBot] Optimize images

*Total -- 2,048.42kb -> 1,263.43kb (38.32%)

/screenshots/darkmode.png -- 998.43kb -> 609.77kb (38.93%)
/screenshots/appstore.png -- 1,006.73kb -> 620.12kb (38.4%)
/packages/dashboard/public/error.png -- 42.38kb -> 32.70kb (22.84%)
/packages/dashboard/public/empty.svg -- 0.87kb -> 0.85kb (2.35%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

* chore: bump version 0.8.1

* refactor: move all dashboard's files into a client folder

* feat: setup trpc and create system router

* test: split jest config for client and server

* refactor: replace grapqhl queries with trpc in the frontend

* refactor: remove now un-used system queries/mutations/resolvers from both client and server

* chore: bump dependencies

* feat: setup prisma and configure it for tests and development

* feat: create trpc router for auth service

* refactor: migrate client auth queries to trpc procedures

* refactor: cleanup now un-used graphql resolvers and services

* feat: create sql migrations by replicating typeorm ones in an idempotent manner

* feat: create server-preload script to run migrations upon server start

* chore: remove legacy migrations steps

* feat: add redis_host as an env variable

* refactor: remove prisma from context and use client directly in service

* feat: create trpc router & service for apps

* refactor: migrate client app queries/mutations to trpc

* refactor: removal and replace usage of old graphql generated types

* refactor: move from node --require to custom next server

* test: fix tests and bump various dependencies

* chore: cleanup system-api from now un-used files

* refactor(dashboard): remove code related to apollo

* refactor: serve static files through next's server instead of system-api

* refactor(server): move auth and system services to class

* refactor(client): remove layoutv2 abstraction

* fix: return correct update info

* chore: remove legacy system-api folder

* refactor: remove system-api from docker files

* feat: create scheduler to run cron jobs and setup periodic repo update

* fix: failing build caused by remark-mdx

* refactor: move migrations to server folder

* feat: compile server using esbuild

* refactor: ts issue mis-used file from client in server

* ci: make pipeline pass by cd into dashboard before each step (temp)

* chore: drop armv7 support

* refactor: move dashboard files in root folder

* feat(db): create migration to add operator field on user

* feat(user): create routes and services for password reset

* feat(auth): add reset password page, container & form

* refactor(dashboard): change layout and page of auth to be url based instead of state based

* feat(script): add reset-password script

* fix(dashboard): only check status if restart or update has been requested

* test: increase coverage for get-server-auth-session

* fix(start.sh): prompt for network interface only if there is not an internal ip set

* feat(script): support user docker-compose.yml and app.env

* chore: bump version

* fix: add missing postgres variables to start script

* fix: check for 32 bits before installing/starting

* fix: create default media folder structure on install

* Updated demo instance link

Changed demo.runtipi.com to https://demo.runtipi.com

* feat: adding config for codespaces

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: Freddie Sackur <github@dustyfox.uk>
Co-authored-by: Kieran Klukas <92754843+kcoderhtml@users.noreply.github.com>
Co-authored-by: alwerner <alexander.werner@bonprix.net>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-03-02 20:19:20 +01:00
Andrew Brereton
7fa78a9953 fix: Use postgres:14 instead of postgres:latest (which resolves to postgres:15) because of a database version incompatibility error. This resolves #242 so master works again, however a better fix would be to upgrade from postgres 14 to 15. 2022-10-16 10:36:20 +11:00
Nicolas Meienberger
78cb3c36ad refactor: replace usage of config with new runtime config
wip: make script executable from everywhere
2022-09-21 22:59:33 +02:00
Nicolas Meienberger
51a75546e1 ci(ci.yml): add missing env var 2022-09-10 11:42:48 +02:00
Nicolas Meienberger
d8fdf224f6 ci(ci.yml): bump codecov version @v3 2022-08-23 23:12:45 +02:00
Nicolas Meienberger
2334cff67f ci: remove apps tests from pipeline
No longer needed since apps have moved to another repo
2022-08-04 23:05:47 +02:00
Nicolas Meienberger
d8af9c0eb6 update references to apps folder to use new repos structure 2022-08-04 21:17:21 +02:00
Nicolas Meienberger
05c8dff8e2 test: change test-db port to 5433 to be able to run it besides the main app 2022-07-28 19:48:25 +02:00
Nicolas Meienberger
a2d381ed1a Don't create release tags before publishing images [skip ci] 2022-07-20 19:33:52 +02:00
Nicolas Meienberger
4514d9e5ac Remove common package build from CI 2022-06-28 22:08:15 +02:00
Nicolas Meienberger
37662b574b Adapt tests 2022-06-28 22:01:06 +02:00
Nicolas Meienberger
62a12f1ab5 App actions GraphQL 2022-06-22 21:28:48 +02:00
Nicolas Meienberger
1b6117c013 Update README [skip ci] 2022-06-11 15:07:12 +02:00
Nicolas Meienberger
8d6e4165c6 ADD amd64, arm64 2022-06-11 14:23:12 +02:00
Nicolas Meienberger
3648bfefce Add gcc in build step 2022-06-11 13:02:39 +02:00
Nicolas Meienberger
9f859ef1a8 Add python workflow 2022-06-11 12:33:00 +02:00
Nicolas Meienberger
f70893fad1 Add node-pre-gyp and limit to arm/v7 2022-06-11 12:16:17 +02:00
Nicolas Meienberger
97093d32ae Update workflow 2022-06-10 23:38:36 +02:00
Nicolas Meienberger
21d986d61d Build common package first 2022-06-10 05:14:47 +00:00
Nicolas Meienberger
07061b6546 Add build step to CI workflow 2022-06-10 05:05:07 +00:00
Nicolas Meienberger
f0f1da36ae WIP - New app store page 2022-06-03 22:42:23 +02:00
Nicolas Meienberger
784ae1e833 Re-add QEMU setup for building arm/v7 2022-06-01 18:47:53 +02:00
Nicolas Meienberger
001905556b Update release workflow with cache features 2022-06-01 15:28:56 +02:00
Nicolas Meienberger
71aaa7f03b Test app configs 2022-05-24 18:45:16 +02:00
Nicolas Meienberger
6ac28c21b9 Fix workflow trigger 2022-05-23 06:49:05 +02:00
Nicolas Meienberger
635ac3fd60 Deactivate long-running workflow 2022-05-18 21:42:47 +02:00
Nicolas Meienberger
e196327c6a Add checkout to rc pipeline 2022-05-18 21:18:19 +02:00
Nicolas Meienberger
509ffb6ba2 Improve CI workflows for releases 2022-05-18 18:50:53 +02:00
Nicolas Meienberger
26279ab59d Allow a config only option for start script 2022-05-18 00:05:41 +02:00
Nicolas Meienberger
4b7293f7f6 Create user 1000 only if not exists 2022-05-17 23:28:06 +02:00
Nicolas Meienberger
11460c5f92 Add sudo for useradd pipeline 2022-05-17 23:23:26 +02:00
Nicolas Meienberger
153f537362 Merge develop 2022-05-17 23:21:25 +02:00
Nicolas Meienberger
f72f42de85 Fix tests & remove code smell 2022-05-17 18:57:54 +02:00
Nicolas Meienberger
4e03ca01f1 Move system-api in a docker comntainer 2022-05-17 12:51:59 +02:00
Nicolas Meienberger
0e7b0a0a3e WIP: System-api in docker container 2022-05-16 23:30:08 +02:00
Nicolas Meienberger
748611ed51 WIP: CI Test install 2022-05-16 21:29:02 +02:00
Nicolas Meienberger
33760e69bb WIP: CI Test install 2022-05-16 20:04:05 +02:00
Nicolas Meienberger
cfed6af052
Merge branch 'master' into release/0.0.1 2022-05-12 19:56:57 +00:00
Nicolas Meienberger
376d776171 Release workflow update 2022-05-12 21:56:08 +02:00
Nicolas Meienberger
5e5d5b020e Release Workflow 2022-05-12 21:53:07 +02:00
Nicolas Meienberger
bf2192a624
Merge pull request #17 from meienberger/tests/auth
Release
2022-05-12 19:50:58 +00:00
Nicolas Meienberger
c9c01969f2 Release Workflow 2022-05-12 21:49:34 +02:00
Nicolas Meienberger
0eb96f4458 Release Workflow 2022-05-12 21:37:28 +02:00
Nicolas Meienberger
70416a608d Add environment variable in CI pipeline 2022-05-12 21:12:35 +02:00
Nicolas Meienberger
371c6dde36 🤖 Tests: Authentication 2022-05-12 21:02:03 +02:00
Nicolas Meienberger
dc05949d3d
Create dependency-review.yml 2022-05-12 15:51:29 +00:00
Nicolas Meienberger
d9ab676671 Github CI workflow 2022-05-11 21:29:50 +02:00
Nicolas Meienberger
41d4f862f0 Github CI workflow 2022-05-11 21:25:59 +02:00