1
Fork 0
Commit Graph

444 Commits

Author SHA1 Message Date
viktorstrate 287b0cc204
Refactor + more tests 2021-05-19 18:21:32 +02:00
viktorstrate 3c0690c546
Rewrite FaceCircleImage to TypeScript 2021-05-19 17:46:50 +02:00
viktorstrate cd04d34cab
Rewrite PeoplePage in Typescript and add tests 2021-05-18 18:05:34 +02:00
viktorstrate 1791ef1b5c
Make full-screen the default action 2021-05-18 16:41:46 +02:00
viktorstrate c1d54f3018
Update other UI dependencies with major version change 2021-05-12 14:35:26 +02:00
viktorstrate f6debc151c
Update esbuild 2021-05-12 14:34:03 +02:00
viktorstrate ca75190e0b
Update compatible dependencies 2021-05-12 14:19:16 +02:00
viktorstrate 538835c062
Revert UI dependency updates 2021-05-12 14:14:51 +02:00
viktorstrate 19fa49eec8
Update other UI dependencies with major version change 2021-05-12 14:01:58 +02:00
viktorstrate 8b9ad141c6
Update esbuild 2021-05-12 13:59:10 +02:00
viktorstrate bea9e0b582
Update compatible dependencies 2021-05-12 13:56:20 +02:00
viktorstrate 1b2616f74e
Add "sort by" options for shared albums, fix #307 2021-05-07 16:39:08 +02:00
Viktor Strate Kløvedal 87724ce086
Merge pull request #360 from auanasgheps/patch-1
Italian translation tweaks
2021-05-04 21:22:36 +02:00
Viktor Strate Kløvedal 1837708dbd
Merge pull request #348 from photoview/ui-refactoring
Rewrite gallery to use reducer
2021-05-04 21:22:06 +02:00
viktorstrate c5f38ef6a2
Write more tests 2021-05-04 21:16:41 +02:00
viktorstrate 364257c4cf
Add tests for PresentNavigationOverlay 2021-05-04 19:47:22 +02:00
Oliver Cervera 76efcd7c44
Italian translation tweaks 2021-05-04 17:08:22 +02:00
viktorstrate a12a155976
Write tests for timeline gallery reducer 2021-05-04 16:52:43 +02:00
Damiano Zanardo 8435b22832
Update version info translation 2021-05-03 19:21:58 +02:00
viktorstrate 64dd907846
Add reducers for places page 2021-05-02 21:49:29 +02:00
viktorstrate c992fe8933
Add gallery reducer for timeline view as well 2021-05-02 17:28:11 +02:00
viktorstrate a069eff0b2
Rewrite gallery to use reducer 2021-04-29 23:59:28 +02:00
viktorstrate 26ef725b78
Use codecov-action instead 2021-04-23 22:01:52 +02:00
viktorstrate 7b2720791e
integrate codecov 2021-04-23 21:46:01 +02:00
Robin Moser b8eeb24586
display link to the last commit 2021-04-20 18:21:41 +02:00
Robin Moser 007d278435
enable localization for the version info 2021-04-20 16:26:26 +02:00
Robin Moser 7afab98ab0
add version and build info to the settings page 2021-04-20 15:58:22 +02:00
Viktor Strate Kløvedal 98c1722dcf
Merge pull request #330 from robin-moser/add-german-translation
Add german translation
2021-04-20 10:18:47 +02:00
Robin Moser 6e1ba78bc5
add German translation 2021-04-20 02:21:37 +02:00
Zazou89 f2e3bef0e1
Update translation.json 2021-04-20 02:06:57 +02:00
Zazou89 0c05f3f4bf
Update translation.json 2021-04-20 02:06:12 +02:00
Robin Moser d916b14828
add empty German language template 2021-04-20 01:31:51 +02:00
Robin Moser 8bd47c4de6
add structure for German localization 2021-04-20 01:16:39 +02:00
viktorstrate 7e4e0dd1e7
Integrate polish translation 2021-04-19 19:09:40 +02:00
sysop fb22a7ca30
Added polish translation 2021-04-19 17:49:01 +02:00
viktorstrate 32f4aaa840
Integrate spanish translation 2021-04-19 13:23:21 +02:00
viktorstrate 74cf35ef82
Rewrite sidebar to Typescript 2021-04-19 13:18:15 +02:00
danielsb 5d6205339d
Spanish translation
First pass for the Spanish translation
2021-04-19 02:28:26 +02:00
viktorstrate 2a5448d7a0
Translate timeline dates to selected language 2021-04-18 17:44:05 +02:00
viktorstrate e0e678e144
Rewrite and fix FacesOverlay 2021-04-17 22:40:46 +02:00
viktorstrate e43a344902
Rewrite sidebar share to Typescript 2021-04-17 22:14:17 +02:00
viktorstrate 7f885fa63e
Fix minor bugs 2021-04-17 17:28:16 +02:00
viktorstrate c10d011a19
Fix Messages crash 2021-04-17 17:01:41 +02:00
viktorstrate 6c63d3a6dd
Integrate italian translation
- Add before save checks on user language, to make sure the value is
  valid
2021-04-17 12:23:02 +02:00
Viktor Strate Kløvedal 5baf6fe6df
Merge pull request #316 from Zazou89/patch-1
Resumption of translation
2021-04-17 11:59:45 +02:00
Damiano Zanardo 6ad7c8114d
Update translation.json 2021-04-17 11:51:39 +02:00
Damiano Zanardo a890082aaf
update flash translation 2021-04-17 11:02:03 +02:00
Zazou89 85264c1b81
oops 2021-04-16 13:07:04 +02:00
Zazou89 44f1cae0c6
2nd review
Missing few strings in "media" section. I'm not sure how to translate them. Help appreciated ;)
2021-04-16 12:56:47 +02:00
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
Zazou89 686665c5c1
First 2021-04-16 01:44:21 +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