Damiano Zanardo
d4270a315c
fix typo
2021-04-16 11:28:01 +02:00
Damiano Zanardo
4d5e93378b
Translate to italian
2021-04-16 11:20:55 +02:00
Damiano Zanardo
55faca3aad
copy en translation file to it
2021-04-16 10:44:52 +02:00
viktorstrate
8e8abe7d37
Replace all gorm .Scan() calls with .Find()
...
if the argument is a model. This ensures that the proper gorm hooks are
called which was causing the full screen view on the Places page to
crash.
Also fixed a bug in Messages.js that caused a crash.
2021-04-15 16:27:26 +02:00
viktorstrate
788a8e7c62
Rewrite PlacesPage to Typescript
2021-04-15 15:15:24 +02:00
viktorstrate
de76360fbf
Integrate swedish translation
2021-04-15 11:59:49 +02:00
Viktor Strate Kløvedal
db5dc06c9d
Merge pull request #313 from roupenig/translation_sv
...
Swedish translations
2021-04-15 00:05:25 +02:00
roupenig
6cc76ad093
Create translation.json
...
Added Swedish translation
2021-04-14 22:58:47 +02:00
viktorstrate
b6ad3baa31
Add exhaustive switch checks
2021-04-14 12:52:07 +02:00
viktorstrate
e16df483f3
Fix UI tests
2021-04-14 12:41:37 +02:00
viktorstrate
bf19ffc0a5
Integrate french translation
2021-04-14 12:36:16 +02:00
hartraft
cc57e391ad
Initial FR translations 🇫🇷
2021-04-14 00:22:21 +02:00
viktorstrate
bbb12003fc
Fix #299 and #300
2021-04-13 22:15:47 +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
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
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
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
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
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
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
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
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
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
Kjeldgaard
7b5305579b
Extract metadata as integers
...
Extract all metada as integers fomr exiftool.
Signed-off-by: Kjeldgaard <Kjeldgaard@users.noreply.github.com>
2021-03-23 21:36:03 +01:00
Kjeldgaard
1f9f6ebf9a
Use exiftool for parsing exif data
...
Use exiftool to parse exif metadata.
Signed-off-by: Kjeldgaard <Kjeldgaard@users.noreply.github.com>
2021-03-20 00:26:05 +01:00
viktorstrate
ba16fc1caa
Fix postgres errors + fix search results without thumbnails
...
This closes #241
2021-03-12 14:26:51 +01:00
viktorstrate
302ddf1296
Move message styled element out
...
To make sure it isn't recreated each time MessageProgress is updated.
2021-03-05 19:51:52 +01:00
viktorstrate
1473f9f7de
Fix bug where downloads didn't work ( fixes #238 )
2021-03-05 19:48:55 +01:00
viktorstrate
9ba23041f4
Fix division problems with face pagination
2021-03-04 09:54:04 +01:00
viktorstrate
3d9ae530af
Load shared albums recursively
...
This solves #143 and #229
2021-03-03 15:55:55 +01:00