@@ -1,6 +1,9 @@
|
|||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- release/*
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths:
|
paths:
|
||||||
@@ -17,6 +20,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
changes: ${{ steps.filter.outputs.changes }}
|
changes: ${{ steps.filter.outputs.changes }}
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- uses: dorny/paths-filter@v3
|
- uses: dorny/paths-filter@v3
|
||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -4,45 +4,18 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "*.*.*"
|
- "*.*.*"
|
||||||
paths:
|
|
||||||
- "tdrive/backend/node/**"
|
|
||||||
- "tdrive/frontend/**"
|
|
||||||
- "tdrive/connectors/onlyoffice-connector/**"
|
|
||||||
- "tdrive/backend/utils/ldap-sync/**"
|
|
||||||
- "tdrive/backend/utils/nextcloud-migration/**"
|
|
||||||
- "tdrive/docker/**"
|
|
||||||
|
|
||||||
jobs:
|
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:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
targets: ${{ fromJSON(needs.setup.outputs.targets) }}
|
targets:
|
||||||
|
- backend
|
||||||
|
- frontend
|
||||||
|
- onlyoffice-connector
|
||||||
|
- ldap-sync
|
||||||
|
- nextcloud-migration
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
needs:
|
|
||||||
- setup
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- feature-**
|
- feature-**
|
||||||
|
- release/*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
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
|
# Twake Drive v1.0.2
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
export default {
|
export default {
|
||||||
current: /* @VERSION_DETAIL */ "1.0.2",
|
current: /* @VERSION_DETAIL */ "1.0.3",
|
||||||
minimal: {
|
minimal: {
|
||||||
web: /* @MIN_VERSION_WEB */ "1.0.1",
|
web: /* @MIN_VERSION_WEB */ "1.0.3",
|
||||||
mobile: /* @MIN_VERSION_MOBILE */ "1.0.0",
|
mobile: /* @MIN_VERSION_MOBILE */ "1.0.3",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Common node machine
|
# Common node machine
|
||||||
FROM node:lts-alpine as node-base
|
FROM node:lts-alpine AS node-base
|
||||||
|
|
||||||
### Install dependencies
|
### Install dependencies
|
||||||
RUN apk add --update-cache \
|
RUN apk add --update-cache \
|
||||||
@@ -13,13 +13,13 @@ WORKDIR /usr/src/app
|
|||||||
COPY backend/node/package*.json ./
|
COPY backend/node/package*.json ./
|
||||||
|
|
||||||
# Test Stage
|
# Test Stage
|
||||||
FROM node-base as test
|
FROM node-base AS test
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
COPY backend/node/ .
|
COPY backend/node/ .
|
||||||
|
|
||||||
# Add frontend Stage
|
# Add frontend Stage
|
||||||
FROM node-base as installed-libs
|
FROM node-base AS installed-libs
|
||||||
|
|
||||||
COPY backend/node/ .
|
COPY backend/node/ .
|
||||||
#Install dev dependancies for build
|
#Install dev dependancies for build
|
||||||
@@ -34,7 +34,7 @@ RUN rm -rf node_modules
|
|||||||
RUN npm ci --legacy-peer-deps
|
RUN npm ci --legacy-peer-deps
|
||||||
|
|
||||||
# Development Stage
|
# Development Stage
|
||||||
FROM installed-libs as development
|
FROM installed-libs AS development
|
||||||
|
|
||||||
ENV NODE_ENV=development
|
ENV NODE_ENV=development
|
||||||
RUN npm install -g pino-pretty && \
|
RUN npm install -g pino-pretty && \
|
||||||
@@ -43,7 +43,7 @@ RUN npm install -g pino-pretty && \
|
|||||||
CMD ["npm", "run", "dev:debug"]
|
CMD ["npm", "run", "dev:debug"]
|
||||||
|
|
||||||
# Production Stage
|
# Production Stage
|
||||||
FROM installed-libs as production
|
FROM installed-libs AS production
|
||||||
|
|
||||||
EXPOSE 4000
|
EXPOSE 4000
|
||||||
CMD ["npm", "run", "serve"]
|
CMD ["npm", "run", "serve"]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
export default {
|
export default {
|
||||||
version: /* @VERSION */ '1.0.2',
|
version: /* @VERSION */ '1.0.3',
|
||||||
version_detail: /* @VERSION_DETAIL */ '1.0.2',
|
version_detail: /* @VERSION_DETAIL */ '1.0.3',
|
||||||
version_name: /* @VERSION_NAME */ 'Ghost-Dog',
|
version_name: /* @VERSION_NAME */ 'Ghost-Dog',
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user