Commit graph

613 commits

Author SHA1 Message Date
schlagmichdoch
76c47c9623 Rewrite FileDigester to tidy up code, be able to delete files in OPFS onPageHide and on abort of file transfer 2024-07-14 18:04:03 +02:00
schlagmichdoch
fa86212139 Merge branch 'master' into sw_digester 2024-07-14 14:32:35 +02:00
schlagmichdoch
b0711de5b9 Increase version to v1.10.9
## Fixes
- Updated Node.js dependencies

## Languages
- New Language Belarusian
- New Language Danish
- New Language Hebrew
- Translations update from Hosted Weblate (French, Japanese, Turkish, Russian)
2024-07-01 18:56:51 +02:00
schlagmichdoch
5dd36da962 Enable Belarusian, Danish, and Hebrew translations 2024-07-01 18:47:26 +02:00
Hosted Weblate
5625cb0ca6
Translated using Weblate (Korean)
Currently translated at 13.2% (22 of 166 strings)

Added translation using Weblate (Korean)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: 뉴윈연구소 <oswincount@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/ko/
Translation: PairDrop/pairdrop-spa
2024-07-01 18:33:01 +02:00
Hosted Weblate
74e5e2286f
Translated using Weblate (French)
Currently translated at 100.0% (166 of 166 strings)

Translated using Weblate (Czech)

Currently translated at 3.0% (5 of 166 strings)

Added translation using Weblate (Czech)

Translated using Weblate (Catalan)

Currently translated at 100.0% (166 of 166 strings)

