@@ -1,6 +1,9 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- release/*
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
@@ -17,6 +20,7 @@ jobs:
|
||||
outputs:
|
||||
changes: ${{ steps.filter.outputs.changes }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dorny/paths-filter@v3
|
||||
id: filter
|
||||
with:
|
||||
|
||||
@@ -4,45 +4,18 @@ on:
|
||||
push:
|
||||
tags:
|
||||
- "*.*.*"
|
||||
paths:
|
||||
- "tdrive/backend/node/**"
|
||||
- "tdrive/frontend/**"
|
||||
- "tdrive/connectors/onlyoffice-connector/**"
|
||||
- "tdrive/backend/utils/ldap-sync/**"
|
||||
- "tdrive/backend/utils/nextcloud-migration/**"
|
||||
- "tdrive/docker/**"
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
name: Setup jobs
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
targets: ${{ steps.filter.outputs.changes }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dorny/paths-filter@v3
|
||||
id: filter
|
||||
with:
|
||||
filters: |
|
||||
backend:
|
||||
- "tdrive/backend/node/**"
|
||||
frontend:
|
||||
- "tdrive/frontend/**"
|
||||
onlyoffice-connector:
|
||||
- "tdrive/connectors/onlyoffice-connector/**"
|
||||
ldap-sync:
|
||||
- "tdrive/backend/utils/ldap-sync/**"
|
||||
nextcloud-migration:
|
||||
- "tdrive/backend/utils/nextcloud-migration/**"
|
||||
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
targets: ${{ fromJSON(needs.setup.outputs.targets) }}
|
||||
targets:
|
||||
- backend
|
||||
- frontend
|
||||
- onlyoffice-connector
|
||||
- ldap-sync
|
||||
- nextcloud-migration
|
||||
fail-fast: false
|
||||
needs:
|
||||
- setup
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -5,6 +5,7 @@ on:
|
||||
branches:
|
||||
- main
|
||||
- feature-**
|
||||
- release/*
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
|
||||
@@ -1,3 +1,21 @@
|
||||
# Twake Drive v1.0.3
|
||||
|
||||
## Features
|
||||
|
||||
- Infinite scrolling in files list view
|
||||
- Sort files chronologically
|
||||
- Added Left and Right buttons in the preview gallery
|
||||
|
||||
## Fixes and Improvements
|
||||
|
||||
- Folders with large numbers of files now work
|
||||
- OIDC logout
|
||||
- Dark mode related fixes
|
||||
- Rework of share and permissions dialog
|
||||
- Removed Cassandra support
|
||||
- A large number of minor fixes
|
||||
- Translation of user notifications
|
||||
|
||||
# Twake Drive v1.0.2
|
||||
|
||||
## Features
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export default {
|
||||
current: /* @VERSION_DETAIL */ "1.0.2",
|
||||
current: /* @VERSION_DETAIL */ "1.0.3",
|
||||
minimal: {
|
||||
web: /* @MIN_VERSION_WEB */ "1.0.1",
|
||||
mobile: /* @MIN_VERSION_MOBILE */ "1.0.0",
|
||||
web: /* @MIN_VERSION_WEB */ "1.0.3",
|
||||
mobile: /* @MIN_VERSION_MOBILE */ "1.0.3",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Common node machine
|
||||
FROM node:lts-alpine as node-base
|
||||
FROM node:lts-alpine AS node-base
|
||||
|
||||
### Install dependencies
|
||||
RUN apk add --update-cache \
|
||||
@@ -13,13 +13,13 @@ WORKDIR /usr/src/app
|
||||
COPY backend/node/package*.json ./
|
||||
|
||||
# Test Stage
|
||||
FROM node-base as test
|
||||
FROM node-base AS test
|
||||
|
||||
RUN npm install
|
||||
COPY backend/node/ .
|
||||
|
||||
# Add frontend Stage
|
||||
FROM node-base as installed-libs
|
||||
FROM node-base AS installed-libs
|
||||
|
||||
COPY backend/node/ .
|
||||
#Install dev dependancies for build
|
||||
@@ -34,7 +34,7 @@ RUN rm -rf node_modules
|
||||
RUN npm ci --legacy-peer-deps
|
||||
|
||||
# Development Stage
|
||||
FROM installed-libs as development
|
||||
FROM installed-libs AS development
|
||||
|
||||
ENV NODE_ENV=development
|
||||
RUN npm install -g pino-pretty && \
|
||||
@@ -43,7 +43,7 @@ RUN npm install -g pino-pretty && \
|
||||
CMD ["npm", "run", "dev:debug"]
|
||||
|
||||
# Production Stage
|
||||
FROM installed-libs as production
|
||||
FROM installed-libs AS production
|
||||
|
||||
EXPOSE 4000
|
||||
CMD ["npm", "run", "serve"]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export default {
|
||||
version: /* @VERSION */ '1.0.2',
|
||||
version_detail: /* @VERSION_DETAIL */ '1.0.2',
|
||||
version: /* @VERSION */ '1.0.3',
|
||||
version_detail: /* @VERSION_DETAIL */ '1.0.3',
|
||||
version_name: /* @VERSION_NAME */ 'Ghost-Dog',
|
||||
};
|
||||
Reference in New Issue
Block a user