Commit Graph

62 Commits

Author SHA1 Message Date
Philipp Holzer 648fadedd3
[various] Adapt BaseURL calls for new UriInterface 2023-02-18 21:04:47 +01:00
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Michael 7338b5de59 Don't call mod/item.php anymore 2022-11-23 06:25:28 +00: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
Michael e5842e83c7 The priority is now a class constant 2022-10-17 05:50:23 +00: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
Hypolite Petovan 9acfdb4090 [various] Convert connector_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
Hypolite Petovan b74288fa96
Merge pull request #1152 from annando/app-user
Replaced direct calls to App->user
2021-08-09 17:00:24 -04:00
Michael 08c64387d7 "getUserNickname" is now "getLoggedInUserNickname" 2021-08-09 19:49:06 +00:00
Michael 9cf43bb85b Changed function name 2021-08-09 15:29:26 +00:00
Michael e823a1bd05 Replaced direct calls to App->user 2021-08-08 11:17:08 +00:00
Michael 20bf1c4f24 Changed parameter for delayed posts 2021-08-06 18:52:44 +00:00
Michael f878d2e463 Replaced argv/argc with replacement functions 2021-07-25 12:29:43 +00:00
Michael dca9bb3844 We don't need to store the extid 2020-12-13 21:02:19 +00:00
Michael Vogel 6cad529c38 IFTTT: Set the extid, removed legacy Facebook stuff 2020-12-13 19:42:45 +01:00
Michael fb6207f01f IFTTT/Twitter: Support delayed posts 2020-12-13 13:07:12 +00: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
Hypolite Petovan b5f14cb559 [various] Replace *_page_info function calls with Content\PageInfo equivalent 2020-07-14 10:17:17 -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 346bf125a7
Move PConfig::delete() to DI::pConfig()->delete() 2020-01-18 16:56:45 +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
Philipp Holzer 9b93c5ee60
Remove get_app() in favor of DI::app() 2020-01-04 23:42:00 +01:00
Philipp Holzer 335fcf670f
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get() 2019-12-27 21:55:17 +01:00
Tobias Diekershoff 08206fdcc0 Merge branch 'master' into develop 2019-01-21 10:04:26 +01:00
Tobias Diekershoff 2d6a56e5e8
Merge pull request #786 from MrPetovan/bug/6334-get-app-namespace
[various] Escape global function get_app calls
2018-12-29 11:52:06 +01:00
Hypolite Petovan 62c43ea2f8 [various] Escape global function get_app calls 2018-12-27 21:03:17 -05:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Hypolite Petovan 85b5715a44 Remove require include/* 2018-12-26 00:36:43 -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 1ac32c622e Functions moved to Strings class
implement functions from Strings class
2018-11-09 07:09:15 -05:00
Adam Magness c9a8974165 Logger Levels
update logger levels
2018-10-30 09:48:09 -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
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Michael 19abd1a17e Some removed notices 2018-08-29 18:04:03 +00:00
Michael Vogel 46222ae13b Fix the hash generation in IFTTT (#702) 2018-08-14 03:53:30 +02:00
Roland Häder c8371bc521 Rewrite: (#680)
- replace usage of deprecated NETWORK_* with Protocol::*
2018-08-11 22:40:48 +02:00
Hypolite Petovan f4ad0d3721 Rename DBA::is_result to DBA::isResult 2018-07-23 15:02:59 -04:00
Hypolite Petovan 332ea212b5 Rename DBM method calls to DBA method calls 2018-07-23 15:02:10 -04:00
Hypolite Petovan 57505bdf82 [multiple] Rename Friendica\Database\dba to Friendica\Database\DBA 2018-07-20 08:20:48 -04:00
Tobias Diekershoff 9463696159
Merge pull request #650 from annando/post-type
We don't store the "type" parameter anymore
2018-07-20 12:53:12 +02:00
Hypolite Petovan abc76a42ae [multiple] Move \dba to \Friendica\Database\dba
- Updated use statement lists
2018-07-19 22:18:02 -04:00
Michael cdd510909f We don't store the "type" parameter anymore 2018-07-18 05:49:41 +00:00
Michael e1714de8ad New function for generating item URIs 2018-06-16 06:46:25 +00:00
Adam Magness f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness 0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00