Commit Graph

87 Commits (17df97fccdc680dd3ec2aa7eb808c09460ae1d07)

Author SHA1 Message Date
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Philipp 818d21ba57
[various] adapt README.md 2023-01-05 02:38:54 +01:00
Tobias Diekershoff 71d9a42688 HU translation of various addons updated 2022-12-17 09:08:25 +01:00
Tobias Diekershoff b64639dc4c PL translation of various addons updated 2022-12-17 09:08:11 +01:00
Tobias Diekershoff 0b0d555c69 FR translation of various addons updated 2022-12-17 09:04:29 +01:00
Hypolite Petovan 46d4d0b51e [various] Remove config/addon.config.php in favor of per-addon configuration file 2022-11-20 11:43:42 -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
Tobias Diekershoff 4487b2a923 FR translation of various addons updated 2022-08-19 19:37:09 +02: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
Hypolite Petovan 90dec95b6e [various] Fix hook function type-hints
- Address https://friendica.xyz/display/adf174d5-1562-b8d8-53d7-ffd690518338
2022-06-26 19:36:45 -04: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 931be19eca
DA DK translation for various addons added THX atjn 2022-05-02 12:26:36 +02:00
Tobias Diekershoff ed96e0a2f6
PL translation update THX strebski 2022-03-08 16:26:19 +01:00
Tobias Diekershoff 1e60ac18cf DE addon translation update 2022-01-22 18:52:57 +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
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
Tobias Diekershoff e2ea061887 ES translation of the mathjax addon updated THX Senex Petrovic 2021-04-06 07:09:59 +02:00
Tobias Diekershoff 70f541c58b mathjax addon DE translation updated 2021-03-29 07:39:53 +02:00
Tobias Diekershoff 70b77f00b8 mathjax addon HU translation added THX Balázs Úr 2021-03-28 22:29:08 +02:00
Tobias Diekershoff d6ff1c7ef6 IT mathjax addon translation update THX Sylke Vicious 2021-03-28 18:21:53 +02: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
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
Philipp 6520bd77d9
Template Engine with Subdirectory
- Use explicit root path for template engine
- Replace "__DIR__" calls in addons with subdirectories
- Fixes local tests, where call is made out of '/' and not '/vagrant/'
2020-04-26 15:45:25 +02: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 4b6527e273
Remove deprecated App::registerStylesheet()/FooterScript() - replace with DI::page()->registerStylesheet()/FooterScript() 2019-12-27 21:55:17 +01:00
Tobias Diekershoff 08206fdcc0 Merge branch 'master' into develop 2019-01-21 10:04:26 +01:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Hypolite Petovan a30ea9b062 [various] Add exceptions to Smarty default escaping 2018-12-15 05:04:20 -05:00
Hypolite Petovan 0b8e0fa8c9 [geonames] Update README 2018-11-25 02:14:18 -05:00
Adam Magness 9079480d4a move to Renderer class
update functions calls for new Renderer class.
2018-10-31 10:55:15 -04:00
Hypolite Petovan ab571e687f [mathjax] Move settings template to separate file 2018-09-20 21:48:46 -04:00
Hypolite Petovan bdb856888d [mathjax] Add separate addon JS file
- Use new footer hook to register script files
2018-09-20 21:08:03 -04:00
Hypolite Petovan 02fe3efcdc [mathjax] Fix version number display 2018-09-20 00:30:40 -04:00
Hypolite Petovan 1917f2f0aa [mathjax] Added missing fonts 2018-09-20 00:30:31 -04:00
Hypolite Petovan 049abe9176 [mathjax] Rewrite addon
- Remove baseurl admin config
- Move script to page end
- Add new postprocess_liveupdate event listener
- Fix formatting of mathjax.php
2018-09-19 22:49:08 -04:00
Hypolite Petovan a731f1ada0 [mathjax] Add local copy of MathJax JS library 2018-09-19 22:45:43 -04:00
Hypolite Petovan 6c443aeaf0 Move addon-specific config to config/addon.ini.php 2018-07-11 22:56:52 -04:00
Hypolite Petovan 88278dbe19 [mathjax] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:39:48 -04:00
Hypolite Petovan 194d1d167d
Merge pull request #615 from abanink/5118
5118 Implement MathJax JS hook to update contents after live update
2018-06-13 16:43:56 -04:00
Pascal Deklerck 7ef81f909f Defensive code for the case when addon_hooks key does not exist 2018-06-13 21:57:59 +02:00