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.1.0 #4288

Merged
merged 97 commits into from
Apr 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
f6c0923
v7.1 (#4158)
MichaIng Feb 28, 2021
5df8f14
v7.1
MichaIng Mar 2, 2021
f7b9f07
v7.1
MichaIng Mar 2, 2021
6449f91
v7.1
MichaIng Mar 3, 2021
2fef0dc
v7.1
MichaIng Mar 3, 2021
c429cd7
v7.1
MichaIng Mar 3, 2021
03a7ff0
v7.1
MichaIng Mar 4, 2021
1e36fab
v7.1
MichaIng Mar 4, 2021
c306d44
v7.1
MichaIng Mar 5, 2021
28143fa
v7.1
MichaIng Mar 5, 2021
9bb38dc
v7.1
MichaIng Mar 6, 2021
0203389
v7.1 (#4164)
MichaIng Mar 9, 2021
7e8046c
v7.1
MichaIng Mar 9, 2021
880182d
v7.1
MichaIng Mar 9, 2021
6ee389d
v7.1
MichaIng Mar 10, 2021
8274830
v7.1
MichaIng Mar 10, 2021
20f0d1e
v7.1
MichaIng Mar 10, 2021
4af8e48
v7.1
MichaIng Mar 10, 2021
743af49
v7.1
MichaIng Mar 11, 2021
000cfe5
v7.1
MichaIng Mar 11, 2021
72a4017
v7.1
MichaIng Mar 11, 2021
b880c92
v7.1
MichaIng Mar 12, 2021
e8751e3
v7.1 (#4193)
MichaIng Mar 13, 2021
5d03964
v7.1
MichaIng Mar 13, 2021
576df0f
v7.1
MichaIng Mar 14, 2021
9a6f074
v7.1
MichaIng Mar 14, 2021
049cc81
v7.1
MichaIng Mar 14, 2021
c161efe
v7.1
MichaIng Mar 14, 2021
422e66f
v7.1
MichaIng Mar 15, 2021
8decbdb
v7.1
MichaIng Mar 15, 2021
ead4f4a
v7.1
MichaIng Mar 15, 2021
93bd0c0
v7.1
MichaIng Mar 16, 2021
6e82b58
v7.1
MichaIng Mar 16, 2021
c8187ab
v7.1
MichaIng Mar 16, 2021
3c089dd
v7.1
MichaIng Mar 17, 2021
cd2ad21
v7.1
ravenclaw900 Mar 20, 2021
49d0bc9
v7.1
MichaIng Mar 23, 2021
95ec9c9
v7.1
MichaIng Mar 23, 2021
7f972eb
v7.1
MichaIng Mar 23, 2021
9e2c3d6
v7.1
MichaIng Mar 24, 2021
d6a7f9f
v7.1
MichaIng Mar 24, 2021
9fe8d10
v7.1
MichaIng Mar 24, 2021
912606e
v7.1
MichaIng Mar 24, 2021
1356370
v7.1
MichaIng Mar 24, 2021
71ad4f4
v7.1
MichaIng Mar 28, 2021
3ff09d4
v7.1
MichaIng Mar 28, 2021
ddeb95a
v7.1
MichaIng Mar 28, 2021
ddb04d1
v7.1 (#4180)
ravenclaw900 Mar 28, 2021
7524163
v7.1
MichaIng Mar 28, 2021
2f0f8dd
v7.1
MichaIng Mar 29, 2021
5b9a3ca
v7.1
MichaIng Mar 29, 2021
86a1ba7
v7.1
MichaIng Mar 29, 2021
a7cc04f
v7.1
MichaIng Mar 29, 2021
bf7fcd4
v7.1
MichaIng Mar 30, 2021
34e1ca9
v7.1
MichaIng Mar 30, 2021
a5ef6bb
v7.1
MichaIng Mar 31, 2021
4c0173a
v7.1
MichaIng Mar 31, 2021
128579a
v7.1
MichaIng Apr 1, 2021
64ca3e6
v7.1 (#4220)
MichaIng Apr 3, 2021
524f4da
v7.1 (#4239)
Joulinar Apr 5, 2021
64c8411
v7.1 (#4223)
MichaIng Apr 5, 2021
b9adda6
v7.1
MichaIng Apr 5, 2021
e3aa7da
v7.1
MichaIng Apr 5, 2021
32c1ffe
v7.1
MichaIng Apr 5, 2021
897b957
v7.1
MichaIng Apr 5, 2021
6e36347
v7.1
MichaIng Apr 6, 2021
b6e17a5
v7.1
MichaIng Apr 6, 2021
744bd8e
v7.1
MichaIng Apr 6, 2021
87aa2ad
v7.1
MichaIng Apr 6, 2021
b5db198
v7.1
MichaIng Apr 6, 2021
835873d
v7.1
MichaIng Apr 8, 2021
2d337f6
v7.1
MichaIng Apr 8, 2021
29b712c
v7.1
MichaIng Apr 8, 2021
b2b9faf
DietPi-Software | Workaround for 7zr overriding umask for target dir …
Joulinar Apr 8, 2021
92d4d6d
v7.1 (#4259)
Joulinar Apr 10, 2021
c1ae9ef
DietPi-Software | Resolve port conflicts (#4166)
Joulinar Apr 11, 2021
2e9f8a0
v7.1
MichaIng Apr 11, 2021
daff20e
v7.1
MichaIng Apr 11, 2021
d2df750
v7.1
MichaIng Apr 11, 2021
bdb5699
v7.1 (#4236)
ravenclaw900 Apr 11, 2021
6a8655b
v7.1 (#4255)
Joulinar Apr 13, 2021
9502ea3
v7.1 (#4269)
MichaIng Apr 13, 2021
f7087a0
v7.1 (#4271)
Joulinar Apr 14, 2021
1d42bac
v7.1 (#4270)
MichaIng Apr 14, 2021
7217579
v7.1 (#4272)
MichaIng Apr 16, 2021
c9b2757
v7.1 (#4276)
ravenclaw900 Apr 18, 2021
6ed100f
v7.1 (#4229)
ravenclaw900 Apr 20, 2021
4ec242a
v7.1
MichaIng Apr 20, 2021
692ee52
v7.1
MichaIng Apr 20, 2021
11ea835
v7.1 (#4289)
StephanStS Apr 20, 2021
d5a59fd
v7.1
MichaIng Apr 20, 2021
5ce84c7
v7.1
MichaIng Apr 20, 2021
ee35cec
v7.1 (#4290)
MichaIng Apr 20, 2021
1c4003b
v7.1
MichaIng Apr 21, 2021
e1ed67d
v7.1
MichaIng Apr 21, 2021
4778fe7
v7.1 (#4292)
MichaIng Apr 21, 2021
7c92bb7
v7.1
MichaIng Apr 21, 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
11 changes: 8 additions & 3 deletions .conf/dps_114/nginx.nextcloud.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Based on: https://github.com/nextcloud/documentation/blob/master/admin_manual/installation/nginx.rst#nextcloud-in-a-subdir-of-the-nginx-webroot
# Based on: https://github.com/nextcloud/documentation/blob/master/admin_manual/installation/nginx-subdir.conf.sample

# Redirect webfinger and nodeinfo requests to Nextcloud endpoint
location ~ ^/\.well-known/(?:webfinger|nodeinfo) {
Expand All @@ -24,7 +24,7 @@ location ^~ /nextcloud {
#pagespeed off;

# HTTP response headers borrowed from Nextcloud `.htaccess`
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains;" always;
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains" always;
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Download-Options "noopen" always;
Expand Down Expand Up @@ -64,7 +64,7 @@ location ^~ /nextcloud {
# then Nginx will encounter an infinite rewriting loop when it prepends
# `/nextcloud/index.php` to the URI, resulting in a HTTP 500 error response.
location ~ \.php(?:$|/) {
fastcgi_split_path_info ^(.+?\.php)(\/.*|)$;
fastcgi_split_path_info ^(.+?\.php)(/.*|)$;
set $path_info $fastcgi_path_info;
try_files $fastcgi_script_name =404;
include fastcgi_params;
Expand All @@ -90,6 +90,11 @@ location ^~ /nextcloud {
access_log off; # Optional: Don't log access to assets
}

# Rule borrowed from `.htaccess`
location /nextcloud/remote {
return 301 /nextcloud/remote.php$request_uri;
}

location /nextcloud {
try_files $uri $uri/ /nextcloud/index.php$request_uri;
}
Expand Down
2 changes: 1 addition & 1 deletion .conf/dps_182/unbound.conf
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ server:
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"
# DNS root server information file. Updated monthly via cronjob
root-hints: "/var/lib/unbound/root.hints"

# Maximum number of queries per second
Expand Down
190 changes: 190 additions & 0 deletions .conf/dps_187/cupsd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
#
# Configuration file for the CUPS scheduler. See "man cupsd.conf" for a
# complete description of this file.
#

# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn
PageLogFormat

# Deactivate CUPS' internal logrotating, as we provide a better one, especially
# LogLevel debug2 gets usable now
MaxLogSize 0

# Listen for connections
Listen 0.0.0.0:631
Listen /run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseLocalProtocols dnssd

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Web interface setting...
WebInterface Yes

# Restrict access to the server...
<Location />
Order allow,deny
Allow @LOCAL
</Location>

# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
Allow @LOCAL
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow @LOCAL
</Location>

# Restrict access to log files...
<Location /admin/log>
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow @LOCAL
</Location>

# Set the default printer/job policies...
<Policy default>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default

# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>

<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>

# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>

# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>

# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>

<Limit All>
Order deny,allow
</Limit>
</Policy>

# Set the authenticated printer/job policies...
<Policy authenticated>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default

# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
</Limit>

<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>

# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>

# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>

# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>

<Limit All>
Order deny,allow
</Limit>
</Policy>

# Set the kerberized printer/job policies...
<Policy kerberos>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default

# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Negotiate
Order deny,allow
</Limit>

<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Negotiate
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>

# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>

# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>

# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Negotiate
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>

<Limit All>
Order deny,allow
</Limit>
</Policy>
40 changes: 20 additions & 20 deletions .conf/dps_47/nginx.owncloud.conf
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Based on: https://doc.owncloud.org/server/latest/admin_manual/installation/nginx_configuration.html
# Based on: https://github.com/owncloud/docs/blob/deda107004c35ccfc4927e4aab32a337bc2bb380/modules/admin_manual/examples/installation/nginx/subdirectory-configuration.conf

location ^~ /owncloud {

# Add headers to serve security related headers
#add_header Strict-Transport-Security "max-age=15552000; includeSubDomains";
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
#add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
add_header X-Content-Type-Options nosniff always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Robots-Tag none always;
add_header X-Download-Options noopen always;
add_header X-Permitted-Cross-Domain-Policies none always;
add_header Referrer-Policy no-referrer always;

# Set max upload size
client_max_body_size 1048576M;
Expand Down Expand Up @@ -63,7 +63,7 @@ location ^~ /owncloud {
fastcgi_request_buffering off;
}

location ~ ^/owncloud/(?:updater|ocs-provider)(?:$|/) {
location ~ ^/owncloud/(?:updater|ocs-provider|ocm-provider)(?:$|/) {
try_files $uri $uri/ =404;
index index.php;
}
Expand All @@ -72,23 +72,23 @@ location ^~ /owncloud {
# Make sure it is BELOW the PHP block
location ~ /owncloud/.*\.(?:css|js) {
try_files $uri /owncloud/index.php$uri$is_args$args;
add_header Cache-Control "max-age=15778463";
add_header Cache-Control "max-age=15778463" always;
# Add headers to serve security related headers (It is intended to have those duplicated to the ones above)
#add_header Strict-Transport-Security "max-age=15552000; includeSubDomains";
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
#add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
add_header X-Content-Type-Options nosniff always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Robots-Tag none always;
add_header X-Download-Options noopen always;
add_header X-Permitted-Cross-Domain-Policies none always;
add_header Referrer-Policy no-referrer always;
# Optional: Don't log access to assets
access_log off;
}

location ~ /owncloud/.*\.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg|map|json) {
try_files $uri /owncloud/index.php$uri$is_args$args;
add_header Cache-Control "public, max-age=7200";
add_header Cache-Control "public, max-age=7200" always;
# Optional: Don't log access to other assets
access_log off;
}
Expand Down
Loading