aboutsummaryrefslogtreecommitdiff
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'feature/stats-dashboard' into feature/system_status_pageZephyrrus2021-01-071-1/+2
|\
| * chore: update sharex snippet to use apiKey instead of jwtPitu2021-01-071-1/+2
| |
* | feat: change mutation timestamp on every database mutationZephyrrus2021-01-0719-22/+40
| |
* | fix: use PassThrough from FileType to get the real mimetype of a file while ↵Zephyrrus2021-01-073-19/+39
| | | | | | | | it's being saved to the disk
* | chore: Move statistics related functions to it's own fileZephyrrus2021-01-079-236/+332
| | | | | | | | | | | | 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: Add experimental stats endpoint (no cache system yet)Zephyrrus2021-01-071-0/+208
| |
* | feat: check for real mimetype using file-typeZephyrrus2021-01-074-22/+27
|/ | | | 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.
* fix: normalize url and thumbnail responsePitu2021-01-072-3/+7
|
* fix: terminate rehashing script when donePitu2021-01-071-1/+2
|
* fix: incorrect case on colum namePitu2021-01-071-2/+2
|
* feat: add rehashing scriptPitu2021-01-071-0/+54
|
* fix: early return if duplicated filePitu2021-01-071-1/+3
|
* chore: cleanupPitu2021-01-071-1/+1
|
* chore: remove unused methodsPitu2021-01-071-74/+0
|
* feature: new chunk and write strategyPitu2021-01-075-215/+435
|
* feat: enable user creation from admin panelPitu2021-01-051-3/+7
|
* fix: dont save the file to album if no albumPitu2021-01-051-4/+6
|
* fix: migration didn't properly grab the env variablesPitu2021-01-051-0/+2
|
* fix: try to remove thumbnail only if the file has onePitu2021-01-051-1/+1
|
* Update migrationPitu2021-01-031-54/+4
|
* fix: nsfw album toggle doesn't propagate the changes properlyZephyrrus2020-12-272-2/+2
| | | | fix: add nsfw flag to the booleanFields in knex postProcessResponse
* feat: Add warning to nsfw albumsPitu2020-12-283-1/+35
|
* feat: Add hash checking for chunked uploadsPitu2020-12-273-12/+34
|
* Fixes chunked uploads not being saved to albums or thumbnailsPitu2020-12-273-66/+70
|
* 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
* chore: use instance name for album downloadPitu2020-12-271-2/+2
|
* RebrandPitu2020-12-254-5/+5
|
* Chore: prevent server from starting if .env config missingPitu2020-12-251-2/+8
|
* Chore: Move database to a subfolder for docker purposesPitu2020-12-253-3/+3
|
* fix: remove logPitu2020-12-251-2/+1
|
* Fix: thumbnail creationPitu2020-12-252-1/+2
|
* Fix: use webp for thumbnailsPitu2020-12-251-5/+5
|
* Feat: add rotating logs when running in production envPitu2020-12-251-0/+10
|
* CleanupPitu2020-12-253-28/+2
|
* Fix ESLint rules once and for allPitu2020-12-2412-49/+49
|
* Merge pull request #228 from Zephyrrus/begone_trailing_commasKana2020-12-2443-308/+1086
|\ | | | | Merge own dev branch into main dev branch
| * bug: Thumbs are stored as webp and not as png anymoreZephyrrus2020-12-241-1/+1
| |
| * chore: remove trailing commasZephyrrus2020-12-2449-143/+140
| |
| * chore: update lock filesZephyrrus2020-12-242-14/+5
| |
| * feat: allow administrators to create custom links for albumsZephyrrus2020-10-021-5/+22
| |
| * feat: add experimental query to sql generator for searchingZephyrrus2020-07-232-10/+248
| |
| * feat: add experimental search parserZephyrrus2020-07-221-0/+25
| |
| * fix: return the edited/changed/delete entity from APIZephyrrus2020-07-205-13/+17
| |
| * feat: add tag deletion from imagesZephyrrus2020-07-201-0/+38
| |
| * fix: join tags by the proper keyZephyrrus2020-07-201-1/+1
| |
| * fix: don't crash the server if a route fails to loadZephyrrus2020-07-201-3/+7
| |
| * feat: add single tag adding to fileZephyrrus2020-07-202-11/+55
| | | | | | | | fix: fix the batch tag adding to properly await for a response, and use the proper column while adding the tags
| * Merge branch 'dev' into dev-zephyZephyrrus2020-07-195-2/+85
| |\
| * | feat: Start working on a new album/tags/image info modalZephyrrus2020-07-192-1/+47
| | |
| * | fix: stop leaking user passwords to admins AGAINZephyrrus2020-07-102-2/+5
| | |