Commit graph

36 commits

Author SHA1 Message Date
Nicolas Meienberger
427ffe0ff7 chore: remove nodemon and esbuild devDependencies 2023-08-28 22:01:40 +02:00
Nicolas Meienberger
a15a4f602a refactor: import from packages/shared and remove duplicate code 2023-08-16 21:53:59 +02:00
Nicolas Meienberger
f3d3cfac07 ci: fix dockerfile to copy tests folder 2023-06-28 22:46:18 +02:00
Nicolas Meienberger
1fce007e3f chore: bump node version to 18.16-alpine3.18 2023-06-10 11:15:35 +02:00
Nicolas Meienberger
3e9e7ce808 chore: bump node to 18.15 2023-04-20 08:10:56 +02:00
Nicolas Meienberger
f22e49f920 chore: remove everything prisma related 2023-04-19 20:40:18 +02:00
Nicolas Meienberger
48baba8cdc chore: change base image from node-buster-slim to node alpine 2023-03-28 22:44:03 +02: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
Nicolas Meienberger
59386e744a fix: remove user instruction in dockerfile 2022-12-15 23:13:58 +01:00
Nicolas Meienberger
ec8e422eb5 refactor(server): migrate to esbuild to have a smaller docker image size
Migrated the server build to esbuild in order to have one bundle for the whole app including the
used modules
2022-12-15 19:28:03 +00:00
Nicolas Meienberger
84ceb52088 feat: leverage next standalone output for smaller image size 2022-10-19 14:39:19 +02:00
Nicolas Meienberger
c67d92bdec fix: dockerfile issue 2022-10-08 02:15:52 +02:00
Nicolas Meienberger
5aa050a7d6 feat: add donate button in side menu 2022-10-06 18:33:02 +02:00
Nicolas Meienberger
56ede19cae refactor: use native alpine instead of node:alpine 2022-10-06 18:27:17 +02:00
Nicolas Meienberger
d91dedc580 fix: add make dependency in dockerfile 2022-10-05 23:39:38 +02:00
Nicolas Meienberger
09ebeb02bd fix: add g++ dependency in dockerfile 2022-10-05 23:21:11 +02:00
Nicolas Meienberger
e227e2fb2e fix(dockerfile): remove useless ubuntu commands 2022-10-05 22:49:43 +02:00
Nicolas Meienberger
3b0fc56563 feat: event base dispatcher to run commands from the host 2022-10-05 19:18:11 +02:00
Nicolas Meienberger
fad2f70064 refactore: change production to use ubuntu instead of alpine image 2022-09-29 22:28:41 +02:00
Nicolas Meienberger
655096a77f ci(dockerfile): revert to multi step build
Image size was doubled with the new Dockerfile -> revert
2022-09-06 13:51:38 +02:00
Nicolas Meienberger
4e19aad2f0 ci(release): move to node 18 image
SWC is not working anymore in alpine arm/v7
2022-09-06 08:25:25 +02:00
Nicolas Meienberger
f0607b5db0 chore: cleanup testing code 2022-09-04 14:51:58 +02:00
Nicolas Meienberger
bc95544846 refactor(docker): improve build for optimized caching
Only use one step inside the Dockerfile to avoid re-running everything in each pipeline
2022-08-25 10:23:35 +02:00
Nicolas Meienberger
5e5b28e2c8 wip: external repo for apps [skip ci] 2022-08-03 22:36:27 +02:00
Nicolas Meienberger
9f0d7cc49e chore: Remove useless packages 2022-06-30 15:52:55 +02:00
Nicolas Meienberger
37662b574b Adapt tests 2022-06-28 22:01:06 +02:00
Nicolas Meienberger
82fb49a684 Add lint:fix script 2022-06-23 00:08:49 +02:00
Nicolas Meienberger
62a12f1ab5 App actions GraphQL 2022-06-22 21:28:48 +02:00
Nicolas Meienberger
486b0fbb26 Update configure script with better support for sub os like raspian 2022-06-11 13:22:33 +02:00
Nicolas Meienberger
a2479b143c Remove gcc not supported in node image 2022-06-11 13:04:39 +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
680e6a5852 Add node-gyp before starting install in workflow 2022-06-11 11:49:51 +02:00
Nicolas Meienberger
ba155cc240 Update workflow 2022-06-10 22:04:56 +02:00
Nicolas Meienberger
f0f1da36ae WIP - New app store page 2022-06-03 22:42:23 +02:00