Commit Graph

52 Commits (fa013574453974fa4e40bf3160a83b09ffc749ef)

Author SHA1 Message Date
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Philipp b0eb28143a
UserSession class - Refactor addon 2022-10-20 23:51:49 +02:00
Michael 5d8129600d Replace all functions from boot.php 2022-10-19 09:47:36 -04:00
Michael 592374b795 Some useless EOL removed 2022-10-17 21:00:03 +00:00
Michael 897dbb30cf Remove "notice" with new function 2022-10-17 20:17:25 +00:00
Hypolite Petovan 779b38ec09 [various] Convert addon_settings hook functions to the new data array format
- Add separate template files to several addons
- Remove superfluous addon settings CSS files
2021-11-29 06:55:16 -05:00
Michael 0bf6612ea3 "log" is replaced with the corresponding logging functions 2021-10-21 06:04:27 +00:00
Tobias Diekershoff fb4687b6df added missing )
This is a followup to PR  #1142 adding a missing ) to the if statement.
2021-07-01 07:47:48 +02:00
Hypolite Petovan d86ad302e3
[securemail] Fix quoting style in securemail_settings_post() 2021-06-30 21:20:59 -04:00
Tealk 629c1cca9f
fix $_POST variable 2021-06-30 09:36:21 +02:00
Philipp 50552912b8
Remove wrong 5th argument for securemail 2021-06-27 21:33:12 +02:00
Philipp bb8c01eba7
Increase priority for securemail over PHP SMTP mail 2021-05-29 20:59:51 +02:00
Hypolite Petovan 203672cf27 [various] Remove redundant uninstall functions
- All hooks (current and obsolete) are removed automatically during addon uninstall
2020-07-27 08:30:41 -04:00
Michael 3f84caeec5 Unneeded "info" messages removed 2020-07-23 03:48:52 +00:00
nupplaPhil c185bab922
Fix logging 2020-01-31 19:43:34 +01:00
nupplaPhil 81dc1e5eb1
fix logger settings 2020-01-31 19:40:50 +01:00
nupplaPhil 7603b23799
Fix secure Mail addon 2020-01-31 19:32:16 +01:00
nupplaPhil 0fb7e2c647
Fix invalid "emailer_prepare" Hook
- Use IEmail instead of array data
- Introduce "composer" based library for phpmailer
2020-01-29 20:24:41 +01:00
nupplaPhil ae5ebf1e89
Some Renames:
- EMail => EMail
- toEmail => toAddress
- fromEmail => fromAddress
2020-01-26 23:47:15 +01:00
nupplaPhil 49254a8307
Introduce interface for emailing and create email classes 2020-01-26 20:23:58 +01:00
nupplaPhil b828762910
Add explicit parameters to Sender::send() method signature 2020-01-26 01:04:53 +01:00
nupplaPhil eb18a0d761
Make EMailer util dynamic 2020-01-25 23:10:38 +01:00
nupplaPhil 65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
nupplaPhil 1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +01:00
nupplaPhil f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
nupplaPhil 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
nupplaPhil a26bfe79e9
Remove unused `use` statements & remove PConfig class 2020-01-18 17:02:59 +01:00
nupplaPhil febc835a2d
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:49 +01:00
nupplaPhil ea3a9052d8
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:56 +01:00
nupplaPhil 0775c28854
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName() 2019-12-27 21:55:16 +01:00
Hypolite Petovan 313aeb76ba [securemail] Use explicit path for addon autoloader 2019-02-10 10:06:45 -05:00
Hypolite Petovan c885f3c7ab [securemail] Use composer autoload 2019-02-10 08:45:40 -05:00
Hypolite Petovan a465e7dcd9 [securemail] Fix formatting 2019-02-10 08:45:14 -05:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Hypolite Petovan d836593a3b Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
2018-11-30 09:11:56 -05:00
Adam Magness 9079480d4a move to Renderer class
update functions calls for new Renderer class.
2018-10-31 10:55:15 -04:00
Adam Magness 49eff56e5d Core Logger
implement log() function.
more to squash


Core Logger Class

implement log() function
2018-10-29 19:40:18 -04:00
Tobias Diekershoff 3f6239bb2b some more get_hostname to getHostName changes 2018-10-11 13:24:39 +02:00
Hypolite Petovan 9e1e088c09 [various] Replace direct accesses to $a->config with Config::get 2018-07-10 08:41:32 -04:00
Adam Magness f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness c71f7b0e1a Update function names
update function names and hook calls
2018-01-20 08:57:41 -05:00
Adam Magness 0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Hypolite Petovan 27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00
Michael 90a5c32238 Addons hadn't been changed for the moved emailer class 2017-11-22 23:10:01 +00:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
St John Karp 78f40314ea Fix rendering of securemail user settings
The securemail addon was overwriting all of the user settings form
rendered before it. I've added a concatenation operator to ensure
we're not losing any content on this page.
2017-09-24 02:45:12 -07:00
Hypolite Petovan 62c26e09d1 Use Friendica\App in SecureMail addon 2017-05-22 02:47:36 -04:00
fabrixxm 0dce0cd8d9 Fix coding standards issues 2 2017-04-14 16:13:49 +02:00
fabrixxm 41da664692 Fix coding standards issues 2017-04-14 09:13:19 +02:00
fabrixxm 50f91a338c securemail: update pgp library
Remove php-gpg, add openpgp-php and phpseclib.
Add template file for settings.
Add "send test" functionality.
Add messages.po
2017-04-11 21:19:54 +02:00