Commit Graph

38 Commits

Author SHA1 Message Date
XhmikosR
a041cdcbd3 Remove the unused iCheck.min.js
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-06-07 10:41:36 +03:00
XhmikosR
92e2288f0a Update jQuery to v3.5.1.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-06-04 14:49:17 +03:00
XhmikosR
38dc8a5f13 Update Chart.js to v2.9.3.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-06-03 17:38:28 +03:00
XhmikosR
876e7d8bd9 Use minified daterangepicker builds.
The official distribution doesn't include minified files, so just minify the files ourselves.

It's in maintenance mode anyway.

Commands for future reference:

* cleancss --compatibility ie9 -O1 specialComments:0 -o daterangepicker.min.css daterangepicker.css
* terser daterangepicker.js --compress typeofs=false --mangle --source-map url=daterangepicker.min.js.map -o daterangepicker.min.js

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-30 08:26:44 +03:00
XhmikosR
6997122519 Update daterangepicker to v3.1.0.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-30 08:26:17 +03:00
XhmikosR
95219703a1 Remove the unused jQuery UI.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 08:31:06 +03:00
XhmikosR
2d7f563e45 Add the missing bootstrap-toggle.min.js.map file.
This is to get rid of browser console warnings.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-27 21:49:11 +03:00
XhmikosR
f4f5fa19fb Update bootstrap-select to v1.3.17.
Also, add its map file to get rid of console warnings

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-27 21:49:10 +03:00
Adam Warner
8c3ad9a1b9 Merge pull request #1335 from pi-hole/datatables
Load the built DataTables bundle
2020-05-23 08:08:17 +01:00
XhmikosR
9d9cd8b7e6 Load the built DataTables bundle file.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-19 21:58:09 +03:00
XhmikosR
7ad275e1fd Move non-Bootstrap files outside of the bootstrap folder
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-19 16:31:25 +03:00
XhmikosR
36b1344afe Update DataTables to v1.10.21
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-17 15:00:08 +03:00
DL6ER
064a0aae9c Use the iCheck library for input box styling.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:50:29 +02:00
XhmikosR
bfd944e41c Switch to the plain chart.js build and moment.js to v2.24
This avoids including moment.js twice since chart.js bundle included moment.js

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-12 23:05:59 +03:00
Adam Warner
9bf9e3b81a Use AdminLTE 2.4.18 - include CSS, too.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-12 16:20:08 +01:00
Adam Warner
3e94ff0f43 Update adminLTE to 2.4.
- Change a few references per upgrade guide
 - define colors[] at the top of index.js as AdminLTE.options does not appear to exist. (there may be a better way of doing this)

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-12 12:58:45 +01:00
DL6ER
d0d1174010 Use bootstrap notify for notifications.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-12-17 12:48:25 +00:00
DL6ER
99462ec21d Update DataTables from 1.10.12 to 1.10.20
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-12-13 11:55:08 +00:00
Pazekal90
4b27773c0c Deleted conditional comments for lt. IE9 compatibility.
Signed-off-by: Pazekal90 <mail@pascal-pischel.de>
2019-10-03 20:37:12 +02:00
TheME
5ea4e6d185 fix broken Icons
Signed-off-by: Th3M3 <the_me@hotmail.de>
2019-08-04 21:11:32 +02:00
DL6ER
a00e887930 Remove jQuery inputmask
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-04-10 17:12:35 +02:00
DL6ER
24d4b63a55 Update Chart.js
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-31 15:49:16 +01:00
DL6ER
9f7fb18f31 Long-term statistics implementation (using FTL's database) (#521)
* - Add DB Top Lists
- Add DB Query Log
- Add DB API

* Allow to select only queries that are equal/newer than the oldest entry in the database
2017-06-29 20:57:09 +02:00
DL6ER
7a73053bfd Merge branch 'devel' into new/FTL-integration
Conflicts:
	api.php
2017-02-28 13:49:34 +01:00
DL6ER
d104539708 API QR token generator (#410)
* Added API QR token generator

* Pass only token

* Corrected link
2017-02-27 22:33:35 +01:00
DL6ER
4f70973cbc EUPL license (#402)
* Move whole project to EUPL, copy MIT license to scripts/vendor/ and style/vendor/

* Added header to main PHP files

* Modified scripts in scripts/pi-hole/php

* Added header to scripts/pi-hole/js files

* Added license header to our custom style script

* Slight reformulation
2017-02-18 14:20:51 +01:00
DL6ER
aabff35bef Squashed commit of the following:
- Dynamically fall back to PHP API functions to ensure API does always repond even if FTL is not runnung for some reason
- Update PHP API from current devel branch
- Increase flexibility in getQueryTypes API call
- Hide top ads list if nothing to display
- Proper display of activated privacy mode
- Remove spinner (would otherwise not be removed for zero results)
- Update tables every 10 seconds
- Update query types and forward destinations plots every 10 seconds
- More verbose output in top lists (total number next to percentage in tooltip)
- Implemented "recentBlocked" keyword for API
- Ensure compatibility with PHP5 version < 5.4
- Adjust output format of overTimeData10mins to comply with PHP API
- Further speedup of Query Log page by showing only the recent 10 minutes by default
- Hide temperature if FTL is not running and show FTL status
- Add information to Settings page
- Adjust error message when loading of query log failed
- Move processing of domainname, clientIP, clientname and time interval filters for the Query Log page to FTL for speed enhancement
- Generate link if pi.hole comes up in the Top Domains list
- Remove resolve DNS names option - this is now enabled by default (daemon will only do it once per day instead of PHP-API which did it on every reloading of the web interface)
- Add socket timeout of 10 seconds + modification to Settings page since FTL backend supports API_EXCLUDE_CLIENTS filtering with both IP addresses and host names (also mixed)
- Improved Query Log page
2017-02-16 08:52:30 +01:00
DL6ER
1b3904f67e Move whole project to EUPL, copy MIT license to scripts/vendor/ and style/vendor/ 2017-02-14 14:51:13 +01:00
Mcat12
8c821357ff Merge pull request #392 from pi-hole/revert-371-updateAdminLTE
Revert "Update AdminLTE v2.1.2 -> v2.3.8"
2017-02-05 14:38:28 -05:00
Mcat12
b586cb85ba Merge branch 'devel' into fix/IPv6field 2017-02-04 12:51:25 -05:00
DL6ER
179e7bd2c0 Revert "[WIP] Update AdminLTE v2.1.2 -> v2.3.8" 2017-02-03 10:26:30 +01:00
DL6ER
e645d953cd Removing validation for IPv6 field entirely. Fixes #389 2017-02-02 11:47:52 +01:00
DL6ER
44aaed17a7 Back to previously used JS validator fpr IPs (it supports Copy&Paste) 2017-02-02 10:57:41 +01:00
DL6ER
e73c521a71 Updated AdminLTE app 2017-01-21 01:53:00 +01:00
DL6ER
6958f50039 Change data-mask extension to one that supports both IPv4 and IPv6 addresses. Add IPv6 DNS server fields on the settings page 2017-01-13 13:37:36 +01:00
Promofaux
d0553ef169 Organise folder structure a bit better... Seperates vendor packages from self-written scripts. 2016-12-21 21:09:45 +01:00
DL6ER
e188cb6fbc Revert "Merge pull request #267 from pi-hole/folderStructure"
This reverts commit fba3d10fa4, reversing
changes made to 4ee75f4167.
2016-12-21 17:16:52 +01:00
Promofaux
6a13796d99 Organise folder structure a bit better... Seperates vendor packages from self-written scripts. 2016-12-19 18:30:16 +00:00