Commit Graph

55 Commits

Author SHA1 Message Date
DL6ER 4b543e5c04 Add SHA256 library
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-03 20:12:14 +01:00
DL6ER 4cf7a82713 First steps into the v6.0 world. Login and logout is now possible and all pages load without PHP errors (even when they are mostly empty until we added all the new API methods)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-31 20:10:53 +01:00
Christian König 71cbfb0715 Update jquery.confirm to 2.7.0
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-28 14:15:46 -03:00
DL6ER bc6f9fd33c Update momentjs to 2.29.4 (#2399) 2022-10-28 13:08:54 -04:00
Christian König dada13776f Upgrade jquery to 3.6.1
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-13 17:53:12 +02:00
Christian König 4b30b49218 Update momentjs to 2.29.4
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-13 17:46:00 +02:00
Christian König 01ce1eed32 Add source map for chartjs-adapter-moment.min.js. They decided to remove it from the distributed version (https://github.com/chartjs/chartjs-adapter-moment/pull/34) but kept the reference in the js file. I compiled it myself to generate the source map
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:01 +02:00
Christian König c14c491ea5 Add chartjs-adapter-moment.js
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:00 +02:00
Christian König 6d971c1430 Update chartjs to v3.9.1
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:00 +02:00
RD WebDesign 6288112044 Allow bulk deletion of warnings
- add Datatables extension Select (CSS and js);
- add Datatables extension Buttons (CSS and js);
- allow selection of multiple warnings;
- new button to select all;
- new button to delete all selected warnings;
- add icons for the buttons;
- hide buttons if all messages were deleted;
- update CSS themes to format the new items;
- Fix: update icon count after warning deletion;
- Fix: remove triangle icon after delete last warning;

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-02-26 19:59:13 -03:00
rdwebdesign 4c8f869e7b Fixing PHP warnings in qrcode.php
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-28 02:13:50 -03:00
RD WebDesign d060a3b5c9 Update qrcode.php and use SVG to generate the code (#2022)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-24 11:38:58 +01:00
Adam Warner 5438430d6e Update to latest (and last) 2.x.x version of Chart.js to fix some bugs found in 2.9.3
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-07-03 22:24:34 +01:00
buchwasa 650ae0bf56 Use new style constructors
Signed-off-by: buchwasa <17461354+buchwasa@users.noreply.github.com>
2020-12-31 15:00:21 -05:00
DL6ER 1b129bcad0 Merge branch 'release/v5.2' into new/mac_clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-07-30 21:56:21 +02:00
XhmikosR a041cdcbd3 Remove the unused iCheck.min.js
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-06-07 10:41:36 +03:00
DL6ER a901489a96 Merge branch 'devel' into new/mac_clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-05 22:24:17 +02: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 bdca8104e5 Add better select menu allowing users to filter inside the dropdown as well as add new entries in place.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-13 21:19:05 +02: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