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

Beta v7.0.-1 #4110

Merged
merged 165 commits into from
Feb 18, 2021
Merged
Show file tree
Hide file tree
Changes from 146 commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
b354689
Release v6.34 (#3982)
MichaIng Dec 20, 2020
4ed13df
v6.35 (#3987)
MichaIng Dec 20, 2020
7b2d0d5
v6.35 (#3988)
MichaIng Dec 20, 2020
f9ce83d
v6.35
MichaIng Dec 20, 2020
6fd7669
v6.35
MichaIng Dec 20, 2020
9e8a628
v6.35
MichaIng Dec 21, 2020
9baa1af
v6.35
MichaIng Dec 21, 2020
fca150d
v6.35
MichaIng Dec 21, 2020
cbc4b49
v6.35
MichaIng Dec 21, 2020
55a89c8
v6.35
MichaIng Dec 21, 2020
1a10c45
v6.35
MichaIng Dec 21, 2020
dc335bd
v6.35
MichaIng Dec 22, 2020
3120ed5
v6.35 (#3995)
ravenclaw900 Dec 23, 2020
1205263
v6.35
MichaIng Dec 23, 2020
8a5d093
v6.34
MichaIng Dec 25, 2020
4973b52
v6.35
MichaIng Dec 25, 2020
8eb0973
v6.35
MichaIng Dec 25, 2020
c2a6996
v6.35
MichaIng Dec 25, 2020
1186278
v6.35 (#4006)
Joulinar Dec 26, 2020
f0eae8f
v6.35
MichaIng Dec 26, 2020
9471b91
v6.35
MichaIng Dec 27, 2020
9d34c2f
v6.35
MichaIng Dec 27, 2020
ff0786b
v6.35
MichaIng Dec 27, 2020
fa615c5
v6.35
MichaIng Dec 27, 2020
ad339d9
v6.35
MichaIng Dec 27, 2020
9853df9
v6.35
MichaIng Dec 27, 2020
b15c110
v6.35
MichaIng Dec 29, 2020
4d9cf8f
v6.35
MichaIng Dec 29, 2020
a23d799
v6.35
MichaIng Dec 29, 2020
d0d49f3
v6.35
MichaIng Dec 29, 2020
d6d8900
v6.35
MichaIng Jan 1, 2021
044f550
Update unbound branch to current dev (#4029)
MichaIng Jan 1, 2021
44d2429
v6.35
MichaIng Jan 1, 2021
771f363
v6.35
MichaIng Jan 1, 2021
6ce87bd
v6.35
MichaIng Jan 3, 2021
2dca026
v6.35
MichaIng Jan 4, 2021
86efdd9
v6.35
MichaIng Jan 4, 2021
979e7c3
v6.35
MichaIng Jan 4, 2021
d1f131e
v6.35
MichaIng Jan 4, 2021
4470604
v6.35
MichaIng Jan 4, 2021
5c30646
v6.35 (#4022)
MichaIng Jan 6, 2021
4e6c901
v6.35 (#4042)
StephanStS Jan 6, 2021
c533958
v6.35
MichaIng Jan 7, 2021
9a74183
v6.35
MichaIng Jan 8, 2021
9c7dc8b
v6.35
MichaIng Jan 11, 2021
35c56eb
v6.35
MichaIng Jan 11, 2021
0f0ae40
Update CHANGELOG.txt
MichaIng Jan 11, 2021
7eaafb9
v6.35
MichaIng Jan 13, 2021
3e18cd5
v6.35
MichaIng Jan 13, 2021
7c9d91f
v6.35
MichaIng Jan 13, 2021
90911f7
v6.35
MichaIng Jan 13, 2021
57326c7
v6.35
MichaIng Jan 14, 2021
364c322
v6.35
MichaIng Jan 14, 2021
5f77949
v6.35
MichaIng Jan 14, 2021
5689cbb
v6.35
MichaIng Jan 14, 2021
c24ffe8
Align survey page style with main website
MichaIng Jan 18, 2021
46223b6
v6.35
MichaIng Jan 18, 2021
bbff262
v6.35
MichaIng Jan 18, 2021
c3a28db
v6.35
MichaIng Jan 18, 2021
884c2c0
v6.35
MichaIng Jan 19, 2021
aaa6a5f
v6.35
MichaIng Jan 19, 2021
4bcfd52
v6.35
MichaIng Jan 21, 2021
38174e7
v6.35
MichaIng Jan 21, 2021
ad559c3
v6.35
MichaIng Jan 22, 2021
52c348e
v6.35
MichaIng Jan 22, 2021
e82ec72
v6.35
MichaIng Jan 22, 2021
317c35d
v6.35
MichaIng Jan 22, 2021
45ac1d9
v6.35
MichaIng Jan 22, 2021
94ebce5
v6.35 (#4020)
Joulinar Jan 25, 2021
13a0edf
v6.35
MichaIng Jan 25, 2021
3b201d9
v6.35
MichaIng Jan 25, 2021
4747aaa
v6.35
MichaIng Jan 26, 2021
f37c952
v6.35
MichaIng Jan 26, 2021
027855b
v6.35
MichaIng Jan 26, 2021
4269c51
v6.35
MichaIng Jan 28, 2021
20d0e6a
v6.35
MichaIng Jan 28, 2021
600d5b9
v6.35
MichaIng Jan 28, 2021
ce857e0
v6.34
MichaIng Jan 29, 2021
ffdbf68
v6.34
MichaIng Jan 29, 2021
ad071d4
v6.35 (#4073)
MichaIng Jan 29, 2021
6e76c3c
v6.35
MichaIng Jan 31, 2021
556756d
v6.35
MichaIng Jan 31, 2021
7ecb3a9
v6.35 (#4039)
Joulinar Feb 2, 2021
6ea4df1
v6.35
Joulinar Feb 2, 2021
f2e39cf
v6.35
MichaIng Feb 2, 2021
478cbe2
v6.35 (#3989)
ravenclaw900 Feb 2, 2021
664fe3f
v6.35 (#4015)
C0D3-M4513R Feb 3, 2021
15ea56c
v6.35
MichaIng Feb 3, 2021
105f42b
v6.35
MichaIng Feb 4, 2021
0aa2c57
v6.35
MichaIng Feb 4, 2021
2f864e4
v6.35
MichaIng Feb 4, 2021
9eea145
v6.35 (#4084)
MichaIng Feb 4, 2021
30cd96c
v6.35 (#4086)
MichaIng Feb 6, 2021
43e5880
Comment changed from dietpi.com/phpBB to dietpi.com/docs
StephanStS Feb 6, 2021
199bd10
Update dietpi.txt
StephanStS Feb 6, 2021
282a4fb
Update dietpi-survey
StephanStS Feb 6, 2021
b6c29ca
Merge pull request #4090 from MichaIng/StephanStS-patch-1
StephanStS Feb 6, 2021
60b4d34
v6.35
MichaIng Feb 7, 2021
5ed3ba4
v6.35 (#4091)
MichaIng Feb 7, 2021
690b01b
v6.35
MichaIng Feb 7, 2021
98b5be8
v6.35
MichaIng Feb 7, 2021
aad1085
v6.35
MichaIng Feb 7, 2021
788d7ec
v6.35 (#4094)
ravenclaw900 Feb 8, 2021
a279d2e
v6.35
MichaIng Feb 8, 2021
13fe64b
v6.35
MichaIng Feb 8, 2021
bc5bde6
v6.35 (#4096)
Joulinar Feb 8, 2021
c887150
v6.35
MichaIng Feb 8, 2021
6a2634e
DietPi-Software | Several enhancements (#4095)
MichaIng Feb 9, 2021
adee418
v6.35
MichaIng Feb 9, 2021
02b04ef
v6.35
MichaIng Feb 10, 2021
1c6959b
v6.35
MichaIng Feb 10, 2021
b48a0f2
v6.35
MichaIng Feb 10, 2021
0fec0a8
v6.35
MichaIng Feb 10, 2021
8e766d3
v6.35 (#4100)
MichaIng Feb 10, 2021
a5a6b58
v6.35
MichaIng Feb 11, 2021
677680c
v6.35
MichaIng Feb 11, 2021
9d0b10b
v6.35
MichaIng Feb 11, 2021
df88949
v6.35
MichaIng Feb 12, 2021
b5a9e38
v6.35
MichaIng Feb 12, 2021
d6ac615
v6.35
MichaIng Feb 12, 2021
498c157
v6.35
MichaIng Feb 12, 2021
14c448d
v6.35
MichaIng Feb 12, 2021
3f95ac3
v6.35 (#4106)
MichaIng Feb 13, 2021
ce87415
v6.35
MichaIng Feb 13, 2021
2fb9550
v6.35 (#4107)
MichaIng Feb 13, 2021
e2d4c6d
v6.35
MichaIng Feb 13, 2021
81d401b
v6.35
MichaIng Feb 13, 2021
e2a928f
v6.35
MichaIng Feb 13, 2021
5fc024d
v6.35
MichaIng Feb 13, 2021
90426ab
v6.35
MichaIng Feb 13, 2021
660c3e3
v6.35
MichaIng Feb 13, 2021
5182674
v6.35
MichaIng Feb 14, 2021
618a6bc
v6.35
MichaIng Feb 14, 2021
47f62d9
v6.35
MichaIng Feb 14, 2021
bdae703
v6.35
MichaIng Feb 14, 2021
50a7aed
v6.35
MichaIng Feb 14, 2021
4b57879
v6.35
MichaIng Feb 14, 2021
195f29d
v6.35
MichaIng Feb 14, 2021
9d7080f
v6.35
MichaIng Feb 14, 2021
a4e944b
v6.35
MichaIng Feb 14, 2021
ffd9ab1
v6.35
MichaIng Feb 14, 2021
6a64391
v6.35
MichaIng Feb 14, 2021
4b64abb
v6.35
MichaIng Feb 14, 2021
fbe68c8
v7.0
MichaIng Feb 14, 2021
2a52bb8
v7.0
MichaIng Feb 14, 2021
2dc001b
v7.0 (#4103)
MichaIng Feb 14, 2021
4171e1d
v7.0
MichaIng Feb 15, 2021
c0de045
v7.0
MichaIng Feb 15, 2021
4d78404
v7.0
MichaIng Feb 15, 2021
cd4b024
v7.0
MichaIng Feb 15, 2021
64aa8f8
v7.0
MichaIng Feb 15, 2021
e8e2351
v7.0
MichaIng Feb 15, 2021
d75f910
v7.0
MichaIng Feb 15, 2021
dffd642
v7.0
MichaIng Feb 16, 2021
c267035
v7.0
MichaIng Feb 17, 2021
0b3661a
v7.0
MichaIng Feb 17, 2021
17cd7bc
v7.0
MichaIng Feb 17, 2021
eac6d1f
v7.0
MichaIng Feb 17, 2021
cd9b517
v7.0
MichaIng Feb 17, 2021
735b0d2
v7.0
MichaIng Feb 18, 2021
2e39c83
v7.0
MichaIng Feb 18, 2021
8f7bed2
v7.0
MichaIng Feb 18, 2021
1684a77
v7.0
MichaIng Feb 18, 2021
134cc50
v7.0
MichaIng Feb 18, 2021
8af52b7
v7.0
MichaIng Feb 18, 2021
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
2 changes: 1 addition & 1 deletion .conf/desktop/gtk/.gtk-bookmarks
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
file:/// /
file:///root /root
file:///root Home
file:///mnt/dietpi_userdata DietPi User Data
file:///mnt/samba Samba Client
file:///mnt/nfs_client NFS Client
41 changes: 20 additions & 21 deletions .conf/desktop/lxde/panel
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@

Global {
edge=bottom
allign=left
margin=0
widthtype=percent
width=100
height=36
transparent=0
tintcolor=#434343
alpha=255
autohide=0
heightwhenhidden=2
setdocktype=1
setpartialstrut=1
usefontcolor=1
fontsize=10
fontcolor=#ffffff
usefontsize=0
background=1
backgroundfile=/var/lib/dietpi/dietpi-software/installed/desktop/icons/grey_16x16.png
iconsize=34
edge=bottom
allign=left
margin=0
widthtype=percent
width=100
height=36
transparent=1
tintcolor=#313131
alpha=255
autohide=0
heightwhenhidden=2
setdocktype=1
setpartialstrut=1
usefontcolor=1
fontsize=10
fontcolor=#ffffff
usefontsize=0
background=0
iconsize=34
}
Plugin {
type=space
Expand Down Expand Up @@ -109,7 +108,7 @@ Plugin {
FlatButton=0
MaxTaskWidth=150
spacing=2
UseSmallerIcons=-1
UseSmallerIcons=-1
}
}
Plugin {
Expand Down
92 changes: 92 additions & 0 deletions .conf/dps_182/unbound.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# https://nlnetlabs.nl/documentation/unbound/unbound.conf/
server:
# Do not daemonize, to allow proper systemd service control and status estimation.
do-daemonize: no

# A single thread is pretty sufficient for home or small office instances.
num-threads: 1

# Logging: For the sake of privacy and performance, keep logging at a minimum!
# - Verbosity 2 and up practically contains query and reply logs.
verbosity: 0
log-queries: no
log-replies: no
# - If required, uncomment to log to a file, else logs are available via "journalctl -u unbound".
#logfile: "/var/log/unbound.log"

# Set interface to "0.0.0.0" to make Unbound listen on all network interfaces.
# Set it to "127.0.0.1" to listen on requests from the same machine only, useful in combination with Pi-hole.
interface: 0.0.0.0
# Default DNS port is "53". When used with Pi-hole, set this to e.g. "5335", since "5353" is used by mDNS already.
port: 53

# Control IP ranges which should be able to use this Unbound instance.
# The DietPi defaults permit access from official local network IP ranges only, hence requests from www are denied.
access-control: 0.0.0.0/0 refuse
access-control: 10.0.0.0/8 allow
access-control: 127.0.0.1/8 allow
access-control: 172.16.0.0/12 allow
access-control: 192.168.0.0/16 allow
access-control: ::/0 refuse
access-control: ::1/128 allow
access-control: fd00::/8 allow
access-control: fe80::/10 allow

# Private IP ranges, which shall never be returned or forwarded as public DNS response.
# NB: 127.0.0.1/8 is sometimes used by adblock lists, hence DietPi by default allows those as response.
private-address: 10.0.0.0/8
private-address: 172.16.0.0/12
private-address: 192.168.0.0/16
private-address: 169.254.0.0/16
private-address: fd00::/8
private-address: fe80::/10

# Define protocols for connections to and from Unbound.
# NB: Disabling IPv6 does not disable IPv6 IP resolving, which depends on the clients request.
do-udp: yes
do-tcp: yes
do-ip4: yes
do-ip6: yes
prefer-ip6: no

# DNS root server information file. Update regularly via: "curl -# https://www.internic.net/domain/named.root > /var/lib/unbound/root.hints"
root-hints: "/var/lib/unbound/root.hints"

# Maximum number of queries per second
ratelimit: 1000

# Defend against and print warning when reaching unwanted reply limit.
unwanted-reply-threshold: 10000

# Set EDNS reassembly buffer size to match new upstream default, as of DNS Flag Day 2020 recommendation.
edns-buffer-size: 1232

# Increase incoming and outgoing query buffer size to cover traffic peaks.
so-rcvbuf: 4m
so-sndbuf: 4m

# Hardening
harden-glue: yes
harden-dnssec-stripped: yes
harden-algo-downgrade: yes
harden-large-queries: yes
harden-short-bufsize: yes

# Privacy
use-caps-for-id: yes # Spoof protection by randomising capitalisation
rrset-roundrobin: yes
qname-minimisation: yes
minimal-responses: yes
hide-identity: yes
identity: "Server" # Purposefully a dummy identity name
hide-version: yes

# Caching
cache-min-ttl: 300
cache-max-ttl: 86400
serve-expired: yes
neg-cache-size: 4M
prefetch: yes
prefetch-key: yes
msg-cache-size: 50m
rrset-cache-size: 100m
6 changes: 2 additions & 4 deletions .conf/dps_39/minidlna.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ media_dir=V,/mnt/dietpi_userdata/Video
# Path to the directory that should hold the database and album art cache.
db_dir=/mnt/dietpi_userdata/.MiniDLNA_Cache

# Path to the directory that should hold the log file.
log_dir=/var/log

# Must be one of "off", "fatal", "error", "warn", "info" or "debug".
# "off" turns of logging entirely, "fatal" is the highest level of importance
# "off" turns of logging entirely, "fatal" is the highest level of importance.
# Access logs via: "journalctl -u minidlna"
log_level=warn

# Use a different container as the root of the directory tree presented to
Expand Down
12 changes: 6 additions & 6 deletions .conf/dps_59/raspimjpeg.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/dash
{
#////////////////////////////////////
# DietPi Raspimjpeg control Script
Expand All @@ -7,7 +7,7 @@
# Created by Daniel Knight / [email protected] / dietpi.com
#
# Info:
# - Location: /var/lib/dietpi/dietpi-software/services/raspimjpeg.sh
# - Location: /var/lib/dietpi/dietpi-software/installed/raspimjpeg.sh
# - Allows service control for Raspimjpeg and PHP schedule, used by RPi Camera Web
# - Called from /etc/systemd/system/raspimjpeg.service
#
Expand All @@ -24,17 +24,17 @@
mkdir -p /dev/shm/mjpeg
chown www-data:www-data /dev/shm/mjpeg
chmod 777 /dev/shm/mjpeg
sudo -u www-data raspimjpeg &> /dev/null &
sudo -u www-data raspimjpeg > /dev/null 2>&1 &
sleep 4
sudo -u www-data php /var/www/rpicam/schedule.php &> /dev/null &
sudo -u www-data php /var/www/rpicam/schedule.php > /dev/null 2>&1 &

}

if [[ $1 == 'stop' ]]; then
if [ "$1" = 'stop' ]; then

Raspimjeg_Stop

elif [[ $1 == 'start' ]]; then
elif [ "$1" = 'start' ]; then

Raspimjeg_Start

Expand Down
5 changes: 1 addition & 4 deletions .conf/dps_93/apache.pihole.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@

</Directory>

# Block public access to blocking page
# Block public access to 404 page
<Directory ~ /var/www(/html)?/pihole>
Require ip 127 192.168 10 172.16.0.0/12
</Directory>

# Enable blocking page via 404 handler
#ErrorDocument 404 /html/pihole/index.php
5 changes: 1 addition & 4 deletions .conf/dps_93/lighttpd.pihole.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@ $HTTP["url"] =~ "^(/html)?/admin/\." {
url.access-deny = ("")
}

# Block public access to blocking page
# Block public access to 404 page
$HTTP["url"] =~ "^(/html)?/pihole/" {
$HTTP["remoteip"] !~ "^1(27|92\.168|0|72\.(1[6-9]|2[0-9]|3[0-1]))\." {
url.access-deny = ("")
}
}

# Enable blocking page via 404 handler
#server.error-handler-404 = "/html/pihole/index.php"
7 changes: 2 additions & 5 deletions .conf/dps_93/nginx.pihole.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ location ~ ^(?:/html|)/admin(?:$|/) {
}
}

# Blocking page
# 404 page
location ~ ^(?:/html|)/pihole(?:$|/) {
# Block public access to blocking page
# Block public access
allow 127.0.0.0/8;
allow 192.168.0.0/16;
allow 10.0.0.0/8;
Expand All @@ -45,6 +45,3 @@ location ~ ^(?:/html|)/pihole(?:$|/) {
include snippets/fastcgi-php.conf;
}
}

# Enable blocking page via 404 handler
#error_page 404 /html/pihole/index.php;
8 changes: 4 additions & 4 deletions .meta/dietpi-imager
Original file line number Diff line number Diff line change
Expand Up @@ -160,16 +160,16 @@
{
G_WHIP_MENU_ARRAY=(
'Source type' ": [$SOURCE_TYPE] Select how the input OS is stored"
'Source path' ": [${FP_SOURCE_IMG:-${FP_SOURCE}}] Select the input $SOURCE_TYPE"
'Source path' ": [${FP_SOURCE_IMG:-$FP_SOURCE}] Select the input $SOURCE_TYPE"
)
[[ $FP_SOURCE ]] && G_WHIP_MENU_ARRAY+=('Source rootfs' ": [$FP_ROOT_DEV] Select input OS root partition")
G_WHIP_MENU_ARRAY+=(
'Target type' ": [$CLONING_TOOL] Select output image type"
'Target name' ": [${OUTPUT_IMG_NAME%.$OUTPUT_IMG_EXT}.$OUTPUT_IMG_EXT] Choose the output image name"
'Target name' ": [$OUTPUT_IMG_NAME] Choose the output image name"
'' '●─'
'Mount' ": [$MOUNT_IT] Review or edit drive content before image creation"
)
[[ $FP_SOURCE && $FP_ROOT_DEV ]] && G_WHIP_MENU_ARRAY+=('' '●─' 'Start' ": Start creating $OUTPUT_IMG_NAME.$OUTPUT_IMG_EXT from ${FP_SOURCE_IMG:-${FP_SOURCE}}")
[[ $FP_SOURCE && $FP_ROOT_DEV ]] && G_WHIP_MENU_ARRAY+=('' '●─' 'Start' ": Start creating $OUTPUT_IMG_NAME.$OUTPUT_IMG_EXT")

G_WHIP_DEFAULT_ITEM=$main_menu_choice
G_WHIP_BUTTON_CANCEL_TEXT='Exit'
Expand Down Expand Up @@ -244,7 +244,7 @@
fi
sync
sleep 1 # Give the system 1 second to avoid "mount is busy"
G_EXEC umount $FP_MNT_TMP
G_EXEC umount -R $FP_MNT_TMP
G_EXEC rmdir $FP_MNT_TMP
G_EXEC partprobe "$FP_SOURCE" # Failsafe
G_EXEC partx -u "$FP_SOURCE" # Failsafe
Expand Down
Loading