63 Commits

Author SHA1 Message Date
DecDuck
00adab21c2 Game specialisation & delta versions (#323)
* feat: game specialisation, auto-guess extensions

* fix: enforce specialisation specific schema at API level

* fix: lint

* feat: partial work on depot endpoints

* feat: bump torrential

* feat: dummy version creation for depot uploads

* fix: lint

* fix: types

* fix: lint

* feat: depot version import

* fix: lint

* fix: remove any type

* fix: lint

* fix: push update interval

* fix: cpu usage calculation

* feat: delta version support

* feat: style tweaks for selectlaunch.vue

* fix: lint
2026-01-23 16:04:38 +11:00
DecDuck
99a60b8fa0 Fix MFA superlevel redirect & ViewTransition (#314)
* feat: fix mfa superlevel & viewtransition

* fix: lint
2026-01-15 15:34:17 +11:00
DecDuck
63ac2b8ffc Depot API & v4 (#298)
* feat: nginx + torrential basics & services system

* fix: lint + i18n

* fix: update torrential to remove openssl

* feat: add torrential to Docker build

* feat: move to self hosted runner

* fix: move off self-hosted runner

* fix: update nginx.conf

* feat: torrential cache invalidation

* fix: update torrential for cache invalidation

* feat: integrity check task

* fix: lint

* feat: move to version ids

* fix: client fixes and client-side checks

* feat: new depot apis and version id fixes

* feat: update torrential

* feat: droplet bump and remove unsafe update functions

* fix: lint

* feat: v4 featureset: emulators, multi-launch commands

* fix: lint

* fix: mobile ui for game editor

* feat: launch options

* fix: lint

* fix: remove axios, use $fetch

* feat: metadata and task api improvements

* feat: task actions

* fix: slight styling issue

* feat: fix style and lints

* feat: totp backend routes

* feat: oidc groups

* fix: update drop-base

* feat: creation of passkeys & totp

* feat: totp signin

* feat: webauthn mfa/signin

* feat: launch selecting ui

* fix: manually running tasks

* feat: update add company game modal to use new SelectorGame

* feat: executor selector

* fix(docker): update rust to rust nightly for torrential build (#305)

* feat: new version ui

* feat: move package lookup to build time to allow for deno dev

* fix: lint

* feat: localisation cleanup

* feat: apply localisation cleanup

* feat: potential i18n refactor logic

* feat: remove args from commands

* fix: lint

* fix: lockfile

---------

Co-authored-by: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com>
2026-01-13 15:32:39 +11:00
DecDuck
c03152f299 Internal server error fixes, 7z fixes, OIDC fixes (#289)
* fix: add no-prisma-delete lint

* fix: typescript for lint

* fix: bump droplet

* fix: oidc scopes override

* fix: type errors

* feat: delete all notifications

* fix: lint

* fix: light mode style fixes
2025-11-30 23:01:52 +11:00
DecDuck
beb824c8d9 Add metadata timeout (#287)
* Add metadata timeout

* Fix lint
2025-11-20 11:17:58 +11:00
Paco
dfa30c8a65 Admin home page #128 (#259)
* First iteration on the new PieChart component

* #128 Adds new admin home page

* Fixes code after merging conflicts

* Removes empty file

* Uses real data for admin home page, and improves style

* Reverts debugging code

* Defines missing variable

* Caches user stats data for admin home page

* Typo

* Styles improvements

* Invalidates cache on signup/signin

* Implements top 5 biggest games

* Improves styling

* Improves style

* Using generateManifest to get the proper size

* Reading data from cache

* Removes unnecessary import

* Improves caching mechanism for game sizes

* Removes lint errors

* Replaces piechart tooltip with colors in legend

* Fixes caching

* Fixes caching and slight improvement on pie chart colours

* Fixes a few bugs related to caching

* Fixes bug where app signin didn't refresh cache

* feat: style improvements

* fix: lint

---------

Co-authored-by: DecDuck <declanahofmeyr@gmail.com>
2025-11-08 09:14:45 +11:00
DecDuck
b72e1ef7a4 Code-based authorization for Drop clients (#145)
* feat: code-based authorization

* fix: final touches

* fix: require session on code fetch endpoint

* feat: better error handling

* refactor: move auth send to client handler

* fix: lint
2025-08-01 13:11:56 +10:00
Husky
1ae051f066 Update Prisma to 6.11 (#133)
* chore: update prisma to 6.11

more prisma future proofing due to experimental features

* chore: update dependencies

twemoji - new unicode update
argon2 - bux fixes
vue3-carousel - improve mobile experiance
vue-tsc - more stable

* fix: incorrect prisma version in docker

Also remove default value for BUILD_DROP_VERSION, that is now handled in nuxt config

* fix: no logging in prod

* chore: optimize docker builds even more

* fix: revert adoption of prisma driverAdapters

see: https://github.com/prisma/prisma/issues/27486

* chore: optimize dockerignore some more

* Fix `pino-pretty` not being included in build (#135)

* Remove `pino` from frontend

* Fix for downloads and removing of library source (#136)

* fix: downloads and removing library source

* fix: linting

* Fix max file size of 4GB (update droplet) (#137)

* Fix manual metadata import (#138)

* chore(deps): bump vue-i18n from 10.0.7 to 10.0.8 (#140)

Bumps [vue-i18n](https://github.com/intlify/vue-i18n/tree/HEAD/packages/vue-i18n) from 10.0.7 to 10.0.8.
- [Release notes](https://github.com/intlify/vue-i18n/releases)
- [Changelog](https://github.com/intlify/vue-i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/intlify/vue-i18n/commits/v10.0.8/packages/vue-i18n)

---
updated-dependencies:
- dependency-name: vue-i18n
  dependency-version: 10.0.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @intlify/core from 10.0.7 to 10.0.8 (#139)

---
updated-dependencies:
- dependency-name: "@intlify/core"
  dependency-version: 10.0.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Small fixes (#141)

* fix: save task as Json rather than string

* fix: pull objects before creating game in database

* fix: strips relative dirs from version information

* fix: #132

* fix: lint

* fix: news object ids and small tweaks

* fix: notification styling errors

* fix: lint

* fix: build issues by regenerating lockfile

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: DecDuck <declanahofmeyr@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-25 21:28:00 +10:00
DecDuck
935ff48b15 Fix for downloads and removing of library source (#136)
* fix: downloads and removing library source

* fix: linting
2025-07-14 15:34:10 +10:00
DecDuck
ca8ad37adf Fix unauthenticated /api/v1/client/chunk route
Critical fix, no issue or PR
2025-06-07 16:27:43 +10:00
DecDuck
3e5c3678d5 Database-level multi-library support #48 (#58)
* feat: start of library backends

* feat: update backend routes and create initializer

* feat: add legacy library creation

* fix: resolve frontend type errors

* fix: runtime errors

* fix: lint
2025-06-01 16:05:05 +10:00
DecDuck
85edc4cca2 chore: move more admin over to arktype validators 2025-05-30 13:17:21 +10:00
DecDuck
8e3ae01a30 feat: backend inline capability registration 2025-05-15 16:06:03 +10:00
DecDuck
6dad3aeab7 chore: style 2025-05-15 14:58:01 +10:00
DecDuck
1dba112bce feat: separate library and metadata pages, notification acls 2025-05-15 14:55:05 +10:00
DecDuck
125fe9e6e2 fix: remove jank prisma script, and move to generated prisma client 2025-05-08 16:17:23 +10:00
Huskydog9988
87215c4a1e chore: prettier pass 2025-04-15 21:46:34 -04:00
Huskydog9988
8e109dd562 fix: more eslint stuff 2025-04-15 21:10:45 -04:00
Huskydog9988
e362f732e7 fix: more eslint issues 2025-04-13 22:10:28 -04:00
Huskydog9988
d4b89b5dc5 fix: inital eslint errors 2025-04-13 21:44:29 -04:00
DecDuck
42349ad4e1 feat: allow client-based web tokens 2025-04-08 16:16:40 +10:00
DecDuck
2cbee3d495 feat: add ability to review and revoke clients 2025-04-05 17:42:32 +11:00
DecDuck
0edfdbdfce fix: return user library for client 2025-04-05 15:34:24 +11:00
DecDuck
114d235a6a fix: remove legacy metadata client routes 2025-04-05 15:34:12 +11:00
DecDuck
a47615a274 refactor: move game id fetch to index 2025-04-05 15:33:59 +11:00
DecDuck
82baeb909a feat: add yarn typecheck and fix all types 2025-04-05 09:40:05 +11:00
Huskydog9988
81be7ccf58 Merge remote-tracking branch 'origin/develop' into db-store 2025-04-03 19:21:05 -04:00
Huskydog9988
a9d1a442f6 refactor: session handler 2025-04-03 19:15:33 -04:00
DecDuck
065951d91f fix: update last accessed client on push 2025-04-01 21:16:54 +11:00
DecDuck
36e6c92938 feat: add cloud save backend 2025-04-01 21:08:57 +11:00
DecDuck
9d07070ef6 feat: add news client routes 2025-03-11 18:24:50 +11:00
DecDuck
133503582a feat: client collection routes 2025-03-10 12:28:59 +11:00
DecDuck
ce8887528f feat(acls): refactor & acl descriptions 2025-02-07 17:26:23 +11:00
DecDuck
d4dd259b5f feat(acls): added backend acls 2025-02-04 13:15:52 +11:00
DecDuck
a309651fe4 feat(collections): backend 2025-01-19 16:29:29 +11:00
DecDuck
39d7ce7d1b feat(import): overhauled version importing 2024-12-31 00:04:50 +11:00
DecDuck
12e312593e feat(client ui): manual handshake 2024-12-27 13:07:29 +11:00
DecDuck
54c5d55da7 fix(client chunk api route): follow best practices 2024-12-09 17:04:51 +11:00
DecDuck
5393db3236 feat(download): add version metadata route 2024-12-07 11:00:56 +11:00
DecDuck
6df560ca37 fix(manifests): fix delta manifest generation 2024-12-06 22:16:42 +11:00
DecDuck
1f4d07568f feat(client): fetch game endpoint 2024-11-26 20:11:25 +11:00
DecDuck
76bceb121f feat: content length header for chunk downloads 2024-11-10 22:14:01 +11:00
DecDuck
7d72a86876 feat(client cap): client capability framework + peer API configuration 2024-11-06 12:25:00 +11:00
DecDuck
b9ae26cb27 chore: remove client API deadweight 2024-11-06 09:55:38 +11:00
DecDuck
e4339c34ec Update file chunk.get.ts 2024-10-26 05:46:28 +00:00
DecDuck
24a0d118f2 slight bug fixes and clean up 2024-10-24 22:12:01 +11:00
DecDuck
c4a3e4e9a7 failed gracefully on invalid chunk index 2024-10-23 12:36:09 +11:00
DecDuck
7f4db0c1dc slight patch to rename query to be more consistent 2024-10-23 12:13:30 +11:00
DecDuck
3dd6062af4 added download chunk endpoint 2024-10-23 12:03:31 +11:00
DecDuck
93bc143dac additional polish and QoL features 2024-10-22 09:43:00 +11:00