Commit Graph

228 Commits

Author SHA1 Message Date
Matt Cowley cd3785061e
Dependency updates (#373)
* Bump Node.js to 16.16.0

* Minor version dependency updates

* Major version dependency updates

* Resolve dependency vulnerability
2022-07-12 12:58:54 +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
SiderealArt 2b638c24c5
Update Traditional Chinese translation (#367)
* commit

* complete

* revert to original title

* 2022

* space
2022-06-14 14:34:44 +01:00
Aman Agarwal 2eac584166
Fix limit_req and Wordpress-specific breaking wp-login.php (#360)
* limit_req and Wordpress-specific rules break wp-login.php issue #350 fix

* config for user's selection for php server

* comment fixes

* eslint fixes

Co-authored-by: Aman Agarwal <aman@Amans-MacBook-Air.local>
2022-05-26 12:51:01 +01:00
kongmoumou f559111607
Fix zhCN translation for fallback routing (#359) 2022-05-17 22:32:07 +01:00
Matt Cowley da783ae467
Allow websockets in default CSP (#345) 2022-04-22 18:38:41 +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
Matt Cowley ebca910786
Upgrade to Vue 3 (#331)
* Dependency updates

* Upgrade to Vue 3 (WIP)

* Fix reactivity of imported domains (the object gets replaced by a proxy)

* Cleaner access of proxy for domain imports

* Remove upgrade note about reactivity issue

* Fix locale switching

* Remove upgrade note about language issue

* Patch Vue 3 issues with pretty-checkbox-vue

* Remove upgrade note about checkbox issue

* Fix extra slot for checkboxes and radios

* Set checkmark as default for extra slot

* Use patched pretty-checkbox-vue from do-vue

* Fix removing domains

* Switch to main do-vue/do-bulma
2022-03-21 22:51:21 +00:00
Arnaud Lier 28993820eb
fix: cloudflare quiche link (#336)
Fixes #334
2022-02-28 23:25:02 +00:00
Matt Cowley 07b0714837
Suppress logging with NODE_ENV (#332) 2022-02-25 20:00:45 +00:00
Matt (IPv4) Cowley 23350f3a57
Swap out sass-lint with stylelint (#328)
* Swap out sass-lint

* Include standard SCSS rules for stylelint

* Fix stylelint violations

* Update Actions to use stylelint

Co-authored-by: Jake Gealer <jake@gealer.email>
2022-02-04 22:01:19 +00:00
Paweł Kozubal 98ac6b2f21
Fix typo in pl translation (#326) 2022-02-04 21:16:08 +00:00
Matt (IPv4) Cowley 387a47b014
Dependency updates + full ESM (#327)
* Dependency updates

* Fix eslint issues

* Switch to esm fully

* Fix Jest tests

* Update to node 16, force mini-css-extract-plugin to 1.x

* More dep updates

* Use correct NPM version in Actions

* Fix mini-css-extract-plugin version overrides

* Don't rely on Webpack for available languages
2022-02-04 21:10:20 +00:00
Roki eef26ae79a
Fix typo in Polish translation (#317) 2022-01-15 18:43:43 +00:00
Daniel Kreiseder a2ddcc1da8
Improve german translation in setup instructions (#315)
* Improve german translation in setup instructions

* Update src/nginxconfig/i18n/de/templates/setup_sections/certbot.js

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-12-16 15:01:18 +00:00
Noob Tsai 338acfe76f
Update Chinese Traditional translations (#313) 2021-11-16 18:59:54 +00: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
Муравьёв Семён dae1173318
Russian translation updates (#305)
* Add Russian translations for HTTP3 words

* Add Russian translations for Reuseport

* Correct Фронтэнд to Фронтенд

* Typo "приветсвуем" in Russian translation
2021-10-04 16:41:08 +01:00
Luca 1c47650d31
refactor: Better button description for view modes (#307)
* refactor: Better button description for view modes

* fix: Hyphenate

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

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-10-04 16:37:13 +01:00
Nadhir 9acceeb924
Adds some permissions to the tar extracted files (#299)
This patch adds permissions after extracting the config tar as suggested by issue #257
2021-09-29 22:25:22 +01:00
МАН69К 3651c8438b
Mistake in Russian translation (#295) 2021-09-28 11:59:05 +01:00
Matt (IPv4) Cowley ce74e4c226
Update and fix diffing logic (#289)
* Bump files-diff version to ensure HTML escaping works

* Pass full rendered file path into diff

* Cleaner naming, removing pointless method

* Remove console log
2021-07-27 10:49:51 +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
Daniel Walsh fee8fb4189
Implement Permissions-Policy header (#282)
* Implement Permissions-Policy header

* Bump copyright year

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-06-25 14:46:31 +01:00
SVE1R da6f8f6be1
Update Chinese translations (#279)
* Add performance translation for Simplified Chinese

* Add reverse_proxy translation for Simplified Chinese

* Add security translation for Simplified Chinese

* Add https translation for Traditionnal Chinese

* Add performance translation for Traditionnal Chinese

* Add reverse_proxy translation for Traditionnal Chinese

* Add security translation for Simplified Chinese
2021-06-01 00:03:43 +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
Justin Goette b1b989f172
Replace obsoleted X-Frame-Options with frame-ancestors (#272) 2021-05-25 12:37:08 +01:00
Matt (IPv4) Cowley b05f301c21
Fix webpack dynamic imports (#266)
* Update all deps

* Update dynamic import injection
2021-05-18 16:33:25 +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 fe5f2b234d
Reduce the query param cut-off to 1000 chars (#259)
* Reduce the query param cut-off to 1000 chars

* Update copyright
2021-05-13 15:27:17 +01:00
Matt (IPv4) Cowley 47371a1216
Fix tab order (#255)
* Export array from domain sections

* Export array from global sections

* Export array from setup sections
2021-04-21 21:46:39 +01:00
SVE1R 03ad31f8d7
Update Simplified Chinese Translation (#252)
* Complete Translation In Simplified Chinese

* Update src/nginxconfig/i18n/zh-cn/templates/domain_sections/https.js

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

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-04-12 15:49:16 +01:00
Matt (IPv4) Cowley deec5269ad
Hotfix: HTTP/3 strings use domainSections not globalSections (#250) 2021-04-06 00:53:56 +01:00
Matt (IPv4) Cowley 8cd4adbd9c
Tweak sed commands in certbot setup (#240) 2021-03-31 14:14:40 +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
Matt (IPv4) Cowley 34ec037d13
Rely on Prism being in window to fix dev error (#248) 2021-03-31 14:11:16 +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
Bernhard Kau 89e847b62f
Load modules-enabled/* in main conf (#244)
Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>

Co-authored-by: Bernhard Kau <bernhard@kau-boys.de>
Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-03-29 16:21:10 +01:00
Matt (IPv4) Cowley bbb572a668
Bump do-bulma for Inter (#245)
* Bump do-bulma

* Fix SCSS font includes

* Inject resolve-url-loader

* Also bump do-vue
2021-03-29 15:02:01 +01:00
Bernhard Kau 7706d13420
Remove WordPress comments from deny rule (#241)
Co-authored-by: Bernhard Kau <bernhard@kau-boys.de>
2021-03-26 15:06:51 +00: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
Matt (IPv4) Cowley 4cfdcdb8d1
Update template generation (#224)
* Bump do-vue & do-bulma

* Tweak how we generate the template

* Remove the document.write monkeypatch, we'll fix this in prod
2021-02-19 17:56:38 +00:00
Matt (IPv4) Cowley 4a786d2bfd
Add IntersectionObserver to Droplet callout event (#228) 2021-02-19 17:55:43 +00:00
Matt (IPv4) Cowley 3d321759e3
Design fixes for RU language pack (#229)
* Fix checkbox label font weight

* Fix callout button wrapping

* Fix header description font weight

* Bump copyright in updated files
2021-02-19 17:55:23 +00:00
powerdot 90afc38a38
Updates to RU langauge pack (#231)
* 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

* Translation fix

Better to UI, better to understand, 4 mistakes fixed

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2021-02-19 17:15:17 +00:00