Skip to content

Commit e0b76ff

Browse files
Merge pull request #1322 from fosrl/dev
1.9.0
2 parents cb95f02 + be5a9a8 commit e0b76ff

File tree

234 files changed

+17881
-5267
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+17881
-5267
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ LICENSE
2828
CONTRIBUTING.md
2929
dist
3030
.git
31+
config/

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,25 @@ updates:
3838
directory: "/"
3939
schedule:
4040
interval: "weekly"
41+
42+
- package-ecosystem: "gomod"
43+
directory: "/install"
44+
schedule:
45+
interval: "daily"
46+
groups:
47+
dev-patch-updates:
48+
dependency-type: "development"
49+
update-types:
50+
- "patch"
51+
dev-minor-updates:
52+
dependency-type: "development"
53+
update-types:
54+
- "minor"
55+
prod-patch-updates:
56+
dependency-type: "production"
57+
update-types:
58+
- "patch"
59+
prod-minor-updates:
60+
dependency-type: "production"
61+
update-types:
62+
- "minor"

.github/workflows/cicd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install Go
3131
uses: actions/setup-go@v5
3232
with:
33-
go-version: 1.23.0
33+
go-version: 1.24
3434

3535
- name: Update version in package.json
3636
run: |

.github/workflows/linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Node.js
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: '20'
26+
node-version: '22'
2727

2828
- name: Install dependencies
2929
run: |

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: '20'
18+
node-version: '22'
1919

2020
- name: Copy config file
2121
run: cp config/config.example.yml config/config.yml

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ next-env.d.ts
2626
migrations
2727
tsconfig.tsbuildinfo
2828
config/config.yml
29+
config/postgres
30+
config/postgres*
31+
config/openapi.yaml
32+
config/key
2933
dist
3034
.dist
3135
installer
@@ -34,4 +38,9 @@ bin
3438
.secrets
3539
test_event.json
3640
.idea/
41+
public/branding
3742
server/db/index.ts
43+
server/build.ts
44+
postgres/
45+
dynamic/
46+
certificates/

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributions are welcome!
44

55
Please see the contribution and local development guide on the docs page before getting started:
66

7-
https://docs.fossorial.io/development
7+
https://docs.digpangolin.com/development/contributing
88

99
### Licensing Considerations
1010

@@ -17,4 +17,4 @@ By creating this pull request, I grant the project maintainers an unlimited,
1717
perpetual license to use, modify, and redistribute these contributions under any terms they
1818
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
1919
represent that I have the right to grant this license for all contributed content.
20-
```
20+
```

Dockerfile.pg renamed to Dockerfile

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
1-
FROM node:20-alpine AS builder
1+
FROM node:22-alpine AS builder
22

33
WORKDIR /app
44

5+
ARG BUILD=oss
6+
ARG DATABASE=sqlite
7+
58
# COPY package.json package-lock.json ./
69
COPY package*.json ./
710
RUN npm ci
811

912
COPY . .
1013

11-
RUN echo 'export * from "./pg";' > server/db/index.ts
14+
RUN echo "export * from \"./$DATABASE\";" > server/db/index.ts
15+
16+
RUN echo "export const build = \"$BUILD\" as any;" > server/build.ts
1217

13-
RUN npx drizzle-kit generate --dialect postgresql --schema ./server/db/pg/schema.ts --out init
18+
RUN if [ "$DATABASE" = "pg" ]; then npx drizzle-kit generate --dialect postgresql --schema ./server/db/pg/schema.ts --out init; else npx drizzle-kit generate --dialect $DATABASE --schema ./server/db/$DATABASE/schema.ts --out init; fi
1419

15-
RUN npm run build:pg
20+
RUN npm run build:$DATABASE
1621
RUN npm run build:cli
1722

18-
FROM node:20-alpine AS runner
23+
FROM node:22-alpine AS runner
1924

2025
WORKDIR /app
2126

@@ -38,4 +43,4 @@ COPY server/db/names.json ./dist/names.json
3843

3944
COPY public ./public
4045

41-
CMD ["npm", "run", "start:pg"]
46+
CMD ["npm", "run", "start"]

Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-alpine
1+
FROM node:22-alpine
22

33
WORKDIR /app
44

0 commit comments

Comments
 (0)