Commit Graph

294 Commits (040cabec23423a588f6a115f6e652d5a845120d8)

Author SHA1 Message Date
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
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
Matt (IPv4) Cowley 3fdccfa68a
Refactor analytics events (#209)
* Refactor analytics.js

* Update analytics calls in app.vue

* Update analytics calls in presets.vue

* Update analytics calls in tools.vue (and app.vue)

* Update analytics calls in global.vue

* Update analytics calls in domain.vue

* Update analytics calls in setup.vue

* Add list of all events to analytics.js

* Add custom copy to clipboard that emits event

* Emit the events from the components

* Update copyright year in all files touched

* Update analytics calls in download.vue

* Update analytics calls in ssl.vue

* Update analytics calls in certbot.vue

* Update analytics calls in domain.vue

* Update analytics calls in app.vue

* Note down 'Code snippet copied' events
2021-01-18 19:45:19 +00:00
墨娘 c86fb3cf76
Translate Chinese strings for Onion (#211) 2021-01-18 16:28:48 +00:00
Matt (IPv4) Cowley 479412888d
Set dynamic webpack import path (#208)
* Set dynamic webpack import path

* Cleanup
2021-01-05 15:29:13 +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 2b459b47ee
Improve language pack verification (#206)
* Add warnings for unused files in packs

* Add warnings for todos

* Cleanup pack file conversion
2021-01-04 15:38: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
墨娘 d1bf984d0b
Add unit testing for browser language (#197)
* Add unit testing

* Update unit testing

* Update unit testing

* fix a big heap of formatting typo
2020-12-22 17:06:52 +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 de86df7fe4
Add script to verify integrity of language packs (#203)
* Add script to verify integrity of language packs

* Update workflows

* It'd help if we ran the right test
2020-12-21 15:22:07 +00:00
Matt (IPv4) Cowley 91db6ee322
Add build script for bundled DO Prism styles (#200)
* Only ignore root build/dist/dev directories

* Add build script for bundled DO Prism styles
2020-12-21 15:15:35 +00:00
Matt (IPv4) Cowley 4df47e4c5c
Update deps to fix diffing issues (#199) 2020-12-17 15:19:16 +00:00
Matt (IPv4) Cowley 7340e0df74
Add analytics event for langauge selection (#198)
* Add analytics event for language

* Action per language pack

* Missing underscore in action
2020-12-17 15:17:40 +00:00
Matt (IPv4) Cowley d58b6e08d9
Remove extra quotes from website HSTS (#196) 2020-12-14 15:52:41 +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
Sascha Moser bc1bcd7b5b
Add PHP 8.0 socket (#189) 2020-12-01 17:21:50 +00:00
Faiz Azhar 3b00bda80e
Log Cloudflare headers (#116) (#183)
* #116 Log Cloudflare headers

* #116 Log Cloudflare headers

* #116 Log Cloudflare headers

* #163 Fix linting

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

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

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

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

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

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

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

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

* Remove extra div + incorrect if check, revert linebreak  removal

* handle custom log formats as an array

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

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

* remove curly braces, move default log format array definition inside if statement

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-10-27 18:11:53 +00:00
Alexandre Dias ae322cf2c5
Joomla! conf (#86) (#186)
* Joomla! conf

* fix bug escape character & ;

* remove global and fix presets }

* change requests
2020-10-27 10:40:39 +00:00
William Chang 8bc06372a3
Add security.txt (#181)
* Add security.txt

* Add security.txt

* Update website.conf

* Update security label

* Add eslint linebreak for windows

* Removed backwards compability security.txt encryption

* Update .eslintrc.js

* Update security component

* Change location redirect on security.txt to absolute path

* Moved security.txt config into security.conf
2020-10-22 16:45:11 +01:00
Matt (IPv4) Cowley b48162a3e2
Always use absolute url for query params (#185) 2020-10-21 16:58:08 +01:00
Matt (IPv4) Cowley ec86d8819b
Fix wordpress rules, removing incorrect CVE fix (#184) 2020-10-21 16:55:06 +01:00
Yasio d9d9a1a92a
Allow request method restriction on domain (#174)
* add limit_except generator to domain

* revert package-lock.json

* change from limit param to if statement in restrict methods

* add response code input

* fix scss
2020-10-15 17:52:41 +01:00
RytoEX 5daf54ebde
Fix HTTP to HTTPS redirect without subdomains (#180) 2020-10-15 17:29:16 +01:00
Matt (IPv4) Cowley 2b8fde7917
Bundle & code cleanup (#179)
* Use different YAML solution (391 KB -> 197 KB)

* Update all deps

* Code cleanup
2020-10-14 17:12:16 +01:00
Alex Howes 3aba7956ef
Syntax Highlighting for Docker and Yaml (#177)
* Implement dynamic component for docker and yaml prism components. Also removes chunk limit for lazy-loading.

* Fix eslint with babel-eslint and remove unusued LimitChunkCount plugin.
2020-10-14 15:49:53 +01:00
Alex Howes 40aed64034
Fix HTTP to HTTPS redirects for letsencrypt and subdomains (#178)
* Fix HTTP to HTTPS redirects for letsencrypt and subdomains

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

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

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-10-13 09:49:23 +01:00
Alessandro Manno 02e72a7003
Added docker compose generator if docker is enabled (#175)
* Added docker compose generator if docker is enabled

* Fixed version to 3.3

* fixed name in to_yaml.js

* Apply suggestions from code review

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-10-09 17:52:22 +01:00
Niklas Dahmen 4306666e82
Only include pid when set (#173)
* Now pid is only showing up inside of the nginx config whenever it is set.

Signed-off-by: Niklas Dahmen <n@ni-da.de>

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

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-10-08 15:46:08 +01:00
Alessandro Manno 150b42c304
Added nginx dockerfile generator (#171)
* Added nginx dockerfile generator

* Applied requested changes

* Update src/nginxconfig/generators/to_conf.js

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

* Update src/nginxconfig/generators/to_conf.js

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

* Update src/nginxconfig/templates/global_sections/docker.vue

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

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

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

* Update src/nginxconfig/i18n/en/templates/global_sections/docker.js

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

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-10-08 15:43:07 +01:00
Alessandro Manno 956e504d63
Typo (Drupal -> Magento) (#170) 2020-09-26 11:27:28 +01:00
Matt (IPv4) Cowley 958f67c802
Dedicated test workflow to run on PRs (#172) 2020-09-26 11:10:44 +01:00
Mikhail Solovev 446775978f
PHP-FPM Option w/o version (#166) 2020-09-15 11:06:45 +01:00
Matt (IPv4) Cowley 104a718c05
Update deps (#164)
* Update deps

* Further dep updates
2020-09-07 21:00:36 +01:00
Alessandro Manno f17922adbc
Fixed link (#163) 2020-08-17 19:34:53 +01:00
Raven Douglas 65f72af93e
Update README & Brand Assets (#161)
* Update to banner image

* Brand and link updates

* Update README.md

* Add files via upload

* Delete github.png

* Update README.md
2020-07-28 10:00:25 +01:00
MattIPv4 15b2906128 Add missing server_name rule to HTTP redirect block (fixes #160) 2020-07-23 16:40:51 +01:00
MattIPv4 989d2b257d Try sending directly to the analytics tracker? 2020-07-20 17:58:27 +01:00
MattIPv4 2dce7a956f Only use analytics.js, not gtag.js 2020-07-17 16:25:00 +01:00
MattIPv4 7976e0a14e Update our deps 2020-07-17 16:21:21 +01:00