Commit Graph

22 Commits

Author SHA1 Message Date
041ff2d7d6 Fixed title page (#4137). 2022-12-05 21:16:31 +01: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
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
Marian Hähnlein
560747106b
Add ability to change the branding 2022-05-02 13:38:16 +02:00
Cullen Walsh
02e8cb264f Add detect_base_url config
This diff adds the detect_base_url config, controlled by the
DETECT_BASE_URL env variable. When set to true, the BASE_URL setting is
ignored, and the base_url is derived from the request protocol and host
header.

Test Plan: Started up a local instance in my homelab, running docker
node:15 image with a nginx reverse proxy. Configured nginx to use the
same backend with multiple hostnames on https. Opened in browser and
confirmed og:url meta tag uses correct url.
2021-05-05 22:19:11 -07:00
timvisee
45d5f41731
Remove Firefox branding from app name in front-end 2020-10-15 18:48:54 +02:00
Danny Coates
20b9279eec added survey dialog. closes #1307 2019-05-01 09:47:04 -07:00
Danny Coates
3e14d3049d
only index / route 2019-03-14 13:17:47 -07:00
Danny Coates
c4891c3866
fixed req.route bug when no routes match 2019-03-14 12:02:36 -07:00
Danny Coates
4e26c6ab75
added robots meta tag 2019-03-14 11:40:01 -07:00
Danny Coates
7464d46843
removed unused fira bits 2019-03-06 16:37:02 -08:00
Danny Coates
c585c34c01
use one Archive instance for state.archive 2018-12-21 10:54:38 -08:00
Danny Coates
d4528848d9
moved jsconfig code into initScript 2018-11-20 12:23:05 -08:00
Danny Coates
1e62aa976d reimplemented l10n using dynamic import() (#1012)
this should greatly reduce the complexity of the l10n code
and build pipeline and eliminate the most common error
seen in sentry logs (no translate function)
2018-11-20 09:50:59 -05:00
Danny Coates
ec5d301814
set capabilities.account = false on the server to defer rendering those components. fixes #929 2018-09-19 09:01:19 -07:00
Danny Coates
942457b357
added account to capabilities 2018-09-14 13:58:19 -07:00
Danny Coates
7ccf462bf8 implemented PKCE auth (#921)
* implemented PKCE auth

* removed node-jose

* added PKCE tests
2018-09-14 11:00:33 -04:00
Danny Coates
718d74fa50
Implemented FxA 2018-08-30 22:10:08 -07:00
Danny Coates
32c5b414de
use beefy ui 2017-10-10 10:20:49 -07:00
Danny Coates
81442bb6f2
set default server states for fira and fileInfo 2017-09-14 12:15:08 -07:00
Danny Coates
17e61bb09d
added first A/B experiment 2017-09-11 17:30:05 -07:00
Danny Coates
53e822964e
a few changes to make A/B testing easier 2017-08-25 09:44:52 -07:00