aboutsummaryrefslogtreecommitdiff
path: root/src/api/database
Commit message (Collapse)AuthorAgeFilesLines
* fix: migrationsZephyrrus2021-06-181-2/+2
| | | | fix: order of parameters in the startup script
* test: seeding during migrationPitu2021-06-181-0/+15
|
* fix: seedingPitu2021-06-181-2/+2
|
* chore: update db migration, seed and docker envPitu2021-06-152-29/+22
|
* feat: implement initial values and saving to db logicPitu2021-03-252-2/+35
|
* wipPitu2021-03-231-0/+10
|
* chore: Move statistics related functions to it's own fileZephyrrus2021-01-073-0/+18
| | | | | | 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)
* feat: check for real mimetype using file-typeZephyrrus2021-01-071-1/+1
| | | | For now, if file-type returns undefined, we take the value from the browser. In the future this should be removed to ensure people can't bypass the real mime checking using a special file that can't be recognized by file-type.
* Squashed commit of the following:Pitu2020-12-272-15/+36
| | | | | | | | commit df4b0378571708086a276e49ac8630095e08b0b7 Author: Pitu <[email protected]> Date: Sun Dec 27 03:00:17 2020 +0900 feat: move database modification to a new migration file
* Fix ESLint rules once and for allPitu2020-12-242-12/+12
|
* chore: remove trailing commasZephyrrus2020-12-241-1/+1
|
* chore: add unique integrity checks to the database for many-to-many tablesZephyrrus2020-07-081-5/+15
|
* chore: linter the entire project using the new rulesZephyrrus2020-07-082-13/+14
|
* chore: add nsfw flag to migrationZephyrrus2020-07-041-0/+2
|
* chore: forgot to remove this uuidPitu2020-05-101-2/+0
|
* chore: remove the use of uuidPitu2020-05-102-4/+2
|
* This commit adds a bunch of features for admins:Pitu2019-10-132-21/+24
| | | | | | | * 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
* refactor: removed useless code, cleaned up, fixed permissionsPitu2019-10-121-1/+1
|
* chore: Upgrade buefy to newest versionPitu2019-10-121-1/+1
|
* chore: Remove unnecesary stuffPitu2019-10-011-1/+0
|
* API key WIPPitu2019-03-191-2/+0
|
* TagsPitu2019-03-141-0/+21
|
* What are strings evenPitu2019-03-121-6/+5
|
* Wonder if password generation is failing because of long passwordsPitu2019-03-121-1/+1
|
* Add uuidsPitu2019-03-121-0/+4
|
* Better DB handling and stuffPitu2019-02-232-5/+6
|
* Database migration and seedingPitu2019-02-212-0/+101