Compare commits

...

24 Commits

Author SHA1 Message Date
timvisee
5d7162c4a3 Bump version to 3.4.17 2022-03-04 16:54:02 +01:00
Tim Visée
4c5d8e3bd3 Merge branch 'fix-utf8' into 'master'
Change archive bit flags to specify use of UTF-8 filenames

See merge request timvisee/send!21
2022-03-04 15:52:16 +00:00
timvisee
709997ba72 Fix garbled filenames on Windows with ZIP files due to missing UTF-8 flag
See https://gitlab.com/timvisee/send/-/issues/10
2022-03-04 16:48:58 +01:00
timvisee
b880516edf Change archive bit flags to specify use of UTF-8 filenames
Related to https://gitlab.com/timvisee/send/-/issues/10#note_549739569

Suggested in https://github.com/mozilla/send/issues/1432#issue-545383226
2022-03-04 16:46:12 +01:00
timvisee
fa716a7da6 Merge branch 'dependabot/npm_and_yarn/url-parse-1.5.10' into master
See https://github.com/timvisee/send/pull/74
2022-02-28 12:08:53 +01:00
dependabot[bot]
40fc5c35ca Bump url-parse from 1.5.7 to 1.5.10
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 04:39:37 +00:00
timvisee
8d72c81150 Merge branch 'dependabot/npm_and_yarn/url-parse-1.5.7' into master
See https://github.com/timvisee/send/pull/73
2022-02-20 20:29:42 +01:00
dependabot[bot]
383b84ef1f Bump url-parse from 1.5.3 to 1.5.7
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-19 06:33:26 +00:00
timvisee
7cba51b729 Tweak FAQ to remove old FXA notice 2022-02-18 16:53:55 +01:00
timvisee
7d024a9998 Merge branch 'dependabot/npm_and_yarn/tar-4.4.19' into master
See https://github.com/timvisee/send/pull/70
2022-02-14 13:40:58 +01:00
timvisee
eabff183ec Merge branch 'master' into dependabot/npm_and_yarn/tar-4.4.19
See https://github.com/timvisee/send/pull/70
2022-02-14 13:40:49 +01:00
timvisee
d04829cbf2 Merge branch 'dependabot/npm_and_yarn/follow-redirects-1.14.8' into master
See https://github.com/timvisee/send/pull/69
2022-02-14 12:35:42 +01:00
dependabot[bot]
af52b96ab4 Bump follow-redirects from 1.14.7 to 1.14.8
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 11:30:46 +00:00
dependabot[bot]
ec26a8e38f Bump tar from 4.4.13 to 4.4.19
Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.13...v4.4.19)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 11:30:35 +00:00
timvisee
41f5615acc Merge branch 'dependabot/npm_and_yarn/ajv-6.12.6' into master
See https://github.com/timvisee/send/pull/68
2022-02-14 12:27:30 +01:00
dependabot[bot]
756d1b1d14 Bump ajv from 6.12.2 to 6.12.6
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.2...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-13 20:05:07 +00:00
timvisee
a37a0c8678 Update dependencies 2022-01-24 17:20:29 +01:00
timvisee
8c50da564f Update configstore 2022-01-24 17:16:14 +01:00
timvisee
214f723232 Merge branch 'dependabot/npm_and_yarn/nanoid-3.2.0' into master
See https://github.com/timvisee/send/pull/64
2022-01-24 17:14:41 +01:00
dependabot[bot]
f2a6af409e Bump nanoid from 3.1.16 to 3.2.0
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.16 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.16...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 01:16:00 +00:00
timvisee
b346e3e3ae Bump version to 3.4.16 2022-01-17 13:09:45 +01:00
timvisee
aea428372d Update dependencies 2022-01-17 13:09:19 +01:00
timvisee
ea8efb9d93 Merge branch 'dependabot/npm_and_yarn/follow-redirects-1.14.7' into master
See https://github.com/timvisee/send/pull/63
2022-01-17 13:05:15 +01:00
dependabot[bot]
2b7164f589 Bump follow-redirects from 1.14.5 to 1.14.7
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 22:50:28 +00:00
4 changed files with 1370 additions and 1230 deletions

