Commit Graph

26 Commits

Author SHA1 Message Date
Nihal Maskey
dbc954e7f1 Add prettier and run prettier command via lint-staged (#448) 2023-10-16 15:22:16 +01: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
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 (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
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
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
deec5269ad Hotfix: HTTP/3 strings use domainSections not globalSections (#250) 2021-04-06 00:53:56 +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
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
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
MattIPv4
b9dd381d62 Improve HSTS wording + disable preload by default (fixes #158) 2020-07-10 11:21:34 +01:00
MattIPv4
e4f219a286 Don't use duplicated computed value for nginx dir, watch initial value 2020-06-11 15:49:25 +01:00
MattIPv4
7444fa6f77 MIT license 2020-06-04 14:44:30 +01:00
MattIPv4
e103c015d6 Add a default email for the Let's Encrypt email field 2020-06-03 17:01:33 +01:00
MattIPv4
707ff8238a Move i18n strings to be centralised 2020-06-02 16:51:28 +01:00
MattIPv4
c331e2c79a Move domain https section strings to i18n 2020-05-28 17:16:20 +01:00
MattIPv4
19cac71df0 Add in all the missing copyright headers 2020-05-28 16:50:03 +01:00
MattIPv4
4e1afc007a Backwards compatibility for domain options 2020-05-28 16:44:03 +01:00
MattIPv4
89d8af3912 Only highlight the radio that's changed 2020-05-01 17:48:58 +01:00
MattIPv4
a5813b7d41 Remove www from given domain 2020-04-30 17:09:32 +01:00
MattIPv4
8e97e8d4f2 Move is-changed to control 2020-04-30 17:01:21 +01:00
MattIPv4
361f3d8aa3 HTTPS section all done 2020-04-30 16:23:31 +01:00
MattIPv4
1df3ab88f6 Use new delegation for all tabs 2020-04-28 12:26:46 +01:00
MattIPv4
e6b8d36068 New data system 2020-04-27 23:22:38 +01:00
MattIPv4
4c22ba571a Not really sure this is the best structure 2020-04-27 22:07:31 +01:00