Commit graph

222 commits

Author SHA1 Message Date
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
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