Compare commits

...

24 Commits

Author SHA1 Message Date
timvisee
592ff3fb4a Bump version to 3.4.14 2021-10-06 18:11:54 +02:00
timvisee
927203cb96 Add double-ended-queue dependency
See https://gitlab.com/timvisee/send/-/issues/23
2021-10-06 18:10:46 +02:00
timvisee
48237807fa Update dependencies 2021-10-06 18:08:47 +02:00
timvisee
38a4552d52 List Thunderbird FileLink provider extension as client in README
Fixes https://github.com/timvisee/send/issues/15
2021-08-30 15:28:29 +02:00
timvisee
9d2d81e063 Merge branch 'dependabot/npm_and_yarn/url-parse-1.5.3' into master
See https://github.com/timvisee/send/pull/53
2021-08-13 14:42:36 +02:00
dependabot[bot]
81d6c90c4e Bump url-parse from 1.5.1 to 1.5.3
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-13 11:05:08 +00:00
timvisee
2bdaa0c4bd Merge branch 'dependabot/npm_and_yarn/path-parse-1.0.7' into master
See https://github.com/timvisee/send/pull/52
2021-08-13 13:02:29 +02:00
dependabot[bot]
00d3bebc27 Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 22:09:37 +00:00
timvisee
ea384ff5d3 Update dependencies 2021-08-08 20:36:26 +02:00
timvisee
062c439ec0 Bump version to 3.4.13 2021-07-08 23:13:15 +02:00
Tim Visée
54e528980b Merge branch 'master' into 'master'
fix: remove iOS saveFile workaround #20

See merge request timvisee/send!19
2021-07-08 21:12:06 +00:00
Paul Zeinlinger
b9292abefe fix: remove iOS saveFile workaround #20 2021-07-08 23:05:39 +02:00
timvisee
1520942ac9 Fix UI error after upload when share link is too long
The QR-code generation logic had a character limit. This broke the
upload page when the share URL is too long. This has now been fixed to
support an arbitrary number of characters.

