Commit Graph

18 Commits

Author SHA1 Message Date
Justin Goette 6200e74842
Add NGINX implementation of proxy_set_header Forwarded (#275)
* add NGINX implementation of proxy_set_header Forwarded

* update copyright year

* Treat X-Forwarded-* same

* Comments
2021-05-29 13:12:50 +01:00
Matt (IPv4) Cowley 27d090daeb
Show warning icons in tabs (#260)
* Add unstyled warning to onion tab

* Style the warning icon

* Add warning for http3

* Add warning icon to global security tab

* Surface warnings for domains

* Show warning icon for duplicate domains

* Improve http3 warning string names

* Show warning message/icon for Brotli
2021-05-13 15:28:17 +01:00
Matt (IPv4) Cowley 7a0b6937c6
Assorted cleanup + fixes (#249)
* Move i18n strings to correct files

* Update copyright header in recently modified files

* More consistent line wrapping

* Move modules above events block
2021-03-31 14:12:50 +01:00
J3fftw 8b7cf80733
Added http/3 and port reuse support (#238)
* Added http/3 and port reuse support

* eslint fixes

* updated locale translations

* euhm no one saw this

* Did requested changes

* fixed eslint

* note to self tab is 4 spaces not 2

* Did requested changes

* added coma

* i forgot to ctrl + s

* did requested changes

* removed trailing comma

* it should be reverted now

* :PanSpoonSad: intensifies

* Im bad at this
2021-03-29 20:35:55 +01:00
Atila Silva 1fb756ca77
Set the PHP server config per site (#232)
* Set up the php server per site.

* Backwards compatibility logic for old config URLs.

* Remove php global config tab.

* Fix util import in website.conf.js

* Fix eslint fails.

* Move global php i18n keys to domain

* Remove unnecessary domains verification and set fastcgi_pass in unified mode.

* Convert return statement to logic operator in php_ustream.js

* Move php upstream to outside the server blocks

* Remove unnecessary watcher from php domain section

* Fix upstream config context and conditional append

* Separate backwards compatibility logic.

* Remove unused i18n key from php domain and update copyright of these files

* Replace all dots for underscore in php_upstream helper

* Fix missing space and remove upstream comment from php config.

* Fix selects $refs and watch the enable status for phpServer and phpBackupServer.

* Change copyright year for all modified files.

* Backwards compatibility logic for old config URLs after angularBackwardsCompatibility

* Deep merge old php global config from data url, and add safe disable for phpConfigs

* Move deep merge function to new helper

* Fix missing disable wordpressRules  and convert function declaration to arrows in deep merge helper

* Fix missing css class in php domain-section
2021-02-24 16:20:10 +00:00
powerdot d4d02172d0
Add Russian language support (#226)
* Russian lang

* Russian Lang

* Update src/nginxconfig/i18n/fr/languages.js

Mama Mia! Pizza!

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>

* Update src/nginxconfig/i18n/ru/common.js

Tabs to 4 spaces

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>

* Matt language revision

2020 -> 2021
Added translations

* Little updates

1 translation
1 correction

* Update package-lock.json

* Update package-lock.json

* Update https.js

Broken French

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-02-17 12:43:34 +00:00
墨娘 68b2fccbc0
Translate Chinese strings for Callouts (#223) 2021-02-15 17:05:49 +00:00
Matt (IPv4) Cowley bbddeb0f13
Add Droplet & contribution callouts (#216)
* Add the initial Droplet callout

* Add the initial Contribute callout

* Show contribute callout on scroll

* Add close button to contribute callout

* Add/update styling copyright header

* Add analytics events for the callouts

* Tweak how we send analytics events

* Add some z-index to the floating callout

* Fix all the failing tests
2021-02-04 19:31:26 +00:00
Matt (IPv4) Cowley ad63ca0c8b
Support custom PHP server values (#218)
* Add the logic for custom php paths

* Add the i18n strings

* Fix some visual things
2021-02-04 19:29:32 +00:00
mphschmitt f2aa59297d
Add French translations (#214)
* Add French translations

* French: add zh-cn and zh-tw translations.

* Update case

* Translate 'reverse proxy'
2021-01-19 21:08:11 +00:00
墨娘 c86fb3cf76
Translate Chinese strings for Onion (#211) 2021-01-18 16:28:48 +00:00
Matt (IPv4) Cowley 0cefd5ddef
Add onion location support (#207)
* Add initial onion tab

* Add some explaining copy

* Add to generator

* Add strings to language packs

* Add external learn more link
2021-01-04 15:41:56 +00:00
Matt (IPv4) Cowley de76ad9a43
Make language packs load async (#204)
* Webpack magic to make language packs async

* Fix jest failing

* Ensure the native language names are always present

* Add loading state for language packs
2020-12-29 16:46:58 +00:00
墨娘 9b0a7dc4ac
Translate missing Chinese strings (#205)
* Translate the new phrase

* Update src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-12-29 16:29:24 +00:00
Fernando Pimenta 6fd11d9438
Add Brazilian Portuguese translations (#202)
* Fisrt time Portuguese Brazilian translation

* Revised translation to Portuguese Brazilian

* Corrected PR error: Unexpected token, expected ","

* Exported the pt-br pack in index.js

* Translated the docker missing keys

* Added the new constants

* Corrected issues with the suggested tips

* Tab -> spaces

Co-authored-by: Fernando Pimenta <fernandopimenta@tecnosys.com.br>
Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-12-22 21:29:08 +00:00
Matt (IPv4) Cowley 0d920fa9bc
Add Docker tweaks/preset button (#201)
* Docker preset button

* All the strings

* Sorry sass-lint
2020-12-21 15:27:44 +00:00
Matt (IPv4) Cowley ff88e2f322
Allow language selection (#191)
* Add dropdown for language

* Use vue-i18n to translate strings

* Tweak header styling

* Add Chinese languages in

* Typo

* Get language from browser (#193)

* adaptive system language

* Modify the adaptive system language

* Remove dead code

* Delete lang default values

* Move browser language detection to util

* Remove todos

* Fix global PHP dropdown

Co-authored-by: 墨娘 <61287199+moniang@users.noreply.github.com>
2020-12-11 16:54:12 +00:00
墨娘 7d3290d850
Add Chinese translations (cn & tw) (#190)
* - Add Chinese translation
- Fix code style with eslint

* Check and revise

* Added traditional Chinese

* Check and revise

* fix Typo
2020-12-10 12:05:20 +00:00