aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes
Commit message (Collapse)AuthorAgeFilesLines
* chore: chibisafe -> HostessFuwn2022-01-151-1/+1
|
* Allow API Access to some endpoints (#304)Jason2021-11-034-4/+4
|
* fix: wrong case on env variablePitu2021-08-221-1/+1
|
* fix: anon upload and domain fix for album links (#292)Zephyrrus2021-08-221-1/+2
|
* fix: be able to delete tagsPitu2021-06-201-1/+1
|
* fix: return all used valuesPitu2021-06-201-1/+5
|
* feat: save correct db infoPitu2021-06-171-1/+9
|
* feat: show validation errors from joi on the frontendZephyrrus2021-06-171-5/+22
|
* feat: show setting values on the settings page and implement sending to ↵Zephyrrus2021-06-171-0/+20
| | | | backend (no saving yet)
* feat: fetch all settings if adminPitu2021-06-171-0/+17
|
* feat: fetch settings from apiPitu2021-06-171-3/+4
|
* chore: update process.env usagePitu2021-06-155-19/+19
|
* chore: get host from req instead of configPitu2021-06-0811-21/+10
|
* Merge branch 'feature/database_based_settings' of ↵Pitu2021-03-231-0/+17
|\ | | | | | | https://github.com/Zephyrrus/huskysafe into Zephyrrus-feature/database_based_settings
| * feat: add dynamic settings page rendering based on the Joi objectZephyrrus2021-01-101-0/+17
| |
* | chore: switch to asyncData where neededPitu2021-01-201-1/+1
| |
* | feat: add pagination to public album linksPitu2021-01-201-4/+22
| |
* | feat: add pagination to user files in admin viewPitu2021-01-201-2/+20
|/
* fix: pagination not working when searchingZephyrrus2021-01-082-3/+9
| | | | fix: search not working on albums
* chore: remove query from API responsePitu2021-01-091-3/+3
|
* chore: be able to refresh stats on demandPitu2021-01-081-1/+18
|
* fix: pg driver doesn't return anything without .returning()Zephyrrus2021-01-082-2/+9
| | | | feat: disable .returning() is not supported warning message, it's useless.
* chore: refactor stats generator to use an enum for typesZephyrrus2021-01-071-5/+19
| | | | | | | | 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)
* 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-0717-17/+26
| |
* | fix: use PassThrough from FileType to get the real mimetype of a file while ↵Zephyrrus2021-01-072-4/+4
| | | | | | | | it's being saved to the disk
* | chore: Move statistics related functions to it's own fileZephyrrus2021-01-071-190/+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: Add experimental stats endpoint (no cache system yet)Zephyrrus2021-01-071-0/+208
| |
* | feat: check for real mimetype using file-typeZephyrrus2021-01-071-17/+19
|/ | | | 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-2/+5
|
* fix: early return if duplicated filePitu2021-01-071-1/+3
|
* chore: cleanupPitu2021-01-071-1/+1
|
* feature: new chunk and write strategyPitu2021-01-072-212/+248
|
* feat: enable user creation from admin panelPitu2021-01-051-3/+7
|
* fix: nsfw album toggle doesn't propagate the changes properlyZephyrrus2020-12-271-1/+1
| | | | 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-272-12/+23
|
* Fixes chunked uploads not being saved to albums or thumbnailsPitu2020-12-272-66/+16
|
* chore: use instance name for album downloadPitu2020-12-271-2/+2
|
* RebrandPitu2020-12-253-4/+4
|
* Fix ESLint rules once and for allPitu2020-12-243-5/+5
|
* Merge pull request #228 from Zephyrrus/begone_trailing_commasKana2020-12-2431-130/+397
|\ | | | | Merge own dev branch into main dev branch
| * chore: remove trailing commasZephyrrus2020-12-2439-59/+59
| |
| * chore: update lock filesZephyrrus2020-12-241-12/+3
| |
| * feat: allow administrators to create custom links for albumsZephyrrus2020-10-021-5/+22
| |
| * feat: add experimental query to sql generator for searchingZephyrrus2020-07-231-10/+48
| |
| * feat: add experimental search parserZephyrrus2020-07-221-0/+25
| |
| * fix: return the edited/changed/delete entity from APIZephyrrus2020-07-204-8/+12
| |
| * feat: add tag deletion from imagesZephyrrus2020-07-201-0/+38
| |