Commit Graph

24 Commits

Author SHA1 Message Date
maskeynihal f67b9c13ff run prettier and eslint fix on whole project with .js and .vue extension 2023-10-10 14:22:21 +05:45
Matt Cowley 040cabec23
Add warning for ssl off directive during Cerbox setup (#431)
Co-authored-by: David Carlson Berg <davidcarlsonberg@users.noreply.github.com>
2023-05-31 21:04:41 +01:00
Kobi Meirson e2a95a5ed4
Move logging configuration to be per-domain (#399)
* chore: per-domain logging

* fix: lint

* fix: revert cdn configuration disabling the access log

* feat: more granular controls for logging

* chore(cr): bump copyright year to 2022

* fix(cr): missing error_log level in the global config

* fix(cr): `is-changed` indicators

* chore(cr): newline at end of file + eslint enforcement

* fix(cr): rows alignment when checkbox applies

* fix(cr): don't use default computed values

* fix: lint

* chore: use new flag names to allow backward compatability

* chore: global `access_log` should always be `off`

* feat: migrate old logging to new

* feat: option to turn on access_log and error_log on redirects

* fix: update copyright year

* fix: missing translation

* fix(cr): migration from global `error_log` being empty

* fix(cr): missing `return`

* fix(cr): account for a `server` dictionary without `domain`

* fix(cr): migrate previous `access_log` and `error_log` paths using the previous behavior

* chore(cr): additional logging comment

* feat(cr): disable error_log per domain

* fix(logging): use default paths

* fix(logging): retain the user values for error_log when toggling the log on/off

* fix(bc): new params shouldn't be overridden
2022-11-14 15:37:44 +00:00
Sascha Moser 63aacfc644
Remove PHP 5.x, add PHP 8.2 (#402)
Co-authored-by: Sascha Moser <saschamoser1994@hotmail.de>
2022-10-31 21:49:59 +00:00
José Manuel Casani Guerra 1afe9384fd
Allow custom proxy host header to be set (#393)
*  feat: proxy header override

* 🐛 fix: missing translations key

* 🐛 fix: missing translations key, again 😅

* Update src/nginxconfig/i18n/en/templates/domain_sections/reverse_proxy.js

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

* 💡 chore: bump copyright year

* 🎨 refactor: update key to proxyHostHeader and i18n messages

* 🎨 refactor: fix key in template

Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
2022-10-08 19:54:58 +01:00
Raul Soledispa 57592e997a
Use translated string in copy confirmation message (#383)
* Show message in the corresponding language when the user make clic on download button

* Guardar una copia del texto original para usarla cuando la función de copia se haya resuelto con éxito

* Resolving typos in the component and i18n

* Saving the original text of the button to show it when the copy function throws an error exception

Co-authored-by: Raul Soledispa <rsoledispa@technisys.com>
Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
2022-10-02 16:10:43 +01:00
Ippei Sumida 97b175ab4d
Add Japanese translation (#368)
* Add Japanese.

* Change copyright's year 20** to 2022.

* update translations in ja.

- templates.globalSections.performance.disableHtmlCaching
- templates.globalSections.performance.enableDisableHtmlCaching

* Change copyright's year 20** to 2022 every languages.js.

* correct according to review findings.
2022-06-16 15:37:27 +01:00
ChenYuhao 479162576d
Add option to disable caching for HTML content (#366)
* feat: Global performance improve add no-cache for html

* feat: Disable HTML caching

* fix: eslint check

* Clean up
2022-06-14 23:05:09 +01:00
Matt Cowley 9f396e0693
Add PHP 8.1 FPM socket option (#346)
* Add PHP 8.1 FPM socket option

* Add i18n strings for PHP 8.1 socket
2022-04-21 12:43:02 +01:00
mphschmitt 98cb59bbdf
Update french translations (#310) 2021-10-19 10:31:42 +01:00
José Manuel Casani Guerra ebcd51f0e7
Add Spanish Translation (#309)
* feat: spanish translation

* fix: missing key `languages.es`

* docs: add `languages.es` in de language

* fix: ensure the copyright year

* docs: fix some translation

* Update src/nginxconfig/i18n/es/templates/domain_sections/routing.js

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

* Update src/nginxconfig/i18n/es/templates/footer.js

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

* Update src/nginxconfig/i18n/es/templates/domain_sections/onion.js

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

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-10-11 11:22:10 +01:00
Joachim Schwarm 66e7a235df
Add German Translation (#301)
* Add German Translation

* Fix tabs vs spaces

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-10-08 17:16:40 +01:00
Daniel Walsh 5330055f2b
reuseport is not HTTP/3 only (#283)
* reuseport is not HTTP/3 only

* Forgot to remove these

* Move reuseport to global > https

* Update i18n files

* Only set reuseport once per ip:port pair

* Move reuseport opt outside ssl conditional

* Update copyright headers of touched files

Co-authored-by: MattIPv4 <me@mattcowley.co.uk>
2021-06-28 12:51:45 +01:00
Yasio 1565760f75
Add Polish translation (#276)
* init polish language pack

* upd polish lang

* add todos

* add proper polish language name to other langs

* fix indentation, fix copyright year, fix Polish translations

* add new string translations to Polish lang
2021-05-31 23:58:52 +01:00
Matt (IPv4) Cowley 28b158c748
Improve WordPress CSP warning detection (#273) 2021-05-29 13:17:41 +01:00
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
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