Commit Graph
9 Commits
Author SHA1 Message Date
Mcat12 eb70e87be1 Restrict the CIDR values to what dnsmasq and the API accepts
The check is not 100% accurate, as it allows > 32 sized CIDRs
for IPv4 addresses, but it is good enough for the frontend checks.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-07-06 18:07:33 -07:00
Mcat12 e513f94610 Update fake data with new conditional forwarding API
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-06-17 17:41:40 -07:00
Mcat12 113eddd2e3 Add top blocked client fake data
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-05-26 18:16:36 -07:00
Mcat12 49ef4d902a Add DHCP rapid commit checkbox
Requires pi-hole/api#139

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-05-04 15:20:40 -07:00
Mcat12 dc39724aaf Add fake data for long term stats
The fake data suite has been expanded to cover the long term stats
endpoints.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-03-18 20:02:22 -07:00
Mark DrobnakandGitHub d717f6d93a Merge branch 'development' into feature/crowdin-languages-json-support 2019-02-28 12:27:28 -05:00
Mcat12 8e23ae5396 Use orange for unknown DNSSEC status, and improve history fake data
pi-hole/AdminLTE#909 changes DNSSEC Unknown to use orange instead of
red.

The fake data would only show certain values if `Math.random` returned
exactly 1. This was changed so the values would have a better chance of
getting shown.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-02-17 10:31:11 -08:00
Mcat12 e5c820ced0 Update the build system to automatically update languages.json
The `languages.json` file is regenerated whenever the web interface is
started or built. This PR also updates the language list with the
languages added by #145.

See #148

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-02-15 19:12:45 -08:00
Mcat12 37c9e6a487 Move language list generation out of update-translations.js
Also moved the scripts into a new scripts folder.

The language list generation is independent of the parsing we do for
POEditor. This also makes it easier to move to a different translation
service while keeping the languages.json generation.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-21 16:21:14 -08:00