Commit Graph

356 Commits

Author SHA1 Message Date
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