View File

@@ -29,7 +29,7 @@ class File {
const v = new DataView(h);
v.setUint32(0, 0x04034b50, true); // sig
v.setUint16(4, 20, true); // version
v.setUint16(6, 8, true); // bit flags (8 = use data descriptor)
v.setUint16(6, 0x808, true); // bit flags (use data descriptor(8) + utf8-encoded(8 << 8))
v.setUint16(8, 0, true); // compression
v.setUint16(10, this.dateTime.time, true); // modified time
v.setUint16(12, this.dateTime.date, true); // modified date
@@ -60,7 +60,7 @@ class File {
v.setUint32(0, 0x02014b50, true); // sig
v.setUint16(4, 20, true); // version made
v.setUint16(6, 20, true); // version required
v.setUint16(8, 8, true); // bit flags (8 = use data descriptor)
v.setUint16(8, 0x808, true); // bit flags (use data descriptor(8) + utf8-encoded(8 << 8))
v.setUint16(10, 0, true); // compression
v.setUint16(12, this.dateTime.time, true); // modified time
v.setUint16(14, this.dateTime.date, true); // modified date

View File

@@ -1,12 +1,12 @@
## How big of a file can I transfer with Send?
There is a 2.5GB file size limit built in to Send(1GB for non-signed in users), however, in practice you may
be unable to send files that large. Send encrypts and decrypts the files in
the browser which is great for security but will tax your system resources. In
particular you can expect to see your memory usage go up by at least the size
of the file when the transfer is processing. You can see [the results of some
testing](https://github.com/mozilla/send/issues/170#issuecomment-314107793).
For the most reliable operation on common computers, its probably best to stay
There is a 2GB file size limit built in to Send, but this may be changed by the
hoster. Send encrypts and decrypts the files in the browser which is great for
security but will tax your system resources. In particular you can expect to
see your memory usage go up by at least the size of the file when the transfer
is processing. You can see [the results of some
testing](https://github.com/mozilla/send/issues/170#issuecomment-314107793). For
the most reliable operation on common computers, its probably best to stay
under a few hundred megabytes.
## Why is my browser not supported?

2566
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
{
"name": "send",
"description": "File Sharing Experiment",
"version": "3.4.15",
"version": "3.4.17",
"author": "Mozilla (https://mozilla.org)",
"contributors": [
"Tim Visee <3a4fb3964f@sinenomine.email> (https://timvisee.com)"
@@ -62,10 +62,10 @@
"node": "^16.13.0"
},
"devDependencies": {
"@babel/core": "^7.16.5",
"@babel/plugin-proposal-class-properties": "^7.16.5",
"@babel/core": "^7.16.12",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.16.5",
"@babel/preset-env": "^7.16.11",
"@dannycoates/webcrypto-liner": "^0.1.37",
"@fullhuman/postcss-purgecss": "^1.3.0",
"@mattiasbuelens/web-streams-polyfill": "0.2.1",
@@ -76,7 +76,7 @@
"base64-js": "^1.5.1",
"content-disposition": "^0.5.4",
"copy-webpack-plugin": "^5.1.2",
"core-js": "^3.20.0",
"core-js": "^3.20.3",
"crc": "^3.8.0",
"cross-env": "^6.0.3",
"css-loader": "^3.6.0",
@@ -133,9 +133,9 @@
"@dannycoates/express-ws": "^5.0.3",
"@fluent/bundle": "^0.13.0",
"@fluent/langneg": "^0.3.0",
"@google-cloud/storage": "^5.16.1",
"@google-cloud/storage": "^5.18.0",
"@sentry/node": "^5.30.0",
"aws-sdk": "^2.1046.0",
"aws-sdk": "^2.1062.0",
"body-parser": "^1.19.1",
"choo": "^7.0.0",
"cldr-core": "^35.1.0",
@@ -146,7 +146,7 @@
"helmet": "^3.23.3",
"mkdirp": "^0.5.1",
"mozlog": "^2.2.0",
"node-fetch": "^2.6.6",
"node-fetch": "^2.6.7",
"redis": "^3.1.1",
"redis-mock": "^0.47.0",
"selenium-standalone": "^6.24.0",