viktorstrate
84cb8c3c09
Configure 18next-extract and start on translation
2021-04-04 23:40:10 +02:00
viktorstrate
ef50d7f23b
Add babel to esbuild and start on translation
2021-04-04 12:09:41 +02:00
Viktor Strate Kløvedal
ac8632cd82
Add event_name to docker tags in build action
2021-04-04 10:27:09 +02:00
Viktor Strate Kløvedal
8a1f2e957e
Add "latest" tag when building release
2021-04-03 23:30:08 +02:00
Viktor Strate Kløvedal
a2c13d6fa1
Fix error in build action when pushing release
2021-04-03 23:13:29 +02:00
viktorstrate
8ec2a7789b
Fix sidecar hash bug
...
This closes #276
2021-04-03 22:52:53 +02:00
Viktor Strate Kløvedal
48605e60e0
Add @robin-moser to sponsors section in readme
2021-04-03 21:49:27 +02:00
viktorstrate
ceb8c4103f
Fix exiftool detection
2021-04-03 21:39:32 +02:00
viktorstrate
ad60eccf8b
Add database migrations for exif values
2021-04-03 21:20:02 +02:00
viktorstrate
faf8602c59
Clean up EXIF info in sidebar and add tests for it
...
- Move debounce function to new file 'utils.js'
- Add 'isNil' function to 'utils.js'
2021-04-03 18:33:07 +02:00
viktorstrate
a8ec5db9dc
Move some files to ui/helpers dir
2021-04-03 17:56:41 +02:00
viktorstrate
95c174d3a5
Setup husky hooks for api
2021-04-03 17:49:18 +02:00
viktorstrate
0a5e6bf350
Update Husky hooks
2021-04-03 17:32:01 +02:00
viktorstrate
7d2ded2cdf
Update npm dependencies
2021-04-03 17:09:57 +02:00
viktorstrate
17fe8c01dc
Update go dependencies
2021-04-03 16:43:11 +02:00
Viktor Strate Kløvedal
c0bced8c0a
Merge pull request #258 from Kjeldgaard/244_exiftool
...
Use exiftool for parsing exif data
2021-04-02 23:03:26 +02:00
Viktor Strate Kløvedal
fcae4a89ec
Merge pull request #275 from stz184/implement-custom-lazy-loading
...
Replace react-lazyload with custom IntersectionObserver
2021-04-02 10:10:32 +02:00
stz184
d2a739de93
Fixes photoview/issues#189
...
- Added missing dependencies array on useEffect hook in ProtectedMedia.js
- The new property of ProtectedImage component is renamed from loading to lazyLoading and its type is changed to boolean. Since <img loading /> attribute is pointless when it is not supported by the browser or when it is used with default value "eager", there is no much sense in setting it at all.
- Added description how does the new property works as part of the docblock.
2021-04-02 09:59:25 +03:00
Kjeldgaard
3bde799fb3
Fix log bug
...
Fix log bug, exposure time is now float and not string.
Signed-off-by: Kjeldgaard <Kjeldgaard@users.noreply.github.com>
2021-03-31 23:43:44 +02:00
Kjeldgaard
f946500eaa
Use barasher/go-exiftool
...
Use barasher/go-exiftool again.
Exposure is not saved as float and not a string.
Signed-off-by: Kjeldgaard <Kjeldgaard@users.noreply.github.com>
2021-03-31 23:35:25 +02:00
viktorstrate
ef063df34d
Fix Docker builds for arm
2021-03-31 23:32:37 +02:00
stz184
cdc13fce5c
Fixes photoview/issues#189
...
- LazyLoad helper is now a singleton class reusing the same IntersectionObserver instance for performance reasons
- IntersectionObserver is now disconnected when the component is unmounted for performance reasons
- StyledPhoto is now using useCallback to avoid unnecessary rerenderings
- Fixed issue setting loading attribute to the <img /> rendered by <ProtectedImage/> component
2021-03-31 04:58:28 +03:00
stz184
c40f3cc066
Fixes photoview/issues#189
...
- Fixed issue setting loading attribute to the HTML tag <img />
2021-03-31 03:30:37 +03:00
stz184
fc794b8e6a
Fixes photoview/issues#189
...
- Removed accidentally committed debug code
2021-03-31 03:13:59 +03:00
Viktor Strate Kløvedal
c7c1a3ebae
Remove commas from list in build action
2021-03-30 20:13:08 +02:00
Viktor Strate Kløvedal
d7e42c8bc9
Don't escape env vars in build action
2021-03-30 20:10:25 +02:00
Viktor Strate Kløvedal
f5d44cf789
Fix syntax error in build action
2021-03-30 20:03:26 +02:00
Viktor Strate Kløvedal
1b70142ddc
Cleanup unused tags after manifest is created
2021-03-30 20:00:30 +02:00
stz184
152b4c7e34
Fixes photoview/issues#189
...
- If it is possible, HTMLImageElement.loading is used a lightweight native browser lazy loading solution
- Custom lazyLoad library is created depending on IntersectionObserver. If IntersectionObserver is not available, the images are eagerly loaded
- removed react-lazyload from the dependencies
2021-03-30 16:51:19 +03:00
viktorstrate
ce80ef281b
Merge branch 'master' into 244_exiftool
2021-03-29 12:40:52 +02:00
viktorstrate
1ba62ab03a
Add back docker push conditions to build action
2021-03-29 12:36:14 +02:00
Viktor Strate Kløvedal
454b2dbadd
Merge branch 'master' into 244_exiftool
2021-03-29 12:10:02 +02:00
viktorstrate
da664c7766
Use strict equal when comparing exif values
...
This fixes a problem where flash values of 0 (no flash)
would not show up in the side bar
2021-03-29 11:57:57 +02:00
Kjeldgaard
1193222f92
Update external exif parser method
...
Exiftool meta data parsed as intergers and not strings. Keep internal
exif parsing functionality.
Signed-off-by: Kjeldgaard <Kjeldgaard@users.noreply.github.com>
2021-03-28 23:52:51 +02:00
Viktor Strate Kløvedal
804b4576ec
Push correct tags to dockerhub
2021-03-28 23:32:41 +02:00
Viktor Strate Kløvedal
aa7588145f
Fix docker username variable
2021-03-28 23:15:42 +02:00
Viktor Strate Kløvedal
e2fd7a7a70
Fix typo
2021-03-28 23:11:00 +02:00
Viktor Strate Kløvedal
c432036a7f
Fix syntax error
2021-03-28 23:07:06 +02:00
Viktor Strate Kløvedal
cf36b9ec8d
Push individual images, combine afterwards
2021-03-28 23:03:42 +02:00
Viktor Strate Kløvedal
1543f74f6c
Update load images step
2021-03-28 21:52:26 +02:00
Viktor Strate Kløvedal
41520f912a
Format artifact name to not contain '/'
2021-03-28 21:46:50 +02:00
Viktor Strate Kløvedal
9d43104126
Fix path to artifact
2021-03-28 21:32:22 +02:00
Viktor Strate Kløvedal
d7bdefa42b
Add missing docker build output directory
2021-03-28 21:30:20 +02:00
Viktor Strate Kløvedal
5ec05e54ea
Ghactions save docker images in artifacts
2021-03-28 21:24:32 +02:00
Viktor Strate Kløvedal
f2bb1335e6
Merge pull request #271 from photoview/heic-support
...
- Add HEIC image file support
- Optimize the Dockerfile and add support for libheif which is needed for decoding `.heic` images
- Change ghactions docker build action to build each architecure as individual jobs
2021-03-28 20:01:37 +02:00
Viktor Strate Kløvedal
3224cc8ce7
Use a ghaction matrix in docker build
...
to build each architecture individually
2021-03-28 19:39:22 +02:00
Viktor Strate Kløvedal
e29beea1ff
Add secret to cache key
...
To make it possible to invalidate cache if needed
2021-03-28 19:27:25 +02:00
viktorstrate
ec2a6e4ded
Remove cache restore key
2021-03-28 18:43:58 +02:00
viktorstrate
b59ba20bd1
Refactor Dockerfile
...
- Use debian:bullseye instad for newer packages
- Only install necessary dependencies for targeted arch
- Make it work with libheif
2021-03-28 13:57:57 +02:00
viktorstrate
93d6962a35
Add libheif ppa to ghactions API tests
2021-03-27 23:15:14 +01:00