mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 17:09:13 +00:00
* Validate incoming GPS data and throw an error if it is incorrect, storing Null values * Extracted GPS data processing to function in external parser; optimized IF in internal parser; removed unnecessary comments; set exact values for positive test * Add the migration for removing existing invalid GPS data and its test; added better errors to asserts in the GPS validation test * Install FFmpeg and ExifTool on the API unit-test environment * Fix 'stripped.jpg', 'IncorrectGPS.jpg', and 'CorrectGPS.jpg' tests for the external parser * Optimized data validation in the external parser, returned error by the internal parser for invalid data, updated test to expect errors and handle them * Switched from error to log entry in case of incorrect GPS data, as error handling is not so transparent in the internal parser --------- Co-authored-by: Konstantin Koval
50 lines
563 B
Plaintext
50 lines
563 B
Plaintext
# See https://help.github.com/ignore-files/ for more about ignoring files.
|
|
|
|
cache/
|
|
/media_cache/
|
|
/api/media_cache/
|
|
/photos_path
|
|
photoview.db
|
|
photoview.db-journal
|
|
|
|
.env
|
|
testing.env
|
|
|
|
# docker
|
|
docker-compose.yml
|
|
/Makefile
|
|
/storage
|
|
/database
|
|
/tmp
|
|
|
|
# dependencies
|
|
node_modules/
|
|
|
|
# testing
|
|
/ui/coverage
|
|
/api/coverage.txt
|
|
|
|
# building
|
|
.cache/
|
|
dist/
|
|
build/
|
|
*.tsbuildinfo
|
|
|
|
# misc
|
|
.DS_Store
|
|
.env.local
|
|
.env.development.local
|
|
.env.test.local
|
|
.env.production.local
|
|
yarn.lock
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.eslintcache
|
|
|
|
# IDEs
|
|
.vscode
|
|
__debug_bin
|
|
.idea
|
|
.nvmrc
|