Commit Graph

129 Commits (2de97487f32f65452f7b778d99412b4955a914bf)

Author SHA1 Message Date
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 e5842e83c7 The priority is now a class constant 2022-10-17 05:50:23 +00:00
Roland Häder 06b15a6ed0
Changes:
- added missing type-hints
- avoided local variables
- added some documentation
- changed double-quotes to single
2022-06-30 13:33:22 +02:00
Roland Häder 3ab46781b1
Changes:
- if a <addon>_module() function is empty, it is more a statement and not a
  real function
2022-06-24 23:35:16 +02:00
Roland Häder 93267b5b83
Fixed wrong type-hint + "imported" class 2022-06-23 07:45:59 +02:00
Roland Häder 04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
Tobias Diekershoff b00459d077
mailstream addon AR translation THX ButterflyOfFire 2022-06-13 09:49:30 +02:00
Tobias Diekershoff d0dfb04585
mailstream addon FR translation updated THX kalon33 2022-05-24 07:59:53 +02:00
Tobias Diekershoff 931be19eca
DA DK translation for various addons added THX atjn 2022-05-02 12:26:36 +02:00
Philipp 82f8c14633
Move ACCEPT constants to own "enum" class 2022-04-02 21:16:21 +02:00
Tobias Diekershoff ed96e0a2f6
PL translation update THX strebski 2022-03-08 16:26:19 +01:00
Tobias Diekershoff 484482a4ce HU addon translation update THX Balázs Úr 2022-01-22 18:52:30 +01:00
Tobias Diekershoff 631b456755 SV addon translation update THX Kristoffer Grundström 2022-01-22 18:50:50 +01:00
Hypolite Petovan 3104d176e7 [various] Updated translation files after editing several strings 2021-11-29 06:55:24 -05: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 6a349e7fd9 Support for cleared boot.php 2021-11-04 20:32:16 +00:00
Tobias Diekershoff 86de95f77b added AR translations to the Friendica addons
Thanks to the work of طاهر, Farida Khalaf, محمد أحمد, abidin toumi, Abdullah Alsabi, ButterflyOfFire and ominds the translation of Friendica into Arabic has crossed the magic 50% progress mark, so we now include their work into the addons repository.
2021-10-10 12:55:16 +02:00
Tobias Diekershoff 25ba6023d0 regenerated all the strings 2021-10-10 08:27:53 +02:00
Michael 0533f9bfdb More indentations 2021-10-03 20:09:36 +00:00
Michael Vogel 366fbbd3e1
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-03 21:58:05 +02:00
Michael 428c6876f0 Replacing "q" calls with "DBA" calls 2021-10-03 17:35:20 +00:00
Philipp adada10eb6
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
Michael 9eaa6a2c08 Use "convertForUriId" when possible 2021-07-10 07:40:39 +00:00
Benjamin Lorteau dd7f343d43 [mailstream] Add a name to the addon settings submit button
- Now that each addon form is in their own form tag, we have to check whether the addon submit button was pressed.
- This was already done in every other addon but mailstream and this change will prevent unexpected loss of mailstream settings when saving any other addon settings.
2021-06-27 22:15:11 -04:00
Matthew Exon 6596a81af1 Retry failed mails with the defer() feature 2021-06-12 18:22:53 +02:00
Matthew Exon a50ca54999 Use workerqueue for mailstream jobs instead of custom table 2021-06-10 18:11:26 +02:00
Matthew Exon 06f44abd05 Apply coding standards to mailstream plugin 2021-05-08 22:24:02 +02:00
Matthew Exon 99462552a0 correction to the content of the item array 2021-05-08 21:01:51 +02:00
Matthew Exon 3d2bdeb5a4 Add comments to functions in mailstream plugin 2021-05-08 19:59:46 +02:00
Matthew Exon 04a0afcc97 Update mailstream plugin for 2021.04 2021-04-27 16:48:37 +02:00
Tobias Diekershoff 7a49da0d70 ES translation of the mailstream addon updated THX Senex Petrovic 2021-04-06 07:07:40 +02:00
Tobias Diekershoff b46b730af4 mailstream addon HU translation added THX Balázs Úr 2021-03-28 22:26:46 +02:00
Tobias Diekershoff 6ae5b44ea9 mailstream addon IT translation updated THX fabrixxm 2021-03-28 20:23:32 +02:00
Hypolite Petovan 7777f08047
Merge pull request #1082 from annando/no-item
All references to the item table had been removed
2021-02-14 11:05:11 -05:00
Michael 05a805398e All references to the item table had been removed 2021-02-14 08:18:02 +00:00
Tobias Diekershoff 500aab3c53 regenerated all strings.php files from the current translation strings (message.po) 2021-02-01 18:47:38 +01:00
Tobias Diekershoff 7f3704ae54 regenerated messages.po files of the addons 2021-02-01 18:29:42 +01:00
Michael 1533d9a758 Addons are now using the new post functions 2021-01-17 00:00:32 +00:00
Philipp 94b41e0859
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3) 2020-10-10 21:29:27 +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
nupplaPhil 19b2c8d833 Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull" 2020-07-21 03:32:23 -04:00
nupplaPhil fed6e3cde1 Make "HTTPRequest::fetchUrlFull" dynamic 2020-07-21 03:29:22 -04:00
nupplaPhil 9640142a72 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 03:27:52 -04:00
nupplaPhil 65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
nupplaPhil 75143e27b5
Move Config::set() to DI::config()->set() 2020-01-19 21:21:52 +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