Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pi-hole web v5.1 #1480

Merged
merged 445 commits into from
Jul 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
445 commits
Select commit Hold shift + click to select a range
1ce87b1
Remove moot justify-content-md-center class
XhmikosR May 17, 2020
b33c7de
Improve nav-tabs accessibility
XhmikosR May 17, 2020
43559f2
settings.php: remove moot form
XhmikosR May 17, 2020
41ff3a2
Add fade class in groups-domains.php tabs
XhmikosR May 17, 2020
d22ee16
Move the system tab first in code.
XhmikosR May 17, 2020
80d7d89
Merge pull request #1327 from pi-hole/tweak/dhcpTableOrdering
PromoFaux May 18, 2020
10f6318
System tab: remove "Danger Zone!" header
XhmikosR May 18, 2020
0f9f33c
Merge pull request #1321 from pi-hole/xmr-tabs
PromoFaux May 18, 2020
4ef2675
Missed font-display
XhmikosR May 18, 2020
c4091a7
Add checkbox (save state in localstorage) to toggle between bar and s…
PromoFaux May 18, 2020
3202c10
auditlog: fix buttons grouping
XhmikosR May 19, 2020
7ad275e
Move non-Bootstrap files outside of the bootstrap folder
XhmikosR May 19, 2020
3a549e1
Move this checkbox to it's own section
PromoFaux May 19, 2020
9d9cd8b
Load the built DataTables bundle file.
XhmikosR May 19, 2020
7b2d396
require auth for the customDNS page
PromoFaux May 20, 2020
a6ad0dc
Merge pull request #1338 from pi-hole/tweak/auth_customdns
DL6ER May 20, 2020
1702be9
Add .gitattributes file
XhmikosR May 20, 2020
f158e25
Remove glyphicons again.
XhmikosR May 21, 2020
617447e
Update settings.js
XhmikosR May 21, 2020
ea60eaf
index.php: make query charts smaller on md
XhmikosR May 21, 2020
442201d
Improve user info markup
XhmikosR May 22, 2020
3dc8d9c
Properly delete the `persistentlogin` cookie
XhmikosR May 22, 2020
c1a19d3
Merge pull request #1328 from pi-hole/font
PromoFaux May 23, 2020
2de1c94
Merge pull request #1333 from pi-hole/auditlog-row-fix
PromoFaux May 23, 2020
ef545a2
Merge pull request #1334 from pi-hole/mv-files
PromoFaux May 23, 2020
8c3ad9a
Merge pull request #1335 from pi-hole/datatables
PromoFaux May 23, 2020
ed3594a
Merge pull request #1339 from pi-hole/gitattributes
PromoFaux May 23, 2020
685f262
Merge pull request #1341 from pi-hole/rm-glyphicons
PromoFaux May 23, 2020
8729995
Merge pull request #1342 from pi-hole/XhmikosR-patch-2
PromoFaux May 23, 2020
0cd6f21
Merge pull request #1343 from pi-hole/index-smaller-query-charts
PromoFaux May 23, 2020
0fa7de8
JS: Enforce camelcase.
XhmikosR May 22, 2020
4d63870
Enable xo's `new-cap` rule.
XhmikosR May 22, 2020
444e97b
Rename groups-common.js to utils.js.
XhmikosR May 22, 2020
4247c97
Rename function.
XhmikosR May 22, 2020
700e9af
Merge pull request #1346 from pi-hole/xo-rules
PromoFaux May 23, 2020
7154742
Merge pull request #1347 from pi-hole/improve-user-info-markup
PromoFaux May 23, 2020
34f6c75
Merge pull request #1350 from pi-hole/cookies-delete
PromoFaux May 23, 2020
6b1340c
Add staveSave property bool to DHCP tables to remember last used sort…
PromoFaux May 19, 2020
eb05394
Add saveState/loadState callbacks
PromoFaux May 22, 2020
3957e9e
Move some duplicated code to utils.js
PromoFaux May 22, 2020
821b283
Fix queries Clear Filters button
XhmikosR May 16, 2020
9c5fb73
Remove redundant variable.
XhmikosR May 22, 2020
e70e108
Use `.hidden`/`.show` for showing/hiding the reset buttons
XhmikosR May 23, 2020
138e4b6
db_graph.js: move variable where it's used
XhmikosR May 23, 2020
d8bfd1a
Assorted Markdown tweaks
XhmikosR May 23, 2020
b2aaf2b
Merge pull request #1299 from pi-hole/XhmikosR-patch-6
PromoFaux May 23, 2020
b20b679
HTML `hidden` attribute does not need a value.
XhmikosR May 16, 2020
3bc1ea9
Merge pull request #1301 from pi-hole/xmr-hidden
PromoFaux May 23, 2020
d5d2e56
Merge pull request #1359 from pi-hole/markdown
PromoFaux May 24, 2020
de71dd0
Clean up table classes.
XhmikosR May 24, 2020
d3cd52b
Remove the obsolete `cellspacing="0"` attribute.
XhmikosR May 24, 2020
59ea121
Remove the invalid `width="100%` attribute
XhmikosR May 24, 2020
b7540de
Revert "Remove the invalid `width="100%` attribute"
XhmikosR May 24, 2020
3077610
Use `fa5` class on the sidebar toggle
XhmikosR May 24, 2020
bf63da9
Minor HTML markup fixes.
XhmikosR May 24, 2020
8f8fb36
Regenerate package-lock.json (#1365)
XhmikosR May 24, 2020
4356bd5
Always use `!== -1` to check for a string's existence
XhmikosR May 25, 2020
c7e3be4
footer.js: remove duplicate function.
XhmikosR May 25, 2020
2d28f16
Merge pull request #1373 from pi-hole/rm-dupe-func
PromoFaux May 25, 2020
7b084b8
pi-hole.css: fix glow to use the current color
XhmikosR May 25, 2020
61a3ec1
Merge pull request #1298 from pi-hole/XhmikosR-patch-5
DL6ER May 25, 2020
3bfef7b
Merge pull request #1326 from pi-hole/tweak/notAnError
DL6ER May 25, 2020
184c8e4
Merge pull request #1332 from pi-hole/tweak/dhcp_save_state
DL6ER May 25, 2020
b6ad648
Merge pull request #1329 from pi-hole/new/somepeoplelikecurves
DL6ER May 25, 2020
fc78d47
Merge pull request #1358 from pi-hole/XhmikosR-patch-2
DL6ER May 25, 2020
b6d1392
Merge pull request #1351 from pi-hole/redundant-var
DL6ER May 25, 2020
36eb877
Tweak footer.php
XhmikosR May 21, 2020
792abf8
Update settings.js
XhmikosR May 25, 2020
18dba14
Merge pull request #1344 from pi-hole/tweak-footer
DL6ER May 25, 2020
68cd72a
Merge pull request #1381 from pi-hole/XhmikosR-patch-2
DL6ER May 25, 2020
621e65b
Merge pull request #1367 from pi-hole/clean-table-classes
DL6ER May 25, 2020
a4f9068
Merge pull request #1368 from pi-hole/sidebar-toggle
DL6ER May 25, 2020
ba510cc
Merge pull request #1369 from pi-hole/clean-markup
DL6ER May 25, 2020
8cc24a9
Merge pull request #1379 from pi-hole/XhmikosR-patch-3
DL6ER May 25, 2020
c86515e
Merge pull request #1372 from pi-hole/indexOf
DL6ER May 25, 2020
256aff7
Replace custom httpGet() with $.ajax()" (#1371)
paul-man May 25, 2020
9b3d8b8
Replace `$.each` with native methods.
XhmikosR May 26, 2020
cfad66a
Update npm scripts
XhmikosR May 13, 2020
d48a57a
Update pi-hole.css
XhmikosR May 22, 2020
ba86bb8
default-dark.css: don't use 8-digit hex color
XhmikosR May 22, 2020
2fac217
Re-implement api.php?list actions for add, sub and get.
DL6ER May 26, 2020
c2a634f
Allow for ; in adlist urls
PromoFaux May 26, 2020
23ff8c2
Merge pull request #1392 from pi-hole/url-check
DL6ER May 26, 2020
cce92cc
Remove obsolete add.php script, use groups.php everywhere instead.
DL6ER May 26, 2020
24269a0
Remove break after die as it cannot be reached.
DL6ER May 26, 2020
f5d68ff
Remove version number from the Font Awesome folder.
XhmikosR May 27, 2020
bf4ba1b
Use `$` instead of `jQuery`.
XhmikosR May 26, 2020
1bd4500
Merge pull request #1097 from pi-hole:XhmikosR-patch-1
PromoFaux May 27, 2020
f4f5fa1
Update bootstrap-select to v1.3.17.
XhmikosR May 26, 2020
2d7f563
Add the missing bootstrap-toggle.min.js.map file.
XhmikosR May 26, 2020
789470c
gravity.php: add missing space (#1395)
XhmikosR May 28, 2020
6a80f8c
add some blurb, replace confusing placeholder on adlist page
PromoFaux May 28, 2020
39ac202
Check `data` for null before trying to manipulate it. Closes #1391
PromoFaux May 28, 2020
6dbe1f4
Merge pull request #1398 from pi-hole/fix-broken-abstraction
DL6ER May 28, 2020
e762b47
Merge pull request #1383 from pi-hole:libs
PromoFaux May 28, 2020
2cb6a6e
Merge pull request #1384 from pi-hole:XhmikosR-patch-2
PromoFaux May 28, 2020
ac8ece7
Merge pull request #1385 from pi-hole:XhmikosR-patch-3
PromoFaux May 28, 2020
a25cb8a
Reduce CSS duplication a bit
XhmikosR May 24, 2020
eab6485
Move `escapeHtml` to utils.
XhmikosR May 25, 2020
469d491
Move JS files where they are used.
XhmikosR May 26, 2020
2464ffe
network.php: move the scripts above footer
XhmikosR May 27, 2020
c108f7e
Remove duplicate token `div`
XhmikosR May 17, 2020
9521970
Remove the unused jQuery UI.
XhmikosR May 23, 2020
d92c4ef
index.php: remove duplicate `class` attribute
XhmikosR May 29, 2020
f1eb744
Guard `gethostname()` calls
XhmikosR May 29, 2020
2b93d56
Move the `gethostname()` call to a variable.
XhmikosR May 29, 2020
e1e0fc6
Enable ESLint's `no-console` rule
XhmikosR May 26, 2020
7e2b48a
Remove unneeded `console.log`
XhmikosR May 26, 2020
f04647f
Ignore the remaining console errors for now.
XhmikosR May 29, 2020
7f71f1d
Move `objectToArray()` to utils.
XhmikosR May 25, 2020
61c29ca
Move `padNumber()` to utils.
XhmikosR May 25, 2020
7caabf7
index.js: assorted simplifications
XhmikosR May 29, 2020
37d75b9
Update CI config
XhmikosR May 29, 2020
7304acc
Add `eslint-plugin-compat`
XhmikosR May 29, 2020
e7eb4be
Ignore the `EventSource()` errors
XhmikosR May 29, 2020
d55f0ce
Make IE 11 the minimum supported version
XhmikosR May 29, 2020
4271433
Merge pull request #1400 from pi-hole/XhmikosR-patch-1
DL6ER May 29, 2020
77532e5
Merge pull request #1388 from pi-hole/no-console
DL6ER May 29, 2020
b9c5a84
Merge pull request #1390 from pi-hole/XhmikosR-patch-10
DL6ER May 29, 2020
e213dce
Merge pull request #1394 from pi-hole/ren-fa-folder
DL6ER May 29, 2020
1390a6d
remove outdated local help page, link to docs instead
PromoFaux May 29, 2020
0d70409
Merge pull request #1361 from pi-hole:rm-jquery-ui
PromoFaux May 29, 2020
7abeb2b
Merge pull request #1404 from pi-hole/been-a-while-since-we-touched-this
DL6ER May 29, 2020
dd678da
Merge pull request #1376 from pi-hole:deduplicate-js
PromoFaux May 29, 2020
7700d9b
Merge pull request #1387 from pi-hole/new/api_add_sub_get_lists
PromoFaux May 29, 2020
a284f71
Merge pull request #1389 from pi-hole/js-move
PromoFaux May 29, 2020
3e144f4
Merge pull request #1401 from pi-hole/XhmikosR-patch-2
PromoFaux May 29, 2020
05c11db
Merge pull request #1403 from pi-hole/eslint-plugin-compat
PromoFaux May 29, 2020
6997122
Update daterangepicker to v3.1.0.
XhmikosR May 25, 2020
876e7d8
Use minified daterangepicker builds.
XhmikosR May 25, 2020
11f621d
Make daterangepicker use the same font as everywhere else.
XhmikosR May 25, 2020
4e5cc31
Move animate.min.css style in the pages that use it
XhmikosR May 29, 2020
758bd21
Merge pull request #1366 from pi-hole/css-cleanup
XhmikosR May 30, 2020
ee40ea3
Fix sidebar docs link
XhmikosR May 30, 2020
af47854
Use `prop()` for the `disabled` attribute.
XhmikosR May 23, 2020
d3da7b4
gravity.js: replace `removeAttr()` with `prop()`
XhmikosR May 23, 2020
cecb5aa
Use `$(fn)`
XhmikosR May 23, 2020
0fac8a5
Merge pull request #1380 from pi-hole/update-daterangepicker
PromoFaux May 30, 2020
be54d15
Merge pull request #1402 from pi-hole/XhmikosR-patch-3
PromoFaux May 30, 2020
89ce5d1
Merge pull request #1405 from pi-hole/fix-sidebar
PromoFaux May 30, 2020
ccbb0d2
Merge pull request #1406 from pi-hole/prop-disabled
PromoFaux May 30, 2020
bba9f22
Merge pull request #1407 from pi-hole/js-removeAttr
PromoFaux May 30, 2020
3e36980
Merge pull request #1408 from pi-hole/js-doc-ready
PromoFaux May 30, 2020
105d880
final null check on stateLoadCallBack (#1411)
PromoFaux May 30, 2020
ff16f48
network.js: minor consistency changes
XhmikosR May 30, 2020
e9fc5a2
Revert "header: Move license header at the top"
XhmikosR May 31, 2020
ace21fb
Merge pull request #1413 from pi-hole/XhmikosR-patch-1
PromoFaux Jun 1, 2020
0970406
Merge pull request #1415 from pi-hole/revert-1300-XhmikosR-patch-7
PromoFaux Jun 1, 2020
4cca206
Change "Permanently" toggle to "Indefinitely" (#1416)
magnolialogic Jun 1, 2020
ee89ab3
Include hostname in backup filename. Will add nothing if no hostname …
PromoFaux Jun 1, 2020
02a4e83
create utils.getGraphType() function.
PromoFaux Jun 1, 2020
814eca9
Merge pull request #1418 from pi-hole/fix-default-graphs-none-set
DL6ER Jun 2, 2020
e7eec95
Use all the new Pi-hole v5.0 blocking status code also in the long-te…
DL6ER Jun 2, 2020
332cff1
Improve warnings on the domain management pages.
DL6ER Jun 2, 2020
5784771
On fast machines, cache replies can be served within less than 100 na…
DL6ER Jun 2, 2020
d518a1d
Merge pull request #1417 from pi-hole/include-hostname-in-backup
DL6ER Jun 2, 2020
580149e
Merge pull request #1292 from pi-hole/tweak/group_name_separators
DL6ER Jun 2, 2020
0e4d1e4
Implement per-browser checkbox and radio button styling using icheck-…
DL6ER May 25, 2020
7ff5764
Add per-browser boxed layout setting
DL6ER May 25, 2020
3124e94
Fix login page check box
DL6ER May 26, 2020
6e52ee4
Add per-browser theme selection
DL6ER May 26, 2020
3c79358
Add per-browser temp unit selection
DL6ER May 26, 2020
6ed0f05
Simplify code
DL6ER May 26, 2020
16d3135
Further tweaks and optimization
DL6ER May 26, 2020
d63c956
Fix message and debug pages.
DL6ER May 26, 2020
b6fb6ff
Fix tor-right dropdown menu styling
DL6ER May 26, 2020
e6ca9a2
xo adjustments
DL6ER May 26, 2020
2e0a261
No not use per-browser settings for the theme to avoid flashing pages…
DL6ER Jun 2, 2020
51dc473
Remove saving backend for settings moved into local storage.
DL6ER Jun 2, 2020
a4a678b
Revert "Add per-browser boxed layout setting"
DL6ER Jun 2, 2020
b75ebb1
xo
PromoFaux Jun 2, 2020
2dff6c6
Merge pull request #1422 from pi-hole/new/icheck-material
PromoFaux Jun 2, 2020
4f2d3c0
Merge pull request #1421 from pi-hole/tweak/zero_delay_is_possible
PromoFaux Jun 2, 2020
8dd1419
Merge pull request #1419 from pi-hole/fix/long-term-blocking-modes
PromoFaux Jun 3, 2020
9b8946e
Merge branch 'devel' into tweak/exact_searching
DL6ER Jun 3, 2020
55ab4f1
Minor style changes for the dark theme.
DL6ER Jun 3, 2020
38dc8a5
Update Chart.js to v2.9.3.
XhmikosR Jun 3, 2020
3b22d68
Specify `animation: false` for the bar graphs
XhmikosR Jun 3, 2020
a70eb51
Remove unneeded `chart.update()` calls.
XhmikosR Jun 3, 2020
981cba1
Use PHP builtin to split the input by space. Automatically takes into…
PromoFaux Jun 3, 2020
c45bcd9
Add support for HOSTNAME diagnostics message
DL6ER May 23, 2020
1df85ff
Simplify code for space generation and use HTML entities.
DL6ER May 23, 2020
075c474
Use new Array().join() for space generation.
PromoFaux Jun 3, 2020
540ebdd
Merge branch 'devel' into new/rev-server
DL6ER Jun 4, 2020
700b575
Add note that IPv6 is supported as well.
DL6ER Jun 4, 2020
68e03df
Simplify button by removing the description of what we are filtering.
DL6ER Jun 4, 2020
e357a92
Add tooltip and click cursor to enhance accessibility of the click fi…
DL6ER Jun 4, 2020
c90fbc2
Reduce agressiveness of highlight color.
DL6ER Jun 4, 2020
3d423ed
Use classes instead of manipulating CSS directly for getting the poin…
DL6ER Jun 4, 2020
fafdf37
Remove parseInt() from values guaranteed to be int from the API.
DL6ER Jun 4, 2020
f4fe04d
Add placeholder to the search field to highlight what can be searched…
DL6ER Jun 4, 2020
80873e8
Modify how we add data to the stacked bar charts on the dashboard.
DL6ER Jun 4, 2020
b3e3a3c
Merge pull request #1424 from pi-hole/update-chartjs
XhmikosR Jun 4, 2020
92e2288
Update jQuery to v3.5.1.
XhmikosR May 23, 2020
87e49b2
Fix `.context` usage in our code
XhmikosR May 23, 2020
f5d1077
queryads.js: fix off by one in the viewport check.
XhmikosR May 23, 2020
62ac7e5
Merge pull request #1425 from pi-hole/fix/group-page-single-group
DL6ER Jun 4, 2020
c6abbac
Unlike the standard PHP engine, others might actually be case-sensiti…
DL6ER Jun 4, 2020
1328623
Fix tailog pages IDs
XhmikosR Jun 4, 2020
010eef7
Update xo to v0.32.0 and regenerate package-lock.json
XhmikosR Jun 4, 2020
ffbeba4
Extend warning shown on server-side data processing errors.
DL6ER Jun 4, 2020
e5b45cb
Merge pull request #1429 from pi-hole/fix-tailog-ids
DL6ER Jun 4, 2020
e8b0e25
Tailog pages: make checkboxes use the same markup as everywhere else.…
XhmikosR Jun 4, 2020
cd99d33
Merge pull request #1362 from pi-hole/jquery-3
XhmikosR Jun 4, 2020
a9cee00
Improve CSP config (#1377)
XhmikosR Jun 4, 2020
e20c465
Enable radix ESLint rule
XhmikosR May 25, 2020
4bf018b
Add missing radix information in parseInt().
DL6ER Jun 4, 2020
9aa11ec
Fix typo "Long term" -> "Long-term"
XhmikosR Jun 4, 2020
c04dd08
Merge pull request #1356 from pi-hole/tweak/hostname_error_message
PromoFaux Jun 4, 2020
ca0800b
Merge pull request #1431 from pi-hole/fix/memory_warning
PromoFaux Jun 4, 2020
0d19cbe
Merge pull request #1430 from pi-hole/update-xo
PromoFaux Jun 4, 2020
68297b1
Merge pull request #1374 from pi-hole/radix
XhmikosR Jun 5, 2020
a7bc6e8
Store NULL for emtpty descriptions and comments in the groups databas…
DL6ER Jun 5, 2020
f494938
Merge pull request #1436 from pi-hole/long-term
PromoFaux Jun 5, 2020
7aa79a7
Merge pull request #1420 from pi-hole/tweak/improve_warnings
PromoFaux Jun 5, 2020
efd9281
Merge pull request #1442 from pi-hole/fix/null_comments_in_groups
PromoFaux Jun 5, 2020
5b71dab
Change INSERT statement to INSERT OR IGNORE on adlist management as a…
PromoFaux Jun 6, 2020
a041cdc
Remove the unused iCheck.min.js
XhmikosR Jun 7, 2020
228ea0a
Merge pull request #1449 from pi-hole/dont-fallover-on-duplicates
PromoFaux Jun 7, 2020
7b555dc
Merge pull request #1451 from pi-hole/rm-iCheck
PromoFaux Jun 7, 2020
1bef0bb
Tweak CSP (#1445)
XhmikosR Jun 7, 2020
7bfc7cb
network.js: use `utils.datetime()`
XhmikosR Jun 7, 2020
d5de840
Merge pull request #1452 from pi-hole/XhmikosR-patch-1
DL6ER Jun 7, 2020
0303fb6
footer.js: remove dead code.
XhmikosR Jun 8, 2020
557bd85
change button type on dhcp static lease removal back to submit (#1456)
PromoFaux Jun 9, 2020
95379bb
#1227 Test if file exists instead of silencing errors
willemstuursma Jun 10, 2020
c949516
make use of utils.escapeHtml on the JS side of things, and html_entit…
PromoFaux Jun 13, 2020
1819abe
Merge branch 'devel' into tweak/exact_searching
DL6ER Jun 14, 2020
852d5ce
Merge pull request #1453 from pi-hole/rm-footer-dead-code
DL6ER Jun 14, 2020
d187219
Merge pull request #1443 from pi-hole/sanitise-group-input
PromoFaux Jun 14, 2020
05582b9
Merge pull request #1251 from willemstuursma/fix-warning-for-unlink
PromoFaux Jun 17, 2020
536ecd6
Bump autoprefixer from 9.8.0 to 9.8.1
dependabot-preview[bot] Jun 20, 2020
f06a2b6
CSS: Use rgba() instead of hex-color.
DL6ER Jun 21, 2020
78e1f3c
Review comments on code style
DL6ER Jun 21, 2020
ea1fd6c
Remove HTML from titles when not needed.
XhmikosR Jun 14, 2020
59bd4de
Merge pull request #1222 from pi-hole/tweak/exact_searching
DL6ER Jun 23, 2020
156b7b4
Update settings.php
DL6ER Jun 23, 2020
297c1b0
response is expected to be empty here, as far as I can tell. Revertin…
PromoFaux Jun 25, 2020
f51705b
Don't add #53 to any passed IP value by default, only add custom port…
PromoFaux Jun 25, 2020
aeba7c9
Only show query types for which the count is larger than zero.
DL6ER Jun 28, 2020
a816a4f
Merge pull request #1475 from pi-hole/new/more_query_types
DL6ER Jun 28, 2020
1482b90
Update scripts/pi-hole/php/savesettings.php
DL6ER Jun 30, 2020
f31048c
Merge pull request #1472 from pi-hole/tweak/custom_DNS
PromoFaux Jul 1, 2020
3fd0f2d
Add CodeQL Action (#1476)
XhmikosR Jul 2, 2020
37fd2d2
Update devDependencies and regenerate package-lock.json
XhmikosR Jul 1, 2020
15b5995
Merge pull request #1460 from pi-hole/groups-tootlip
PromoFaux Jul 2, 2020
40a3974
Merge pull request #1467 from pi-hole/pkg
PromoFaux Jul 2, 2020
c42c06b
Merge pull request #1208 from pi-hole/new/rev-server
PromoFaux Jul 2, 2020
b1d69f5
Bump xo from 0.32.0 to 0.32.1
dependabot-preview[bot] Jul 4, 2020
49178c8
Update devDependencies and regenerate package-lock.json (#1483)
XhmikosR Jul 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
19 changes: 10 additions & 9 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
**In raising this issue, I confirm the following:** `{please fill the checkboxes, e.g: [X]}`

- [] I have read and understood the [contributors guide](https://github.com/pi-hole/AdminLTE/blob/master/CONTRIBUTING.md).
- [] The issue I am reporting can be *replicated*.
- [] The issue I am reporting can be _replicated_.
- [] The issue I am reporting isn't a duplicate (see [FAQs](https://github.com/pi-hole/pi-hole/wiki/FAQs), [closed issues](https://github.com/pi-hole/AdminLTE/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), and [open issues](https://github.com/pi-hole/AdminLTE/issues)).

**How familiar are you with the the source code relevant to this issue?:**

`{Replace this with a number from 1 to 10. 1 being not familiar, and 10 being very familiar}`

---
**Expected behaviour:**

**Expected behavior:**

`{A detailed description of what you expect to see}`

**Actual behaviour:**
**Actual behavior:**

`{A detailed description and/or screenshots of what you do see}`

Expand All @@ -29,9 +30,9 @@

`{Steps of what you have done to fix this}`

> * `{Please delete this quoted section when opening your issue}`
> * You must follow the template instructions. Failure to do so will result in your issue being closed.
> * Please [submit any feature requests here](https://discourse.pi-hole.net/c/feature-requests), so it is votable and trackable by the community.
> * Please respect that Pi-hole is developed by volunteers, who can only reply in their spare time.
> * Detail helps us understand and resolve an issue quicker, but please ensure it's relevant.
> * _This template was created based on the work of [`udemy-dl`](https://github.com/nishad/udemy-dl/blob/master/LICENSE)._
> - `{Please delete this quoted section when opening your issue}`
> - You must follow the template instructions. Failure to do so will result in your issue being closed.
> - Please [submit any feature requests here](https://discourse.pi-hole.net/c/feature-requests), so it is votable and trackable by the community.
> - Please respect that Pi-hole is developed by volunteers, who can only reply in their spare time.
> - Detail helps us understand and resolve an issue quicker, but please ensure it's relevant.
> - _This template was created based on the work of [`udemy-dl`](https://github.com/nishad/udemy-dl/blob/master/LICENSE)._
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

`{A detailed list of any necessary changes}`

> * `{Please delete this quoted section when opening your pull request}`
> * You must follow the template instructions. Failure to do so will result in your issue being closed.
> * Please respect that Pi-hole is developed by volunteers, who can only reply in their spare time.
> * Detail helps us understand an issue quicker, but please ensure it's relevant.
> - `{Please delete this quoted section when opening your pull request}`
> - You must follow the template instructions. Failure to do so will result in your issue being closed.
> - Please respect that Pi-hole is developed by volunteers, who can only reply in their spare time.
> - Detail helps us understand an issue quicker, but please ensure it's relevant.
25 changes: 25 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Code Scanning - Action"

on:
push:
schedule:
- cron: "0 0 * * 0"

jobs:
CodeQL-Build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: javascript

- name: Autobuild
uses: github/codeql-action/autobuild@v1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
21 changes: 11 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
name: Tests
on: [push, pull_request]

on:
push:
branches:
- devel
- master
pull_request:
branches:
- "**"

env:
CI: true

Expand All @@ -8,22 +17,14 @@ jobs:
name: Node ${{ matrix.node }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node: [12]

steps:
- name: Clone repository
uses: actions/checkout@v2

- name: Set Node.js version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}

- run: node --version
- run: npm --version
node-version: "12.x"

- name: Install npm dependencies
run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Please read and understand the contribution guide before creating an issue or pu

## Etiquette

- Our goal for Pi-hole is **stability before features**. This means we focus on squashing critical bugs before adding new features. Often, we can do both in tandem, but bugs will take priority over a new feature.
- Pi-hole is open source and [powered by donations](https://pi-hole.net/donate/), and as such, we give our **free time** to build, maintain, and **provide user support** for this project. It would be extremely unfair for us to suffer abuse or anger for our hard work, so please take a moment to consider that.
- Our goal for Pi-hole is **stability before features**. This means we focus on squashing critical bugs before adding new features. Often, we can do both in tandem, but bugs will take priority over a new feature.
- Pi-hole is open source and [powered by donations](https://pi-hole.net/donate/), and as such, we give our **free time** to build, maintain, and **provide user support** for this project. It would be extremely unfair for us to suffer abuse or anger for our hard work, so please take a moment to consider that.
- Please be considerate towards the developers and other users when raising issues or presenting pull requests.
- Respect our decision(s), and do not be upset or abusive if your submission is not used.

Expand Down
107 changes: 66 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
<p align="center">
<a href="https://pi-hole.net"><img src="https://pi-hole.github.io/graphics/Vortex/Vortex_with_text.png" width="150" height="255" alt="Pi-hole"></a><br/></br>
<b>Network-wide ad blocking via your own Linux hardware</b><br/>
</br>
<a href="https://pi-hole.net"><img src="https://pi-hole.github.io/graphics/Screenshots/pihole-dashboard.png" alt="Pi-hole Web interface"></a><br/>
<a href="https://pi-hole.net/">
<img src="https://pi-hole.github.io/graphics/Vortex/Vortex_with_Wordmark.svg" width="150" height="260" alt="Pi-hole">
</a>
<br>
<strong>Network-wide ad blocking via your own Linux hardware</strong>
<br>
<br>
<a href="https://pi-hole.net/">
<img src="https://pi-hole.github.io/graphics/Screenshots/pihole-dashboard.png" alt="Pi-hole Web interface">
</a>
</p>

Pi-hole[®](https://pi-hole.net/trademark-rules-and-brand-guidelines/)'s Web interface (based off of [AdminLTE](https://github.com/ColorlibHQ/AdminLTE)) provides a central location to manage your Pi-hole and review the statistics generated by FTLDNS[™](https://pi-hole.net/trademark-rules-and-brand-guidelines/).
Expand All @@ -13,13 +19,15 @@ Pi-hole[®](https://pi-hole.net/trademark-rules-and-brand-guidelines/)'s Web int
- **Insightful**: use the query log, audit log, or long-term stats to gain insight into your networks activity

---

<img src="https://pi-hole.github.io/graphics/Badges/browserstack-badge.png" height="80"><br>

# Installation

The Web interface is enabled by default when you install Pi-hole.

## Post-installation: access the Web interface and gain insight into your network's activity

There are several ways to [access the dashboard](https://discourse.pi-hole.net/t/how-do-i-access-pi-holes-dashboard-admin-interface/3168):

1. `http://<IP_ADDPRESS_OF_YOUR_PI_HOLE>/admin/`
Expand All @@ -33,123 +41,140 @@ Once logged in (forgot your password?), you can view your network stats to see t
- the amount of domains that were blocked
- the upstream server queries were sent to
- the type of queries (`A`, `AAAA`, `CNAME`, `SRV`, `TXT`, etc.)

