Commit Graph

3714 Commits

Author SHA1 Message Date
Marian Hähnlein d081affa38
Move injection of custom CSS from client to server 2022-08-19 13:17:59 +02:00
Marian Hähnlein 71372fcbc1
Replace tabs with spaces to maintain consistency 2022-08-19 13:11:30 +02:00
HrBingR 671390ca24 Added the ability for a user to define and set a custom locale
New environment variable CUSTOM_LOCALE allows a user to define a locale per the /public/locales directory (this should be listed in the docs, will create a pull request for that too).

If the environment variable is blank or invalid it reverts to previous behaviour of system + default locale. Fully tested the above as follows:

CUSTOM_LOCALE = 'nl' < This works correctly, translating to nl.
CUSTOM_LOCALE = 'HelloThere' < This reverts to previous behavior
CUSTOM_LOCALE = '' < Also reverts
#CUSTOM_LOCALE = < Also reverts
2022-08-13 02:25:19 +02:00
HrBingR 9221b86660
Merge branch 'timvisee:master' into master 2022-08-13 02:20:33 +02:00
HrBingR fd2e954b3e Updated docs to include custom CSS and custom footer. 2022-08-12 21:57:14 +02:00
timvisee c528ad3147
Merge branch 'HrBingR-master' into master
See https://github.com/timvisee/send/pull/103
2022-08-12 12:35:56 +02:00
HrBingR df9c7ea734
Merge branch 'timvisee:master' into master 2022-08-11 23:06:47 +02:00
HrBingR e32ea7d0aa Added the ability to define a custom footer via environment variables
Added the CUSTOM_FOOTER_TEXT and CUSTOM_FOOTER_URL environment variables.

If undefined, the default translated footer will display.

If only CUSTOM_FOOTER_TEXT is defined, only this defined text will display in place of the normal footer text.

If only CUSTOM_FOOTER_URL is defined then the defined URL will display.

