* Adds settings for server name and logo
* Implements ApplicationLogo and replaces site name based on settings
* Refactors component for changing the company logo
* Removes unused variable
* Uses message instead of statusMessage
* Replaces favicon with logo if set
* Adds new tile on the admin home page with system data. Also fixes the active users bug in the pie chart
* Fixes missing parentheses
* Updates user stats cache when signing in
* Reads active number of users from session provider
* Removes unused variable
* Small improvements
* Removes acl properties from system data websocket and performs initial push of data
* fix: remove acl fetch
---------
Co-authored-by: DecDuck <declanahofmeyr@gmail.com>
* prevent returning expired sessions
* add issuer to ODIC creds
* get id token in ODIC
* make session signin return session
* working backchannel logout?
* require https for ODIC provider
* handle wellknown not being https
* find session api progress
* fix windows build
* return session token on session
* switch OIDC to #searchSessions
* update pnpm
* switch to using message on error obj
* move odic callback
* fix type errors
* redirect old oidc callback
* make redirect url a URL
* remove scheduled task downloadCleanup
* fix session search for oidc
* fix signin result
* cleanup code
* ignore data dir
* fix lint error
* Add user page and API endpoint
* add: /user/[id] page
* add: /api/v1/user/[id] API endpoint
* Change loading message in user profile page
* Fix build errors, prettier code
* 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>
* improve igdb metadata fetching
* Make sure to get images with reasonable resolution.
By default the url igdb returns is in "t_thumb" size,
an image of size 90x90, which is good only for the icon,
but bad for pretty much else. This commit will make sure
covers will be of size "t_cover_big", artworks of 1080p
height (i.e. "t_1080p") and logos will have their original
size ("t_original"). Maybe "t_logo_med" is more appropriate?
* Fetch screenshots as well.
* Use a separate image for icon and for cover.
icon needs to be a square, and can be of low
resolution, so the "t_thmb" size is more appropriate
for him.
* If there is a storyline for a game use it as a short
description.
* IDGB -> IGDB
* use the longer text between storyline and description for description
---------
Co-authored-by: udifogiel <udifogiel@proton.me>
* fix: small fixes to request util and version update endpoint
* feat: api token creation and management
* fix: lint
* fix: remove unneeded sidebar component
* replace btoa with a Buffer implementation, as btoa does not support non-unicode characters.
* replace btoa with a Buffer implementation, as btoa does not support non-unicode characters.
* fix linting
* fix linting
* replace buffer implementation with a md5 hash. This also adds the ts-md5 library.
* Revert "replace buffer implementation with a md5 hash. This also adds the ts-md5 library."
This reverts commit f98b811ab9.
* replace buffer implementation with md5 hash from node:crypto
* fix linting.. again
---------
Co-authored-by: FurbyOnSteroids <codeberg@your-moms-bellybutton.hair>
* fix: #181
* fix: use taskHandler as source of truth for imports
* fix: task formatting
* fix: zip downloads
* feat: re-enable import version button on delete + lint