Commit graph

22 commits

Author SHA1 Message Date
Jo-Philipp Wich
d9dcf98778 luci-app-ddns: order list of DDNS service providers
Fixes: #6200
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-04-29 00:04:13 +02:00
Paul Dee
3f81a06c0a luci-app-ddns: string fix
Attempts to address issue #6028
Also made proximate strings more clear.

Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
2022-10-19 00:53:57 +02:00
Julien Cassette
85ff9db2bf luci-app-ddns: fix creation of custom service (fix #4926)
The `service_name` option must be empty for custom services,
otherwise an error is raised in `dynamic_dns_updater.sh`.

Signed-off-by: Julien Cassette <julien.cassette@gmail.com>
2022-10-02 20:25:20 +02:00
Rafał Miłecki
74cf149544 luci-app-ddns: sort list of services
It makes it much easier to find selected service provider.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-09-12 16:12:22 +02:00
Jo-Philipp Wich
57b88211c1 luci-app-ddns: fix broken translation call
Fixes: #5874
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-07-12 15:43:34 +02:00
Claudio Mezzasalma
6d782d2bd2
luci-app-ddns: Fix Domain Tooltip in ddns form
Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@gmail.com>
2021-05-18 10:53:52 +02:00
Peter Somogyvari
05328b2746 luci-app-ddns: whitespace fixes in overview.js
No change in logic, just the whitespace fixes
as picked up by VSCode's auto-formatter.

Signed-off-by: Peter Somogyvari <peter.metz@unarin.com>
2020-12-21 11:40:18 -08:00
Jo-Philipp Wich
03c77dafe3 treewide: transition div tables to actual table markup
Modern browsers allow decomposing table markup equally well as nested div
constructs, therefor migrate our <div> table markup to actual <table> tags
but keep the old table/tr/th/td CSS classes for now to allow for a smooth
theme transition.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-11-27 21:36:40 +01:00
Ansuel Smith
e478875c6c
luci-app-ddns: rework with new ddns changes
This commit rework the app with the new ddns changes. DDns services are now stored in a dedicated list and the service specific data is stored in a dedicated json. This json can both preinstalled with a companion package or be downloaded on demand. The new app now check if the script is present and give a button to install it if not present in the system.
The app now will search for all the available service in the services directory and optionally if present will include in the list the service not installed from a static list. Special service that use a separate script (for example cloudflare-v4) will install directly in the services directory and will be included automatically.
The app now reset the ddns rule settings on service change.
Also rework the app to drop any global function and rework the function to use more default way to get data.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-10-02 14:30:20 +02:00
Florian Eckert
809d085ada luci-app-ddns: refactoring translation and source styling
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-06 15:23:09 +03:00
Florian Eckert
139c6a1481 luci-app-ddns: remove obsolete header
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-06 15:23:09 +03:00
Florian Eckert
1540db4a56 luci-app-ddns: remove unused variable declaration
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-06 15:23:09 +03:00
Florian Eckert
38ab29229a luci-app-ddns: add tabs section
The page was a bit confusing. By adding the tabs for information and
global settings, the page looks clearer.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-06 15:23:09 +03:00
Jo-Philipp Wich
f555ab56a8
Merge pull request #4380 from Ansuel/ddns-fix-pt2
luci-app-ddns: fix wrong service with custom selected
2020-08-23 18:32:38 +02:00
Ansuel Smith
8aac2a339a
luci-app-ddns: fix wrong service with custom selected
If custom service is selected, no service is actually set in the uci config.
Fallback to custom service if no service is detected in the config.

Fixes #4301

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-08-22 19:58:28 +02:00
Ansuel Smith
151ca6df55
luci-app-ddns: Fix broken Custom provider select #4150
Fix broken Custom provider selection in luci-app-ddns.
Fixes: #4150

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-06-10 22:11:59 +02:00
Jo-Philipp Wich
3c4bc228a1 treewide: import utility classes explicitly
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-03 10:00:06 +02:00
Ansuel Smith
03af89a24b luci-app-ddns: fix invalid markup
Fix invalid markup to be XHTML compliant in order to prevent exceptions
when opening DDNS pages with luci-theme-openwrt.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Ref: https://forum.openwrt.org/t/19-07-luci-app-ddns-broken/57596
Fixes: 34fa5122f ("luci-app-ddns: convert to client side implementatio")
[reword commit message, drop unrelated ui.js changes]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-15 00:31:38 +01:00
Anton Kikin
359b927d3a luci-app-ddns: fix update interval unit values in combobox
Value "hours" is used twice instead of "hours" and "days".

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2020-02-19 03:24:06 +03:00
MartB
0d53606908 luci-app-ddns: fix syntax error
unexpected token: punc ) caused by extra ,

Signed-off-by: MartB <mart.b@outlook.de>
2019-11-29 01:29:05 +01:00
Chen Minqiang
56ed870746 luci-app-ddns: use the correct widget Select
ip_network should be NetworkSelect
ip_interface/interface should be DeviceSelect

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2019-11-17 18:51:57 +08:00
Ansuel Smith
34fa5122f9
luci-app-ddns: convert to client side implementation
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-11-11 20:47:16 +01:00