Co-authored-by: Guillaume Dorce <polynux.dev@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Netleak <netleak@zendovo.eu>
Co-authored-by: gmassipg <gerardmassipgil@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/ca/
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/cs/
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/fr/
Translation: PairDrop/pairdrop-spa
2024-07-01 18:33:01 +02:00
Hosted Weblate
1a254765fe
Translated using Weblate (Hebrew)
Currently translated at 100.0% (166 of 166 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Liraz Shalom <liraz747.sh@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/he/
Translation: PairDrop/pairdrop-spa
2024-07-01 18:33:01 +02:00
Hosted Weblate
27a698c762
Translated using Weblate (French)
Currently translated at 100.0% (166 of 166 strings)

Translated using Weblate (Czech)

Currently translated at 3.0% (5 of 166 strings)

Added translation using Weblate (Czech)

Translated using Weblate (Catalan)

Currently translated at 100.0% (166 of 166 strings)

Co-authored-by: Guillaume Dorce <polynux.dev@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Netleak <netleak@zendovo.eu>
Co-authored-by: gmassipg <gerardmassipgil@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/ca/
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/cs/
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/fr/
Translation: PairDrop/pairdrop-spa
2024-07-01 18:33:01 +02:00
Hosted Weblate
971917bc77
Translated using Weblate (French)
Currently translated at 100.0% (166 of 166 strings)

Translated using Weblate (Czech)

Currently translated at 3.0% (5 of 166 strings)

Added translation using Weblate (Czech)

Translated using Weblate (Catalan)

Currently translated at 100.0% (166 of 166 strings)

Co-authored-by: Guillaume Dorce <polynux.dev@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Netleak <netleak@zendovo.eu>
Co-authored-by: gmassipg <gerardmassipgil@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/ca/
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/cs/
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/fr/
Translation: PairDrop/pairdrop-spa
2024-07-01 18:33:01 +02:00
Hosted Weblate
1eefd4720f
Translated using Weblate (Japanese)
Currently translated at 100.0% (166 of 166 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (166 of 166 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: mottcha <89951503+mottcha@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/ja/
Translation: PairDrop/pairdrop-spa
2024-07-01 18:33:01 +02:00
Hosted Weblate
ff92e606ff
Translated using Weblate (Belarusian)
Currently translated at 100.0% (166 of 166 strings)

Translated using Weblate (Belarusian)

Currently translated at 56.6% (94 of 166 strings)

Added translation using Weblate (Belarusian)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Troja <d.iwowi.b@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/be/
Translation: PairDrop/pairdrop-spa
2024-07-01 18:33:00 +02:00
Hosted Weblate
e53e4adcdf
Translated using Weblate (Russian)
Currently translated at 88.5% (147 of 166 strings)

Co-authored-by: Ed Asriyan <webslate.org@asriyan.me>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/ru/
Translation: PairDrop/pairdrop-spa
2024-07-01 18:33:00 +02:00
Hosted Weblate
fda19dc819
Translated using Weblate (Danish)
Currently translated at 99.3% (165 of 166 strings)

Added translation using Weblate (Danish)

Co-authored-by: Halfdan <gamerhalfdan@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/da/
Translation: PairDrop/pairdrop-spa
2024-07-01 18:33:00 +02:00
Hosted Weblate
78d9ba45d3
Translated using Weblate (Turkish)
Currently translated at 0.0% (0 of 166 strings)

Translated using Weblate (Turkish)

Currently translated at 82.5% (137 of 166 strings)

Co-authored-by: Enhar Ukalo <uenhar@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/tr/
Translation: PairDrop/pairdrop-spa
2024-07-01 18:33:00 +02:00
schlagmichdoch
80a5c0efdb Increase version to v1.10.8
## Fixes
- Received message empty when loaded from queue (#288)

## Languages
- New Language Hungarian
- New Language Polish
- New Language Traditional Chinese
- Translations update from Hosted Weblate (Portuguese (Brazil), Russian, Japanese, Arabic, Indonesian, Dutch, French)
2024-04-18 16:30:33 +02:00
schlagmichdoch
c8484ab104 Enable Hungarian, Polish, and Traditional Chinese Translations 2024-04-18 16:16:36 +02:00
schlagmichdoch
05827b12ca Rename new Chinese translation files to match their browser language strings 2024-04-17 21:34:19 +02:00
Hosted Weblate
5e79ef0d9f
Added translation using Weblate (Yue (Traditional))
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: hugoalh <hugoalh@users.noreply.hosted.weblate.org>
2024-04-17 20:56:08 +02:00
Hosted Weblate
add361c284
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (166 of 166 strings)

Added translation using Weblate (Chinese (Traditional))

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: hugoalh <hugoalh@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/zh_Hant/
Translation: PairDrop/pairdrop-spa
2024-04-17 20:56:08 +02:00
Hosted Weblate
fd0c32faad
Added translation using Weblate (Finnish)
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Unknowwed <unknowwed202@gmail.com>
2024-04-17 20:56:08 +02:00
Hosted Weblate
f0cfb4833d
Translated using Weblate (French)
Currently translated at 98.7% (164 of 166 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Thumuss <42680097+Thumuss@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/fr/
Translation: PairDrop/pairdrop-spa
2024-04-17 20:56:08 +02:00
Hosted Weblate
46b6b38ad5
Translated using Weblate (Dutch)
Currently translated at 100.0% (166 of 166 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (166 of 166 strings)

Co-authored-by: Arne Cuperus <cuperusarne@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: schlagmichdoch <sonnig-02.hieven@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/nl/
Translation: PairDrop/pairdrop-spa
2024-04-17 20:56:08 +02:00
Hosted Weblate
3cc2ab99b5
Translated using Weblate (Indonesian)
Currently translated at 93.9% (156 of 166 strings)

Co-authored-by: schlagmichdoch <sonnig-02.hieven@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/id/
Translation: PairDrop/pairdrop-spa
2024-04-17 20:56:08 +02:00
Hosted Weblate
61861df99e
Translated using Weblate (Arabic)
Currently translated at 83.7% (139 of 166 strings)

Co-authored-by: schlagmichdoch <sonnig-02.hieven@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/ar/
Translation: PairDrop/pairdrop-spa
2024-04-17 20:56:08 +02:00
Hosted Weblate
6330f09486
Translated using Weblate (Polish)
Currently translated at 100.0% (166 of 166 strings)

Added translation using Weblate (Polish)

Co-authored-by: Ash Mad <ash729@users.noreply.hosted.weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/pl/
Translation: PairDrop/pairdrop-spa
2024-04-17 20:56:08 +02:00
Hosted Weblate
e07255398f
Added translation using Weblate (Hebrew)
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: schlagmichdoch <sonnig-02.hieven@icloud.com>
2024-04-17 20:56:08 +02:00
Hosted Weblate
cce97a6496
Translated using Weblate (Hungarian)
Currently translated at 100.0% (166 of 166 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (166 of 166 strings)

Translated using Weblate (Hungarian)

Currently translated at 47.5% (79 of 166 strings)

Added translation using Weblate (Hungarian)

Co-authored-by: Balázs Szeles <zutvas@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/hu/
Translation: PairDrop/pairdrop-spa
2024-04-17 20:56:08 +02:00
Hosted Weblate
9c98bc3e9b
Translated using Weblate (Japanese)
Currently translated at 98.1% (163 of 166 strings)

Co-authored-by: schlagmichdoch <sonnig-02.hieven@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/ja/
Translation: PairDrop/pairdrop-spa
2024-04-17 20:56:08 +02:00
Hosted Weblate
63717aae82
Translated using Weblate (Russian)
Currently translated at 87.3% (145 of 166 strings)

Translated using Weblate (Russian)

Currently translated at 87.3% (145 of 166 strings)

Co-authored-by: Drako 1 <caesarrulezzz@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: schlagmichdoch <sonnig-02.hieven@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/ru/
Translation: PairDrop/pairdrop-spa
2024-04-17 20:56:08 +02:00
Hosted Weblate
08aa1e62a4
Translated using Weblate (Portuguese (Brazil))
Currently translated at 96.9% (161 of 166 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 96.9% (161 of 166 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Richard Willian <eliteplayer000@gmail.com>
Co-authored-by: schlagmichdoch <sonnig-02.hieven@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/pt_BR/
Translation: PairDrop/pairdrop-spa
2024-04-17 20:56:08 +02:00
schlagmichdoch
35f47d9063 Fix inner text being cleared when viewing next received text from queue + prevent skipping of queue entry when timing is bad by checking for existing timeout
Co-authored-by: klmkyo <mail@mklimek.dev>
2024-04-17 20:38:33 +02:00
schlagmichdoch
3b772d0619 Tidy up code of progress animation and make it linear; Tidy up code of setting statusText for transfer notes 2024-02-17 21:01:17 +01:00
schlagmichdoch
d70f9d762e Remove redundant 'receive-progress' and move setting of progress to receive confirmation methods 2024-02-17 15:39:33 +01:00
schlagmichdoch
8592499d22 Replace status: null with status: idle; Set status to processing immediately after receiving is done 2024-02-17 14:17:43 +01:00
schlagmichdoch
e29ea44025 Add transfer notes: Speed + Time left 2024-02-17 14:05:54 +01:00
schlagmichdoch
00f1a20177 Round progress to 4th digit to prevent weird progress bar behavior on reconnect 2024-02-17 12:27:29 +01:00
schlagmichdoch
3c8848d406 Add STATE_TRANSFER_REQUEST_RECEIVED and close transfer request dialog if requesting peer reloads 2024-02-17 12:27:29 +01:00
schlagmichdoch
0d17ada58b NoSleep: Move evaluation if any peer is still busy to the PeerManager 2024-02-17 12:27:28 +01:00
schlagmichdoch
74bd7dd406 Check if RAM would be exceeded before using navigator.share() 2024-02-17 12:27:28 +01:00
schlagmichdoch
f4a947527d Move service worker digestion into separate class and add static function to check if it is supported by the browser. Change ram-exceed-ios waring accordingly. 2024-02-17 12:26:21 +01:00
schlagmichdoch
90f10910aa Fix _fileReceived getting called twice 2024-02-15 18:02:23 +01:00
schlagmichdoch
aacf24c31f Fix reconnecting by always accepting new ice candidates 2024-02-15 18:02:23 +01:00
schlagmichdoch
c0e5b66d41 Fix share menu error detection on iOS 2024-02-15 18:02:23 +01:00
schlagmichdoch
42bd71a3dc Add error status and check if too many bytes are received 2024-02-15 18:02:23 +01:00
schlagmichdoch
a98499ea5a Move header comparison to _onTransferHeader function as there is no benefit in doing it after file is received 2024-02-15 18:02:23 +01:00
schlagmichdoch
7c471910ef Tidy up Peer classes 2024-02-15 18:02:15 +01:00
schlagmichdoch
da558ddceb Move beforeunload event to Peer class to include it to the WSPeer; Add reset method to Peer class to prevent returning the "unfinished-transfers" warning when closing the page after a peer has left during transfer 2024-02-15 15:18:25 +01:00
schlagmichdoch
1df8fe258e Tidy up zipper functions 2024-02-15 15:18:25 +01:00
schlagmichdoch
65936a4d7d Truncate file used by the sw-file-digester.js after processing 2024-02-15 15:18:25 +01:00
schlagmichdoch
7c6062e1e0 Solve "transfer-complete" and "receive-complete" status detection via css instead of adding a new class 2024-02-13 18:24:08 +01:00