1
Fork 0
Commit Graph

1238 Commits

Author SHA1 Message Date
viktorstrate 7953ca5f1e Add logo to login page 2020-05-10 17:52:45 +02:00
viktorstrate 7eff9ded4d Uninstall svgr parcel dependency 2020-05-10 17:50:31 +02:00
Viktor Strate Kløvedal 7115bb5101
Merge pull request #40 from viktorstrate/ui/fullscreen-navigation
Navigation controls in presenter view
2020-05-10 16:53:14 +02:00
Viktor Strate Kløvedal d5ce67bd89
Merge pull request #41 from viktorstrate/logo
Add logo to readme
2020-05-10 15:24:25 +02:00
viktorstrate 8c63242a0d Add logo to readme 2020-05-10 15:20:44 +02:00
viktorstrate afd58ffa66 Prettier avoid parenthesis 2020-05-08 18:28:26 +02:00
viktorstrate f5bce0dda1 Improve present view history state 2020-05-08 18:27:19 +02:00
viktorstrate e7698f02fc Hide navigation when mouse is inactive for 2s 2020-05-08 17:50:45 +02:00
viktorstrate a3ea298d29 Add svg icons, use svgr to inline svg 2020-05-08 17:13:13 +02:00
viktorstrate 0b2aa5b64a Hook up functionallity for present buttons 2020-05-08 17:13:13 +02:00
viktorstrate 49bf71f165 Refactor present view 2020-05-08 17:13:13 +02:00
viktorstrate de97d4b9bd General readme changes 2020-05-06 22:49:51 +02:00
viktorstrate 05ecaa1eee Cleanup readme + add badges 2020-05-06 22:27:10 +02:00
viktorstrate 2423a0394d Update docker compose example to use image
...instead of building the image.
Also update the docker instructions in the readme.
2020-04-30 15:57:08 +02:00
Viktor Strate Kløvedal b220a0c9a8
Merge pull request #39 from viktorstrate/docker/simplify-dockerfile
Simplify Dockerfile and docker-compose example
2020-04-30 15:14:04 +02:00
viktorstrate deb2fd9f4f Improve mysql connection retry on ping fail 2020-04-30 15:00:18 +02:00
viktorstrate ff0ea48aca Add defaults for more env variables in Dockerfile
Add defaults for:
- API_LISTEN_IP
- API_LISTEN_PORT
- SERVE_UI
2020-04-30 14:59:29 +02:00
viktorstrate 9f5384e353 Add defaults for API_ENDPOINT and UI_PUBLIC_URL 2020-04-30 14:36:55 +02:00
dependabot[bot] 8beaac991e
Bump jquery from 3.4.1 to 3.5.0 in /ui (#38)
Bumps [jquery](https://github.com/jquery/jquery) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.4.1...3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-30 14:08:42 +02:00
viktorstrate 931b558357 Run npm audit fix 2020-04-23 22:03:35 +02:00
viktorstrate 60ea47d5a5 Fix some styled components
... that were created dynamically
2020-04-23 21:57:34 +02:00
viktorstrate c4413c2d09 Update ui dependencies 2020-04-23 21:55:24 +02:00
viktorstrate 7f6d3169aa Downsample main-window screenshot 2020-04-23 21:10:16 +02:00
viktorstrate 05644d02b9 Add fullscreen event to browser history (#35)
- Also clean up old unused browser history code
2020-04-23 21:02:55 +02:00
viktorstrate cbe811f1e4 Change main-window screenshot 2020-04-23 20:08:57 +02:00
viktorstrate 5267d67714 Readme: Add updating steps + small changes 2020-04-17 13:37:49 +02:00
viktorstrate 43f5d85078 Don't show an error when scanning an empty file
Reference #32
2020-04-17 13:15:31 +02:00
viktorstrate d5227a4ce3 Make sure that photo directory for user exists
If user directory doesn't exist anymore report an error notification.
2020-04-16 11:23:34 +02:00
viktorstrate 6e420dff41 Recover if EXIF decoding panics (#33)
This fixes #33 where a curtain image would cause the goexif2 library to
panic.

Now instead of crashing the entire program, it recovers and instead
prints an error to the console and ignores the EXIF data for that image.
2020-04-16 11:02:33 +02:00
Viktor Strate Kløvedal 4105275ba9
Add abillity for ui to be served from a subpath (#24)
Add env variable for ui served from a subpath
2020-04-15 21:16:36 +02:00
Viktor Strate Kløvedal 9819280fc9
Merge pull request #28 from BkSouX/master
Close database properly if database connection failed or an error occured
2020-04-15 21:14:24 +02:00
viktorstrate c5dd3debe5 Add missing new dependency + cleanup 2020-04-15 20:52:08 +02:00
Bruno Sousa e39349963b use log.Panicf instead of just panic 2020-04-15 16:20:09 +02:00
Bruno Sousa c64b4d0d39 make SetupDatabase returns an error and use PingContext with timeout 2020-04-15 16:18:51 +02:00
Viktor Strate Kløvedal 384a54b9a9
Merge pull request #30 from viktorstrate/api-scan-all
Implement scanAll resolver
2020-04-15 11:36:53 +02:00
viktorstrate afb0428c2d Add username to scanner notifications 2020-04-15 11:27:34 +02:00
viktorstrate b254f3abaa Implement ScanAll resolver 2020-04-15 11:21:16 +02:00
viktorstrate 4e388c430c Fix image EXIF orientation bug
Fix a bug where an image couldn't be scanned if the EXIF data were
missing the orientation field.

This resolves #29
2020-04-15 10:58:10 +02:00
BkSouX 11ea1c13bd api - miss import 2020-04-14 20:04:39 +02:00
BkSouX d256a31842 api - panic instead of fatal when issue with the database migration 2020-04-14 20:00:06 +02:00
Viktor Strate Kløvedal 8b7a8bc56d
Merge pull request #27 from SlavikCA/patch-1
fix default port number
2020-04-14 09:13:51 +02:00
Slavik 3c5452e3cf
fix default port number
docker-compose has port 8000, but README had 8080. Setting README to 8000, so it match docker-compose
2020-04-13 21:47:22 -07:00
Viktor Strate Kløvedal 4206f60dbe
Merge pull request #9 from subdavis/prefix
Publish photoview as a single docker image.
2020-04-08 12:27:08 +02:00
viktorstrate 399cb295f2 Move spa handler to a separate file 2020-04-06 22:21:58 +02:00
viktorstrate b4676af3c1 Rewrite environment variable configurations 2020-04-06 22:16:25 +02:00
viktorstrate 48520a7d2d Further work on single docker container
- Add proper .dockerignore
- Fix photo prefix
- Print public endpoint when server starts
- Discard API_LISTEN_PORT
2020-04-05 18:54:13 +02:00
viktorstrate 48e2fd66a4 Merge remote-tracking branch 'origin/master' into prefix 2020-04-05 18:44:06 +02:00
dependabot[bot] 336d255834
Bump acorn from 5.7.3 to 5.7.4 in /ui (#19)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 21:18:19 +01:00
Viktor Strate Kløvedal 8ad1e11015
Sql 4 bytes utf (#17)
Update UTF migration to use 4 bytes unicode
2020-03-13 20:21:49 +01:00
Viktor Strate Kløvedal 1bcc3c0ff5
Merge pull request #16 from viktorstrate/exif-orientation
Implement proper photo rotation based on exif data

Throttle notifications based on time
Refactoring
2020-03-12 13:57:07 +01:00