aboutsummaryrefslogtreecommitdiff
path: root/src/api/utils
Commit message (Collapse)AuthorAgeFilesLines
* chore: chibisafe -> HostessFuwn2022-01-151-2/+2
|
* fix: anon upload and domain fix for album links (#292)Zephyrrus2021-08-221-3/+3
|
* chore: hardcode api locationPitu2021-06-201-1/+1
|
* chore: add defaults for stats and other featuresPitu2021-06-201-1/+6
|
* fix: potentially fix the blocked extensions array splittingPitu2021-06-191-1/+1
|
* feat: add domain to setup processPitu2021-06-181-0/+1
|
* feat: save correct db infoPitu2021-06-171-1/+9
|
* feat: show validation errors from joi on the frontendZephyrrus2021-06-171-1/+1
|
* chore: update process.env usagePitu2021-06-153-36/+28
|
* chore: get host from req instead of configPitu2021-06-081-11/+14
|
* wipPitu2021-06-071-0/+1
|
* feat: implement initial values and saving to db logicPitu2021-03-251-0/+39
|
* wipPitu2021-03-231-4/+24
|
* feat: use LIKE on queries for case sensitivity issuesPitu2021-01-091-4/+4
|
* fix: prevent db from committing suicidePitu2021-01-081-4/+0
|
* chore: refactor stats generator to use an enum for typesZephyrrus2021-01-072-12/+35
| | | | | | | | fix: saved data not being converted to JSON automatically when using SQLite (and possibly MSSQL) feat: display when a stat was generated in the section's header fix: not being able to click through the footer (sorry IE11 users, you still won't be able to click through it) fix: add is-mobile to columns so they don't stack on top of each other feat: add text next to the NSFW toggle and make it look like the elements around it (begone round iOS edges)
* feat: change mutation timestamp on every database mutationZephyrrus2021-01-071-4/+5
|
* fix: use PassThrough from FileType to get the real mimetype of a file while ↵Zephyrrus2021-01-071-15/+35
| | | | it's being saved to the disk
* chore: Move statistics related functions to it's own fileZephyrrus2021-01-072-11/+242
| | | | | | 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-072-4/+7
| | | | 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-071-1/+2
|
* 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
|
* chore: remove unused methodsPitu2021-01-071-74/+0
|
* feature: new chunk and write strategyPitu2021-01-072-2/+186
|
* fix: try to remove thumbnail only if the file has onePitu2021-01-051-1/+1
|
* feat: Add hash checking for chunked uploadsPitu2020-12-271-0/+11
|
* Fixes chunked uploads not being saved to albums or thumbnailsPitu2020-12-271-0/+54
|
* Chore: Move database to a subfolder for docker purposesPitu2020-12-251-1/+1
|
* fix: remove logPitu2020-12-251-2/+1
|
* Fix: thumbnail creationPitu2020-12-251-1/+1
|
* Fix: use webp for thumbnailsPitu2020-12-251-5/+5
|
* CleanupPitu2020-12-252-3/+17
|
* Fix ESLint rules once and for allPitu2020-12-244-15/+15
|
* bug: Thumbs are stored as webp and not as png anymoreZephyrrus2020-12-241-1/+1
|
* chore: remove trailing commasZephyrrus2020-12-245-21/+19
|
* chore: update lock filesZephyrrus2020-12-241-2/+2
|
* feat: add experimental query to sql generator for searchingZephyrrus2020-07-231-0/+200
|
* fix: return the edited/changed/delete entity from APIZephyrrus2020-07-201-5/+5
|
* Merge branch 'dev' into dev-zephyZephyrrus2020-07-191-1/+7
|\
| * Make thumbnails webp (bye bye safari)Pitu2020-07-181-5/+6
| |
| * Fix for realPitu2020-07-181-8/+7
| |
| * Fix deleting files without thumbPitu2020-07-181-2/+8
| |
| * Fix authorizationPitu2020-07-181-1/+1
| |
| * Fix authorizationPitu2020-07-181-3/+1
| |
| * fix authorizationPitu2020-07-181-1/+9
| |
* | chore: linter the entire project using the new rulesZephyrrus2020-07-085-21/+23
| |
* | fix: errors in Util caused by separating into different classes improperlyZephyrrus2020-07-083-26/+44
| |
* | feat: experimental videos in gridZephyrrus2020-07-042-2/+9
| |