Commit Graph
256 Commits
Author SHA1 Message Date
Mcat12 41b95293be Add ClientsGraph and ChartTooltip
Also trimmed the fake data script and made sure if a list needed to have
unique data it didn't have duplicates.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-09 18:04:30 -04:00
Mcat12 cf8c6f0b88 Center data in 10 minute slot
This change was made on the PHP web interface already.

Also renamed some temporary variables for better readability

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-09 13:09:53 -04:00
Mark Drobnak b448ed7466 Merge pull request #36 from pi-hole/fix/lock-all-stat-heights
Lock all stat box heights
2018-06-08 23:53:34 -04:00
Mark Drobnak 73973282bf Merge branch 'development' into fix/lock-all-stat-heights 2018-06-08 23:49:43 -04:00
Mark Drobnak 05006139b8 Merge pull request #37 from pi-hole/gitlab-ci
Update GitLab CI Configuration
2018-06-08 23:49:28 -04:00
Mark Drobnak 4208f721d1 Merge branch 'development' into gitlab-ci 2018-06-08 23:46:32 -04:00
Mcat12 55cdbfeb02 Lock all stat box heights
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-08 23:40:38 -04:00
Mcat12 fff1eada25 Point deploy code back to production with pralor
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-08 23:26:23 -04:00
Mcat12 96fe418993 Add all files, not just the ones already in the repo
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-08 23:09:40 -04:00
Mcat12 a22201c2ea Copy everything, including directories, to deployment
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-08 22:53:15 -04:00
Mcat12 14da1127ac Turn on extglob
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-08 22:48:24 -04:00
Mcat12 ddbee0f339 Modify for fake deployments to test deployment code
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-08 22:36:19 -04:00
Mcat12 00248be8af Add GitHub Pages deploy code and comments
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-08 22:23:30 -04:00
Mark Drobnak 426f7a100b Merge pull request #35 from pi-hole/fix/summary-box-clients-overflow
Fix large number of clients expanding Total Queries box
2018-06-08 21:21:37 -04:00
Mcat12 1099152cc3 Fix large number of clients expanding Total Queries box
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-08 21:19:29 -04:00
Mark Drobnak b40de42253 Merge pull request #33 from rrobgill/readme
Additions to readme
2018-06-07 21:52:36 -04:00
Rob Gill 036d6ed928 run fake-start & gulp sass
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
2018-06-08 07:58:05 +10:00
Mark Drobnak 015ada0d7f Merge pull request #31 from pi-hole/fix/remove-query-types-over-time
Remove QueryTypesOverTime graph
2018-06-06 20:53:52 -04:00
Mcat12 a8c64034f6 Update GitLab CI configuration
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-06 20:31:40 -04:00
Mcat12 27092c0054 Remove QueryTypesOverTime graph
Planned to be removed in FTL and therefore the API.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-06 19:40:43 -04:00
Mark Drobnak 9e47e1d01c Merge pull request #30 from pi-hole/fix/remove-forward-over-time
Remove forwarded over time and hide query types over time graphs
2018-06-04 20:36:03 -04:00
Mcat12 fb6cd05127 Remove forwarded over time and hide query types over time graphs
Forwarded over time was removed in FTL and will be removed from the API,
and query types was removed from the PHP web interface and will have its
fate decided later.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-04 20:32:27 -04:00
Mark Drobnak 9e7cfb9038 Merge pull request #29 from pi-hole/tweak/login-internationalization
Internationalize the login page and remove Breadcrumb
2018-06-03 22:26:23 -04:00
Mcat12 e7e6a0815a Load the namespaces lazily
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-03 22:21:11 -04:00
Mcat12 cecdf337d3 Update translations
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-03 22:10:05 -04:00
Mcat12 67b01d0b30 Internationalize the login page and remove Breadcrumb
Breadcrumb was basically unused since we don't take advantage of making
breadcrumbs.
Also moved the nav items to `route.js`.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-03 22:05:25 -04:00
Mark Drobnak 55b0462f73 Merge pull request #26 from pi-hole/new/internationalization
Internationalization
2018-06-02 22:02:14 -04:00
Mcat12 f98cb54251 Use progress bars in update-translations
Also check for the API token at the start.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-02 17:44:03 -04:00
Mcat12 021c08d949 Don't add missing strings to language files
They will be loaded from the default language.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-02 13:45:37 -04:00
Mcat12 a141baf99e Update translations
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-02 13:38:24 -04:00
Mcat12 d9133cdfc4 Internationalize StatusBadge and fix a missed spot in Sidebar
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-02 13:36:51 -04:00
Mcat12 165e922e37 Merge remote-tracking branch 'origin/development' into new/internationalization
# Conflicts:
#	src/components/DomainInput.js
#	src/components/DomainList.js
#	src/components/Sidebar.js
#	src/index.js
2018-06-02 13:14:22 -04:00
Mark Drobnak b9d56cb8d3 Merge pull request #28 from pi-hole/feature/getStatus
Status Badge
2018-06-02 13:02:25 -04:00
Mcat12 359a983ec5 Change StatusBadge text
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-02 12:56:41 -04:00
Mcat12 98bdb6ef8d Display the current status in the sidebar (used to be static)
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-02 12:54:12 -04:00
Mark Drobnak a4b7365b4f Merge pull request #27 from pi-hole/upload-builds
Upload Builds
2018-06-02 12:52:31 -04:00
Mcat12 7fef510111 Merge remote-tracking branch 'origin/development' into upload-builds 2018-06-02 12:47:52 -04:00
Mark Drobnak e591dce8d5 Merge pull request #22 from pi-hole/new/authentication
Authentication
2018-06-02 12:46:02 -04:00
Mcat12 1bbd379d1b Rename isCollapsed in ForgotPassword to make more sense
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-02 12:36:47 -04:00
Mcat12 966bebd32c Check if logged out for POST and DELETE requests
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-02 12:24:57 -04:00
Mcat12 f7e701dea0 Merge remote-tracking branch 'origin/development' into new/internationalization
# Conflicts:
#	src/components/QueriesGraph.js
2018-05-27 00:03:23 -04:00
Mark Drobnak 13382ed86e Merge branch 'development' into new/authentication 2018-05-26 23:53:53 -04:00
Mcat12 00aa3602c1 Merge remote-tracking branch 'origin/development' into upload-builds 2018-05-26 23:49:49 -04:00
Mark Drobnak d665251da7 Merge pull request #19 from pi-hole/tweak/api-format
Adjust to improved API format
2018-05-26 23:39:52 -04:00
Mcat12 c14b601b6b Don't make a top level build folder in the uploaded build
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-05-26 23:38:42 -04:00
Mcat12 990ba3d455 Add more semicolons
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-05-26 23:05:00 -04:00
Mcat12 c716773bae Upload builds to ftl.pi-hole.net
On master, the builds have fake data and are configured to be deployed
to web.pi-hole.io. On other branches, they are build without fake data.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-05-26 23:05:00 -04:00
Mcat12 23065fc27b Simplify and fix i18next configuration
The `namespaces` config was supposed to be `ns`. This made it default to
loading the default namespace of `translation`, which didn't exist.

The I18nextProvider was removed and the i18n setup was moved into a
function.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-05-15 16:24:54 -04:00
Mcat12 164db8ce06 Update i18next
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-05-15 16:22:19 -04:00
Mcat12 21bccbbdec Update package-lock.json
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-05-15 13:10:44 -04:00