Mcat12
f37bbbd494
Translate Sidebar
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-06 16:13:22 -04:00
Mcat12
8b283682ab
Translate TopClients
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-06 15:59:40 -04:00
Mcat12
acfcbc9d26
Translate TopBlocked
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-06 15:56:04 -04:00
Mcat12
3499f72d79
Translate TopDomains
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-06 15:52:11 -04:00
Mcat12
d133f650d1
Translate QueriesGraph
...
Moved static graph data out of the state so that it can get use the `t`
function to translate the strings.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-06 15:36:27 -04:00
Mcat12
b255f00a77
Update translations to include new plural form keys
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-06 15:01:01 -04:00
Mcat12
18427f4797
Setup i18next
...
Currently only used in SummaryStats.
Also changed to `json` instead of `key_value_json` for the POEditor
export.
The whole `i18n` directory is now deleted when updating translations,
so that languages which have fallen behind are not kept in the folder.
Plurals are hard. For languages with only two plurals, the singular
is the plain key and the plural has a suffix of `_plural`. For
languages with multiple plurals, such as Arabic, all keys have a
suffix from `_0` to `_5` depending on the type. The update-translations
script has to take this into account. I experimented with the
`simplifyPluralSuffix` option, but it causes languages with only two
forms to have `_0` be the singular and `_1` be the plural, which is not
consistent with the suffixes of other languages (Arabic has a zero form,
which is `_0` and the singular is `_1`).
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-06 15:00:33 -04:00
Mcat12
4e958cdccb
Update to the latest translations
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-05 21:11:20 -04:00
Mcat12
1dee4db857
Add update-translations script
...
This will update the translations files from POEditor.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-05 21:10:42 -04:00
Adam Warner
a290c61feb
Merge pull request #16 from pi-hole/tweak/readme
...
Tweak Readme
2018-04-15 19:10:11 +01:00
Mark Drobnak
df47320395
Update README.md
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-11 12:49:12 -04:00
Mark Drobnak
b135c49f4a
Merge pull request #9 from JayCGildea/status_search
...
Status search
2018-04-10 17:26:51 -04:00
JayCG
07bae9093f
Fixed indentation
...
Signed-off-by: JayCG <jg527@kent.ac.uk >
2018-04-10 18:30:23 +01:00
Florian
813f04e4df
Update README.md
2018-04-08 18:40:50 +02:00
JayCG
e14d0df4a0
Fixing typo comma
...
Signed-off-by: JayCG <jg527@kent.ac.uk >
2018-04-01 23:20:00 +01:00
JayCG
240d2ea02d
Added Status const & text search
...
Signed-off-by: JayCG <jg527@kent.ac.uk >
2018-04-01 23:19:08 +01:00
Mark Drobnak
d2d394d5a0
Merge pull request #8 from mrdnomaid/patch-1
...
Change whitelist icon
2018-03-02 17:04:46 -05:00
Mark Drobnak
d11d391ce2
Merge branch 'development' into patch-1
2018-03-02 16:55:23 -05:00
Tom
2893ae1e49
Change whitelist icon
2018-03-02 21:48:08 +00:00
Mark Drobnak
22d6e3d53f
Merge pull request #6 from pi-hole/fix/api-port
...
If the web interface is accessed over a special port, use it for the API
2018-03-01 13:54:07 -05:00
Mark Drobnak
3cb7fb3950
Merge branch 'development' into fix/api-port
2018-02-24 21:01:25 -05:00
Dan Schaper
638f3ba5b7
Merge pull request #7 from pi-hole/tweak/readme-getting-started-development
...
Add a developer getting started section to the readme
2018-02-23 20:35:47 -08:00
Mcat12
30f6582668
Add a developer getting started section to the readme
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-02-23 23:32:51 -05:00
Mcat12
bdf1688b30
If the web interface is accessed over a special port, use it for the API
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-02-23 22:59:00 -05:00
Mcat12
3790ecaabc
Use new API in domain lists
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-12 19:48:04 -05:00
Mcat12
ca3d3d60aa
Remove extra map layer in history endpoint to match the API
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-09 17:41:54 -05:00
Mcat12
a8507e7df2
Change top_ads to top_blocked
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-09 17:37:48 -05:00
Mcat12
49dd550710
forward_data is now forward_destinations
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-09 17:37:29 -05:00
Mcat12
502c73d3f2
Check if the errors array exists before referencing it
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-09 17:37:09 -05:00
Mcat12
a98ae57318
Adjust fake data script for new reply formats
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-09 17:36:32 -05:00
Mcat12
067db86787
Modify the requests and expected responses to match the new API's output
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-09 16:57:02 -05:00
Mark Drobnak
0f6f28506e
Add CNAME to build folder via travis
2017-12-31 11:46:25 -05:00
Mark Drobnak
47238b419e
Change PUBLIC_URL to /
2017-12-31 11:31:23 -05:00
Dan Schaper
28f1c733fe
Merge remote-tracking branch 'origin/master'
2017-12-31 08:08:44 -08:00
Dan Schaper
5fb10394b7
CNAME set up for repository. Removed hard links to
...
`/web`.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2017-12-31 08:08:21 -08:00
Mark Drobnak
ee74a15954
Merge pull request #1 from pi-hole/promo/Tweaks
...
tweaks to widths of components
2017-12-19 14:29:26 -05:00
Mcat12
af0169f7ed
Show error when logging in
...
Next step is to actually try to authenticate the user
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-10-08 00:27:08 -04:00
Mcat12
561575aafd
Make forgot password card actually openable
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-10-07 23:52:54 -04:00
Mcat12
9cc4865fde
Actually allow you to type in a password
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-10-07 23:20:46 -04:00
Mcat12
460b5c7df6
Fix login page sizing
...
The sizes from the PHP version, Bootstrap 3, are actually equivalent to
the next up size in Bootstrap 4.
Also, the logo is supposed to take up less space. Not sure how 50% got
there...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-10-07 22:54:30 -04:00
Mcat12
5292bae55f
Only make the width 100% (removes odd :focus look from button)
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-10-07 21:28:15 -04:00
Mcat12
926896ea8f
Let top charts scale more smoothly from sm -> md -> xl
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-10-07 20:57:08 -04:00
Adam Warner
b8211fc5c3
tweaks to widths of components
2017-10-08 00:56:19 +01:00
Mcat12
69480338b3
Remove the gitignore before building
...
Also fix the name in some license headers
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-10-07 18:18:04 -04:00
Mcat12
b0c5807272
Remove gitignore on build so the fakeAPI data can be deployed
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-10-07 17:55:42 -04:00
Mcat12
ddb1cd8c1a
Remove extra env variable and fix PUBLIC_URL
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-10-07 17:51:25 -04:00
Mcat12
cd9698c4e0
Only run one job with two variables
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-10-07 17:47:14 -04:00
Mcat12
0fa00d6fd2
Add PUBLIC_URL to make the GitHub Page deployment use the correct path
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-10-07 17:42:58 -04:00
Mcat12
1fed907586
Add GitHub Pages deployment
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-10-07 17:27:54 -04:00
Mcat12
1254fceae2
Remove unneeded npm install and add fake API env variable
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-10-07 00:47:07 -04:00