Commit Graph

37 Commits (8d2ddd8985113b59586e7898859d1fd6db93eb7c)

Author SHA1 Message Date
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
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
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
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20: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 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 88278dbe19 [mathjax] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:39:48 -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
Pascal Deklerck d48f0010dd Another code standards update for mathjax add-on changes (5118) 2018-06-13 09:09:33 +02:00
Pascal Deklerck fd894984cf Code standards update for mathjax add-on changes (5118) 2018-06-13 09:06:14 +02:00
Pascal Deklerck b5fe8d61dd 5118 Implement MathJax JS hook to update contents after live update 2018-06-07 22:37:40 +02:00
Tobias Diekershoff 108894f196 fixing mathjax addon 2018-04-10 19:22:32 +02: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
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Tobias Diekershoff 6170f0fd69 inflate/deflate MathJax settings 2013-12-01 11:37:51 +01:00
Tobias Diekershoff 5c5c23acb0 wording submit -> save settings 2013-11-19 14:10:27 +01:00
Tobias Diekershoff 1b250fad73 moved my profile 2013-06-14 19:40:10 +02:00
Tobias Diekershoff fa0390bdd1 fix the submit button 2013-06-01 08:53:15 +02:00
Zach Prezkuta c12542ef96 revert addon Smarty3 templates to non-variable-based includes 2012-12-25 13:25:09 -07:00
Zach Prezkuta 3da6f1471c update addons to support Smarty3 2012-12-22 13:36:35 -07:00
friendica 54d98689fa small fix to mathjax. 2012-04-16 22:57:34 -07:00
Tobias Diekershoff 14716f3b12 MathJax: added the MathJax addon to the repository 2012-04-15 22:25:23 +02:00