提交图

22 提交

作者 SHA1 备注 提交日期
Tsanie Lily
f76fc97176
luci-app-acme: cfgvalue does not receive the set_value parameter
when it is called in `CBIValue.render`.

Signed-off-by: Tsanie Lila <tsorgy@gmail.com>
(squashed + amended commit message)
Closes #7443
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-12-06 00:50:00 +01:00
Sergey Ponomarev
22d48305af
treewide: replace "var m, s, o" with "let m, s, o"
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-12-03 16:25:21 +01:00
Sergey Ponomarev
fcc4cc942a luci-app-acme: Remove use_acme_server option since it's ignored by acme
In the 1ad72c6fb5 was added use_acme_server flag and acme_server URL.
The problem is that the acme uses the only acme_server option.
A user may think that once the flag is turned off it will be ignored, but it's not.

To avoid confusion, it's easier just to remove the flag.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-05-26 09:58:42 +02:00
Sergey Ponomarev
31ba396f5e luci-app-acme: replace deprecated use_staging with staging
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-05-26 09:58:42 +02:00
Sergey Ponomarev
7e585855ed luci-app-acme: Rename caption "Key size" to "Key type"
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:57:25 +03:00
Sergey Ponomarev
e344960c55 luci-app-acme: List of certificates
Add Certificates section to help users to see issued certificates and path to them.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:32 +03:00
Sergey Ponomarev
bebad8f7f8 luci-app-acme: Account email explanation
Add rationale how the email is used.
The translation key is separate to keep an existing translation.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:29 +03:00
Sergey Ponomarev
32c3fd4922 luci-app-acme: DNS API: list of all providers
To simplify configuration we need a list of all supported providers.
Each provider has own set of params. We should show them when a user selected a provider.
To help a user to find instruction for the provider we will generate a link to Wiki.

A user still can change the Credentials option manually.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:27 +03:00
Sergey Ponomarev
585df1d137 luci-app-acme: Split Challenge Validation tab into two
The validation_method is now set to webroot by default.
This is the most used option.

The webroot option is now empty by default.
Into the description added that by default will be used /var/run/acme/challenge/
Webservers should serve the folder under /.well-known/acme-challenge/ url.
The folder is automatically created by the acmesh service on renewal.

The Challenge Validation Tab is split to Webroot and DNS and the validation method moved to general tab.
So ideally a user won't see the webroot folder option from other tab.
And a user can basically enable the webroot just in the general tab without leaving it.
The DNS validation needs too many options to it needs for own tab.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:23 +03:00
Sergey Ponomarev
390393316c luci-app-acme: Remove update_nginx and update_uhttpd
The options now removed completely and hotplug hooks will be used instead.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:20 +03:00
Sergey Ponomarev
f2f41446ce luci-app-acme: Move use_staging and key_type to advanced tab
The options are useful only for experienced users.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:18 +03:00
Sergey Ponomarev
9486292d42 luci-app-acme: Migrate old keylength to key_type
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:15 +03:00
Sergey Ponomarev
15ce930bcb luci-app-acme: Rename keylength to key_type
The keylength option was renamed to key_type and values changed.
See 6d61014e51
Make it optional to let acme.sh to decide (currently ec256)

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:13 +03:00
Sergey Ponomarev
e39d4a22f4 luci-app-acme: Hide keysize and days columns
The columns makes little sense and instead we can keep more space for domains.
The days is really advanced option that is better not to change and it's support may be removed for simplicity.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:10 +03:00
Sergey Ponomarev
ea516da183 luci-app-acme: Reuse translations for removed state_dir option
In the commit acf40dc0d4 was removed the state_dir.
But translations were kept and they still have a value.
We should say to a user where the certs are stored now, and we can reuse the old translations.
They need to be fixed a little bit and already fixed for Russian, Ukrainian and Bulgarian languages.

See #6273

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-08-08 00:44:00 +03:00
Jo-Philipp Wich
acf40dc0d4 luci-app-acme: remove handling of deprecated state_dir option
Recent versions of "acme" report the following message on startup:

    daemon.warn acme: Option "state_dir" is deprecated, please remove it.
                      Certificates now exist in /etc/ssl/acme

Solve this issue by removing the support for this deprecated option.

Fixes: #6273
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-03-15 11:45:08 +01:00
Florian Eckert
e265ea3edf luci-app-acme: change form view to GridSection
If multiple certificates are added, then the page is a bit confusing with
all the informations. Therefore the GridSection view would be better
suited here.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-06-22 08:14:14 +02:00
Jannis Pinter
09cfbb34a8 luci-app-acme: Add descriptive text to validation method
Signed-off-by: Jannis Pinter <jannis+openwrt@pinterjann.is>
2020-10-20 08:17:35 +02:00
Jannis Pinter
45b65c76ff luci-app-acme: Remove services tab
Signed-off-by: Jannis Pinter <jannis+openwrt@pinterjann.is>
2020-10-20 08:02:32 +02:00
Jannis Pinter
028873054b luci-app-acme: Use tabs for certificate section
Signed-off-by: Jannis Pinter <jannis+openwrt@pinterjann.is>
2020-10-19 10:48:32 +02:00
Jannis Pinter
1ad72c6fb5 luci-app-acme: Add option for custom ACME server
Signed-off-by: Jannis Pinter <jannis@pinterjann.is>
2020-10-17 08:40:55 +02:00
Huangbin Zhan
18b151247b luci-app-acme: convert to client side rendering
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-06-24 15:22:24 +08:00