Commit Graph

61 Commits (4a2fc7884c4315ca356efbfdf57f23a643b697a6)

Author SHA1 Message Date
Michael c22e0ae831 Fix handling of the 'private' field / reformatted code 2024-11-16 05:43:35 +00:00
Hypolite Petovan 13fd713b66 [various] Rename ICanHandleHttpResponses->getBody to getBodyString
- Depends on https://github.com/friendica/friendica/pull/13826
2024-01-12 01:16:01 -05:00
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Hypolite Petovan 2e4e7befe5 [various] Address a couple of PHP 8.1 notices
- Replace a couple of strstr calls by strpos
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1331012289
2022-11-29 19:32:56 -05:00
Michael 2de97487f3 Add native quotes to the upon posting 2022-10-29 19:37:25 -04: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
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 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
Philipp 7662d1ef1c
Fixup HTTP headers for httpClient requests 2021-08-25 14:13:08 +02:00
Michael 9eaa6a2c08 Use "convertForUriId" when possible 2021-07-10 07:40:39 +00:00
Michael 85554bb6fd Twitter: Attachments are stripped from the body / Posting connectors: Add attachments to the body 2021-05-01 08:59:14 +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
nupplaPhil 20056dc795 Make "HTTPRequest::post" dynamic 2020-07-21 03:29:21 -04:00
nupplaPhil 9640142a72 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 03:27:52 -04:00
Hypolite Petovan 5e39c8d2c2 [dwpost] Remove references to obsolete virtual field item.tag 2020-05-13 22:38:39 -04: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 2ca621a92a
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:08 +01:00
nupplaPhil 335fcf670f
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get() 2019-12-27 21:55:17 +01:00
Hypolite Petovan c2970ad6d5 [various] Replace HTML string by structured array in jot_networks hook 2019-03-24 22:44:50 -04:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -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 1af505701b Revert "update function calls"
This reverts commit b8df74beca.
2018-11-05 13:09:22 -05:00
Adam Magness b8df74beca update function calls
update function calls to new class
2018-11-05 07:47:04 -05:00
Adam Magness 7f1fda43ae Update function calls
update function calls to new names
2018-11-04 08:24:49 -05:00
Adam Magness 1a2b0b2565 Implement xml functions
implement functions moved to xml class
2018-11-03 13:16:21 -04: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 2e8d9ba39b
Bugfixing for CurlResult 2018-10-11 07:40:57 +02:00
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Michael 7f02ca32c9 And now for something complete different ... notices 2018-07-31 16:22:05 +00:00
Roland Häder 24c2f06e85
[dwpost] Cleanups:
- used type-hint `App` and no call-by-reference
- converted spaces -> tab for indenting
- DBA::isResult() used instead of empty/count/...
- added curly braces and spaces for better readability
- opening curly brace after function/method/class belongs into new line
2018-07-29 22:34:40 +02:00
Hypolite Petovan 88ca2f5a1e Remove references to include/bbcode.php 2018-02-14 22:04:06 -05:00
Hypolite Petovan 91fd77af3b Refactor bbcode() into BBCode::convert() 2018-02-14 21:43:40 -05:00
Hypolite Petovan f4e38b6ee9 Fix use statements 2018-02-14 21:43:27 -05:00
rabuzarus 476bb091b3 remove more requirements for include/datetime.php 2018-02-05 13:04:28 +01:00
Hypolite Petovan 1900da6c42 Move Temporal::convert() to DateTimeFormat::convert() 2018-02-03 11:40:39 -05:00
Hypolite Petovan b24690e8df Refactor datetime_convert() into Temporal::convert() 2018-02-03 11:40:38 -05:00
Adam Magness f151406355 Review updates
update renamed and moved functions
2018-01-27 11:23:04 -05:00
Adam Magness ca3c45101e Network was moved to src
update all function calls to use class, insert use statements and remove require_once statements
2018-01-27 08:52:02 -05:00
Adam Magness f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness 96c41e5623 Update strings
update strings to contain addon
2018-01-20 11:01:59 -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