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

sync: master to development #1

Open
wants to merge 141 commits into
base: development
Choose a base branch
from
Open

sync: master to development #1

wants to merge 141 commits into from

Commits on Sep 29, 2021

  1. Merge pull request pi-hole#4347 from pi-hole/development

    Pi-hole core v5.5
    PromoFaux authored Sep 29, 2021
    Configuration menu
    Copy the full SHA
    dad6247 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2021

  1. Validate when adding not when removing

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    b7bba6a View commit details
    Browse the repository at this point in the history
  2. Add option to not reload

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    bc21a71 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2021

  1. Validate on removal as well

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    a872fab View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2021

  1. Validate host/domain of Local DNS records as well

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    596689b View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2021

  1. Merge pull request pi-hole#4384 from pi-hole/tweak/local_dns_cname

    Tweak local DNS record and CNAME
    DL6ER authored Oct 23, 2021
    Configuration menu
    Copy the full SHA
    7cdd887 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8713135 View commit details
    Browse the repository at this point in the history
  3. Merge pull request pi-hole#4405 from pi-hole/development

    Pi-hole v5.6
    PromoFaux authored Oct 23, 2021
    Configuration menu
    Copy the full SHA
    b5e0f14 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2021

  1. Add custom.list (Local DNS Records) to debug log

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    c1eb35a View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2021

  1. Fix documentation; add some missing zones

    Signed-off-by: David Irvine <[email protected]>
    aviddiviner committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    c6da1a3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request pi-hole#4417 from aviddiviner/fix-rfc-config-docs

    Fix documentation; add some missing zones
    yubiuser authored Oct 28, 2021
    Configuration menu
    Copy the full SHA
    0c4e1b5 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2021

  1. Remove unused code from webpage.sh

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    e733553 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2021

  1. Recommend apt instead of apt-get if updating the package cache failed (

    …pi-hole#4421)
    
    * Only change the recommendation to use apt
    
    Signed-off-by: Christian König <[email protected]>
    yubiuser authored Nov 4, 2021
    Configuration menu
    Copy the full SHA
    996f8ff View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2021

  1. Allow users to skip setting static IP adress (pi-hole#4419)

    * Allow users to skip setting static IP adresss
    
    Signed-off-by: Christian König <[email protected]>
    yubiuser authored Nov 6, 2021
    Configuration menu
    Copy the full SHA
    ac4a975 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2021

  1. unit test for umask problems in pi-hole#3177 and pi-hole#2730 (pi-hol…

    …e#3191)
    
    * add test for file permissions of $webroot
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * changes sudo to su for running command as user www-data
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * installs PIHOLE_WEB_DEPS to create LIGHTTPD_USER
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * changes stdout to rc
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * use installPihole instead of installPiholeWeb in test
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * try installation process with main
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * mock systemctl
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * removes stickler errors
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * start lighttpd and make webpage test optional
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * test all files and directories in $webroot
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * fix stickler and codefactor warnings
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * set permission for /var/cache if it did not exist before
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * add test case for pihole files
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * fix stickler errors
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * revert "set permission for /var/cache if it did not exist before" and make lighttpd start work
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * add --add-cap=NET_ADMIN to enable FTL start
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * specify DNS server for cURL
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * check files created by FTL
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * reorder code and change nameserver in /etc/resolv.conf
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * resolve with dig instead of relying on /etc/resolv.conf
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * set IP to 127.0.0.1 in setupVars.conf for blockpage tests
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * resolve domain with dig and remove debug output
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * fix stickler errors
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * no git pull in Github Action runs for pull requests
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * --cap-add=ALL test
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * fix stickler errors
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * remove debug code
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * update_repo patch for CentOS 7 in Github Actions
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * removes TODOs and stickler warnings
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * adds trailing slash to domain
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * use only first result from dig
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * domain name resolution does not work reliably in docker container
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * repair executable permission
    
    Signed-off-by: pvogt09 <[email protected]>
    
    * Create mock_command_passthrough that allows intercepting of specific arguments - everything else is passed through to the proper command. Use this new command instead of making changes in basic-install.sh to make the tests pass.
    
    Signed-off-by: Adam Warner <[email protected]>
    
    Co-authored-by: Adam Warner <[email protected]>
    pvogt09 and PromoFaux authored Nov 11, 2021
    Configuration menu
    Copy the full SHA
    cedd1a2 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2021

  1. Update the tests (pi-hole#4427)

    * unpin the requirements and update all to latest available - needs more work still. see notes in `def host()`
    
    Signed-off-by: Adam Warner <[email protected]>
    
    * fix py3 monkey patch of testinfra docker using bash
    
    Signed-off-by: Adam Hill <[email protected]>
    
    * update the other test files to use `host` instead of `Pihole`
    Address some sticklr and codefactor
    update python version from 3.7 to 3.8
    preload `git` onto the centos/fedora test images, and switch which with command -v in the passthrough mock
    testinfra is deprecated, use pytest-testinfra
    
    Signed-off-by: Adam Warner <[email protected]>
    
    Co-authored-by: Adam Hill <[email protected]>
    PromoFaux and diginc authored Nov 18, 2021
    Configuration menu
    Copy the full SHA
    cdd4d9e View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2021

  1. Merge pull request pi-hole#4420 from pi-hole/clean/webpage.sh

    Remove unused code from webpage.sh
    DL6ER authored Nov 20, 2021
    Configuration menu
    Copy the full SHA
    d85fee2 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2021

  1. Use a fixed list height for network interface selection

    This solves the issue reported here: pi-hole#4196
    It replaces the other suggested solution here: pi-hole#4197
    
    The benefit of using a fixed/limited list height, compared to allowing larger whiptail/dialogue dimension, is that it works on small screens as well, where the screen or console size itself is too small to hold the interface list + text above + whiptail frame.
    
    It the amount of list elements exceeds the defined list height, automatically a visual scroll bar is added and the list can be scrolled with up/down pageup/pagedown buttons, hence it is generally not required to adjust a list height based on the amount of elements. The fixed height of "6" is chosen since all other "--radiolist" calls use this fixed height as well, it fits and looks good within a 20 rows high whiptail dialogue, and in the common Pi-hole use cases there are no more than 6 network interfaces.
    
    Signed-off-by: MichaIng <[email protected]>
    MichaIng authored Nov 22, 2021
    Configuration menu
    Copy the full SHA
    996a2c7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request pi-hole#4434 from MichaIng/patch-1

    Use a fixed list height for network interface selection
    yubiuser authored Nov 22, 2021
    Configuration menu
    Copy the full SHA
    b750b01 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2021

  1. Clean up bash script formatting

    Done with the help of beautysh (a python-based bash formatter)
    
    Signed-off-by: jbzdarkid <[email protected]>
    jbzdarkid committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    bc8150a View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2021

  1. Merge pull request pi-hole#4085 from jbzdarkid/patch-3

    Clean up bash script formatting
    yubiuser authored Nov 26, 2021
    Configuration menu
    Copy the full SHA
    671fcaf View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2021

  1. Fix generated /etc/os-release file in OS check test

    Signed-off-by: MichaIng <[email protected]>
    MichaIng authored Nov 30, 2021
    Configuration menu
    Copy the full SHA
    14a379d View commit details
    Browse the repository at this point in the history
  2. Merge pull request pi-hole#4443 from MichaIng/patch-1

    Fix generated /etc/os-release file in OS check test
    yubiuser authored Nov 30, 2021
    Configuration menu
    Copy the full SHA
    941f90d View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2021

  1. Fix number of invalid domains

    Co-authored-by: abesnier <[email protected]>
    Signed-off-by: Christian König <[email protected]>
    yubiuser and abesnier committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    bfda52e View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

  1. Some shellchecks in basic-install.sh (pi-hole#4088)

    * Some shellchecks in basic-install.sh
    
    Signed-off-by: ChillerDragon <[email protected]>
    
    * Use more explicit grep (thanks to @MichaIng)
    
    Signed-off-by: ChillerDragon <[email protected]>
    ChillerDragon authored Dec 2, 2021
    Configuration menu
    Copy the full SHA
    e485a7b View commit details
    Browse the repository at this point in the history
  2. Fix pihole -v output if WebAdmin not installed (pi-hole#4370)

    * Fix pi-hole#4279
    
    Signed-off-by: Subhaditya Nath <[email protected]>
    
    * Don't ignore exit code of version.sh
    
    If it exits with a non-zero return code, that means some error occurred,
    and so it shouldn't be ignored.
    
    Signed-off-by: Subhaditya Nath <[email protected]>
    
    * Implement changes suggested by @Michalng
    
    Signed-off-by: Subhaditya Nath <[email protected]>
    
    * Implement changes suggested by @PromoFaux
    
    Signed-off-by: Subhaditya Nath <[email protected]>
    
    * Always source /etc/pihole/setupVars.conf
    
    pi-hole#4370 (comment)
    
    Co-authored-by: Adam Warner <[email protected]>
    subnut and PromoFaux authored Dec 2, 2021
    Configuration menu
    Copy the full SHA
    ba6d700 View commit details
    Browse the repository at this point in the history
  3. Rename variables to improve comprehensibility

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    647ba6e View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2021

  1. Merge pull request pi-hole#4445 from pi-hole/fix/counting

    Fix number of invalid domains
    DL6ER authored Dec 3, 2021
    Configuration menu
    Copy the full SHA
    4c267f7 View commit details
    Browse the repository at this point in the history
  2. Unblock adlist domain during gravity run in NODATA mode

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    e243c56 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2021

  1. Use exec to run gravity script (pi-hole#4449)

    Signed-off-by: Christian König <[email protected]>
    yubiuser authored Dec 4, 2021
    Configuration menu
    Copy the full SHA
    ae39e33 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2021

  1. Add comment help text to list function

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 6, 2021
    Configuration menu
    Copy the full SHA
    b52a3a0 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2021

  1. Allow qr code iframe

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    8d6ce78 View commit details
    Browse the repository at this point in the history
  2. Allow qr code iframe

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    2eff53b View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. Configure stale action (pi-hole#4269)

    * Configure stale action
    
    * [skip ci] Update .github/workflows/stale.yml
    
    * Update .github/workflows/stale.yml
    dschaper authored Dec 16, 2021
    Configuration menu
    Copy the full SHA
    a3cc5df View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2021

  1. Merge iFrame exceptions

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    28085cf View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2021

  1. Set DBFile permissions on creation.

    Signed-off-by: Dan Schaper <[email protected]>
    dschaper committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    a780fc5 View commit details
    Browse the repository at this point in the history
  2. Check for DNS before run.

    Signed-off-by: Dan Schaper <[email protected]>
    dschaper committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    76ae756 View commit details
    Browse the repository at this point in the history
  3. Add database function failure guards.

    Signed-off-by: Dan Schaper <[email protected]>
    dschaper committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    533a77d View commit details
    Browse the repository at this point in the history
  4. Merge pull request pi-hole#4478 from pi-hole/fix/db_permission

    Gravity database handling improvements
    DL6ER authored Dec 20, 2021
    Configuration menu
    Copy the full SHA
    ef0a22f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c0f454d View commit details
    Browse the repository at this point in the history
  6. Merge pull request pi-hole#4461 from pi-hole/qr_iframe

    Companion to pi-hole/adminlte pi-hole#1996
    DL6ER authored Dec 20, 2021
    Configuration menu
    Copy the full SHA
    3a67d1c View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2021

  1. Merge pull request pi-hole#4414 from pi-hole/debug/custom.list

    Add custom.list (Local DNS Records) to debug log
    DL6ER authored Dec 21, 2021
    Configuration menu
    Copy the full SHA
    31de661 View commit details
    Browse the repository at this point in the history
  2. Address reviewer's comment

    Co-authored-by: DL6ER <[email protected]>
    yubiuser and DL6ER authored Dec 21, 2021
    Configuration menu
    Copy the full SHA
    669f1b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    190ab79 View commit details
    Browse the repository at this point in the history
  4. Return early from recovery routine when integrity checks didn't show …

    …any database errors.
    
    Signed-off-by: DL6ER <[email protected]>
    DL6ER committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    469c179 View commit details
    Browse the repository at this point in the history
  5. Allow users to force recovery even when checks are okay using "pihole…

    … -g -r recover force"
    
    Signed-off-by: DL6ER <[email protected]>
    DL6ER committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    ab4bce4 View commit details
    Browse the repository at this point in the history
  6. Declare variables local

    Signed-off-by: DL6ER <[email protected]>
    DL6ER committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    b06efb6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    39a66b6 View commit details
    Browse the repository at this point in the history
  8. Apply suggestions from code review

    Co-authored-by: Dan Schaper <[email protected]>
    DL6ER and dschaper authored Dec 21, 2021
    Configuration menu
    Copy the full SHA
    7167e6d View commit details
    Browse the repository at this point in the history
  9. use +short and omit obsolet awk

    Co-authored-by: DL6ER <[email protected]>
    yubiuser and DL6ER authored Dec 21, 2021
    Configuration menu
    Copy the full SHA
    db5e94b View commit details
    Browse the repository at this point in the history
  10. Merge pull request pi-hole#4450 from pi-hole/unblock_NODATA

    Unblock adlist domain during gravity run in NODATA mode
    DL6ER authored Dec 21, 2021
    Configuration menu
    Copy the full SHA
    54c5832 View commit details
    Browse the repository at this point in the history
  11. Escape quotes

    Co-authored-by: DL6ER <[email protected]>
    yubiuser and DL6ER authored Dec 21, 2021
    Configuration menu
    Copy the full SHA
    ff4487f View commit details
    Browse the repository at this point in the history
  12. Merge pull request pi-hole#4455 from pi-hole/comment

    Add comment help text to list function
    DL6ER authored Dec 21, 2021
    Configuration menu
    Copy the full SHA
    1eb3117 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

  1. Check for updates on master based on tags not commits (pi-hole#4475)

    * Check for updates on master based on tags not commits
    
    Signed-off-by: Christian König <[email protected]>
    
    * Fix stickler
    
    Signed-off-by: Christian König <[email protected]>
    
    * Address reviewer's comments
    
    Signed-off-by: Christian König <[email protected]>
    
    * Fix stickler again
    
    Signed-off-by: Christian König <[email protected]>
    
    * Use local git instead of relying on github
    
    Signed-off-by: Christian König <[email protected]>
    
    * Add --tags
    
    Co-authored-by: DL6ER <[email protected]>
    
    Co-authored-by: DL6ER <[email protected]>
    yubiuser and DL6ER authored Dec 22, 2021
    Configuration menu
    Copy the full SHA
    920cf6d View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: yubiuser <[email protected]>
    DL6ER and yubiuser authored Dec 22, 2021
    Configuration menu
    Copy the full SHA
    2e1ce7f View commit details
    Browse the repository at this point in the history
  3. Document -r recover force case

    Signed-off-by: DL6ER <[email protected]>
    DL6ER committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    d2a98ae View commit details
    Browse the repository at this point in the history
  4. Merge pull request pi-hole#4288 from pi-hole/new/gravity_repair

    Implement fully-automated gravity database recovery method
    DL6ER authored Dec 22, 2021
    Configuration menu
    Copy the full SHA
    3d3bb45 View commit details
    Browse the repository at this point in the history
  5. Merge pull request pi-hole#4480 from pi-hole/development

    Pi-hole Core v5.7
    PromoFaux authored Dec 22, 2021
    Configuration menu
    Copy the full SHA
    1b809e4 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2021

  1. Include port in status function

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 26, 2021
    Configuration menu
    Copy the full SHA
    ef30a85 View commit details
    Browse the repository at this point in the history
  2. Fix analyse ports

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 26, 2021
    Configuration menu
    Copy the full SHA
    9f0e0db View commit details
    Browse the repository at this point in the history
  3. mend

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 26, 2021
    Configuration menu
    Copy the full SHA
    71ebd64 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2021

  1. Fix indention

    Co-authored-by: DL6ER <[email protected]>
    yubiuser and DL6ER authored Dec 28, 2021
    Configuration menu
    Copy the full SHA
    5ef731f View commit details
    Browse the repository at this point in the history
  2. Fix indention_2

    Co-authored-by: DL6ER <[email protected]>
    yubiuser and DL6ER authored Dec 28, 2021
    Configuration menu
    Copy the full SHA
    4a2f4c1 View commit details
    Browse the repository at this point in the history
  3. Add netcat to dependencies

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    2a86941 View commit details
    Browse the repository at this point in the history
  4. Fix missing fi

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    5729f64 View commit details
    Browse the repository at this point in the history
  5. Use FTL's new dns-port API endpoint

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    f45248d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    71ed842 View commit details
    Browse the repository at this point in the history
  7. Inlcude port also in cli output

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    2b52f92 View commit details
    Browse the repository at this point in the history
  8. Analyse port also on ports other than 53

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    bcb5915 View commit details
    Browse the repository at this point in the history
  9. Remove double text output

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    3989cc1 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2021

  1. Merge pull request pi-hole#4485 from pi-hole/tweak/web_status

    Return the port FTL is listening on in pihole status function
    DL6ER authored Dec 29, 2021
    Configuration menu
    Copy the full SHA
    886f0c7 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2022

  1. Replace which with command -v (pi-hole#4499)

    Signed-off-by: WaLLy3K [email protected]
    WaLLy3K authored Jan 1, 2022
    Configuration menu
    Copy the full SHA
    5bd7cc9 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. Set dnsmasq interface listening by default to local (pi-hole#4509)

    Signed-off-by: Christian König <[email protected]>
    yubiuser authored Jan 4, 2022
    Configuration menu
    Copy the full SHA
    0e359a6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request pi-hole#4513 from pi-hole/master

    master->development
    PromoFaux authored Jan 4, 2022
    Configuration menu
    Copy the full SHA
    d605b4b View commit details
    Browse the repository at this point in the history
  3. Skip debug upload question if called from web interface (pi-hole#4494)

    * Skip debug upload question if called from web interface
    
    Signed-off-by: Christian König <[email protected]>
    
    * Suppress upload error if users opt-out from uploading from web interface
    
    Signed-off-by: Christian König <[email protected]>
    
    * Fix and reverse logic
    
    Signed-off-by: Christian König <[email protected]>
    
    * Remove addtional space
    
    Signed-off-by: Christian König <[email protected]>
    
    * Include reviewer's comment :D
    
    Co-authored-by: Adam Warner <[email protected]>
    
    Co-authored-by: Adam Warner <[email protected]>
    yubiuser and PromoFaux authored Jan 4, 2022
    Configuration menu
    Copy the full SHA
    241e53e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c6a2a6f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7807a93 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2022

  1. Use ss instead of lsof (pi-hole#4518)

    * Use ss instead of lsof for pihole status checks
    
    Signed-off-by: DL6ER <[email protected]>
    
    * Use ss FILTER instead of piping into bash
    
    Signed-off-by: DL6ER <[email protected]>
    
    * Use ss in debug log generation
    
    Signed-off-by: DL6ER <[email protected]>
    
    * Remove lsof from dependencies
    
    Signed-off-by: DL6ER <[email protected]>
    DL6ER authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    5823f5e View commit details
    Browse the repository at this point in the history
  2. Merge pull request pi-hole#4514 from pi-hole/development

    Pi-hole core v5.8
    PromoFaux authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    2ff10fc View commit details
    Browse the repository at this point in the history
  3. Fix Pi-hole status in chronometer

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    81698ef View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0124e49 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    875ad04 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2022

  1. Install netcat-openbsd as dependency explicitly

    Since Debian Stretch and Ubuntu Bionic, the "netcat" package is a transitional dummy package which pulls in "netcat-traditional" on Debian Stretch+Buster and Ubuntu Bionic, and "netcat-openbsd" on Debian Bullseye, Ubuntu Focal and up.
    
    On Debian Bookworm (testing), however, the "netcat" package has been removed during the last 3 days at time or writing, so that it fails do be installed. While "netcat-traditional" and "netcat-openbsd" both "Provides: netcat", since it's two alternatives, APT does not automatically pick one but aborts, and the only solution is to install one explicitly.
    
    While this is likely a temporary state of the Debian testing suite, having a closer look at the two alternatives shows that "netcat-openbsd" is a much more actively maintained newer version with additional support for IPv6, proxies, and UNIX sockets, which is likely the reason for the gradual transition via meta package from "netcat-traditional" to "netcat-openbsd". This commit hence consequently follows this aim by skipping the transitional dummy package and installing "netcat-openbsd" explicitly as dependency, to avoid any possible errors like the one which occurs currently on Bookworm.
    
    Both packages can be installed concurrently and do no conflict, but are managed via dpkg's "update-alternatives".
    
    For reference:
    - https://packages.debian.org/netcat
    - https://packages.ubuntu.com/netcat
    
    Signed-off-by: MichaIng <[email protected]>
    MichaIng authored Jan 7, 2022
    Configuration menu
    Copy the full SHA
    c208032 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2022

  1. Remove debug from Stale

    Put Stale in to action.
    dschaper authored Jan 8, 2022
    Configuration menu
    Copy the full SHA
    bfd9fe8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request pi-hole#4534 from pi-hole/meta/enable_stale

    Enable Stale Action for live use
    PromoFaux authored Jan 8, 2022
    Configuration menu
    Copy the full SHA
    363e2f1 View commit details
    Browse the repository at this point in the history
  3. Skip the required ports check if installed in docker container. Unpri…

    …v'ed containers do not have access to the information required to resolve the service name listening - and the container should not start if there was a port conflict anyway (pi-hole#4536)
    
    Signed-off-by: Adam Warner <[email protected]>
    PromoFaux authored Jan 8, 2022
    Configuration menu
    Copy the full SHA
    3097c8f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ce86157 View commit details
    Browse the repository at this point in the history
  5. Merge pull request pi-hole#4532 from MichaIng/patch-1

    Install netcat-openbsd as dependency explicitly
    PromoFaux authored Jan 8, 2022
    Configuration menu
    Copy the full SHA
    7010ed4 View commit details
    Browse the repository at this point in the history
  6. Merge pull request pi-hole#4539 from pi-hole/master

    Sync Master -> Dev
    PromoFaux authored Jan 8, 2022
    Configuration menu
    Copy the full SHA
    1b0b24d View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2022

  1. Remove oneline from ss call

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    a65a841 View commit details
    Browse the repository at this point in the history
  2. Merge pull request pi-hole#4542 from pi-hole/remove_oneline

    Remove oneline from ss call
    DL6ER authored Jan 9, 2022
    Configuration menu
    Copy the full SHA
    d5253f2 View commit details
    Browse the repository at this point in the history
  3. Include ip addr show and ip route show for us to help with local-serv…

    …ice issues (where hops-away is measured)
    
    Signed-off-by: DL6ER <[email protected]>
    DL6ER committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    b20b38d View commit details
    Browse the repository at this point in the history
  4. Merge pull request pi-hole#4543 from pi-hole/tweak/debug_ipaddr

    Include ip addr show and ip route show in debug log
    DL6ER authored Jan 9, 2022
    Configuration menu
    Copy the full SHA
    ec3a5c2 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2022

  1. Add action to automatically sync master to dev when code is pushed to…

    … master
    
    Add in a release.yml to ignore github-actions author  when auto-generating release notes
    
    Signed-off-by: Adam Warner <[email protected]>
    PromoFaux committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    f124568 View commit details
    Browse the repository at this point in the history
  2. Merge pull request pi-hole#4548 from pi-hole/actions/sync-to-dev

    [Maintenance] Sync Master back to Dev when code is pushed to master
    PromoFaux authored Jan 11, 2022
    Configuration menu
    Copy the full SHA
    65a0424 View commit details
    Browse the repository at this point in the history
  3. Merge pull request pi-hole#4550 from pi-hole/master

    sync: master to development
    PromoFaux authored Jan 11, 2022
    Configuration menu
    Copy the full SHA
    a79c115 View commit details
    Browse the repository at this point in the history
  4. ops per run -> 300 for stale

    Signed-off-by: Adam Warner <[email protected]>
    PromoFaux committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    3260cb4 View commit details
    Browse the repository at this point in the history
  5. Merge pull request pi-hole#4554 from pi-hole/master

    sync: master to development
    PromoFaux authored Jan 11, 2022
    Configuration menu
    Copy the full SHA
    918f7a5 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2022

  1. use sed substitute instead of delete and append (pi-hole#4555)

    * use sed substitute instead of delete and append
    
    doesn't move the line to the end of the file, instead keeps the order of the lines in setupVars.conf intact
    
    Signed-off-by: Lukas Schlötterer <[email protected]>
    
    * Match start of line
    
    as suggested in the review
    
    Signed-off-by: Lukas Schlötterer <[email protected]>
    
    Co-authored-by: yubiuser <[email protected]>
    
    Co-authored-by: yubiuser <[email protected]>
    lschloetterer and yubiuser authored Jan 12, 2022
    Configuration menu
    Copy the full SHA
    ed6b852 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. Change the exemption issue label pinned to internal for stale issues

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    57ba60c View commit details
    Browse the repository at this point in the history
  2. Some use uppercase some don't...

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    cdde832 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2022

  1. Move space into variable (pi-hole#4562)

    Signed-off-by: rdwebdesign <[email protected]>
    rdwebdesign authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    6ead24b View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2022

  1. Merge pull request pi-hole#4558 from pi-hole/stale

    Change the exemption issue label pinned to internal for stale issues
    PromoFaux authored Jan 16, 2022
    Configuration menu
    Copy the full SHA
    3cd662e View commit details
    Browse the repository at this point in the history
  2. Merge pull request pi-hole#4568 from pi-hole/master

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

Commits on Jan 22, 2022

  1. Do a full fetch

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    7aa28e4 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. add parameter to set filename for teleporter

    Make it possible to write pihole -a -t myname.tar.gz to configure the filename however you want
    
    Signed-off-by: Lukas Schlötterer <[email protected]>
    lschloetterer authored Jan 28, 2022
    Configuration menu
    Copy the full SHA
    bad6d8a View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2022

  1. Configuration menu
    Copy the full SHA
    f0f5cc5 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2022

  1. Copy database tables earlier into the new gravity database to avoid f…

    …oreign key contraint violations when adding gravity entries refering to an empty adlist table
    
    Signed-off-by: DL6ER <[email protected]>
    DL6ER committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    534f9a6 View commit details
    Browse the repository at this point in the history
  2. Clean possible leftovers in domainlist_by_group, adlist_by_group, and…

    … client_by_group before copying from database base to avoid foreign key violations.
    
    Signed-off-by: DL6ER <[email protected]>
    DL6ER committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    5bb79de View commit details
    Browse the repository at this point in the history
  3. Replace remaining sqlite3 calls by calls to our embedded pihole-FTL s…

    …qlite3 engine and remove sqlite3 as dependency in the installer.
    
    Signed-off-by: DL6ER <[email protected]>
    DL6ER committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    8cbffa1 View commit details
    Browse the repository at this point in the history
  4. Replace value for BLOCKING_ENABLED (and QUERY_LOGGING, for consistenc…

    …y) and if value that we are trying to replace does not exist, add it to the end of the file.
    
    Co-authored-by: MichaIng <[email protected]>
    Signed-off-by: Adam Warner <[email protected]>
    PromoFaux and MichaIng committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    1dd9d55 View commit details
    Browse the repository at this point in the history
  5. Fix stale label to stale

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    2f4c4d9 View commit details
    Browse the repository at this point in the history
  6. Orphans need to be deleted in the old database

    Signed-off-by: DL6ER <[email protected]>
    DL6ER committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    74d7d10 View commit details
    Browse the repository at this point in the history
  7. Split new function out into a separte utility script and add a test f…

    …or it. Can be used in future to organise re/commonly-used code
    
    Signed-off-by: Adam Warner <[email protected]>
    PromoFaux committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    77e5121 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2022

  1. Merge pull request pi-hole#4588 from pi-hole/stale

    Fix stale label to stale
    PromoFaux authored Jan 31, 2022
    Configuration menu
    Copy the full SHA
    5d68dac View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

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

    sync: master to development
    DL6ER authored Feb 1, 2022
    Configuration menu
    Copy the full SHA
    30ec1c9 View commit details
    Browse the repository at this point in the history
  2. Remove RPM package sqlite as well

    Signed-off-by: DL6ER <[email protected]>
    DL6ER committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    e09dd56 View commit details
    Browse the repository at this point in the history
  3. Merge pull request pi-hole#4575 from pi-hole/fix/tag_update

    Fix updating based on tags on older git versions by doing a full fetch
    DL6ER authored Feb 1, 2022
    Configuration menu
    Copy the full SHA
    d956498 View commit details
    Browse the repository at this point in the history
  4. Merge pull request pi-hole#4585 from pi-hole/tweak/sed-add-if-not-exists

    Replace value for BLOCKING_ENABLED, add if it does not already exist
    DL6ER authored Feb 1, 2022
    Configuration menu
    Copy the full SHA
    76d4e12 View commit details
    Browse the repository at this point in the history
  5. add hint for custom teleporter filename to help function

    Signed-off-by: Lukas Schlötterer <[email protected]>
    lschloetterer authored Feb 1, 2022
    Configuration menu
    Copy the full SHA
    881d926 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. Merge pull request pi-hole#4584 from pi-hole/fix/gravity_internal_sql…

    …ite3
    
    Replace calls to sqlite3 by calls to pihole-FTL sqlite3
    DL6ER authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    844c4dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    444526a View commit details
    Browse the repository at this point in the history
  3. Merge pull request pi-hole#4596 from pi-hole/long-live-centos8-stream

    Switch from centos8 to centos8:stream base image for centos 8 tests
    PromoFaux authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    ee9f485 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. Remove pihole-FTL.conf man page

    Signed-off-by: Christian König <[email protected]>
    
    Remove double https://
    
    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    7c60ee8 View commit details
    Browse the repository at this point in the history
  2. Remove pihole-FTL.conf.5 from automated tests

    Signed-off-by: Christian König <[email protected]>
    yubiuser committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    d7d8e97 View commit details
    Browse the repository at this point in the history
  3. Fix reviewer's comment

    Co-authored-by: DL6ER <[email protected]>
    yubiuser and DL6ER authored Feb 4, 2022
    Configuration menu
    Copy the full SHA
    c3c5342 View commit details
    Browse the repository at this point in the history
  4. Create second entry for teleporter and adjust spacing

    Signed-off-by: Lukas Schlötterer <[email protected]>
    lschloetterer committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    2a0bb5b View commit details
    Browse the repository at this point in the history
  5. Merge pull request pi-hole#4489 from pi-hole/tweak/manpages

    Remove pihole-FTL.conf manpage
    PromoFaux authored Feb 4, 2022
    Configuration menu
    Copy the full SHA
    f342b2c View commit details
    Browse the repository at this point in the history
  6. Merge pull request pi-hole#4582 from lschloetterer/patch-1

    add parameter to set filename for teleporter
    PromoFaux authored Feb 4, 2022
    Configuration menu
    Copy the full SHA
    2bd670a View commit details
    Browse the repository at this point in the history
  7. Use case insensitive deletion when removing custom CNAME/DNS records …

    …in case of manual entries with mixed case having been added
    
    Signed-off-by: Adam Warner <[email protected]>
    PromoFaux committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    08999bf View commit details
    Browse the repository at this point in the history
  8. Merge pull request pi-hole#4598 from pi-hole/alt-4597

    Use case insensitive deletion when removing custom CNAME/DNS records
    PromoFaux authored Feb 4, 2022
    Configuration menu
    Copy the full SHA
    e9250d6 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2022

  1. Merge pull request pi-hole#4547 from pi-hole/development

    Pi-hole Core v5.9
    PromoFaux authored Feb 12, 2022
    Configuration menu
    Copy the full SHA
    6ffa2ba View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2022

  1. Configuration menu
    Copy the full SHA
    9be5199 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2022

  1. Configuration menu
    Copy the full SHA
    899cac0 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2022

  1. Wrap touch calls with if/then guards for Buster docker.

    Signed-off-by: Dan Schaper <[email protected]>
    dschaper committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    2f38452 View commit details
    Browse the repository at this point in the history
  2. Change touch that would always fire to install.

    Signed-off-by: Dan Schaper <[email protected]>
    dschaper committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    c2384ec View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. Final touch to install fix.

    Signed-off-by: Dan Schaper <[email protected]>
    dschaper committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    d45c9fc View commit details
    Browse the repository at this point in the history
  2. Ensure existing files are proper owner and mode.

    Signed-off-by: Dan Schaper <[email protected]>
    co-authored-by: RD WebDesign <[email protected]>
    dschaper and rdwebdesign committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    8a5c7de View commit details
    Browse the repository at this point in the history
  3. Create empty files.

    Signed-off-by: Dan Schaper <[email protected]>
    dschaper committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    0f19299 View commit details
    Browse the repository at this point in the history
  4. Found it.

    Signed-off-by: Dan Schaper <[email protected]>
    dschaper committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    b714c45 View commit details
    Browse the repository at this point in the history
  5. Merge pull request pi-hole#4665 from pi-hole/fix/touch_guard

    Wrap touch calls with if/then guards for Buster docker.
    dschaper authored Apr 1, 2022
    Configuration menu
    Copy the full SHA
    326cd6a View commit details
    Browse the repository at this point in the history