---

## Pi-hole is free, but powered by your support

There are many reoccurring costs involved with maintaining free, open source, and privacy respecting software; expenses which [our volunteer developers](https://github.com/orgs/pi-hole/people) pitch in to cover out-of-pocket. This is just one example of how strongly we feel about our software, as well as the importance of keeping it maintained.

Make no mistake: **your support is absolutely vital to help keep us innovating!**

### Donations

Sending a donation using our links below is **extremely helpful** in offsetting a portion of our monthly expenses:

- <img src="https://pi-hole.github.io/graphics/Badges/paypal-badge-black.svg" width="24" height="24" alt="PP"/> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3J2L3Z4DHW9UY">Donate via PayPal</a><br/>
- <img src="https://pi-hole.github.io/graphics/Badges/bitcoin-badge-black.svg" width="24" height="24" alt="BTC"/> [Bitcoin, Bitcoin Cash, Ethereum, Litecoin](https://commerce.coinbase.com/checkout/dd304d04-f324-4a77-931b-0db61c77a41b)
- <img src="https://pi-hole.github.io/graphics/Badges/paypal-badge-black.svg" width="24" height="24" alt="PP"> [Donate via PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3J2L3Z4DHW9UY)
- <img src="https://pi-hole.github.io/graphics/Badges/bitcoin-badge-black.svg" width="24" height="24" alt="BTC"> [Bitcoin, Bitcoin Cash, Ethereum, Litecoin](https://commerce.coinbase.com/checkout/dd304d04-f324-4a77-931b-0db61c77a41b)

### Alternative support

If you'd rather not [donate](https://pi-hole.net/donate/) (_which is okay!_), there are other ways you can help support us:

- [Patreon](https://patreon.com/pihole) _Become a patron for rewards_
- [Digital Ocean](http://www.digitalocean.com/?refcode=344d234950e1) _affiliate link_
- [Stickermule](https://www.stickermule.com/unlock?ref_id=6055890701&utm_medium=link&utm_source=invite) _earn a $10 credit after your first purchase_
- [Digital Ocean](https://www.digitalocean.com/?refcode=344d234950e1) _affiliate link_
- [Stickermule](https://www.stickermule.com/unlock?ref_id=6055890701&utm_medium=link&utm_source=invite) _earn a \$10 credit after your first purchase_
- [Pi-hole Swag Store](https://pi-hole.net/shop/) _affiliate link_
- [Amazon](http://www.amazon.com/exec/obidos/redirect-home/pihole09-20) _affiliate link_
- [Amazon](https://www.amazon.com/exec/obidos/redirect-home/pihole09-20) _affiliate link_
- [DNS Made Easy](https://cp.dnsmadeeasy.com/u/133706) _affiliate link_
- [Vultr](http://www.vultr.com/?ref=7190426) _affiliate link_
- Spreading the word about our software, and how you have benefited from it

### Contributing via GitHub

We welcome _everyone_ to contribute to issue reports, suggest new features, and create pull requests.

If you have something to add - anything from a typo through to a whole new feature, we're happy to check it out! Just make sure to fill out our template when submitting your request; the questions that it asks will help the volunteers quickly understand what you're aiming to achieve.

### Presentations about Pi-hole

Word-of-mouth continues to help our project grow immensely, and so we are helping make this easier for people.

If you are going to be presenting Pi-hole at a conference, meetup or even a school project, [get in touch with us](https://pi-hole.net/2017/05/17/giving-a-presentation-on-pi-hole-contact-us-first-for-some-goodies-and-support/) so we can hook you up with free swag to hand out to your audience!

-----
---

## Getting in touch with us

While we are primarily reachable on our <a href="https://discourse.pi-hole.net/">Discourse User Forum</a>, we can also be found on a variety of social media outlets. **Please be sure to check the FAQ's** before starting a new discussion, as we do not have the spare time to reply to every request for assistance.

<ul>
<li><b><a href="https://discourse.pi-hole.net/c/faqs">Frequently Asked Questions</a></b></li>
<li><b><a href="https://github.com/pi-hole/pi-hole/wiki">Pi-hole Wiki</a></b></li>
<li><b><a href="https://discourse.pi-hole.net/c/feature-requests?order=votes">Feature Requests</a></b></li>
<li><a href="https://discourse.pi-hole.net/">Discourse User Forum</a></li>
<li><a href="https://www.reddit.com/r/pihole/">Reddit</a></li>
<li><a href="https://twitter.com/The_Pi_Hole">Twitter</a></li>
<li><a href="https://www.facebook.com/ThePiHole/">Facebook</a></li>
<li><a href="https://gitter.im/pi-hole/pi-hole">Gitter</a> (Real-time chat)</li>
<li><a href="https://www.youtube.com/channel/UCT5kq9w0wSjogzJb81C9U0w">YouTube</a></li>
</ul>
* **[Frequently Asked Questions](https://discourse.pi-hole.net/c/faqs)**
* **[Pi-hole Wiki](https://github.com/pi-hole/pi-hole/wiki)**
* **[Feature Requests](https://discourse.pi-hole.net/c/feature-requests?order=votes)**
* [Discourse User Forum](https://discourse.pi-hole.net/)
* [Reddit](https://www.reddit.com/r/pihole/)
* [Twitter](https://twitter.com/The_Pi_Hole)
* [Facebook](https://www.facebook.com/ThePiHole/)
* [Gitter](https://gitter.im/pi-hole/pi-hole) (Real-time chat)
* [YouTube](https://www.youtube.com/channel/UCT5kq9w0wSjogzJb81C9U0w)

# Features

## Mobile friendly interface

<p align="center">
<img src="https://pi-hole.github.io/graphics/Screenshots/mobile-friendly.png" height="300" alt="Mobile friendly"></a>
<img src="https://pi-hole.github.io/graphics/Screenshots/mobile-friendly.png" height="300" alt="Mobile friendly">
</p>

## Password protection

<p align="center">
<img src="https://pi-hole.github.io/graphics/Screenshots/password-protection.png" height="400" alt="Password protection"></a>
<img src="https://pi-hole.github.io/graphics/Screenshots/password-protection.png" height="400" alt="Password protection">
</p>

## Detailed graphs and doughnut charts

<p align="center">
<img src="https://pi-hole.github.io/graphics/Screenshots/piecharts.png" alt="Pie charts"></a>
<img src="https://pi-hole.github.io/graphics/Screenshots/piecharts.png" alt="Pie charts">
</p>

## Top lists of domains and clients

<p align="center">
<img src="https://pi-hole.github.io/graphics/Screenshots/topdomains-clients.png" alt="Top domains/top clients"></a>
<img src="https://pi-hole.github.io/graphics/Screenshots/topdomains-clients.png" alt="Top domains/top clients">
</p>

## A filterable and sortable query log

<p align="center">
<img src="https://pi-hole.github.io/graphics/Screenshots/query-log-sorted.png" alt="Query log"></a>
<img src="https://pi-hole.github.io/graphics/Screenshots/query-log-sorted.png" alt="Query log">
</p>

## An audit log

<p align="center">
<img src="https://pi-hole.github.io/graphics/Screenshots/audit-log.png" alt="Pi-hole Web interface"></a>
<img src="https://pi-hole.github.io/graphics/Screenshots/audit-log.png" alt="Pi-hole Web interface">
</p>

## Long Term Statistics to view data over user defined time ranges
## Long-term statistics to view data over user defined time ranges

<p align="center">
<img src="https://pi-hole.github.io/graphics/Screenshots/long-term-stats.png" alt="Long-term stats"></a>
<img src="https://pi-hole.github.io/graphics/Screenshots/long-term-stats.png" alt="Long-term stats">
</p>

## A built-in debugger

<p align="center">
<img src="https://pi-hole.github.io/graphics/Screenshots/debug.png" alt="Debugger"></a>
<img src="https://pi-hole.github.io/graphics/Screenshots/debug.png" alt="Debugger">
</p>

## Black and white lists

<p align="center">
<img src="https://pi-hole.github.io/graphics/Screenshots/blacklist.png" alt="Blacklist"></a>
</br></br>
<img src="https://pi-hole.github.io/graphics/Screenshots/whitelist.png" alt="Whitelist"></a>
<img src="https://pi-hole.github.io/graphics/Screenshots/blacklist.png" alt="Blacklist">
<br><br>
<img src="https://pi-hole.github.io/graphics/Screenshots/whitelist.png" alt="Whitelist">
</p>

## The ability to easily manage and configure Pi-hole features

<p align="center">
<img src="https://pi-hole.github.io/graphics/Screenshots/dashboard-settings.gif" alt="Settings"></a>
<img src="https://pi-hole.github.io/graphics/Screenshots/dashboard-settings.gif" alt="Settings">
</p>

## ... and all the main features of the Command Line Interface!

<p align="center">
<img src="https://pi-hole.github.io/graphics/Screenshots/pihole-t.png" alt="Tail the log"></a>
</br></br>
<img src="https://pi-hole.github.io/graphics/Screenshots/pihole-q.png" alt="Query ad lists"></a>
<img src="https://pi-hole.github.io/graphics/Screenshots/pihole-t.png" alt="Tail the log">
<br><br>
<img src="https://pi-hole.github.io/graphics/Screenshots/pihole-q.png" alt="Query ad lists">
</p>

## API
Full usage available [here](https://discourse.pi-hole.net/t/pi-hole-api/1863). can be accessed at `/admin/api.php`. With either no parameters or `/admin/api.php?summary` it returns the following JSON:
```JSON
{

Full usage available [here](https://discourse.pi-hole.net/t/pi-hole-api/1863). Can be accessed at `/admin/api.php`. With either no parameters or `/admin/api.php?summary` it returns the following JSON:

```json
{
"domains_being_blocked":243038,
"dns_queries_today":2385,
"ads_blocked_today":414,
Expand Down
Loading