DL6ER
950fc60ed3
Limit app password permissions by default. Add new app_sudo mode for users to remove this new limitation if they really need to
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-06-14 19:10:58 +02:00
DL6ER
1a5e7f6bf8
Add new dhcp.ignoreUnknownClients option
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-05-30 12:26:40 +02:00
DL6ER
01697669ac
API /clients: Add note that {client} needs to be URI-encoded (if specified) and add documentation of read-only optional {name0} field
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-05-03 20:05:00 +02:00
DL6ER
49a5a0c60c
Provide human-readable message about the session status when authenticating
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-04-25 21:14:05 +02:00
DL6ER
f2a7662e95
Be more verbose in which tables are imported during teleporter importing
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-04-02 21:59:45 +02:00
DL6ER
dab6ec75bf
Merge branch 'development-v6' into tweak/select_teleporter
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-03-30 08:23:11 +01:00
DL6ER
9c7384e3a4
Add new dhcp.logging option
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-03-24 08:35:33 +01:00
Dominik
0d2fcd09ef
Merge pull request #1872 from pi-hole/tweak/DBexport
...
Remove config option database.DBexport
2024-03-17 20:34:36 +01:00
DL6ER
66653ae0d5
Merge branch 'development-v6' into fix/overTimeGraphs
2024-03-16 09:05:00 +01:00
DL6ER
74eba5f605
Remove config option database.DBexport. Its implementation was broken by design as its value was always overwritten by the condition (database.maxDBdays > 0). Replace it with exactly this condition and document the behavior in the config file
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-03-16 08:34:19 +01:00
Dominik
4b2a4be94c
Merge pull request #1868 from pi-hole/new/useWAL
...
Make WAL mode for pihole-FTL.db optional
2024-03-04 19:40:29 +01:00
DL6ER
e3c4dcf215
Restructure API response from /history/clients and /history/database/clients to allow for sparse data.
...
Add new config option webserver.api.client_history_global_max controling if the activities chart should sort and show the *global* (integrated over 24 hours) or the `local` (measured individually in each time slot) most active clients
Allow setting webserver.api.maxClients to 0 to always return all clients in /api/history/clients
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-02-16 17:15:20 +01:00
DL6ER
750db7ecda
Merge branch 'development-v6' into tweak/allow_adlist_dups
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-02-13 21:06:43 +01:00
Dominik
41725fd343
Merge pull request #1887 from pi-hole/tweak/apppw_descrition
...
Improve description of GET /auth/app endpoint
2024-02-13 21:05:42 +01:00
Dominik
2582043a2d
Apply code review
...
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br >
Signed-off-by: Dominik <DL6ER@users.noreply.github.com >
2024-02-13 19:58:27 +01:00
DL6ER
96f4acb516
Add documentation for automatically added new DNSSEC-related metrics
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-02-13 17:03:05 +01:00
DL6ER
81a1da69cb
Improve description of GET /auth/app endpoint
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-02-13 14:52:33 +01:00
DL6ER
7a919cbf59
Allow narrowing down the (ad)list type using the (optional) query parameter ?type={allow,block}
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-02-13 08:42:08 +01:00
DL6ER
e3e839880e
Merge branch 'development-v6' into update/dnsmasq
2024-02-13 07:12:16 +01:00
DL6ER
54fe14f1bf
Include forwarded queries in /api/history and count stale-cache queries as cached queries
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-02-11 20:35:15 +01:00
Dominik
9e3ccd917d
Merge pull request #1797 from pi-hole/new/multi_revServer
...
Add support for multiple reverse servers
2024-02-11 06:52:31 +01:00
Dominik
276ba4210f
Merge pull request #1841 from pi-hole/tweak/list_id
...
Make adlist ID available, rename queries.regex_id -> queries.list_id
2024-02-09 20:52:35 +01:00
DL6ER
f8c07fd78c
Merge branch 'development-v6' into update/dnsmasq
2024-02-03 22:06:02 +01:00
DL6ER
714f14babb
Add optional JSON object .import to POST /api/teleporter that allows the user to pick what is to be restored
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-02-03 19:45:55 +01:00
DL6ER
3dff85623c
Add new config option database.useWAL defaulting to true making the use of the WAL journal optional for the on-disk query database
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-29 16:02:01 +01:00
DL6ER
52a260ffad
Amend description of expiration field in GET /dhcp/leases: 0 means "infinite". No functional changes
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-26 16:24:19 +01:00
DL6ER
689cee7ec6
Merge branch 'development-v6' into new/multi_revServer
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-21 19:57:01 +01:00
DL6ER
862d4922e1
Merge branch 'development-v6' into new/queryLogRegex
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-16 22:46:31 +01:00
Dominik
c39261131a
Merge pull request #1832 from pi-hole/tweak/limit_history_clients
...
Limit number of clients returned by /api/history/clients
2024-01-16 22:37:33 +01:00
DL6ER
3c58e3089b
Change order of objects in documentation (small nit pick)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-16 21:51:55 +01:00
DL6ER
12e7f44b92
Return null as version in /api/info/version if not available
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-15 20:58:44 +01:00
DL6ER
edc4da9f49
Merge branch 'development-v6' into update/dnsmasq
2024-01-14 17:33:44 +01:00
DL6ER
4e5521f400
Add new config option to API
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-13 10:50:18 +01:00
DL6ER
58637597bf
Merge branch 'development-v6' into tweak/limit_history_clients
2024-01-13 10:32:56 +01:00
DL6ER
e9e43094bf
Remove webserver.api.excludeRegex and instead allow regex to be used in the existing excludeDomains and excludeClients
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-13 08:20:53 +01:00
DL6ER
e24c36327d
Merge branch 'development-v6' into fix/delete_dhcp_lease
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-10 20:02:09 +01:00
DL6ER
ee367a6c38
Merge branch 'development-v6' into new/queryLogRegex
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-07 09:59:10 +01:00
DL6ER
901d838cf9
Merge branch 'development-v6' into tweak/limit_history_clients
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-07 09:55:07 +01:00
DL6ER
1d83e39421
Extend 204/404 logic to /dhcp/leases/{ip}
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-07 09:51:39 +01:00
DL6ER
85e3d4dd08
Extend 204/404 logic to /config/{element}/{value}
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-07 09:51:35 +01:00
DL6ER
06147abd5d
A 204 response must not contain a body ( https://tools.ietf.org/html/rfc7231#section-6.3.5 )
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-07 09:51:35 +01:00
DL6ER
55e0e84a92
Extend 204/404 logic to /network/devices/{device_id}
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-07 09:51:31 +01:00
DL6ER
c0172130fd
Extend 204/404 logic to /info/messages/{message_id}
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-07 09:51:27 +01:00
DL6ER
bb50a106d1
A few fixed for the response code documentation of the :batchDelete elements
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-07 09:20:28 +01:00
DL6ER
e5e9d11211
Fix DELETE API endpoints. They should return 204 when something was deleted and 404 is nothing was found at this resource
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-01-07 09:04:20 +01:00
Dominik
e48ee5fcd6
Merge pull request #1835 from pi-hole/fix/one_of_string_array
...
Fix one-of definition in clients, domains, groups, and lists POST
2024-01-07 07:48:42 +01:00
Artur Kordowski
98127f12b9
Fix API dns/blocking documentation
...
Signed-off-by: Artur Kordowski <9746197+akordowski@users.noreply.github.com >
2024-01-05 15:45:26 +01:00
DL6ER
1bc8e7fc06
Rename query_storage.regex_id to query_storage.list_id as it is already now used to also store exact matching domainlist entries by their ID. This commit further extends this to also store the (first) matching anti-/gravity list (if available)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-12-25 04:57:05 +01:00
DL6ER
7915b0a4a0
Fix one-of definition in clients, domains, groups, and lists POST request payloads
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-12-20 17:15:41 +01:00
DL6ER
b32d5adbdb
Add special client "other clients" summing all client activity that has not been included due to more clients being active than being returned (due to limited N)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-12-20 16:57:44 +01:00