1
Fork 0
photoview/api
stz184 53b323640f Fixes viktorstrate/photoview#71
In order to prevent SQL injections and , reveal information about the database tables avoid passing MySQL functions as GQL sorting parameters, I refactored the FormatSQL() function.
Additionally, the old approach with using regex to filter the orderBy parameter was not effective and prevented using column.table annotations.
2020-10-13 18:27:28 +03:00
..
.vscode Work towards subscriptions 2020-02-21 16:50:50 +01:00
database Set defaults for new migrations, 2020-09-25 19:31:35 +02:00
graphql Fixes viktorstrate/photoview#71 2020-10-13 18:27:28 +03:00
routes Setup cache headers for photo routes 2020-09-30 14:08:30 +02:00
scanner Fix bug where max_concurrent_tasks for... 2020-09-24 17:52:53 +02:00
server Setup cache headers for photo routes 2020-09-30 14:08:30 +02:00
utils Reintregrate notifications with scanner 2020-06-23 15:13:07 +02:00
example.env Add geojson graphql endpoint, work on mapbox 2020-09-27 00:46:01 +02:00
go.mod Enable http compression for API 2020-10-04 16:34:47 +02:00
go.sum Enable http compression for API 2020-10-04 16:34:47 +02:00
gqlgen.yml Add video metadata 2020-07-12 14:17:49 +02:00
server.go Enable http compression for API 2020-10-04 16:34:47 +02:00