Fixes https://gitlab.com/timvisee/send/-/issues/19
2021-07-08 21:21:35 +02:00
timvisee
0e17cd567c Update qrcode snippet 2021-07-08 21:20:27 +02:00
timvisee
7b21b199c2 Update dependencies 2021-07-08 21:12:17 +02:00
timvisee
6214b07a30 Merge branch 'dependabot/npm_and_yarn/redis-3.1.1' into master
See https://github.com/timvisee/send/pull/20
2021-06-28 17:28:31 +02:00
dependabot[bot]
941d87976b Bump redis from 2.8.0 to 3.1.1
Bumps [redis](https://github.com/NodeRedis/node-redis) from 2.8.0 to 3.1.1.
- [Release notes](https://github.com/NodeRedis/node-redis/releases)
- [Changelog](https://github.com/NodeRedis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NodeRedis/node-redis/compare/v.2.8.0...v3.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 15:28:06 +00:00
timvisee
8db3fed6fb Merge branch 'dependabot/npm_and_yarn/color-string-1.5.5' into master 2021-06-28 17:24:05 +02:00
dependabot[bot]
78ca1f06e0 Bump color-string from 1.5.3 to 1.5.5
Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.3 to 1.5.5.
- [Release notes](https://github.com/Qix-/color-string/releases)
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Qix-/color-string/commits/1.5.5)

---
updated-dependencies:
- dependency-name: color-string
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 15:22:18 +00:00
timvisee
9fdc079878 Remove annoying husky post merge and checkout hooks 2021-06-28 17:19:30 +02:00
timvisee
f08d078236 Update dependencies 2021-06-23 21:02:46 +02:00
timvisee
46ae4a220b Merge branch 'dependabot/npm_and_yarn/trim-newlines-3.0.1' into master
See https://github.com/timvisee/send/pull/43
2021-06-09 13:28:26 +02:00
dependabot[bot]
d0932c26ea Bump trim-newlines from 3.0.0 to 3.0.1
Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sindresorhus/trim-newlines/releases)
- [Commits](https://github.com/sindresorhus/trim-newlines/commits)

---
updated-dependencies:
- dependency-name: trim-newlines
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 11:26:31 +00:00
timvisee
798c399a38 Update dependencies 2021-06-09 12:48:02 +02:00
6 changed files with 3022 additions and 1773 deletions

View File

@@ -152,6 +152,7 @@ AWS example using Ubuntu Server `20.04`: [docs/AWS.md](docs/AWS.md)
- Web: _this repository_
- Command-line: [`ffsend`](https://github.com/timvisee/ffsend)
- Android: _see [Android](#android) section_
- Thunderbird: [FileLink provider for Send](https://addons.thunderbird.net/en-US/thunderbird/addon/filelink-provider-for-send/)
#### Android

View File

@@ -224,24 +224,6 @@ async function saveFile(file) {
if (navigator.msSaveBlob) {
navigator.msSaveBlob(blob, file.name);
return resolve();
} else if (/iPhone|fxios/i.test(navigator.userAgent)) {
// This method is much slower but createObjectURL
// is buggy on iOS
const reader = new FileReader();
reader.addEventListener('loadend', function() {
if (reader.error) {
return reject(reader.error);
}
if (reader.result) {
const a = document.createElement('a');
a.href = reader.result;
a.download = file.name;
document.body.appendChild(a);
a.click();
}
resolve();
});
reader.readAsDataURL(blob);
} else {
const downloadUrl = URL.createObjectURL(blob);
const a = document.createElement('a');

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@ const raw = require('choo/html/raw');
const qrcode = require('../qrcode');
module.exports = function(url) {
const gen = qrcode(5, 'L');
const gen = qrcode(0, 'L');
gen.addData(url);
gen.make();
const qr = gen.createSvgTag({ scalable: true });

3464
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.12",
"version": "3.4.14",
"author": "Mozilla (https://mozilla.org)",
"contributors": [
"Tim Visee <3a4fb3964f@sinenomine.email> (https://timvisee.com)"
@@ -37,9 +37,7 @@
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test",
"post-merge": "npm install",
"post-checkout": "scripts/sync-npm-dependencies.sh"
"pre-push": "npm test"
}
},
"lint-staged": {
@@ -64,10 +62,10 @@
"node": "^15.5.1"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/core": "^7.15.5",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.14.4",
"@babel/preset-env": "^7.15.6",
"@dannycoates/webcrypto-liner": "^0.1.37",
"@fullhuman/postcss-purgecss": "^1.3.0",
"@mattiasbuelens/web-streams-polyfill": "0.2.1",
@@ -78,7 +76,7 @@
"base64-js": "^1.5.1",
"content-disposition": "^0.5.3",
"copy-webpack-plugin": "^5.1.2",
"core-js": "^3.13.1",
"core-js": "^3.18.2",
"crc": "^3.8.0",
"cross-env": "^6.0.3",
"css-loader": "^3.6.0",
@@ -98,7 +96,7 @@
"html-loader": "^0.5.5",
"http_ece": "^1.1.0",
"husky": "^3.0.9",
"intl-pluralrules": "^1.2.2",
"intl-pluralrules": "^1.3.1",
"lint-staged": "^9.4.2",
"mocha": "^6.2.2",
"morgan": "^1.9.1",
@@ -135,22 +133,23 @@
"@dannycoates/express-ws": "^5.0.3",
"@fluent/bundle": "^0.13.0",
"@fluent/langneg": "^0.3.0",
"@google-cloud/storage": "^5.8.5",
"@google-cloud/storage": "^5.14.6",
"@sentry/node": "^5.30.0",
"aws-sdk": "^2.921.0",
"aws-sdk": "^2.1001.0",
"body-parser": "^1.19.0",
"choo": "^7.0.0",
"cldr-core": "^35.1.0",
"configstore": "github:dannycoates/configstore#master",
"convict": "^5.2.0",
"convict": "^5.2.1",
"double-ended-queue": "^2.1.0-0",
"express": "^4.17.1",
"helmet": "^3.23.3",
"mkdirp": "^0.5.1",
"mozlog": "^2.2.0",
"node-fetch": "^2.6.1",
"redis": "^2.8.0",
"node-fetch": "^2.6.5",
"redis": "^3.1.1",
"redis-mock": "^0.47.0",
"selenium-standalone": "^6.23.0",
"selenium-standalone": "^6.24.0",
"ua-parser-js": "^0.7.28"
},
"availableLanguages": [