Commit graph

286 commits

Author SHA1 Message Date
dependabot[bot]
dc3ab63cb8
Bump path-parse from 1.0.6 to 1.0.7 (#291)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-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:03:48 +01:00
dependabot[bot]
1f3089b810
Bump merge from 1.2.1 to 2.1.1 (#290)
Bumps [merge](https://github.com/yeikos/js.merge) from 1.2.1 to 2.1.1.
- [Release notes](https://github.com/yeikos/js.merge/releases)
- [Commits](https://github.com/yeikos/js.merge/compare/v1.2.1...v2.1.1)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-27 10:55:23 +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
dependabot[bot]
07cc83ec14
Bump prismjs from 1.23.0 to 1.24.0 (#284)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.24.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.23.0...v1.24.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-07-02 15:48:29 +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
dependabot[bot]
3e99dc25aa
Bump ws from 6.2.1 to 6.2.2 (#280)
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/commits)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 13:12:46 +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
dependabot[bot]
af75bd2e79
Bump dns-packet from 1.3.1 to 1.3.4 (#278)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-29 12:45:08 +01:00
Justin Goette
8ca36cc821
Remove README analyze script step (#274) 2021-05-25 16:22:51 +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
c261892de4
Ensure bundle analysis is always enabled (#267) 2021-05-18 16:39:41 +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
8155902f79
Dependency updates (#264)
* Assorted minor version updates

* Assorted major version updates
2021-05-13 15:30:04 +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
dependabot[bot]
a2e64e6317
Bump hosted-git-info from 2.8.8 to 2.8.9 (#263)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 12:23:56 +01:00
dependabot[bot]
8339e7127d
Bump lodash from 4.17.19 to 4.17.21 (#261)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 15:38:40 +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
Matt (IPv4) Cowley
e49ec084ac
Dependency updates (#253)
* Bump do-vue

* Bump do-bulma

* Use https://github.com/do-community/sass-lint

* Uninstall sass-lint-auto-fix

* Assorted minor version updates

* Assorted major version updates
2021-04-20 21:51:12 +01:00
Matt (IPv4) Cowley
36d23555ac
Bump all deps (#251) 2021-04-12 20:37:50 +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
dependabot[bot]
3ddceae0d9
Bump elliptic from 6.5.3 to 6.5.4 (#242)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-26 15:28:16 +00: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
MiaoTony
eb25fc5eee
Fix broken link in README (#237) 2021-03-16 14:58:29 +00:00
dependabot[bot]
a421bc602d
Bump prismjs from 1.22.0 to 1.23.0 (#236)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.22.0 to 1.23.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.22.0...v1.23.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 16:56:32 +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
Matt (IPv4) Cowley
b4a933add1
Disable index.html fallback in dev (#230) 2021-02-19 17:54:58 +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
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
5f37442cbe
Send a consistent event name to GTM (#222) 2021-02-15 19:23:06 +00:00
墨娘
68b2fccbc0
Translate Chinese strings for Callouts (#223) 2021-02-15 17:05:49 +00:00
Atila Silva
189a0fc3cf
Prevent access error in phpServerOptions (#221)
* Prevent access error in phpServerOptions

* fix missing semicolon
2021-02-10 16:11:22 +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
Matt (IPv4) Cowley
323cae4c50
Allow setting of custom sizes for types hash (#219) 2021-02-04 19:28:50 +00:00
Michael Krickl
5f8931c231
Improve Connection header for WebSocket reverse proxy (#217)
* Improve Connection header for WebSocket reverse proxy

reference: https://nginx.org/en/docs/http/websocket.html

* Move map to http context
2021-02-02 21:20:46 +00:00