If both variables are defined, the defined text will display as a link to the defined URL.
2022-08-11 23:04:45 +02:00
timvisee 55ad08fd96
Merge branch 'HrBingR-master' into master
See https://github.com/timvisee/send/pull/100
2022-08-11 10:07:14 +02:00
timvisee 96d53e4118
Merge branch 'master' of github.com:HrBingR/send into HrBingR-master 2022-08-11 10:06:45 +02:00
HrBingR bce861bcaf Added if check to see if user is using custom CSS 2022-08-10 22:55:51 +02:00
timvisee 643287e235
Merge branch 'AaronDewes-chore/cleanup-dependencies' into master
See https://github.com/timvisee/send/pull/101
2022-08-10 19:04:33 +02:00
AaronDewes c619be58ae Remove asmcrypto.js 2022-08-09 16:18:16 +00:00
AaronDewes 9b8b11ffc3 Remove double-ended-queue
Not required anymore since node-redis 3.0
2022-08-09 15:39:41 +00:00
AaronDewes 1725ff434e Further dependency cleanup 2022-08-09 15:37:16 +00:00
AaronDewes e1d6224570 More dependency cleanups 2022-08-09 15:29:54 +00:00
AaronDewes 38746b86fd Update eslint & plugins
Also replace eslint-plugin-node with the maintained eslint-plugin-n
2022-08-09 15:26:25 +00:00
AaronDewes 64644b57e3 Remove some polyfills
This should reduce the runtime size & load times somewhat by removing polyfills for older browsers which are not used much
2022-08-09 15:17:38 +00:00
timvisee 625fdf5bca
Merge branch 'AaronDewes-update-deps' into master
See https://github.com/timvisee/send/pull/98
2022-08-09 16:20:33 +02:00
AaronDewes 951c613095 Fix stylelint errors 2022-08-09 09:12:32 +00:00
AaronDewes 16e78847a2 Fix style problems 2022-08-09 09:00:43 +00:00
HrBingR 310271c10f Added new environment variables for custom css, custom title, and custom description.
Fully tested using the Dockerfile, example can be found on https://fileshare.thenextweb.co.za
2022-08-08 00:37:17 +02:00
AaronDewes 55344f8a9d Drop mkdirp 2022-07-26 17:23:19 +00:00
AaronDewes 2b22e8cd05 Update more dependencies 2022-07-26 17:21:12 +00:00
AaronDewes 47ff32fc9f Modernize CSS 2022-07-26 16:52:29 +00:00
AaronDewes b598a1c090 Update svgo 2022-07-26 11:56:20 +00:00
AaronDewes 3ae9e6adeb Update git-rev-sync 2022-07-26 11:18:17 +00:00
AaronDewes 33e7e0f5ba npm audit fix 2022-07-26 11:15:12 +00:00
AaronDewes ca3b5cf7ca Update more packages 2022-07-26 11:05:53 +00:00
AaronDewes 44a25e4156 Update fluent 2022-07-26 11:03:10 +00:00
timvisee 000854104f
Merge branch 'NamPNQ-master' into master
See https://github.com/timvisee/send/pull/94
2022-07-04 18:40:45 +02:00
Nam PHAM 1a0ddf9a05 Disable check user when fxa is not enabled 2022-07-02 23:48:04 +02:00
dependabot[bot] 0ac1eeed2c
Bump got from 11.8.3 to 11.8.5
Bumps [got](https://github.com/sindresorhus/got) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-24 05:02:22 +00:00
dependabot[bot] 2457545502
Bump eventsource from 1.1.0 to 1.1.1
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-01 20:39:30 +00:00
dependabot[bot] 75637807eb
Bump convict from 6.2.2 to 6.2.3
Bumps [convict](https://github.com/mozilla/node-convict) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/mozilla/node-convict/releases)
- [Changelog](https://github.com/mozilla/node-convict/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mozilla/node-convict/compare/v6.2.2...v6.2.3)

---
updated-dependencies:
- dependency-name: convict
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-26 02:57:43 +00:00
timvisee 3b0ef1c0d6
Bump version to 3.4.20 2022-05-12 21:57:02 +02:00
timvisee 22c9560855
Update package-lock.json 2022-05-12 21:56:10 +02:00
Tim Visée dda964ebf9 Merge branch 'feature/branding' into 'master'
Add ability to change the branding

See merge request timvisee/send!23
2022-05-12 19:52:46 +00:00
Marian Hähnlein 560747106b
Add ability to change the branding 2022-05-02 13:38:16 +02:00
timvisee 81741dcc76
Bump version to 3.4.19 2022-04-25 10:33:18 +02:00
timvisee 58a0800384
Add package for extracted ipaddress format from convic 2022-04-25 10:30:48 +02:00
timvisee 7323f584c1
Merge branch 'dependabot/npm_and_yarn/convict-6.2.2' into master
See https://github.com/timvisee/send/pull/83
2022-04-25 10:04:58 +02:00
dependabot[bot] c616412449
Bump convict from 5.2.1 to 6.2.2
Bumps [convict](https://github.com/mozilla/node-convict) from 5.2.1 to 6.2.2.
- [Release notes](https://github.com/mozilla/node-convict/releases)
- [Changelog](https://github.com/mozilla/node-convict/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mozilla/node-convict/compare/v5.2.1...v6.2.2)

---
updated-dependencies:
- dependency-name: convict
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-20 21:04:28 +00:00
timvisee b9faece68e
Merge branch 'dependabot/npm_and_yarn/minimist-1.2.6' into master
See https://github.com/timvisee/send/pull/80
2022-04-07 14:10:40 +02:00
dependabot[bot] 097bdf8853
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 11:27:32 +00:00
timvisee e96e09f664
Update dependencies 2022-04-07 13:22:46 +02:00
timvisee 0ebea72b3e
Bump version to 3.4.18 2022-03-28 22:03:52 +02:00
timvisee 9cac202892
Update dependencies 2022-03-28 21:45:05 +02:00
Tim Visée b41c8087f9 Merge branch 'improve-dockerfile' into 'master'
Docker: Set app user gid/uid to 1000

See merge request timvisee/send!22
2022-03-28 19:41:20 +00:00
Lounès Ksouri 9fcc8e36b0 set app user gid/uid to 1000 2022-03-26 15:08:24 +00:00