Skip to content

v0.3.0 #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 280 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
280 commits
Select commit Hold shift + click to select a range
5d8f9d3
Create useNews.ts
AdenMGB Feb 1, 2025
d8e964e
feat(news): Added backend for news
AdenMGB Feb 1, 2025
f78b29b
feat(news) Added news page/sidebar
AdenMGB Feb 1, 2025
6c7866a
feat(news): Created article overview page
AdenMGB Feb 1, 2025
3a55075
feat(news): Created article full screen view
AdenMGB Feb 1, 2025
1ed1590
feat(news): Updated user for authoring articles
AdenMGB Feb 1, 2025
623ab7d
feat(DB): Updated DB for news articles to be stored in the DB
AdenMGB Feb 1, 2025
88453f1
feat(backend): Added backend communction between API & Frontend
AdenMGB Feb 1, 2025
8605381
feat(api): Added API for creating articles
AdenMGB Feb 1, 2025
2ef8f2f
feat(api): Added API for fetching news articles
AdenMGB Feb 1, 2025
1286248
feat(api): Added API for retriving information about a spesific news …
AdenMGB Feb 1, 2025
9344d94
feat(api): Added API for deleting news articles
AdenMGB Feb 1, 2025
256fbd6
fix(backend): Add forgotton migration for news storage
AdenMGB Feb 3, 2025
d4dd259
feat(acls): added backend acls
DecDuck Feb 4, 2025
ce88875
feat(acls): refactor & acl descriptions
DecDuck Feb 7, 2025
3afd36a
fix(droplet): add aarch64 optional packages
DecDuck Feb 8, 2025
d8d5b93
fix: home page now (temporarily) redirects to store
DecDuck Feb 8, 2025
a64a247
feat: migrate to tailwind v4 and fix user token API
DecDuck Feb 14, 2025
090d2e6
feat(acls): added backend acls
DecDuck Feb 4, 2025
0877638
feat(acls): refactor & acl descriptions
DecDuck Feb 7, 2025
b6189d1
fix(droplet): add aarch64 optional packages
DecDuck Feb 8, 2025
97792f0
fix: home page now (temporarily) redirects to store
DecDuck Feb 8, 2025
31aaec7
feat: migrate to tailwind v4 and fix user token API
DecDuck Feb 14, 2025
1ce7077
fix: decduck's code review
DecDuck Mar 10, 2025
a1f65b7
Merge branch 'AdenMGB-develop' into develop
DecDuck Mar 10, 2025
b6f52f6
fix: unmerged changes
DecDuck Mar 10, 2025
1eede0f
fix: news frontend
DecDuck Mar 10, 2025
1335035
feat: client collection routes
DecDuck Mar 10, 2025
88aaa2a
fix: add aarch64 tag to runner
DecDuck Mar 10, 2025
9608cc9
fix: re-enable metadata providers
DecDuck Mar 11, 2025
c3ee948
fix: store page styling
DecDuck Mar 11, 2025
9515a21
feat: move article creation into a modal
DecDuck Mar 11, 2025
137241f
fix: notifications and store styling
DecDuck Mar 11, 2025
0f0874c
feat: file uploads on news articles
DecDuck Mar 11, 2025
9d07070
feat: add news client routes
DecDuck Mar 11, 2025
ffc1537
feat: partial work on home admin page
DecDuck Mar 11, 2025
789361e
feat: add mac as platform
DecDuck Mar 11, 2025
d9218de
fix: Update README.md with discord link
Jan 8, 2025
793b57a
chore: Update changelog.md
quexeky Jan 25, 2025
d2b4854
gracefully disable metadata provider when api key is missing
Huskydog9988 Mar 10, 2025
4b4e067
cleanup giantbomb provider
Huskydog9988 Mar 10, 2025
2ca96c3
note that you need to init submodules
Huskydog9988 Mar 11, 2025
08164ca
add pcgamingwiki as metadata source
Huskydog9988 Mar 11, 2025
2b7bc69
add content security policy to allow showing remote images for game i…
Huskydog9988 Mar 12, 2025
2755aa4
in progress igdb
Huskydog9988 Mar 12, 2025
77d06df
fix manual metadata fetching publishers +types
Huskydog9988 Mar 12, 2025
bf7eb5b
fix issue in igdb where company isn't found
Huskydog9988 Mar 12, 2025
4e8cffd
make pcgamig wiki types match api return
Huskydog9988 Mar 12, 2025
7a3b30b
accidently commited secret from testing lol (revoked)
Huskydog9988 Mar 12, 2025
f8ae5b7
automate twitch credential refresh
Huskydog9988 Mar 12, 2025
0ca9a3b
feat: database level metadata provider init
DecDuck Mar 13, 2025
8fc3793
Merge branch 'metadata-improvements' of https://github.com/Huskydog99…
DecDuck Mar 13, 2025
58f91f4
Merge branch 'Huskydog9988-metadata-improvements' into develop
DecDuck Mar 13, 2025
3225f53
feat: lazy init igdb
DecDuck Mar 13, 2025
bd1cb67
feat: user page & $dropFetch util
DecDuck Mar 14, 2025
1de9ebd
feat: refactor news and migrate rest of useFetch to $dropFetch
DecDuck Mar 14, 2025
1ad1ebb
merge: husky updates
DecDuck Mar 14, 2025
fce084f
Merge branch 'Huskydog9988-perf-improvements/fetch' into develop
DecDuck Mar 14, 2025
3527f67
fix: remove @nuxt/content
DecDuck Mar 14, 2025
98c8258
fix?: https redirection issues
DecDuck Mar 14, 2025
61764e8
store certs in db
Huskydog9988 Mar 14, 2025
cf0af15
store sessions in db
Huskydog9988 Mar 14, 2025
88a5dc2
add migrations to store ca and session in db
Huskydog9988 Mar 14, 2025
66400f4
fix(webui): Fix forcably redirecting to https
AdenMGB Mar 14, 2025
19d1a9d
style(library): complete restyling to match client library
AdenMGB Mar 14, 2025
c052511
fix(library): Use $dropFetch util
AdenMGB Mar 14, 2025
cd93ba2
massive perf improvements
Huskydog9988 Mar 15, 2025
6918e78
fix: macos and rate limiting
DecDuck Mar 15, 2025
d4d1eaf
Merge branch 'develop' into perf-fixes
Huskydog9988 Mar 16, 2025
e8afa27
fix: platformparse case sensitivity
Huskydog9988 Mar 20, 2025
573bf87
Merge pull request #27 from Huskydog9988/cleanup-platform-parse
DecDuck Mar 20, 2025
6ed7e76
move auth pages into auth dir
Huskydog9988 Mar 22, 2025
e08a13f
add sharp for ipx
Huskydog9988 Mar 22, 2025
2027c69
fix signout
Huskydog9988 Mar 22, 2025
2c9fdeb
new accounts use argon2
Huskydog9988 Mar 22, 2025
257cdac
make signup less error prone in db
Huskydog9988 Mar 22, 2025
c1272dc
use arktype for clientside validation
Huskydog9988 Mar 22, 2025
87f01a9
Merge pull request #26 from Huskydog9988/perf-fixes
DecDuck Mar 22, 2025
690aa04
switch back to json
Huskydog9988 Mar 24, 2025
f9e6702
Merge branch 'develop' into auth-overhaul
Huskydog9988 Mar 24, 2025
1f30960
address some issues
Huskydog9988 Mar 24, 2025
5704289
move register to auth path
Huskydog9988 Mar 24, 2025
cb4937b
Merge pull request #28 from Huskydog9988/auth-overhaul
DecDuck Mar 24, 2025
1996b97
refactor: use hash directly in authmek and version field on authmek
DecDuck Mar 24, 2025
e4e1c66
fix: public assets
DecDuck Mar 24, 2025
58d5581
feat: github build
DecDuck Mar 26, 2025
f5e5232
nightly builds and fix drop repo
Huskydog9988 Mar 26, 2025
2cfc2ce
Merge pull request #29 from Huskydog9988/patch-1
DecDuck Mar 26, 2025
96a1199
fix: update dockerfile to debian 12
DecDuck Mar 27, 2025
c7af02c
fix: update dockerfile & use NPM droplet
DecDuck Mar 30, 2025
e3022bc
fix: add submodules
DecDuck Mar 30, 2025
5384759
fix: update workflow to recurse submodules properly
DecDuck Mar 30, 2025
eec709a
fix: recreate lockfile
DecDuck Mar 31, 2025
01171d7
fix: pin nuxt to 3.15.4 and recreate lockfile
DecDuck Mar 31, 2025
7974361
fix: potential fix for timeout: switch to full image from slim
DecDuck Mar 31, 2025
7c420ba
fix: revert previous and add yarn clean/configs
DecDuck Mar 31, 2025
f1c932b
fix: remove previous fix and add longer yarn install timeout
DecDuck Mar 31, 2025
1048653
fix: $dropFetch SSR and rate limiting
DecDuck Apr 1, 2025
3b4f940
feat: slight optimisation with removing from collection
DecDuck Apr 1, 2025
47dc364
Merge branch 'develop' of https://github.com/AdenMGB/drop into AdenMG…
DecDuck Apr 1, 2025
6f8e28d
fix: sidebar in library page
DecDuck Apr 1, 2025
68f5f88
fix: carousel pagination
DecDuck Apr 1, 2025
c809c8f
fix: re-request fix for $dropFetch
DecDuck Apr 1, 2025
d729770
fix: register redirect
DecDuck Apr 1, 2025
17372a9
feat: account pages framework & updates to library
DecDuck Apr 1, 2025
e7109e5
feat: update readme
DecDuck Apr 1, 2025
36e6c92
feat: add cloud save backend
DecDuck Apr 1, 2025
065951d
fix: update last accessed client on push
DecDuck Apr 1, 2025
57f50b0
fix: renable nuxt-security with xss validator off
DecDuck Apr 1, 2025
0f35d4a
feat: cache for session store in db
Huskydog9988 Apr 2, 2025
9dc35c8
Merge branch 'develop' into db-store
Huskydog9988 Apr 3, 2025
756bf8f
fix: add missing dev deps
Huskydog9988 Apr 3, 2025
97043d6
fix: register page validation
Huskydog9988 Apr 3, 2025
a9d1a44
refactor: session handler
Huskydog9988 Apr 3, 2025
81be7cc
Merge remote-tracking branch 'origin/develop' into db-store
Huskydog9988 Apr 3, 2025
088cb68
chore: apply schema changes to db
DecDuck Apr 3, 2025
2a85322
Merge branch 'Huskydog9988-db-store' into develop
DecDuck Apr 3, 2025
82baeb9
feat: add `yarn typecheck` and fix all types
DecDuck Apr 4, 2025
7141735
fix: auth prerender
Huskydog9988 Apr 4, 2025
8d88728
feat: typecheck in dev
Huskydog9988 Apr 4, 2025
b6d05a6
ci: don't mark nightly container as latest
Huskydog9988 Apr 4, 2025
7df175b
ci: update actions versions
Huskydog9988 Apr 4, 2025
2be0e2f
ci: add typecheck ci
Huskydog9988 Apr 4, 2025
931913b
ci: drop PAT_TOKEN
Huskydog9988 Apr 4, 2025
b22681c
fix: fix types, remove @nuxt/image because of broken types
DecDuck Apr 5, 2025
b2327b2
Merge branch 'better-ci' of https://github.com/Huskydog9988/drop into…
DecDuck Apr 5, 2025
1987c57
Merge branch 'Huskydog9988-better-ci' into develop
DecDuck Apr 5, 2025
a47615a
refactor: move game id fetch to index
DecDuck Apr 5, 2025
114d235
fix: remove legacy metadata client routes
DecDuck Apr 5, 2025
0edfdbd
fix: return user library for client
DecDuck Apr 5, 2025
7263ec5
fix: remove weird import
DecDuck Apr 5, 2025
2cbee3d
feat: add ability to review and revoke clients
DecDuck Apr 5, 2025
54b3bc3
fix: devices page for mobile
DecDuck Apr 5, 2025
d6d457f
fix: generate prisma types on install (like nuxt)
Huskydog9988 Apr 6, 2025
4fd2b15
fix: type error in devices page
Huskydog9988 Apr 6, 2025
17d3e0e
refactor: use node crypto uuid
Huskydog9988 Apr 6, 2025
0b9d0a4
fix: don't use npm crypto
Huskydog9988 Apr 6, 2025
9242a81
fix: don't prerender auth routes
Huskydog9988 Apr 6, 2025
fd11d41
chore: updates prisma and bycryptjs
Huskydog9988 Apr 6, 2025
fe82c78
refactor: remove momentjs
Huskydog9988 Apr 6, 2025
372a9bd
fix: devices page (reactivity and relative timestamps)
DecDuck Apr 7, 2025
5ceff44
Merge branch 'Huskydog9988-more-fixes' into develop
DecDuck Apr 7, 2025
9584d69
fix: add tsignore pending upstream fix
DecDuck Apr 7, 2025
6ea50bf
fix: store page released date
DecDuck Apr 7, 2025
043ef6d
fix: remove debug values from game carousel
DecDuck Apr 7, 2025
7400fae
fix: use nuxtlink instaed of a tag
Huskydog9988 Apr 7, 2025
657fd50
fix: missing html attributes
Huskydog9988 Apr 7, 2025
106b3f6
feat: sleak transition from store page to item
Huskydog9988 Apr 7, 2025
f9b774d
fix: wordmark causing page refresh
Huskydog9988 Apr 7, 2025
e572b61
fix: gamecarousel not resizing
Huskydog9988 Apr 7, 2025
66d1413
fix: gamecarousel layout shifts (mostly)
Huskydog9988 Apr 7, 2025
9d943bc
feat: add etag to object response
Huskydog9988 Apr 7, 2025
e4aeaee
refactor: move tsconfig to nuxt config
Huskydog9988 Apr 7, 2025
12ba416
feat: enable nuxt dev tools
Huskydog9988 Apr 7, 2025
30e3e72
chore: drop unused dep
Huskydog9988 Apr 7, 2025
4c3413a
feat: add nonce to scripts
Huskydog9988 Apr 8, 2025
fdffd9a
feat: add skeleton for loading game carousel
Huskydog9988 Apr 8, 2025
e7566a6
feat: upgrade to nuxt 3.16
Huskydog9988 Apr 8, 2025
42349ad
feat: allow client-based web tokens
DecDuck Apr 8, 2025
c4d8b24
feat: hash objects for etag value
Huskydog9988 Apr 9, 2025
35a2d98
fix: don't use stream package
Huskydog9988 Apr 10, 2025
ca03be7
fix: don't add write perms, users can only delete objects
Huskydog9988 Apr 10, 2025
04c56fd
chore: update @types/bcryptjs
Huskydog9988 Apr 10, 2025
dc89ff9
feat: make internal objectbackend methods private
Huskydog9988 Apr 10, 2025
228d109
fix: incorrect perms when deleting objects
Huskydog9988 Apr 11, 2025
22a7cfa
feat: save fs objectbackend hashes
Huskydog9988 Apr 12, 2025
f384492
fix: missing key in loops
Huskydog9988 Apr 12, 2025
c2bb835
fix: etags and other
DecDuck Apr 14, 2025
96742cc
Merge branch 'Huskydog9988-more-ui-work' into develop
DecDuck Apr 14, 2025
ff1255f
feat: add eslint and prettier
Huskydog9988 Apr 8, 2025
d4b89b5
fix: inital eslint errors
Huskydog9988 Apr 14, 2025
86c2d00
feat: add lint ci job
Huskydog9988 Apr 14, 2025
e362f73
fix: more eslint issues
Huskydog9988 Apr 14, 2025
8f429e1
fix: eslint errors, switch to using maps
Huskydog9988 Apr 16, 2025
8e109dd
fix: more eslint stuff
Huskydog9988 Apr 16, 2025
d361e01
fix: last eslint errors
Huskydog9988 Apr 16, 2025
87215c4
chore: prettier pass
Huskydog9988 Apr 16, 2025
456902c
fix: type error in $dropFetch
Huskydog9988 Apr 16, 2025
582acfb
fix: missing components errors
Huskydog9988 Apr 16, 2025
8eec8b1
fix: userwidget not opening
Huskydog9988 Apr 18, 2025
26abb75
ci: add prefix to branch based docker tags
Huskydog9988 Apr 18, 2025
86c7aa3
fix: don't set own script csp
Huskydog9988 Apr 18, 2025
dada379
Merge pull request #37 from Huskydog9988/eslint
DecDuck Apr 19, 2025
a9d8ddc
fix: prisma schema folder location
DecDuck Apr 19, 2025
ec6d38d
fix: copy package.json to Dockerfile
DecDuck Apr 19, 2025
0a270b2
fix: prisma migrations in docker
DecDuck Apr 20, 2025
fd4ec3f
Update release.yml
DecDuck Apr 20, 2025
3b1d042
feat: log metadata error if fail
DecDuck Apr 20, 2025
a5facbd
fix: misc fixes
DecDuck Apr 20, 2025
feedcfc
fix: metadata init issues
DecDuck Apr 20, 2025
31ad850
fix: task api and other small issues
DecDuck Apr 20, 2025
f1f19c8
feat: run tasks at startup
Huskydog9988 Apr 24, 2025
c449b45
chore: remove redundant omitApi prisma option
Huskydog9988 Apr 24, 2025
a47debd
fix: notification rendering
DecDuck May 6, 2025
c0c55d3
fix: signout route
DecDuck May 7, 2025
770294d
fix: ignore error if we are unable to blacklist certificate
DecDuck May 7, 2025
e8633ce
fix: signout, again
DecDuck May 7, 2025
19ff73c
feat: oidc
DecDuck May 7, 2025
07b34c8
refactor: homepage link in header
Huskydog9988 May 7, 2025
1f510be
Merge branch 'develop' of https://github.com/Huskydog9988/drop into m…
Huskydog9988 May 7, 2025
30b065d
fix: eslint error and server plugin name
Huskydog9988 May 7, 2025
5aa0899
docs: why timeline was disabled
Huskydog9988 May 8, 2025
731499b
feat: unified cache handler
Huskydog9988 May 8, 2025
1db2229
fix: edgecase where object hash isn't read
Huskydog9988 May 8, 2025
952df56
chore: remove fsbackend console logs
Huskydog9988 May 8, 2025
bfa2c0a
feat: add oidc to admin panel
DecDuck May 8, 2025
e3ed60f
feat: add oidc to admin panel
DecDuck May 8, 2025
733aee3
fix: convert socket sessions to cacheHandler
DecDuck May 8, 2025
29f3094
Merge branch 'Huskydog9988-more-stuff' into develop
DecDuck May 8, 2025
125fe9e
fix: remove jank prisma script, and move to generated prisma client
DecDuck May 8, 2025
48f796a
fix: update prisma schema and path
DecDuck May 8, 2025
0d02be2
fix: refactor prisma multifolder into docs example
DecDuck May 8, 2025
6d35e26
fix: switch prisma schema type
DecDuck May 8, 2025
f8dc3fe
fix: swap order of nuxt and prisma generations
DecDuck May 8, 2025
464af37
chore: warn when metadata fails
DecDuck May 8, 2025
92a98a5
fix: add prisma binary targets
DecDuck May 8, 2025
0f773a9
fix: docker build
DecDuck May 8, 2025
2fb909f
Revert "fix: convert socket sessions to cacheHandler"
DecDuck May 8, 2025
143846c
fix: revert session store
DecDuck May 8, 2025
f9f437d
feat: basic screenshot manager
Huskydog9988 May 8, 2025
471e85d
fix: missing metadata preventing game import
Huskydog9988 May 8, 2025
1a2d3c8
feat: manually edit search term for game import
Huskydog9988 May 8, 2025
597a226
feat: identify unused objects
Huskydog9988 May 8, 2025
bf691a7
feat: minimum support for unrefed object cleanup
Huskydog9988 May 8, 2025
df291c3
fix: linting errors
Huskydog9988 May 8, 2025
7e5e7b0
feat: finish migrating to new objectid naming
Huskydog9988 May 8, 2025
3a9eb82
fix: fix invitation register url
DecDuck May 9, 2025
b681476
feat: unified company metadata store
Huskydog9988 May 9, 2025
17e4734
fix: pcgamingwiki not parsing company websites
Huskydog9988 May 9, 2025
1f41e52
feat: update search style
DecDuck May 10, 2025
836ba33
feat: basic screenshot manager
Huskydog9988 May 8, 2025
0c48d42
fix: missing metadata preventing game import
Huskydog9988 May 8, 2025
aa3105a
feat: manually edit search term for game import
Huskydog9988 May 8, 2025
dbded55
feat: identify unused objects
Huskydog9988 May 8, 2025
52a7de0
feat: minimum support for unrefed object cleanup
Huskydog9988 May 8, 2025
7f7d8c8
fix: linting errors
Huskydog9988 May 8, 2025
14f0833
feat: finish migrating to new objectid naming
Huskydog9988 May 8, 2025
afaaaf2
feat: unified company metadata store
Huskydog9988 May 9, 2025
cbf480b
fix: pcgamingwiki not parsing company websites
Huskydog9988 May 9, 2025
d6830c3
feat: update search style
DecDuck May 10, 2025
ac35591
Merge branch 'Huskydog9988-further-improvements' into develop
DecDuck May 10, 2025
9027765
feat: rework developer/publisher system
DecDuck May 10, 2025
a0bc4bb
feat: refactored into separate metadata and library pages
DecDuck May 10, 2025
ce0e21b
Update README.md
DecDuck May 12, 2025
086664a
Update README.md
DecDuck May 12, 2025
1dba112
feat: separate library and metadata pages, notification acls
DecDuck May 15, 2025
1d141c1
fix: apply notification acls to live notifications
DecDuck May 15, 2025
6dad3ae
chore: style
DecDuck May 15, 2025
8e3ae01
feat: backend inline capability registration
DecDuck May 15, 2025
ce27f76
fix: openid redirect auth query
DecDuck May 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated
* text=auto eol=lf
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI

