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

5.15 Release #1332

Merged
merged 33 commits into from
Apr 20, 2022
Merged

5.15 Release #1332

merged 33 commits into from
Apr 20, 2022

Commits on Feb 16, 2022

  1. Merge pull request #1304 from pi-hole/master

    sync: master to development
    PromoFaux authored Feb 16, 2022
    Configuration menu
    Copy the full SHA
    9b087b1 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2022

  1. Fix how we compute the total number of DNS packets (not queries)

    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    da62df2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1305 from pi-hole/fix/negative_others

    Fix negative "others" in Upstream Servers pie chart
    yubiuser authored Feb 18, 2022
    Configuration menu
    Copy the full SHA
    08de9d0 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2022

  1. Update SQLite to v3.38.0

    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    8ff5b0a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1307 from pi-hole/update/sqlite_3.38.0

    Update SQLite to v3.38.0
    yubiuser authored Feb 23, 2022
    Configuration menu
    Copy the full SHA
    cb0d42d View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

  1. Reload blocking mode independently of incoming queries

    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    7f7dc2e View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2022

  1. Replace reference to hard-coded default GCinterval value

    This hard-coded GCinterval value makes any change to the macro defining the GCinterval ineffective
    when the GC runs.
    
    For e.g., if I reduce the GC from once an hour to once every 3 minutes, the GC runs every 3 minutes,
    but the mintime is set to the start of the next hour, which wipes everything from the overTime data.
    
    I believe that this change is safe and can be merged and shipped to existing users because the
    GCinterval value is not configurable and users who don't build the PiHole version that they are
    running will not be affected by this change.
    
    Signed-off-by: Siddharth Kannan <mail@siddharthkannan.in>
    icyflame committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    2d1e7ad View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. Change blocking mode to blocking status in comment

    Signed-off-by: Christian König <ckoenig@posteo.de>
    yubiuser committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    29cc882 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1310 from pi-hole/tweak/blockind_status

    Reload blocking mode independently of incoming queries
    yubiuser authored Mar 8, 2022
    Configuration menu
    Copy the full SHA
    e62063a View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. Added support for compilation on MIPS platform

    Compiling FTL on MIPS platform would fail with the following error:
    /home/git/FTL/src/database/../shmem.h:57:41: error: expected declaration specifiers or ‘...’ before numeric constant
       57 | ASSERT_SIZEOF(countersStruct, 240, 240, 240);
    This error originates from static_assert.h, where there are no definition of ASSERT_SIZEOF and STATIC_ASSERT for the mips architecture.
    Support added in this commit.
    abesnier authored Mar 16, 2022
    Configuration menu
    Copy the full SHA
    f140518 View commit details
    Browse the repository at this point in the history
  2. Updated for simplication

    Signed-off-by: abesnier <besnier_antoine@yahoo.fr>
    abesnier committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    a68908c View commit details
    Browse the repository at this point in the history
  3. Updated for simplication

    Signed-off-by: abesnier <besnier_antoine@yahoo.fr>
    abesnier committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    d6e19bd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9262fb9 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. Adjust query type counters when importing from the database

    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    213b7eb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1313 from icyflame/update-gc-remove-hardcoded-gc-…

    …interval
    
     Replace reference to hard-coded default GCinterval value
    DL6ER authored Mar 18, 2022
    Configuration menu
    Copy the full SHA
    f527e73 View commit details
    Browse the repository at this point in the history
  3. Be more precise about escaping invalid characters in queries

    Signed-off-by: Christian König <ckoenig@posteo.de>
    yubiuser committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    4cf9129 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1318 from pi-hole/tweak/escape

    Be more precise about escaping invalid characters in queries
    DL6ER authored Mar 18, 2022
    Configuration menu
    Copy the full SHA
    7383842 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1317 from pi-hole/fix/negative_replies

    Adjust query type counters when importing from the database
    yubiuser authored Mar 18, 2022
    Configuration menu
    Copy the full SHA
    7e45549 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2022

  1. Update SQLite to v3.38.1

    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    fbe28c9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1320 from pi-hole/update/sqlite_3.38.1

    Update SQLite to 3.38.1
    yubiuser authored Mar 20, 2022
    Configuration menu
    Copy the full SHA
    9ba75b7 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2022

  1. Merge pull request #1316 from abesnier/patch-1

    Added support for compilation on MIPS platform
    DL6ER authored Mar 26, 2022
    Configuration menu
    Copy the full SHA
    5ac2ed2 View commit details
    Browse the repository at this point in the history
  2. Add individual reply counters as well as their sum to the API + ensur…

    …e we subtract from the previous reply counter when setting a new status
    
    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Mar 26, 2022
    Configuration menu
    Copy the full SHA
    a24e187 View commit details
    Browse the repository at this point in the history
  3. Ensure we subtract from the old reply counter when reply type changes

    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Mar 26, 2022
    Configuration menu
    Copy the full SHA
    8734b60 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2022

  1. Update SQLite to v3.38.2

    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Mar 27, 2022
    Configuration menu
    Copy the full SHA
    77c5665 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1323 from pi-hole/update/sqlite_3.38.2

    Update SQLite to v3.38.2
    yubiuser authored Mar 27, 2022
    Configuration menu
    Copy the full SHA
    6576eb6 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2022

  1. Fix initOverTime's calculation of last slot timestamp

    initOverTime calculate's the last slot timestamp with the assumption that `OVERTIME_INTERVAL` will
    allow atleast `OVERTIME_SLOTS` number of slots between now and the last slot in the current
    hour. This leads it to calculate the timestamp of the last slot, and then assign timestamps to each
    slot counting down from that timestamp.
    
    This logic is not compatible with changes in the OVERTIME_INTERVAL and the MAXLOGAGE variables. Here
    is a demonstration of a case where this can be shown clearly:
    
    ```
    OVERTIME_INTERVAL = 60s (Each slot stores 1 minute of data)
    MAXLOGAGE = 600s (Store date for only 10 minutes)
    OVERTIME_SLOTS = 11 (MAXLOGAGE/OVERTIME_INTERVAL)
    ```
    
    - Current time: 10:35
    - Last slot time: 10:59:30
    - First slot time: 10:48:30
    
    Note that this logic *does* work as expected with the default minimum of 1 hour for the MAXLOGAGE
    configuration variable.
    
    Signed-off-by: Siddharth Kannan <mail@siddharthkannan.in>
    icyflame committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    06b0606 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1312 from icyflame/update-init-overtime

    Fix initOverTime's calculation of last slot timestamp
    DL6ER authored Apr 2, 2022
    Configuration menu
    Copy the full SHA
    392ff15 View commit details
    Browse the repository at this point in the history
  3. Add stale bot to FTL repo

    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    4979e54 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1322 from pi-hole/fix/negative_replies

    Fix query counts
    yubiuser authored Apr 2, 2022
    Configuration menu
    Copy the full SHA
    4f6f6ca View commit details
    Browse the repository at this point in the history
  5. Apply suggestions from code review

    Co-authored-by: yubiuser <ckoenig@posteo.de>
    DL6ER and yubiuser authored Apr 2, 2022
    Configuration menu
    Copy the full SHA
    69f85ce View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1326 from pi-hole/new/stale_bot

    Add stale bot to FTL repo
    yubiuser authored Apr 2, 2022
    Configuration menu
    Copy the full SHA
    3ebb7b2 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. Fix overtime computation logic broken in PR #1312

    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    e460a67 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. Merge pull request #1327 from pi-hole/fix/overTime

    Fix overtime computation logic broken in PR #1312
    yubiuser authored Apr 8, 2022
    Configuration menu
    Copy the full SHA
    e4e397d View commit details
    Browse the repository at this point in the history