aboutsummaryrefslogtreecommitdiff
path: root/src/api/structures
Commit message (Collapse)AuthorAgeFilesLines
* chore: chibisafe -> HostessFuwn2022-01-152-2/+2
|
* fix: typoPitu2021-06-201-1/+1
|
* chore: remove leftoversPitu2021-06-201-1/+1
|
* chore: hardcode api locationPitu2021-06-201-2/+2
|
* fix: typosPitu2021-06-201-21/+7
|
* feat: prevent running without a domainPitu2021-06-181-0/+5
|
* chore: remove console.logPitu2021-06-171-2/+0
|
* feat: show validation errors from joi on the frontendZephyrrus2021-06-171-3/+3
|
* chore: update process.env usagePitu2021-06-152-7/+15
|
* feat: implement initial values and saving to db logicPitu2021-03-251-1/+1
|
* Merge branch 'feature/database_based_settings' of ↵Pitu2021-03-231-0/+197
|\ | | | | | | https://github.com/Zephyrrus/huskysafe into Zephyrrus-feature/database_based_settings
| * feat: add sections to settings object metaZephyrrus2021-01-111-2/+73
| |
| * feat: add dynamic settings page rendering based on the Joi objectZephyrrus2021-01-101-12/+12
| |
| * feat: create settings schema (used for rendering and validating)Zephyrrus2021-01-091-0/+126
| |
* | feat: enable ssr and serve it with the apiPitu2021-01-201-18/+7
|/
* fix: pg driver doesn't return anything without .returning()Zephyrrus2021-01-081-0/+6
| | | | feat: disable .returning() is not supported warning message, it's useless.
* fix: don't generate a stat every second on minute 0 of every hourZephyrrus2021-01-081-1/+1
|
* feat: change mutation timestamp on every database mutationZephyrrus2021-01-071-1/+9
|
* chore: Move statistics related functions to it's own fileZephyrrus2021-01-073-35/+54
| | | | | | fix: Extract database constructor to a separate file to ensure we only create one knex instance/db feat: Add cron for saving the stats to the database every hour feat: Get cached stats from database (if a stat is not found in the db, generate it)
* feature: new chunk and write strategyPitu2021-01-071-1/+1
|
* fix: nsfw album toggle doesn't propagate the changes properlyZephyrrus2020-12-271-1/+1
| | | | fix: add nsfw flag to the booleanFields in knex postProcessResponse
* RebrandPitu2020-12-251-1/+1
|
* Chore: prevent server from starting if .env config missingPitu2020-12-251-2/+8
|
* Chore: Move database to a subfolder for docker purposesPitu2020-12-251-1/+1
|
* Fix: thumbnail creationPitu2020-12-251-0/+1
|
* Feat: add rotating logs when running in production envPitu2020-12-251-0/+10
|
* CleanupPitu2020-12-251-23/+0
|
* Fix ESLint rules once and for allPitu2020-12-242-10/+10
|
* chore: remove trailing commasZephyrrus2020-12-242-5/+5
|
* fix: don't crash the server if a route fails to loadZephyrrus2020-07-201-3/+7
|
* Merge branch 'dev' into dev-zephyZephyrrus2020-07-191-1/+2
|\
| * Timeout, package and docs cleanupPitu2020-07-181-1/+2
| |
* | fix: stop leaking user's password and their apikey to adminsZephyrrus2020-07-091-1/+3
| |
* | chore: linter the entire project using the new rulesZephyrrus2020-07-082-5/+4
| |
* | feat: add morgan for logging requests if env is not productionZephyrrus2020-07-082-19/+41
| |
* | feat: return APIKey when fetching userZephyrrus2020-07-021-12/+20
|/
* Handle nuxt routes on page loadPitu2020-06-251-5/+22
|
* CleanupPitu2020-06-251-1/+0
|
* Feature: enable apiKey access to uploads and album fetching for the ↵Pitu2020-05-111-9/+9
| | | | uploader/sharex/3rd party
* Features:Pitu2020-05-101-1/+2
| | | | | * Serve files during development * Own endpoint for fetching the albums of a file
* Feature:Pitu2020-05-091-3/+10
| | | | | | * Frontend is now served by the API process * Only 1 process spawns for lolisafe to work * Switched frontend from server-side render to static site, now saved in `/dist`
* This commit adds a bunch of features for admins:Pitu2019-10-131-1/+4
| | | | | | | * banning IP * see files from other users if you are admin * be able to see details of an uploaded file and it's user * improved display of thumbnails for non-image files
* feature: album linksPitu2019-09-301-1/+1
|
* Fix database value conversionPitu2019-04-241-1/+2
|
* Fix when response is not an objectPitu2019-04-241-5/+3
|
* Standarize database calls to support sqlite as well as mysql/postgresPitu2019-04-241-2/+33
|
* Check if accept header is passedPitu2019-04-161-1/+1
|
* Ditched sqlite. Use postgres or mysql/mariadbPitu2019-04-051-5/+2
|
* Fix conflictsPitu2019-03-291-1/+1
|\
| * API key WIPPitu2019-03-191-0/+1
| |