Commit Graph

30 Commits

Author SHA1 Message Date
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Hypolite Petovan f0baf18339 [startpage] Remove deprecated call to strlen
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1321796513
2022-11-24 14:04:55 -05:00
Philipp Holzer 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
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 Holzer f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
Philipp Holzer 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
Philipp Holzer a26bfe79e9
Remove unused `use` statements & remove PConfig class 2020-01-18 17:02:59 +01:00
Philipp Holzer febc835a2d
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:49 +01:00
Philipp Holzer ea3a9052d8
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:56 +01:00
Hypolite Petovan d3717045f7 [various] Replace remaining $a->page by DI::page() 2019-12-30 15:53:43 -05:00
Hypolite Petovan 905823ea63 Update obsolete App::getBaseUrl calls to DI::baseUrl 2019-12-29 21:55:10 -05:00
Philipp Holzer 0e264465ac
Split goaway to System::externalRedirectTo() and App->internalRedirect() 2019-02-04 01:50:39 +01:00
Philipp Holzer e825cbc7a1
renamed System::redirectTo to System::redirect 2019-02-04 01:50:30 +01:00
Philipp Holzer a1254b4c85
wrong indent 2019-02-04 01:50:17 +01:00
Philipp Holzer 3d3a11fa46
Replaced goaway() with System::redirectTo() 2019-02-04 01:50:15 +01:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Philipp Holzer d197bf4c2b
Bugfix - Replacing goaway() 2018-10-24 20:09:36 +02:00
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Michael 7a29893ecb some more notices and some code beautification 2018-08-08 06:24:47 +00: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 575a285951 Use Login module
- Simplify goaway calls
2017-12-31 21:04:02 -05:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Michael Vogel 503ec7d072 Removed the word "Settings" from the settings. This information is redundant. 2014-03-16 20:50:36 +01:00
Tobias Diekershoff 5c5c23acb0 wording submit -> save settings 2013-11-19 14:10:27 +01:00
friendica 3926f5582d startpage addon 2012-05-22 18:05:39 -07:00