1 |
diff -Nur --no-dereference smeserver-roundcube-1.2.old/createlinks smeserver-roundcube-1.2/createlinks |
diff -Nur --no-dereference smeserver-roundcube-1.2.old/createlinks smeserver-roundcube-1.2/createlinks |
2 |
--- smeserver-roundcube-1.2.old/createlinks 2024-02-24 09:22:05.481000000 -0500 |
--- smeserver-roundcube-1.2.old/createlinks 2024-02-24 09:22:05.481000000 -0500 |
3 |
+++ smeserver-roundcube-1.2/createlinks 2024-02-24 12:24:54.824000000 -0500 |
+++ smeserver-roundcube-1.2/createlinks 2024-02-24 17:35:58.066000000 -0500 |
4 |
@@ -8,7 +8,8 @@ |
@@ -8,7 +8,7 @@ |
5 |
#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event |
#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event |
6 |
|
|
7 |
foreach my $file (qw( |
foreach my $file (qw( |
8 |
- /etc/systemd/system-preset/49-koozali.preset |
- /etc/systemd/system-preset/49-koozali.preset |
9 |
+ /etc/systemd/system-preset/49-koozali.preset |
+ /etc/systemd/system-preset/49-koozali.preset |
|
+ /etc/httpd/conf/httpd.conf |
|
10 |
)) |
)) |
11 |
{ |
{ |
12 |
templates2events( $file, $event ); |
templates2events( $file, $event ); |
13 |
@@ -38,6 +39,7 @@ |
@@ -36,8 +36,10 @@ |
14 |
|
)) |
15 |
|
{ |
16 |
templates2events("/usr/share/roundcubemail/plugins/managesieve/config.inc.php", $event); |
templates2events("/usr/share/roundcubemail/plugins/managesieve/config.inc.php", $event); |
17 |
|
+ templates2events("/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php", $event); |
18 |
templates2events("/etc/roundcubemail/config.inc.php", $event); |
templates2events("/etc/roundcubemail/config.inc.php", $event); |
19 |
templates2events("/etc/e-smith/sql/init/80roundcube", $event); |
templates2events("/etc/e-smith/sql/init/80roundcube", $event); |
20 |
+ |
+ |
36 |
)) |
)) |
37 |
{ |
{ |
38 |
event_link("qmail-update-user", $event, "20"); |
event_link("qmail-update-user", $event, "20"); |
39 |
+ event_link("roundcube-conf", $event, "20"); |
+ event_link("roundcube-conf", $event, "03"); |
40 |
} |
} |
41 |
safe_symlink("/usr/share/php/Net/LDAP3","root/usr/share/pear/Net/LDAP3"); |
safe_symlink("/usr/share/php/Net/LDAP3","root/usr/share/pear/Net/LDAP3"); |
42 |
safe_symlink("/usr/share/php/Net/LDAP3.php","root/usr/share/pear/Net/LDAP3.php"); |
safe_symlink("/usr/share/php/Net/LDAP3.php","root/usr/share/pear/Net/LDAP3.php"); |
135 |
+/usr/bin/rcplugin_update.sh |
+/usr/bin/rcplugin_update.sh |
136 |
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92roundcube smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92roundcube |
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92roundcube smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92roundcube |
137 |
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92roundcube 2024-02-24 09:22:05.466000000 -0500 |
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92roundcube 2024-02-24 09:22:05.466000000 -0500 |
138 |
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92roundcube 2024-02-24 11:53:20.478000000 -0500 |
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92roundcube 2024-02-25 15:07:52.022000000 -0500 |
139 |
@@ -4,49 +4,17 @@ |
@@ -4,49 +4,17 @@ |
140 |
unless $status eq 'enabled'; |
unless $status eq 'enabled'; |
141 |
|
|
150 |
for ('exit-if-none') |
for ('exit-if-none') |
151 |
{ |
{ |
152 |
- if ($roundcube{'PublicAccess'}) |
- if ($roundcube{'PublicAccess'}) |
153 |
+ if ( (exists($roundcube{'access'}) && ($roundcube{'access'} eq 'public') ) |
+ if ( (exists($roundcube{'access'})) && ($roundcube{'access'} eq 'public') ) |
154 |
{ |
{ |
155 |
- if ($roundcube{'PublicAccess'} eq 'none') |
- if ($roundcube{'PublicAccess'} eq 'none') |
156 |
- { |
- { |
227 |
} |
} |
228 |
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15roundcube smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15roundcube |
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15roundcube smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15roundcube |
229 |
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15roundcube 1969-12-31 19:00:00.000000000 -0500 |
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15roundcube 1969-12-31 19:00:00.000000000 -0500 |
230 |
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15roundcube 2024-02-24 11:22:54.752000000 -0500 |
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15roundcube 2024-02-25 15:15:30.366000000 -0500 |
231 |
@@ -0,0 +1,67 @@ |
@@ -0,0 +1,67 @@ |
232 |
+{ |
+{ |
233 |
+ my $phpversion="81"; |
+ my $phpversion="81"; |
239 |
+ my $memory_limit = ($roundcube{MemoryLimit} || '512M'); |
+ my $memory_limit = ($roundcube{MemoryLimit} || '512M'); |
240 |
+ $memory_limit .= 'M' if ($memory_limit =~ m/^\d+$/); |
+ $memory_limit .= 'M' if ($memory_limit =~ m/^\d+$/); |
241 |
+ my $open_basedir= $roundcube{PHPBaseDir} || ''; |
+ my $open_basedir= $roundcube{PHPBaseDir} || ''; |
242 |
+ $open_basedir = "/usr/share/roundcube:/var/lib/roundcube:/var/log/roundcube.log:/var/lib/php/roundcube:/home/e-smith/files/roundcube:/dev/urandom:/proc/meminfo:/usr/share/GeoIP/GeoLite2-Country.mmdb:/proc/cpuinfo:$open_basedir"; |
+ $open_basedir = "/usr/share/roundcubemail:/etc/roundcubemail/:/var/log/roundcubemail:/var/lib/roundcubemail:/var/log/roundcube.log:/var/lib/php/roundcube:/home/e-smith/files/roundcube:/dev/urandom:/proc/meminfo:/usr/share/GeoIP/GeoLite2-Country.mmdb:/proc/cpuinfo:$open_basedir"; |
243 |
+ my $id = 'roundcube'; |
+ my $id = 'roundcube'; |
244 |
+ my $max_children = $roundcube{'PHPmaxChildren'} || 20; |
+ my $max_children = $roundcube{'PHPmaxChildren'} || 20; |
245 |
+ my $min_spare_servers = $roundcube{'PHPminServers'} || 4; |
+ my $min_spare_servers = $roundcube{'PHPminServers'} || 4; |
296 |
+} |
+} |
297 |
+} |
+} |
298 |
+ |
+ |
299 |
|
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/10setsieveport smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/10setsieveport |
300 |
|
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/10setsieveport 2015-04-01 20:05:54.000000000 -0400 |
301 |
|
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/10setsieveport 2024-02-25 16:19:32.010000000 -0500 |
302 |
|
@@ -1,6 +1,4 @@ |
303 |
|
{ |
304 |
|
- # vim: ft=perl; |
305 |
|
- |
306 |
|
# This snippet sets the managesieve_port config option of the plugin if Sieve service is enabled |
307 |
|
# otherwise, the default value of "null" is kept for this config option. |
308 |
|
|
309 |
|
@@ -19,5 +17,22 @@ |
310 |
|
else { |
311 |
|
$OUT .= "\$config['managesieve_port'] = null; \n"; |
312 |
|
} |
313 |
|
+ $OUT .= "// managesieve server address (and optional port), default is localhost.\n"; |
314 |
|
+ $OUT .= "// Replacement variables supported in host name:\n"; |
315 |
|
+ $OUT .= "// %h - user's IMAP hostname\n"; |
316 |
|
+ $OUT .= "// %n - http hostname ($_SERVER['SERVER_NAME'])\n"; |
317 |
|
+ $OUT .= "// %d - domain (http hostname without the first part)\n"; |
318 |
|
+ $OUT .= "// For example %n = mail.domain.tld, %d = domain.tld\n"; |
319 |
|
+ $OUT .= "// If port is omitted it will be determined automatically using getservbyname()\n"; |
320 |
|
+ $OUT .= "// function, with 2000 or 4190 as a fallback (depending on current version).\n"; |
321 |
|
+ $OUT .= "// Note: Add tls:// prefix to enable explicit STARTTLS\n"; |
322 |
|
+ $OUT .= "// or add ssl:// prefix to enable implicit SSL.\n"; |
323 |
|
+ if ($sievestatus eq 'enabled') { |
324 |
|
+ $OUT .= "\$config['managesieve_host'] = 'localhost:$sieveport'; \n"; |
325 |
|
+ } |
326 |
|
+ else { |
327 |
|
+ $OUT .= "\$config['managesieve_host'] = null; \n"; |
328 |
|
+ } |
329 |
|
+ |
330 |
|
|
331 |
|
} |
332 |
|
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/20default smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/20default |
333 |
|
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/20default 2015-04-01 20:05:54.000000000 -0400 |
334 |
|
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/20default 2024-02-25 16:23:27.005000000 -0500 |
335 |
|
@@ -1,11 +1,3 @@ |
336 |
|
-// managesieve server address, default is localhost. |
337 |
|
-// Replacement variables supported in host name: |
338 |
|
-// %h - user's IMAP hostname |
339 |
|
-// %n - http hostname ($_SERVER['SERVER_NAME']) |
340 |
|
-// %d - domain (http hostname without the first part) |
341 |
|
-// For example %n = mail.domain.tld, %d = domain.tld |
342 |
|
-$config['managesieve_host'] = 'localhost'; |
343 |
|
- |
344 |
|
// authentication method. Can be CRAM-MD5, DIGEST-MD5, PLAIN, LOGIN, EXTERNAL |
345 |
|
// or none. Optional, defaults to best method supported by server. |
346 |
|
$config['managesieve_auth_type'] = null; |
347 |
|
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/20nextcloud_attachment_server smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/20nextcloud_attachment_server |
348 |
|
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/20nextcloud_attachment_server 1969-12-31 19:00:00.000000000 -0500 |
349 |
|
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/20nextcloud_attachment_server 2024-02-24 17:24:25.423000000 -0500 |
350 |
|
@@ -0,0 +1,5 @@ |
351 |
|
+// Full URL to the Nextcloud server |
352 |
|
+// e.g. https://example.com/nextcloud if in sub-path |
353 |
|
+// or https://cloud.example.com if in root |
354 |
|
+$config["nextcloud_attachment_server"] = "https://{$roundcube{'nextcloudURI'}||$nextcloud{'Virtualhost'}||$DomainName."/nextcloud"}"; |
355 |
|
+ |
356 |
|
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/25nextcloud_attachment_username smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/25nextcloud_attachment_username |
357 |
|
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/25nextcloud_attachment_username 1969-12-31 19:00:00.000000000 -0500 |
358 |
|
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/25nextcloud_attachment_username 2024-02-24 17:25:55.035000000 -0500 |
359 |
|
@@ -0,0 +1,11 @@ |
360 |
|
+// Username resolving strategy from internal Roundcube |
361 |
|
+// username which usually is the email address e.g. user@example.com or IMAP User |
362 |
|
+// Placeholders are replaced as following |
363 |
|
+// %s => verbatim RC username as reported by rcmail->get_user_name(). Depending on config loginuser@domain or login |
364 |
|
+// %i => username used to login to imap. usually equal to %s |
365 |
|
+// %e => user email |
366 |
|
+// %l, %u => email localpart (%u is for backward compatibility) |
367 |
|
+// %d => email domain |
368 |
|
+// %h => IMAP Host |
369 |
|
+$config["nextcloud_attachment_username"] = "%u"; |
370 |
|
+ |
371 |
|
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/30dont_try_mail_password smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/30dont_try_mail_password |
372 |
|
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/30dont_try_mail_password 1969-12-31 19:00:00.000000000 -0500 |
373 |
|
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/30dont_try_mail_password 2024-02-24 17:25:48.875000000 -0500 |
374 |
|
@@ -0,0 +1,4 @@ |
375 |
|
+// Don't try the email password at all, because we know it won't work |
376 |
|
+// Defaults to false, i.e. try the password |
377 |
|
+$config["nextcloud_attachment_dont_try_mail_password"] = false; |
378 |
|
+ |
379 |
|
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/33folder smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/33folder |
380 |
|
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/33folder 1969-12-31 19:00:00.000000000 -0500 |
381 |
|
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/33folder 2024-02-24 17:32:13.004000000 -0500 |
382 |
|
@@ -0,0 +1,12 @@ |
383 |
|
+// Name for the sub-folder to upload to |
384 |
|
+// Defaults to "Mail Attachments" |
385 |
|
+// Can't be sub-folder of sub-folder link folder/sub |
386 |
|
+$config["nextcloud_attachment_folder"] = "{$roundcube{'nextcloudFolder'}||'Mail Attachments'}"; |
387 |
|
+ |
388 |
|
+// Translate the folder name according to the users configured locale |
389 |
|
+// When activating this $config["nextcloud_attachment_folder"] has to be an array |
390 |
|
+// of locale => name, e.g. |
391 |
|
+// $config["nextcloud_attachment_folder"] = ["en_US" => "Mail Attachments", "de_DE" => "E-Mail Anhänge"] |
392 |
|
+// If locale doesn't exist, en_US or first will be used |
393 |
|
+// Defaults to false |
394 |
|
+$config["nextcloud_attachment_folder_translate_name"] = false; |
395 |
|
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/35softlimit smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/35softlimit |
396 |
|
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/35softlimit 1969-12-31 19:00:00.000000000 -0500 |
397 |
|
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/35softlimit 2024-02-24 17:29:39.128000000 -0500 |
398 |
|
@@ -0,0 +1,5 @@ |
399 |
|
+// Limit to show a warning at for large attachments. |
400 |
|
+// has to be smaller then $config['max_message_size'] |
401 |
|
+// set to null to disable |
402 |
|
+$config["nextcloud_attachment_softlimit"] = "{$roundcube{'NCsoftlimit'}||$qmail{'MaxMessageSize'}||'25M'}"; |
403 |
|
+ |
404 |
|
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/37behavior smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/37behavior |
405 |
|
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/37behavior 1969-12-31 19:00:00.000000000 -0500 |
406 |
|
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/37behavior 2024-02-24 17:31:24.266000000 -0500 |
407 |
|
@@ -0,0 +1,6 @@ |
408 |
|
+// Behavior if $config['max_message_size'] is hit. |
409 |
|
+// "prompt" to show dialog a la outlook or apple |
410 |
|
+// "upload" to automatically upload without asking a la google |
411 |
|
+// Defaults to "prompt" |
412 |
|
+$config["nextcloud_attachment_behavior"] = "{$roundcube{'nextcloudBehavior'}||'prompt'}"; |
413 |
|
+ |
414 |
|
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/40excludeUsers smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/40excludeUsers |
415 |
|
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/40excludeUsers 1969-12-31 19:00:00.000000000 -0500 |
416 |
|
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/40excludeUsers 2024-02-24 17:33:50.406000000 -0500 |
417 |
|
@@ -0,0 +1,57 @@ |
418 |
|
+// List of users to exclude |
419 |
|
+// They won't be able to interact with the plugin at all |
420 |
|
+// No prompts, no automatic uploading, no settings. |
421 |
|
+// List by RC username or resolved username e.g. ["user@demo.com", "user"] |
422 |
|
+$config["nextcloud_attachment_exclude_users"] = []; |
423 |
|
+ |
424 |
|
+// Exclude users listed by uid (you need add the mapping to the address book) or email in any of the following |
425 |
|
+// address books. This allows you to configure a hidden LDAP address book containing the users |
426 |
|
+// to exclude. |
427 |
|
+// |
428 |
|
+// Hide an addressbook by setting |
429 |
|
+// $config['ldap_public'][*] = [ |
430 |
|
+// ... |
431 |
|
+// 'hidden' => true, |
432 |
|
+// ... |
433 |
|
+// ]; |
434 |
|
+// in the global config. |
435 |
|
+// |
436 |
|
+// Add the uid mapping via |
437 |
|
+// $config['ldap_public'][*] = [ |
438 |
|
+// ... |
439 |
|
+// 'fieldmap' => [ |
440 |
|
+// ... |
441 |
|
+// //internal => ldapattr |
442 |
|
+// 'uid' => 'uid', |
443 |
|
+// ... |
444 |
|
+// ], |
445 |
|
+// ... |
446 |
|
+// ] |
447 |
|
+// in the global config. Replace mapped attribute with appropriate value for your directory e.g. cn |
448 |
|
+// And replace "*" with the appropriate address book name |
449 |
|
+$config["nextcloud_attachment_exclude_users_in_addr_books"] = []; |
450 |
|
+ |
451 |
|
+// Exclude users that have a mapped value in an address book |
452 |
|
+// format [ [ 'address_book', 'mapped_attribute', 'matched_value' ], ... ] |
453 |
|
+// |
454 |
|
+// Resulting in every user listed in the address book "address_book" |
455 |
|
+// to be excluded if they have a "mapped_attribute", matching "matched_value". |
456 |
|
+// |
457 |
|
+// E.g. ['public', 'memberOf', 'cn=no_cloud,ou=groups,dc=example,dc=com'] |
458 |
|
+// |
459 |
|
+// multiple attributes and multiple address books are supported |
460 |
|
+$config["nextcloud_attachment_exclude_users_with_addr_book_value"] = []; |
461 |
|
+ |
462 |
|
+// Exclude user that that are in a given group in an address book |
463 |
|
+// format [ [ 'address_book', 'group' ], ... ] |
464 |
|
+// |
465 |
|
+// Resulting in every user listed in the address book "address_book" that is |
466 |
|
+// is in group "group" to be excluded. You have to correctly configure the group |
467 |
|
+// mapping for the LDAP entry |
468 |
|
+// |
469 |
|
+// E.g. ['public', 'nocloud'] |
470 |
|
+// |
471 |
|
+// multiple groups and multiple address books are supported |
472 |
|
+$config["nextcloud_attachment_exclude_users_in_addr_book_group"] = []; |
473 |
|
+ |
474 |
|
+ |
475 |
|
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/60verify_https smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/60verify_https |
476 |
|
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/60verify_https 1969-12-31 19:00:00.000000000 -0500 |
477 |
|
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/60verify_https 2024-02-24 17:34:52.039000000 -0500 |
478 |
|
@@ -0,0 +1,4 @@ |
479 |
|
+// Enable/Disable certificate validation for https on WebDAV and API requests |
480 |
|
+// Defaults to true (enabled) |
481 |
|
+$config["nextcloud_attachment_verify_https"] = {$roundcube{'nextcloudVerifyCerts'}||'true'}; |
482 |
|
+ |
483 |
|
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/template-begin smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/template-begin |
484 |
|
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/template-begin 1969-12-31 19:00:00.000000000 -0500 |
485 |
|
+++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/template-begin 2024-02-24 17:20:03.116000000 -0500 |
486 |
|
@@ -0,0 +1,14 @@ |
487 |
|
+{ |
488 |
|
+ $OUT = <<HERE; |
489 |
|
+<?php |
490 |
|
+/* |
491 |
|
+HERE |
492 |
|
+ |
493 |
|
+ $OUT .= |
494 |
|
+ Text::Template::_load_text("/etc/e-smith/templates-default/template-begin"); |
495 |
|
+ |
496 |
|
+ $OUT .= <<HERE; |
497 |
|
+*/ |
498 |
|
+HERE |
499 |
|
+ |
500 |
|
+} |
501 |
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/usr/bin/rcplugin_update.sh smeserver-roundcube-1.2/root/usr/bin/rcplugin_update.sh |
diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/usr/bin/rcplugin_update.sh smeserver-roundcube-1.2/root/usr/bin/rcplugin_update.sh |
502 |
--- smeserver-roundcube-1.2.old/root/usr/bin/rcplugin_update.sh 2024-02-24 09:22:05.482000000 -0500 |
--- smeserver-roundcube-1.2.old/root/usr/bin/rcplugin_update.sh 2024-02-24 09:22:05.482000000 -0500 |
503 |
+++ smeserver-roundcube-1.2/root/usr/bin/rcplugin_update.sh 2024-02-24 11:27:35.284000000 -0500 |
+++ smeserver-roundcube-1.2/root/usr/bin/rcplugin_update.sh 2024-02-24 17:36:14.068000000 -0500 |
504 |
@@ -1,19 +1,20 @@ |
@@ -1,19 +1,20 @@ |
505 |
#!/bin/bash |
#!/bin/bash |
506 |
-/sbin/e-smith/db configuration setprop php AllowUrlFopen On |
-/sbin/e-smith/db configuration setprop php AllowUrlFopen On |