1
Fork 0
Commit Graph

793 Commits

Author SHA1 Message Date
Viktor Strate Kløvedal 6ad9181887
Merge pull request #309 from photoview/typescript
Add Typescript for UI
2021-04-13 21:46:10 +02:00
viktorstrate f8cd804c3d
Improve database compatibility
- Make MediaType case insensitive when saved to database
- Null check exif migrations, this might solve #300
2021-04-13 21:39:07 +02:00
viktorstrate 7f546e122e
Convert MediaSidebar to Typescript 2021-04-13 21:21:43 +02:00
viktorstrate 97a8f3726d
Convert many pages to Typescript 2021-04-13 19:57:33 +02:00
viktorstrate 99a98c0208
Add new danish translations 2021-04-13 16:44:41 +02:00
viktorstrate f09ba14a0e
Fix translations + fix build reload + more Typescript 2021-04-13 16:43:56 +02:00
viktorstrate 34a411be9d
Rewrite SharePage to typescript 2021-04-13 15:23:06 +02:00
viktorstrate 9c939fd06c
Fix UI tests 2021-04-13 14:16:40 +02:00
viktorstrate af0794dacf
Rewrite photoGallery component to TS 2021-04-12 23:36:29 +02:00
viktorstrate f4e65eb58e
Further work on typescript migration 2021-04-12 22:42:23 +02:00
viktorstrate c5d2f3dc8b
Continue with typescript migration 2021-04-12 16:06:06 +02:00
viktorstrate 264ee54e7f
Start on typescript transition 2021-04-12 00:14:48 +02:00
viktorstrate 084d9bfef7
Cleanup logs and external exif parser 2021-04-11 22:55:44 +02:00
Viktor Strate Kløvedal 2d17fb144a
Merge pull request #297 from photoview/translations
Add support for localization + danish translation
2021-04-11 22:43:43 +02:00
viktorstrate 7626c8292d
Fix UI tests 2021-04-11 22:43:21 +02:00
viktorstrate b6a85d0966
Finish localization
- Add user preferences section to settings
- Make settings page available for all users
- Move log out button to settings page
- Make it possible for each user to choose their desired language
2021-04-11 22:31:42 +02:00
viktorstrate a881e0c9df
Update node version in build process 2021-04-05 23:18:38 +02:00
viktorstrate b05f5b8eb7
More translations, fix tests, modify build process 2021-04-05 23:11:48 +02:00
viktorstrate e530ce5555
Add more translations 2021-04-05 18:49:12 +02:00
viktorstrate 12df24f366
Translate settings page to danish 2021-04-05 11:21:58 +02:00
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
hartraft 144dd78615 Merge branch 'photoview-master' 2021-04-03 20:28:24 +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