on: [pull_request, push]

jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
submodules: true

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: "yarn"

- name: Install dependencies
run: yarn install --immutable --network-timeout 1000000

- name: Typecheck
run: yarn typecheck

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
submodules: true

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: "yarn"

- name: Install dependencies
run: yarn install --immutable --network-timeout 1000000

- name: Lint
run: yarn lint
68 changes: 68 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Release Workflow

on:
workflow_dispatch: {}
release:
types: [published]
# This can be used to automatically publish nightlies at UTC nighttime
schedule:
- cron: "0 2 * * *" # run at 2 AM UTC

jobs:
web:
name: Push website Docker image to registry
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug

- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/drop-OSS/drop
tags: |
type=schedule,pattern=nightly
type=semver,pattern=v{{version}}
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern=v{{major}}
type=ref,event=branch,prefix=branch-
type=ref,event=pr
type=sha
# set latest tag for stable releases
type=raw,value=latest,enable=${{ github.event_name == 'release' && github.event.release.prerelease == false }}

- name: Build and push image
id: build-and-push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ logs
# deploy template
deploy-template/*

!deploy-template/compose.yml
!deploy-template/compose.yml

# generated prisma client
/prisma/client
23 changes: 23 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,26 @@ build:
docker image tag $IMAGE_NAME $PUBLISH_LATEST_IMAGE_NAME
docker push $PUBLISH_IMAGE_NAME $PUBLISH_LATEST_IMAGE_NAME
fi

build-arm64:
stage: build
image: arm64v8/docker:latest
tags:
- aarch64
variables:
IMAGE_NAME: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_NAME:$CI_COMMIT_SHORT_SHA-arm64
LATEST_IMAGE_NAME: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_NAME:latest-arm64
PUBLISH_IMAGE_NAME: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG-arm64
PUBLISH_LATEST_IMAGE_NAME: $CI_REGISTRY_IMAGE:latest-arm64
script:
- docker build -t $IMAGE_NAME . --platform=linux/arm64
- docker image tag $IMAGE_NAME $LATEST_IMAGE_NAME
- docker push $IMAGE_NAME
- docker push $LATEST_IMAGE_NAME
- |
if [ $CI_COMMIT_TAG ]; then
docker image tag $IMAGE_NAME $PUBLISH_IMAGE_NAME
docker image tag $IMAGE_NAME $PUBLISH_LATEST_IMAGE_NAME
docker push $PUBLISH_IMAGE_NAME
docker push $PUBLISH_LATEST_IMAGE_NAME
fi
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
drop-base/
35 changes: 19 additions & 16 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
{
"spellchecker.ignoreWordsList": [
"mTLS",
"Wireguard"
],
"sqltools.connections": [
{
"previewLimit": 50,
"server": "localhost",
"port": 5432,
"driver": "PostgreSQL",
"name": "drop",
"database": "drop",
"username": "drop",
"password": "drop"
}
]
"spellchecker.ignoreWordsList": ["mTLS", "Wireguard"],
"sqltools.connections": [
{
"previewLimit": 50,
"server": "localhost",
"port": 5432,
"driver": "PostgreSQL",
"name": "drop",
"database": "drop",
"username": "drop",
"password": "drop"
}
],
// allow autocomplete for ArkType expressions like "string | num"
"editor.quickSuggestions": {
"strings": "on"
},
// prioritize ArkType's "type" for autoimports
"typescript.preferences.autoImportSpecifierExcludeRegexes": ["^(node:)?os$"]
}
1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

27 changes: 17 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ TODO: Add Troubleshooting
If not, look at the [Troubleshooting](https://github.com/Drop-OSS/docs/Troubleshooting)
page for instructions on how to gather data to better debug your problem.
-->
If you cannot find an existing issue, you can go ahead and create an issue with as much

If you cannot find an existing issue, you can go ahead and create an issue with as much
detail as you can provide.
It should include the data gathered as indicated above, along with the following:

Expand Down Expand Up @@ -69,7 +70,8 @@ maintainers) by mentioning their GitHub handle (starting with `@`) in your messa
### Getting started

You should be familiar with the basics of
[contributing on GitHub](https://help.github.com/articles/using-pull-requests)
[contributing on GitHub](https://help.github.com/articles/using-pull-requests)

<!--and have a fork
[properly set up](https://github.com/drop/docs/Contribution-Technical-Practices).
-->
Expand All @@ -95,8 +97,8 @@ maintainers) by mentioning their GitHub handle (starting with `@`) in your messa

### You have an addition

We are absolutely accepting more contributions or features to drop, but please, make sure
that it is reasonable. Contributions that only cover a very small niche are likely to not
We are absolutely accepting more contributions or features to drop, but please, make sure
that it is reasonable. Contributions that only cover a very small niche are likely to not
be added.

Please be so kind as to [search](#use-the-search-luke) for any pending, merged or rejected Pull Requests
Expand All @@ -109,7 +111,7 @@ maintainers) by mentioning their GitHub handle (starting with `@`) in your messa

For any extensive change, such as API changes, you will have to find testers to +1 your PR.

----
---

## Use the Search, Luke

Expand All @@ -126,7 +128,7 @@ to be sure your contribution has not already come up.
If all fails, your thing has probably not been reported yet, so you can go ahead
and [create an issue](#reporting-issues) or [submit a PR](#submitting-pull-requests).

----
---

## Commit Guidelines

Expand Down Expand Up @@ -161,11 +163,13 @@ type(scope)!: subject
Examples:

- Commit that changes the `git` plugin:

```
feat(git): add alias for `git commit`
```

- Commit that changes many plugins:

```
style: fix inline declaration of arrays
```
Expand Down Expand Up @@ -203,6 +207,7 @@ type(scope)!: subject
Formatting tricks: the commit subject may contain:

- Links to related issues or PRs by writing `#issue`. This will be highlighted by the changelog tool:

```
feat(archlinux): add support for aura AUR helper (#9467)
```
Expand All @@ -219,7 +224,7 @@ Try to keep the first commit line short. It's harder to do using this commit sty
concise, and if you need more space, you can use the commit body. Try to make sure that the commit
subject is clear and precise enough that users will know what changed by just looking at the changelog.

----
---

<!--
## Volunteer
Expand All @@ -229,7 +234,9 @@ Very nice!! :)
Please have a look at the [Volunteer](https://github.com/ohmyzsh/ohmyzsh/wiki/Volunteers)
page for instructions on where to start and more.
-->

## Reference
This contributing guide is adapted from the
[oh-my-zsh contribution guide](https://github.com/ohmyzsh/ohmyzsh/blob/master/CONTRIBUTING.md).
If there are any issues with this, please email [email protected].

This contributing guide is adapted from the
[oh-my-zsh contribution guide](https://github.com/ohmyzsh/ohmyzsh/blob/master/CONTRIBUTING.md).
If there are any issues with this, please email [email protected].
22 changes: 12 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
# pull pre-configured and updated build environment
FROM registry.deepcore.dev/drop-oss/drop-server-build-environment/main:latest AS build-system
FROM debian:testing-20250317-slim AS build-system

# setup workdir
RUN mkdir /build
WORKDIR /build
# setup workdir - has to be the same filepath as app because fuckin' Prisma
WORKDIR /app

# install dependencies and build
RUN apt-get update -y
RUN apt-get install node-corepack -y
RUN corepack enable
COPY . .
RUN NUXT_TELEMETRY_DISABLED=1 yarn install
RUN NUXT_TELEMETRY_DISABLED=1 yarn install --network-timeout 1000000
RUN NUXT_TELEMETRY_DISABLED=1 yarn prisma generate
RUN NUXT_TELEMETRY_DISABLED=1 yarn build

# create run environment for Drop
FROM node:lts-slim AS run-system

RUN mkdir /app
WORKDIR /app

COPY --from=build-system /build/.output ./app
COPY --from=build-system /build/prisma ./prisma
COPY --from=build-system /build/build ./startup
COPY --from=build-system /app/.output ./app
COPY --from=build-system /app/prisma ./prisma
COPY --from=build-system /app/package.json ./
COPY --from=build-system /app/build ./startup

# OpenSSL as a dependency for Drop (TODO: seperate build environment)
RUN apt-get update -y && apt-get install -y openssl
RUN yarn global add prisma
RUN yarn global add prisma@6.7.0

CMD ["/app/startup/launch.sh"]
Loading
Loading