aboutsummaryrefslogtreecommitdiff
path: root/src/api/structures/Route.js
Commit message (Collapse)AuthorAgeFilesLines
* chore: update process.env usagePitu2021-06-151-1/+2
|
* chore: Move statistics related functions to it's own fileZephyrrus2021-01-071-35/+1
| | | | | | 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)
* fix: nsfw album toggle doesn't propagate the changes properlyZephyrrus2020-12-271-1/+1
| | | | fix: add nsfw flag to the booleanFields in knex postProcessResponse
* Chore: Move database to a subfolder for docker purposesPitu2020-12-251-1/+1
|
* Fix ESLint rules once and for allPitu2020-12-241-4/+4
|
* chore: remove trailing commasZephyrrus2020-12-241-2/+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-081-5/+3
|
* feat: add morgan for logging requests if env is not productionZephyrrus2020-07-081-11/+9
|
* feat: return APIKey when fetching userZephyrrus2020-07-021-12/+20
|
* 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
* 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
* 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
|
* Ditched sqlite. Use postgres or mysql/mariadbPitu2019-04-051-5/+2
|
* Fix conflictsPitu2019-03-291-1/+1
|\
| * API key WIPPitu2019-03-191-0/+1
| |
* | WIP apiKey validationPitu2019-03-291-0/+14
|/
* Added adminOnly routesPitu2019-02-261-1/+2
|
* Better DB handling and stuffPitu2019-02-231-1/+2
|
* Update Route.jsKana2019-02-221-1/+2
|
* Add support for sqlitePitu2019-02-221-1/+2
|
* derpPitu2019-02-211-1/+1
|
* Switch config to .envPitu2019-02-191-6/+18
|
* Commented all the codePitu2018-09-171-1/+2
|
* Base structuresPitu2018-09-161-0/+44