Commit graph

289 commits

Author SHA1 Message Date
d0c44aeaaf GNU-Social import is removed 2022-12-21 22:20:34 +00:00
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
7338b5de59 Don't call mod/item.php anymore 2022-11-23 06:25:28 +00:00
2de97487f3 Add native quotes to the upon posting 2022-10-29 19:37:25 -04:00
b0eb28143a
UserSession class - Refactor addon 2022-10-20 23:51:49 +02:00
5d8129600d Replace all functions from boot.php 2022-10-19 09:47:36 -04:00
b3195504f1 The EOL constant is removed 2022-10-18 12:28:46 +00:00
592374b795 Some useless EOL removed 2022-10-17 21:00:03 +00:00
897dbb30cf Remove "notice" with new function 2022-10-17 20:17:25 +00:00
347792bf74 [various] Remove unused uid parameter in Item::newURI 2022-07-09 15:51:41 -04:00
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
04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
f7ba4848bc
Changes:
- ops, my bad that I misunderstood @MrPetovan here and maybe me having a cold :-/
- also made $contactId camel-case
2022-06-22 19:01:50 +02:00
7d171c9787
Converted more double-quotes to single 2022-06-22 19:01:45 +02:00
d39717a2d5
Converted more double-quotes to single 2022-06-22 18:19:11 +02:00
b1b26062fc
Images::getInfoFromURL[Cached]() will both return empty arrays on error and that needs to be reflected here, too. 2022-06-22 17:20:11 +02:00
82f8c14633
Move ACCEPT constants to own "enum" class 2022-04-02 21:16:21 +02:00
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
6a349e7fd9 Support for cleared boot.php 2021-11-04 20:32:16 +00:00
e61a3d02ce Assigns values in a single array 2021-10-07 18:55:49 +00:00
16d7eafd41 More replaced "q" calls 2021-10-07 05:53:16 +00:00
428c6876f0 Replacing "q" calls with "DBA" calls 2021-10-03 17:35:20 +00:00
c06fff6921
Fixed wrong index .. 2021-08-29 14:26:05 +02:00
b3014ebf06
Catch TransferExceptions for HTTPClient::finalUrl() in case the headers are empty 2021-08-29 13:37:07 +02:00
adada10eb6
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
9ad7500146 Remove the use of app function 2021-08-08 17:10:04 +00:00
e823a1bd05 Replaced direct calls to App->user 2021-08-08 11:17:08 +00:00
ee2a97fa5c Support for simple shortening 2021-07-12 14:10:38 +00:00
85554bb6fd Twitter: Attachments are stripped from the body / Posting connectors: Add attachments to the body 2021-05-01 08:59:14 +00:00
c9be3cfa7b Improved media handling 2021-04-26 12:54:40 +00:00
61d95f5302 ItemContent is replaced 2021-01-30 23:14:05 +00:00
b4644212d4 "Post" classes are now used instead of "Item" 2021-01-19 09:14:14 +00:00
1533d9a758 Addons are now using the new post functions 2021-01-17 00:00:32 +00:00
bc2058e21a Twitter: Fix display of reshared posts 2020-11-21 18:55:32 +00:00
238b972449 [various] Replace confusing uses of item.parent-uri with expected item.thr-parent 2020-11-11 09:42:28 -05:00
94b41e0859
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3) 2020-10-10 21:29:27 +02:00
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
Michael Vogel
2c69a9c359
Merge pull request #1006 from MrPetovan/task/curl_DI
Introduce "HTTPRequest" class
2020-07-25 09:50:01 +02:00
3f84caeec5 Unneeded "info" messages removed 2020-07-23 03:48:52 +00:00
nupplaPhil
19b2c8d833 Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull" 2020-07-21 03:32:23 -04:00
nupplaPhil
90193bd02b Move "HTTPRequest::finalUrl" dynamic 2020-07-21 03:31:48 -04:00
nupplaPhil
f36ca4fcf4 Move "Network::finalUrl" to "HTTPRequest" class 2020-07-21 03:31:16 -04:00
nupplaPhil
40ff1d7fda Make "HTTPRequest::fetchUrl" dynamic 2020-07-21 03:30:37 -04:00
nupplaPhil
9640142a72 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 03:27:52 -04:00
a80e9154c5 [various] Rename PageInfo::appendToBody to searchAndAppendToBody 2020-07-18 11:38:11 -04:00
b5f14cb559 [various] Replace *_page_info function calls with Content\PageInfo equivalent 2020-07-14 10:17:17 -04:00
cf6bf67fd8 [statusnet] Remove references to obsolete virtual field item.tag
- Remove tag extraction done in Item::insert
2020-05-13 22:39:33 -04:00
65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
75143e27b5
Move Config::set() to DI::config()->set() 2020-01-19 21:21:52 +01:00
1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +01:00