Commit graph

286 commits

Author SHA1 Message Date
Amrit Timalsina
c026007a5d
Add Husky + lint-staged (#398)
* Add and setup husky

* Add lint-staged and configure with husky

* Remove eslint

* Remove prettier

* Remove typescript react/jsx and add vue extension

* Add stylelint calls

* Add eslintcache ignore

* Add eslint cache  in all eslint command

* Add config in stylelint

* Add cache option in remaining eslint scripts

* Remove cache option

Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
2022-11-21 15:37:14 +00: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
Matt Cowley
f44832ed7a
Update workflows with v3 actions + permissions (#404)
* Update Spaces workflow

* Update Pages workflow

* Update test workflow
2022-11-11 01:28:02 +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
81c5c517df
Set proxy_ssl_server_name always (#394)
*  feat: nginx option - ssl_server_name

* 💡 chore: bump copyright year
2022-10-08 19:55:28 +01: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
José Manuel Casani Guerra
4fabd0c0d9
Move share link from nginx.conf to nginxconfig.txt (#395)
*  feat: external shared link

*  chore: apply eslint

* Update src/nginxconfig/generators/index.js

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

* Update src/nginxconfig/generators/conf/nginx.conf.js

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

Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
2022-10-04 21:20:26 +01:00
Matt Cowley
400911d695
Dependency updates (#389)
* Update Node.js (and npm) to latest LTS

* Update dependencies to latest minor versions

* Fix vue-select styling

* Update jest to latest major version

* Switch to do-vue branch with fixed templating

* Switch back to do-vue master

* Update do-bulma to latest version
2022-10-04 19:30:03 +01:00
5idereal
b7771d67a4
Update ‘copied’ translation for zh-tw (#391) 2022-10-03 02:01:46 +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
Lovekesh Kumar
6cdd0898c2
Update checkout + node actions in workflows, use .nvmrc + caching (#387)
* Update workflows to resolve node version from nvmrc

* Bump actions/checkout to v3

* Add step to resolve package.json engines.npm version specifically

* Remove wrong committed .npmrc file
2022-10-02 16:04:13 +01:00
Matt Cowley
e95e615c18
Dependency updates (#374) 2022-07-20 21:34:17 +01:00
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
dependabot[bot]
9eb223599a
Bump async from 2.6.3 to 2.6.4 (#348)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 13:16:42 +01:00
dependabot[bot]
d3a993a1ca
Bump ansi-regex from 3.0.0 to 3.0.1 (#347)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 13:11:51 +01:00
dependabot[bot]
c219631cc0
Bump minimist from 1.2.5 to 1.2.6 (#342)
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 13:07:56 +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
dependabot[bot]
324fa44790
Bump prismjs from 1.26.0 to 1.27.0 (#335)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.26.0...v1.27.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 23:22:35 +00:00
Matt Cowley
07b0714837
Suppress logging with NODE_ENV (#332) 2022-02-25 20:00:45 +00:00
dependabot[bot]
cddfdc7081
Bump follow-redirects from 1.14.7 to 1.14.8 (#329)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 15:08:03 +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
dependabot[bot]
26e907bd81
Bump node-fetch from 2.6.1 to 2.6.7 (#325)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 13:53:50 +00:00
dependabot[bot]
3a942fa405
Bump nanoid from 3.1.23 to 3.2.0 (#321)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 13:49:53 +00:00
Roki
eef26ae79a
Fix typo in Polish translation (#317) 2022-01-15 18:43:43 +00:00
dependabot[bot]
bf9509f81c
Bump follow-redirects from 1.14.1 to 1.14.7 (#318)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.1 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.1...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 17:20:07 +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
modem7
8db1b2a507
README copy editing (#308) 2021-10-08 17:34:03 +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
dependabot[bot]
86d1bba6c9
Bump tmpl from 1.0.4 to 1.0.5 (#298)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 18:43:23 +01:00
dependabot[bot]
a7d99f454c
Bump prismjs from 1.24.0 to 1.25.0 (#297)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.0...v1.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 18:38:32 +01:00
dependabot[bot]
e0b7e64db1
Bump tar from 6.1.8 to 6.1.11 (#294)
Bumps [tar](https://github.com/npm/node-tar) from 6.1.8 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.8...v6.1.11)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 17:33:16 +01:00
Matt (IPv4) Cowley
97f6430e99
Bump to Node.js 14 LTS (#293)
* Bump to Node.js 14 LTS

* Bump Node engine in package
2021-08-13 17:20:53 +01:00
dependabot[bot]
06a8b90fce
Bump url-parse from 1.5.1 to 1.5.3 (#292)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-13 17:08:44 +01:00