-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[various] Remove config/addon.config.php in favor of per-addon config…
…uration file
- Loading branch information
Showing
29 changed files
with
140 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
Leistungsschutzrecht Addon | ||
========================== | ||
|
||
Main author Michael Vogel | ||
Main author: Michael Vogel | ||
|
||
This addon handles legal problems with the German link tax, named "Leistungsschutzrecht" by shortening preview texts. | ||
Additionally it is possibly to suppress preview pictures completely to avoid any legal problems. | ||
Additionally, it is possibly to suppress preview pictures completely to avoid any legal problems. | ||
|
||
## configuration | ||
## Configuration | ||
|
||
If you want to suppress pictures in previews, add this to your global `config/addon.config.php`: | ||
|
||
'leistungsschutzrecht' => [ | ||
'suppress_photos' => true, | ||
], | ||
If you want to suppress pictures in previews, add this to your global `config/leistungsschutzrecht.config.php`: | ||
|
||
return [ | ||
'leistungsschutzrecht' => [ | ||
'suppress_photos' => true, | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,45 +8,7 @@ This addon replaces the default `mail()` function by the `PHPMailer` library, al | |
Configuration | ||
------------- | ||
|
||
You can override the default value of the following config keys in your base Friendica install `config/addon.config.php` file: | ||
|
||
'phpmailer' => [ | ||
// smtp (Boolean) | ||
// Enables SMTP relaying for outbound emails | ||
'smtp' => false, | ||
|
||
// smtp_server (String) | ||
// SMTP server host name | ||
'smtp_server' => 'smtp.example.com', | ||
|
||
// smtp_port (Integer) | ||
// SMTP server port number | ||
'smtp_port' => 25, | ||
|
||
// smtp_secure (String) | ||
// What kind of encryption to use on the SMTP connection. | ||
// Options: '', 'ssl' or 'tls'. | ||
'smtp_secure' => '', | ||
|
||
// smtp_port_s (Integer) | ||
// Secure SMTP server port number | ||
'smtp_port_s' => 465, | ||
|
||
// smtp_username (String) | ||
// SMTP server authentication user name | ||
// Empty string disables authentication | ||
'smtp_username' => '', | ||
|
||
// smtp_password (String) | ||
// SMTP server authentication password | ||
// Empty string disables authentication | ||
'smtp_password' => '', | ||
|
||
// smtp_from (String) | ||
// From address used when using the SMTP server | ||
// Example: [email protected] | ||
'smtp_from' => '', | ||
], | ||
The configuration options for this module are described in the `config/phpmailer.config.php` file. | ||
|
||
License | ||
======= | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.