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
viktorstrate
7b3f016a0f
Add replace debounce with throttle
...
Update dependencies
2020-03-12 13:26:11 +01:00
viktorstrate
bdec205031
Cleanup + debounce scanner notifications
2020-03-12 12:55:53 +01:00
viktorstrate
179ec5283b
Implement proper photo rotation based on exif data
2020-03-12 12:30:55 +01:00
viktorstrate
a65a7bc289
Migrate all database tables to use utf8
...
Before this, photos and albums with special characters,
would result in a scanner error and would not be imported properly.
2020-03-10 19:03:40 +01:00
viktorstrate
5b5ac5bbbd
Scanner - delete missing photos from database
2020-03-10 18:30:23 +01:00
viktorstrate
80cee8b194
Update dependencies
...
...and pre-compile graphql queries with babel
2020-03-07 18:12:23 +01:00
Viktor Strate Kløvedal
d42d7ffa18
Merge pull request #15 from viktorstrate/album-path
...
Add the path for albums, this makes it easier to navigate deeper nested albums.
2020-03-07 17:22:12 +01:00
viktorstrate
d669124367
Remove fixed height for album titles
2020-03-07 17:18:39 +01:00
viktorstrate
4e5b5624de
Add paths for albums to the web ui
...
Only fetch album paths by authorized user
2020-03-07 17:07:01 +01:00
viktorstrate
fc4639a293
Add album path resolver
2020-03-07 16:19:27 +01:00
viktorstrate
ebe1220520
Skip hidden folders, this closes #13
2020-03-07 15:34:32 +01:00
viktorstrate
a5fc15af45
Fix security bug regarding search
...
...that let users search for albums and photos made by other users
2020-03-05 20:46:50 +01:00
Viktor Strate Kløvedal
225f22bcfe
Merge pull request #14 from viktorstrate/search
...
Implement search
2020-03-05 20:36:42 +01:00
viktorstrate
ec7a7adf43
Different small improvements to search
...
- Make photos link to its album
- Implement Photo -> Album resolver
- Highlight query in search
- Hide search bar when not logged in
2020-03-05 20:34:30 +01:00
viktorstrate
525edbea07
Add search bar
2020-03-05 20:10:43 +01:00
viktorstrate
c30f5a833a
Add search resolver to api
2020-03-05 11:53:42 +01:00
viktorstrate
5cee5d8dea
Add TIFF support, this closes #3
2020-03-02 16:32:24 +01:00
Brandon Davis
4661bae48d
One dockerfile to rule them all
2020-02-29 20:06:18 -05:00
Brandon Davis
530277612e
prefix sw
2020-02-29 18:00:53 -05:00
viktorstrate
e0ada51b6b
Decrease max open connections to 80
2020-02-29 10:03:56 +01:00
viktorstrate
8ac9d50cb0
Increase MaxOpenConnections to db to 120
2020-02-29 10:00:11 +01:00
viktorstrate
67fabd1de4
Fix graphql query for share pages
...
Properly close rows in scanner
2020-02-29 09:21:41 +01:00