DL6ER
|
e0714f445d
|
Merge pull request #1694 from pi-hole/new/recycle
Recycle memory to reduce footprint
|
2023-11-30 20:52:52 +01:00 |
|
DL6ER
|
215a683069
|
Merge branch 'development-v6' into new/recycle
|
2023-11-29 21:57:10 +01:00 |
|
yubiuser
|
d52174ff40
|
Merge pull request #1792 from pi-hole/fix/adlist_link
Fix link from message table to list table
|
2023-11-28 22:30:13 +01:00 |
|
Christian König
|
d982b46052
|
Fix link from message table to list table
Signed-off-by: Christian König <ckoenig@posteo.de>
|
2023-11-28 21:05:54 +01:00 |
|
DL6ER
|
34e44f2453
|
Set imported database query IDs to counter value and fix GC pointer magic (update comment to explain better what happens here)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-28 15:44:58 +01:00 |
|
DL6ER
|
4f0800b854
|
Update embedded SQLite3 engine to version 3.44.2
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-27 14:07:26 +01:00 |
|
DL6ER
|
399ca11038
|
Add extra debug statements
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-26 21:44:55 +01:00 |
|
DL6ER
|
d3826c9743
|
Remove obsolete overTime structure stored for each upstream. This reduces memory consumption per upstream destination from 640 to 56 bytes each
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-26 10:48:59 +01:00 |
|
DL6ER
|
b2884505ab
|
Merge branch 'development-v6' into new/recycle
|
2023-11-26 10:41:42 +01:00 |
|
DL6ER
|
3ea9ce2bbc
|
Update embedded SQLite3 engine to version 3.44.1
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-22 21:47:17 +01:00 |
|
Christian König
|
c341b73d0f
|
Only log number of stored sessions not total number
Signed-off-by: Christian König <ckoenig@posteo.de>
|
2023-11-22 13:50:34 +01:00 |
|
 DL6ERandyubiuser
