Commit Graph
242 Commits
Author SHA1 Message Date
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
Mcat12 a8c64034f6 Update GitLab CI configuration
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-06-06 20:31:40 -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
Mcat12 bc17182b0b Merge branch 'development' into new/internationalization
# Conflicts:
#	package-lock.json
#	package.json
#	src/index.js
#	src/views/Whitelist.js
2018-05-15 13:09:43 -04:00
Dan Schaper 4a55b9eaed Merge pull request #25 from pi-hole/testing-instructions
Fake Data Testing Instructions
2018-05-14 15:42:49 -07:00
Mcat12 d996daff1b Add "Testing With Fake Data" to the readme
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-05-14 18:33:50 -04:00
Mcat12 5f17b6268d Merge branch 'development' into tweak/api-format 2018-05-11 20:56:23 -04:00
Mark Drobnak 078e3eafd2 Merge pull request #20 from pi-hole/tweak/proxy-development
Use the proxy feature to simplify API calls during development
2018-05-11 20:50:47 -04:00
Mcat12 8c2da52178 Translate Footer
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-05-06 17:38:03 -04:00
Mcat12 bcd1c14054 Translate the list pages
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-05-06 17:26:44 -04:00
Mcat12 a22581fdad Translate QueryLog
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-05-06 16:36:48 -04:00
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