π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Fixes
Smaug67393db3eb7a9bbf
diff --git a/.github/workflows/deploy_to_prod.yml b/.github/workflows/deploy_to_prod.ymlindex e360b987..1f8bbff2 100755--- a/.github/workflows/deploy_to_prod.yml+++ b/.github/workflows/deploy_to_prod.yml@@ -23,8 +23,6 @@ jobs:run: |cd frontendbun install- cd ../dashboard- bun installcd ../backendbun install@@ -33,16 +31,6 @@ jobs:cd frontendbun run build- - name: Build dashboard- run: |- cd dashboard- bun run build-- - name: Build backend- run: |- cd backend- bun run build-- name: Set up SSHrun: |mkdir -p ~/.ssh@@ -60,18 +48,16 @@ jobs:- name: Create Archivesrun: |tar -czf frontend.tar.gz frontend/.output frontend/.env.production- tar -czf dashboard.tar.gz dashboard/.output dashboard/.env.productiontar -czf backend.tar.gz backend/dist backend/package.json backend/bun.lockb- name: Transfer Archivesrun: |scp -i deploy_key ecosystem.config.js ${SSH_USER}@"${INPUT_HOST}":"${INPUT_REMOTE}"scp -i deploy_key frontend.tar.gz ${SSH_USER}@"${INPUT_HOST}":"${INPUT_REMOTE}"- scp -i deploy_key dashboard.tar.gz ${SSH_USER}@"${INPUT_HOST}":"${INPUT_REMOTE}"scp -i deploy_key backend.tar.gz ${SSH_USER}@"${INPUT_HOST}":"${INPUT_REMOTE}"- name: Extract Archives on Remoterun: |- ssh -i deploy_key ${SSH_USER}@"${INPUT_HOST}" "cd ${INPUT_REMOTE} && tar -xzf frontend.tar.gz && tar -xzf dashboard.tar.gz && tar -xzf backend.tar.gz && rm frontend.tar.gz dashboard.tar.gz backend.tar.gz"+ ssh -i deploy_key ${SSH_USER}@"${INPUT_HOST}" "cd ${INPUT_REMOTE} && tar -xzf frontend.tar.gz&& tar -xzf backend.tar.gz && rm frontend.tar.gz"- name: Install dependencies for backendrun: |ssh -i deploy_key ${SSH_USER}@"${INPUT_HOST}" "source ~/.bashrc && cd ${INPUT_REMOTE} && cd backend && bun install --production"diff --git a/ecosystem.config.js b/ecosystem.config.jsindex 080f8d0c..b20dde8d 100644--- a/ecosystem.config.js+++ b/ecosystem.config.js@@ -8,7 +8,7 @@ module.exports = {NODE_ENV: "production",PORT: 8201,DOMAIN_CLIENT: "https://alexandrie-hub.fr",- DOMAIN_DASHBOARD: "https://dashboard.alexandrie-hub.fr",+ //DOMAIN_DASHBOARD: "https://dashboard.alexandrie-hub.fr",FRONT_DOMAIN: "alexandrie-hub.fr",},},@@ -21,7 +21,7 @@ module.exports = {PORT: 8200,},},- {+ /*{name: "alexandrie-dashboard",cwd: "./dashboard",script: "bun .output/server/index.mjs",@@ -29,6 +29,6 @@ module.exports = {NODE_ENV: "production",PORT: 8202,},- },+ },*/],};diff --git a/frontend/App.vue b/frontend/App.vueindex 8e6cc908..e34d6748 100644--- a/frontend/App.vue+++ b/frontend/App.vue@@ -1,7 +1,6 @@<template><div id="app">- <Navbar style="height: 60px" />- <NuxtPage style="overflow:auto;padding-top: 20px;" id="app-scroll" />+ <NuxtPage style="overflow:auto;padding-top: 50px;" id="app-scroll" /><div id="backdrop"></div><Notification /><ClientOnly>diff --git a/frontend/components/Navbar.vue b/frontend/components/Navbar.vuedeleted file mode 100644index 670e3f33..00000000--- a/frontend/components/Navbar.vue+++ /dev/null@@ -1,38 +0,0 @@-<template>- <header>- <span>- <svg v-if="hasSidebar" @click="toggleSidebar" class="open-sidebar" xmlns="http://www.w3.org/2000/svg" height="24"- viewBox="0 -960 960 960" width="24">- <path d="M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z" />- </svg>- </span>- <ThemeToggle />- </header>-</template>--<style lang="scss" scoped>-header {- width: 100%;- height: 100%;- display: flex;- justify-content: space-between;- padding: 15px;-}--.open-sidebar {- width: 30px;- height: 30px;- fill: var(--font-color);- cursor: pointer;-}--// Mobile styles-@media screen and (max-width: 719px) {- .no-mobile {- display: none;- }-}-</style>-<script lang="ts" setup>-const { toggleSidebar, hasSidebar } = useSidebar();-</script>\ No newline at end of filediff --git a/frontend/components/sidebar/Sidebar.vue b/frontend/components/sidebar/Sidebar.vueindex aa40c9e2..8c86e4f1 100644--- a/frontend/components/sidebar/Sidebar.vue+++ b/frontend/components/sidebar/Sidebar.vue@@ -2,7 +2,7 @@<Resizable><div class="sidebar-content"><section class="header">- <IconApp />+ <ThemeToggle /><NuxtLink style="font-size: 19px;font-weight: 600;" to="/">Dashboard</NuxtLink><IconClose class="btn" /></section>@@ -15,7 +15,6 @@import CollapseItem from './CollapseItem.vue';import Resizable from './Resizable.vue';import IconClose from './IconClose.vue';-import IconApp from './IconApp.vue';import { useCategoriesStore, useDocumentsStore, type Category } from '~/store';import { ItemsManager, type Item } from './tree_builder';import { navigationItems } from "./helpers";diff --git a/frontend/pages/index.vue b/frontend/pages/index.vueindex 9c66814b..f6606514 100644--- a/frontend/pages/index.vue+++ b/frontend/pages/index.vue@@ -20,12 +20,9 @@</div></div></div>-</main><footer><Logo />- <div class="footer-links none">- </div></footer></div></template>@@ -118,19 +115,4 @@ main {height: 350px;}}--footer {- display: flex;- align-items: center;- width: 100%;- padding: 1rem;- justify-content: space-between;-}--.footer-links {- margin-left: auto;- justify-content: space-between;- align-items: center;- gap: 0.5rem;-}</style>