1728 Commits

Author SHA1 Message Date
XhmikosR
e2b2d2137e Merge pull request #656 from pi-hole/development
Merge development to master
2020-04-25 22:35:11 +03:00
XhmikosR
e8a313c5c7 Revert "Revert "Fix react/no-access-state-in-setstate errors. (#680)" (#683)" (#684)
This reverts commit 6d5052d64b.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-25 22:28:38 +03:00
XhmikosR
da3b1c4f58 CI: build the fake data site in test too (#682)
This allows us to only build once and deploy faster.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-25 22:02:13 +03:00
XhmikosR
6d5052d64b Revert "Fix react/no-access-state-in-setstate errors. (#680)" (#683)
This reverts commit b61c89a87c.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-25 21:58:08 +03:00
XhmikosR
ade0a39fac Format JSON files. (#681)
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-25 21:50:54 +03:00
XhmikosR
b61c89a87c Fix react/no-access-state-in-setstate errors. (#680)
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-25 21:47:31 +03:00
XhmikosR
5902d9e015 Revert "Assert PUBLIC_URL is not null in getBasePath" (#679)
This reverts commit 72e5240a2a.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-25 21:41:09 +03:00
dependabot-preview[bot]
d540c19026 Bump @types/node from 13.13.1 to 13.13.2 (#678)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.1 to 13.13.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-25 14:37:04 +03:00
dependabot-preview[bot]
2467ff1ecd Bump node-sass from 4.13.1 to 4.14.0 (#677)
Bumps [node-sass](https://github.com/sass/node-sass) from 4.13.1 to 4.14.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.13.1...v4.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-25 14:30:15 +03:00
dependabot-preview[bot]
870503bfee Bump prettier from 2.0.4 to 2.0.5 (#676)
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.4...2.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-25 14:23:36 +03:00
XhmikosR
8a55e06169 Update browserslist config (#674)
* Ignore Android < 6
* Capitalize OperaMini

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-24 21:51:29 +03:00
XhmikosR
a73d44c29c Merge pull request #668 from pi-hole/lint-2
Add a lint script
2020-04-24 21:46:05 +03:00
Mcat12
893e229de3 Ignore git-ignored files when running Prettier
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2020-04-22 09:52:19 +03:00
Mcat12
1c34345e14 Ignore false positive unused namespace in global.d.ts
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2020-04-22 09:52:19 +03:00
Mcat12
884c941f9a Remove duplicate ESLint plugins from extends list
The react-app ESLint plugin bundled with create-react-app already
provides the rules from ESLint and the react plugin, and additionally
tweaks the defaults to give a better experience (ex. with TypeScript).

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2020-04-22 09:52:19 +03:00
Mcat12
bf6a822480 Remove prop-types and disable associated lint
Validating props is left to TypeScript. The react/prop-types lint is no
longer necessary, as it does not work with TypeScript (false positives).

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2020-04-22 09:52:18 +03:00
XhmikosR
f65d053153 Attempt to fix the lint issues.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-22 09:52:18 +03:00
XhmikosR
c211e00e09 Add lint script using the react-app config
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-22 09:52:18 +03:00
XhmikosR
32d3a1ad84 Regenerate package-lock.json. (#673)
Kept jQuery to v3.4.1 since v3.5.0 has known issues. A patch release is pending.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-22 09:48:56 +03:00
dependabot-preview[bot]
082ae617b1 Bump react-i18next from 11.3.4 to 11.3.5 (#671)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.3.4 to 11.3.5.
- [Release notes](https://github.com/i18next/react-i18next/releases)
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v11.3.4...v11.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-21 11:08:37 +03:00
dependabot-preview[bot]
4569dc0d3a Bump i18next from 19.4.2 to 19.4.3
Bumps [i18next](https://github.com/i18next/i18next) from 19.4.2 to 19.4.3.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v19.4.2...v19.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-21 08:02:05 +00:00
dependabot-preview[bot]
3f56e8efd6 Bump @reduxjs/toolkit from 1.3.4 to 1.3.5 (#669)
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v1.3.4...v1.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-21 10:54:32 +03:00
dependabot-preview[bot]
2045928ab7 Bump @types/node from 13.13.0 to 13.13.1 (#672)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.0 to 13.13.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-21 10:48:15 +03:00
XhmikosR
a3d82e3875 Merge pull request #661 from pi-hole/dependabot/npm_and_yarn/development/types/node-13.13.0
Bump @types/node from 13.11.1 to 13.13.0
2020-04-20 08:35:10 +03:00
Mcat12
72e5240a2a Assert PUBLIC_URL is not null in getBasePath
An updated type definition for `process.env` added the possibility for
environment variables to be undefined.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2020-04-20 08:32:27 +03:00
dependabot-preview[bot]
0c3c4e99d9 Bump @types/node from 13.11.1 to 13.13.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.11.1 to 13.13.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-18 07:31:53 +00:00
dependabot-preview[bot]
8c3b5f5c56 Bump i18next from 19.4.1 to 19.4.2 (#660)
Bumps [i18next](https://github.com/i18next/i18next) from 19.4.1 to 19.4.2.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v19.4.1...v19.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-18 10:28:58 +03:00
dependabot-preview[bot]
2dc7932e7e Bump react-bootstrap-typeahead from 4.1.0 to 4.2.2
Bumps [react-bootstrap-typeahead](https://github.com/ericgio/react-bootstrap-typeahead) from 4.1.0 to 4.2.2.
- [Release notes](https://github.com/ericgio/react-bootstrap-typeahead/releases)
- [Changelog](https://github.com/ericgio/react-bootstrap-typeahead/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ericgio/react-bootstrap-typeahead/compare/v4.1.0...v4.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-18 07:22:52 +00:00
dependabot-preview[bot]
c77ff01ec1 Bump i18next-browser-languagedetector from 4.0.2 to 4.1.1 (#658)
Bumps [i18next-browser-languagedetector](https://github.com/i18next/i18next-browser-languageDetector) from 4.0.2 to 4.1.1.
- [Release notes](https://github.com/i18next/i18next-browser-languageDetector/releases)
- [Changelog](https://github.com/i18next/i18next-browser-languageDetector/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-browser-languageDetector/compare/v4.0.2...v4.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-18 10:15:19 +03:00
dependabot-preview[bot]
0ef88ff3e7 Bump fetch-mock from 9.3.1 to 9.4.0
Bumps [fetch-mock](https://github.com/wheresrhys/fetch-mock) from 9.3.1 to 9.4.0.
- [Release notes](https://github.com/wheresrhys/fetch-mock/releases)
- [Commits](https://github.com/wheresrhys/fetch-mock/compare/v9.3.1...v9.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-18 07:07:03 +00:00
XhmikosR
a1895b4f59 Merge pull request #655 from pi-hole/dependabot/npm_and_yarn/development/prettier-2.0.4
Bump prettier from 2.0.2 to 2.0.4
2020-04-12 09:42:41 +03:00
XhmikosR
e8d6fe99c2 Format code
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-12 09:39:28 +03:00
dependabot-preview[bot]
907c1aedcd Bump prettier from 2.0.2 to 2.0.4
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.2...2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-12 06:37:35 +00:00
dependabot-preview[bot]
bf3e86d1f2 Bump @types/react from 16.9.32 to 16.9.34 (#654)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.32 to 16.9.34.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-12 09:34:49 +03:00
dependabot-preview[bot]
a20ff00ae1 Bump @types/node from 13.11.0 to 13.11.1 (#653)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.11.0 to 13.11.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-12 09:29:23 +03:00
dependabot-preview[bot]
75666ab9b7 Bump @reduxjs/toolkit from 1.3.3 to 1.3.4 (#651)
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v1.3.3...v1.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-12 09:23:20 +03:00
dependabot-preview[bot]
817b9b52cc Bump i18next from 19.3.4 to 19.4.1 (#650)
Bumps [i18next](https://github.com/i18next/i18next) from 19.3.4 to 19.4.1.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v19.3.4...v19.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-12 09:15:15 +03:00
dependabot-preview[bot]
ece1e32ecc Bump @types/chart.js from 2.9.18 to 2.9.19 (#649)
Bumps [@types/chart.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chart.js) from 2.9.18 to 2.9.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chart.js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-12 09:09:33 +03:00
dependabot-preview[bot]
dba3fc0bbd Bump @types/react-router-dom from 5.1.3 to 5.1.4 (#648)
Bumps [@types/react-router-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-router-dom) from 5.1.3 to 5.1.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-router-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-11 16:30:29 +03:00
XhmikosR
468b5e881e package.json: specify engines version (#647)
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-08 08:40:12 +03:00
XhmikosR
6b9d4f3e60 Remove the now unused Dockerfile (#637)
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-08 08:34:04 +03:00
XhmikosR
cde23e8ac6 Update ci.yml (#646)
* move CNAME in the deploy action

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-08 07:39:50 +03:00
XhmikosR
1477be0f24 Update devDependencies (#636)
* @reduxjs/toolkit      ^1.3.2  →    ^1.3.3
* @types/chart.js      ^2.9.16  →   ^2.9.18
* @types/jest          ^25.1.4  →   ^25.2.1
* @types/node          ^13.9.5  →  ^13.11.0
* @types/react        ^16.9.26  →  ^16.9.32
* @types/react-dom     ^16.9.5  →   ^16.9.6
* @types/react-table    ^6.8.5  →    ^6.8.7

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-06 08:15:14 +03:00
dependabot-preview[bot]
42fae19e16 Bump @types/react from 16.9.25 to 16.9.26 (#633)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.25 to 16.9.26.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-28 09:56:19 +02:00
dependabot-preview[bot]
cf9597de59 Bump @types/node from 13.9.4 to 13.9.5 (#632)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.9.4 to 13.9.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-28 09:49:07 +02:00
dependabot-preview[bot]
a83ff3ecf2 Bump i18next from 19.3.3 to 19.3.4 (#631)
Bumps [i18next](https://github.com/i18next/i18next) from 19.3.3 to 19.3.4.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v19.3.3...v19.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-28 09:43:22 +02:00
dependabot-preview[bot]
46033173b1 Bump @reduxjs/toolkit from 1.3.0 to 1.3.2
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 1.3.0 to 1.3.2.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v1.3.0...v1.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-28 07:38:20 +00:00
XhmikosR
1683d1c545 Merge pull request #629 from pi-hole/development
Merge development to master
2020-03-26 18:46:08 +02:00
XhmikosR
995509c346 Update prettier to v2.0.2 (#621)
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-03-26 18:39:24 +02:00
XhmikosR
8ed93f264e Update devDependencies (#619)
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-03-26 18:06:18 +02:00