|
247a3c4669
|
Apply suggestions from code review
Co-authored-by: yubiuser <ckoenig@posteo.de>
Signed-off-by: DL6ER <DL6ER@users.noreply.github.com>
|
2023-11-21 22:37:10 +01:00 |
|
DL6ER
|
1cde68bce7
|
Add ability to get most recent client hostname from network table if specified by MAC address
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-21 14:11:40 +01:00 |
|
DL6ER
|
1230165baa
|
Merge pull request #1767 from pi-hole/fix/config_crash
Fix possible crash when importing legacy DHCP config
|
2023-11-21 13:37:33 +01:00 |
|
Christian König
|
f4e830ca17
|
Only log how many sessions have been restored
Signed-off-by: Christian König <ckoenig@posteo.de>
|
2023-11-21 12:41:18 +01:00 |
|
DL6ER
|
d6f30b3931
|
Install safe-guards for string-related functions to not crash when accidentially supplied with a NULL pointer
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-20 22:38:33 +01:00 |
|
DL6ER
|
ad5d078193
|
The group table's column is called "description" but we expose it in the API as "comment". Adjust internally used SQL to translate between them (this was already implemented and working for comment editing)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-19 07:46:58 +01:00 |
|
DL6ER
|
ea5ff0df7b
|
Merge pull request #1735 from pi-hole/fix/group_errors
Fix domain modification
|
2023-11-12 13:59:33 +01:00 |
|
DL6ER
|
9f71bc4814
|
Merge pull request #1733 from pi-hole/new/num_sessions
Make number of maximum concurrent API sessions adjustable
|
2023-11-11 20:49:59 +01:00 |
|
DL6ER
|
5779db9ca5
|
Warn if NULL is bound to a message row even when we actually want to bind a blob
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-10 21:09:31 +01:00 |
|
DL6ER
|
1bcb7541dc
|
Add missing database type definition for CERTIFICATE_DOMAIN_MISMATCH_MESSAGE
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-10 21:06:19 +01:00 |
|
DL6ER
|
ec064d9c6e
|
Use correct type when manipulating domainlist entries
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-10 20:47:33 +01:00 |
|
DL6ER
|
84ba6da404
|
max_sessions can only change across FTL restarts - not while it is running
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-10 20:05:06 +01:00 |
|
DL6ER
|
6498e6bf93
|
Add logging to the Pi-hole diagnosis system when we detect a certificate domain mismatch
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-09 16:00:26 +01:00 |
|
DL6ER
|
c450d488a4
|
Fix domain modification. The UNIQUE key in the domainlist table is the combination of domain+type, not domain alone so you can add the same domain, e.g. once as allowed and once as denied entries and assign them to different clients using appropriate groups
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-05 20:59:55 +02:00 |
|
DL6ER
|
9345841b10
|
Fix error message shown when gravityDB_addToTable() fails
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-05 20:58:19 +02:00 |
|
DL6ER
|
add7ceadda
|
Make number of maximum concurrent API sessions adjustable
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-04 17:00:59 +01:00 |
|
DL6ER
|
91b0c23f84
|
Merge branch 'development-v6' into new/recycle
|
2023-11-04 08:05:03 +01:00 |
|
DL6ER
|
08245ce21a
|
Merge branch 'fix/numbers' into new/recycle
|
2023-11-04 08:04:01 +01:00 |
|
DL6ER
|
38463dcbc2
|
Merge pull request #1716 from NittanySeaLion/adlist_message
Update Error Message Referring to "Adlist"
|
2023-11-01 18:23:58 +01:00 |
|
DL6ER
|
011c1af8ac
|
Update embedded SQLite3 engine to version 3.44.0
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-01 07:11:10 +02:00 |
|
NittanySeaLion
|
187beb7302
|
Convert Adlist to List in Error Messages
Signed-off-by: NittanySeaLion <119230128+NittanySeaLion@users.noreply.github.com>
|
2023-10-31 17:52:55 -04:00 |
|
DL6ER
|
6b5f58dbf8
|
Merge pull request #1711 from pi-hole/fix/query-table
Improve query table parsing warnings
|
2023-10-30 05:31:15 +01:00 |
|
DL6ER
|
0b4abb2bd3
|
Optimize status and reply handling in the code. Add status object to /api/stats/summary
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-26 19:13:57 +02:00 |
|
DL6ER
|
e741ba4c94
|
Add app password support
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-23 18:13:12 +02:00 |
|
DL6ER
|
0700bf0f9d
|
Merge pull request #1689 from pi-hole/new/keep_sessions
Backup and restore API sessions to/from database
|
2023-10-28 17:33:16 +02:00 |
|
DL6ER
|
c7f50a372a
|
Merge pull request #1629 from pi-hole/tweak/domain_array
Add ability to specify domains, lists, clients and group names as arrays
|
2023-10-26 22:34:33 +02:00 |
|
DL6ER
|
87272c2178
|
Use UPSERT instead of special REPLACE INTO statements to update existing group, adlist, domainlist, and client rows in the gravity database
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-23 22:35:14 +02:00 |
|
DL6ER
|
2aff05c78a
|
Reuse existing shared clients, domains, and cache memory slots which are not referenced by any active query within the past 24 hours. Furthermore, always scan the shared strings and reuse them before allocating new memory with the same content
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-23 18:13:12 +02:00 |
|
DL6ER
|
88db8bb144
|
Use secure_delete mode to ensure the backed up sessions are overwritten with zeros after restore
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-22 23:33:34 +02:00 |
|
DL6ER
|
f9a69a06ac
|
Store sessions only momentarily in between FTL restarts
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-22 23:32:11 +02:00 |
|
DL6ER
|
a2a8787239
|
Add new config option webserver.api.session.restore defaulting to true and move existing config option webserver.api.sessionTimeout -> webserver.api.session.timeout
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-22 08:51:11 +02:00 |
|
DL6ER
|
85b5c94858
|
Add save/restore of API sessions to the database to avoid a forced logout on FTL restarts. This updated the database to version 15
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-22 08:44:10 +02:00 |
|
DL6ER
|
0fb16c2745
|
Merge pull request #1682 from pi-hole/fix/database_upgrade_transactions
Ensure database upgrades use transactions
|
2023-10-21 09:52:30 +02:00 |
|
DL6ER
|
66a618678d
|
Merge pull request #1683 from pi-hole/fix/network_clients_heap
Fix possible heap overflow
|
2023-10-21 00:35:22 +02:00 |
|
DL6ER
|
b88a249d36
|
Update tests to reflect the new database version 14
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-20 19:53:58 +02:00 |
|
DL6ER
|
8bb7e57968
|
Merge branch 'development-v6' into tweak/domain_array
|
2023-10-17 21:39:03 +02:00 |
|
DL6ER
|
c818adfedd
|
Install safety-measured to prevent possible heap overflow in the network table processing
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-15 16:55:08 +02:00 |
|
DL6ER
|
71c0d66338
|
Remove semicolon actually preventing the correct filtering on regex IDs
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-15 11:31:25 +02:00 |
|
DL6ER
|
382469ec91
|
Merge pull request #1660 from pi-hole/new/query_log_sorting
Implement Query Log sorting (server-side pagination)
|
2023-10-13 20:28:02 +02:00 |
|