Michael
d75cd8a00a
The GNU-Social import is removed
2022-12-21 22:21:22 +00:00
Michael
7d51fa47d5
Issue 12345: No link preview on DFRN posts
2022-12-08 05:49:25 +00:00
Michael
3c169b534e
Improved handling of native quotes
2022-10-29 22:11:39 +00:00
Roland Häder
26e0469de7
Merge branch 'develop' into rewrite/gravity-constants
2022-10-18 16:34:40 +02:00
Michael
62a0d55fc8
The friendica constants have been moved to the app class
2022-10-17 10:37:48 +00:00
Roland Häder
da66730e4f
Rewrite:
...
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:
From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````
To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
Michael
f7b85092b0
Some more changed log levels
2022-08-31 05:01:22 +00:00
Michael
ceb88c10e6
Warnings/Errors reduced - improved relay processing
2022-08-27 08:08:58 +00:00
Michael
1aacff4ce1
Fix fatal error
2022-07-28 19:35:25 +00:00
Michael
86105635ca
Improved message handling / new activity relay handling
2022-07-27 17:39:00 +00:00
Roland Häder
cb7f52cc6a
Fixed:
...
- $item is the proper array here,
- see https://github.com/friendica/friendica/issues/11632#issuecomment-1186119430
2022-07-16 12:19:09 +02:00
Hypolite Petovan
91f5a7cc6b
Convert potential spaces in Memcache(d) key names
...
- Address https://github.com/friendica/friendica/issues/11630#issuecomment-1166475036
- Add test for space in cache keys
2022-06-26 07:30:30 -04:00
Roland Häder
fd8f4269ff
Reformatted code
2022-06-23 17:30:17 +02:00
Roland Häder
636fef26f1
Maybe this fixes missing array element
2022-06-23 07:40:49 +02:00
Roland Häder
7eefb9aed8
Changed:
...
- empty() is maybe superflous here, still I would prefer a code style that is
written explicitly and not rely on "magic casting"
2022-06-22 18:57:01 +02:00
Roland Häder
b996712ef7
Images::getInfoFromURL[Cached]() will both return empty arrays on error and
...
that needs to be reflected here, too.
2022-06-22 17:20:59 +02:00
Roland Häder
101cd2dd10
Changes:
...
- added some documentation
- fixed some documentation
- changed more double-quotes to singl
2022-06-22 16:14:14 +02:00
Roland Häder
74ab7648c6
Changes:
...
- addHubLink()'s 2nd parameter is DOMElement
- added more type-hints
- converted double-quotes to single
2022-06-22 14:36:46 +02:00
Roland Häder
abd0d9f3fd
Changes
...
- added type-hints
- added some documentation
- added default: block for unknown 'rel' value
- changed return type void to empty array
2022-06-22 14:36:45 +02:00
Philipp
e299fc67c8
Introduce "accept_header" as specific argument to the http client
2022-04-02 21:16:53 +02:00
Philipp
73c3b21665
Move ACCEPT constants to own "enum" class
2022-04-02 20:26:11 +02:00
Michael
1fae0123ec
Some more "accept" parameters are added
2022-03-29 06:24:20 +00:00
Michael
311c1fdd81
Avoid warning and notice
2022-02-20 05:14:36 +00:00
Hypolite Petovan
c376081d0d
Relax comparison with pconfig system.accept_only_sharer value
...
- DI::pConfig()->get returns a string value, not an integer
- Removed superfluous default values now that we aren't doing strict type checking
2022-02-18 09:32:30 -05:00
Hypolite Petovan
99979019bf
Expand system.accept_only_sharer pconfig value to include previous behavior with likes
2022-02-15 15:54:36 -05:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Michael
eb1b2256a0
Removed and replaced deprecated functionalities
2021-11-07 14:00:47 +00:00
Philipp
409d909d0f
Restructure HTTPClient for new paradigm
2021-10-28 20:01:03 +02:00
Philipp
68046573a4
Restructure Cache to follow new paradigm
2021-10-26 22:11:06 +02:00
Michael Vogel
81c9d8d479
Apply suggestions from code review
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-25 21:27:21 +02:00
Michael
f6faae5bb1
Replace deprecated log
calls
2021-10-20 18:53:52 +00:00
Michael
ab17fbf6b2
Unneeded "ProxyUtils" renamed to "Proxy"
2021-10-05 20:18:19 +00:00
Michael
d20aa5f557
The legacy reshare functionality is removed
2021-10-05 18:58:35 +00:00
Hypolite Petovan
7cdd2d1336
Refactor User::getAvatarUrlForId into getAvatarUrl
...
- Use user/owner array as parameter instead of uid
- Rename $profile variables to $owner when it's the result of User::getOwnerDataByNick
- Replace Module\Photo::stripExtension with native pathinfo() calls
2021-10-02 19:06:25 -04:00
Michael
865006682a
Merge remote-tracking branch 'upstream/develop' into user-contact
2021-10-02 11:57:43 +00:00
Hypolite Petovan
9d77958247
Ensure parent exists before adding reply to elements in OStatus and Feed
...
- Address https://github.com/friendica/friendica/issues/10474#issuecomment-927118628
2021-09-26 08:15:07 -04:00
Michael
3dddea96fa
Merge remote-tracking branch 'upstream/2021.09-rc' into user-contact
2021-09-18 20:27:24 +00:00
Hypolite Petovan
24ecf5954c
Merge pull request #10721 from annando/issue-10720-avatar
...
Issue 10720: Use different path scheme for user avatars
2021-09-18 09:30:08 -04:00
Philipp
644f312896
Fix various Notices
2021-09-18 12:51:06 +02:00
Michael
a91e3f5dbc
Issue 10720: Use different path scheme for user avatars
2021-09-17 18:36:20 +00:00
Michael
9c14eb0c6b
Use centralized function to update contact entries
2021-09-10 18:21:19 +00:00
Philipp
13a91e63aa
Rename DI::httpRequest() into DI::httpClient()
2021-08-25 21:54:54 +02:00
Philipp
505100bdd7
Rename HTTPRequestOptions to HTTPClientOptions
2021-08-25 21:45:15 +02:00
Philipp
0cafa871f1
Use HTTPRequestOptions constants for HTTPClient::get()
2021-08-25 21:31:30 +02:00
Philipp
2356221aba
Fixup HTTP headers for httpClient requests
2021-08-25 14:22:43 +02:00
Philipp
803c1d71de
Fix IHTTPResult::getHeader()
...
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2021-08-20 19:58:42 +02:00
Philipp
dee1899628
Fix IHTTPResult::getHeader/s()
...
- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places - Adapt CurlResultTest
2021-08-20 19:58:42 +02:00
Michael
07d2dfcd60
Some more "convertForUriId" replacements
2021-07-10 12:58:48 +00:00
Michael
d8974c9a2a
Function renamed to better reflect the functionality
2021-07-09 06:29:24 +00:00
Michael
f29bd23ea8
New function to convert BBCode for a given ID
2021-07-08 13:47:46 +00:00