Commit graph

424 commits

Author SHA1 Message Date
Michael
f1d3f60499 Remove "fcontact" from suggestions 2021-10-17 20:19:02 +00:00
Hypolite Petovan
6db211568a Remove most calls to date_default_timezone_* calls
- It was wrongly used to set the node-wide ot user-specific timezone
- It is now fully managed from the App object
- Add a static variable to DateTimeFormat maintain the convenient local() method
2021-10-03 13:42:31 -04:00
Michael
763e264196 More "q" calls have been replaced 2021-10-03 15:02:20 +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
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
2356221aba
Fixup HTTP headers for httpClient requests 2021-08-25 14:22:43 +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
8e074a5fe4 Simplify event storing 2021-08-10 10:24:14 +00:00
Michael
2030691f9f Improved event storing / improved performance when fetching events 2021-07-18 15:05:46 +00:00
Michael
3a5523820c Legacy DFRN transport layer is removed 2021-07-15 13:28:32 +00: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
e72e74f7db Fixed function name 2021-07-08 15:44:55 +00:00
Michael
f29bd23ea8 New function to convert BBCode for a given ID 2021-07-08 13:47:46 +00:00
Michael
37a76e70ef Providing the uri-id to "convert" when possible 2021-07-06 12:34:48 +00:00
Michael
98dd4e889a Some more contact paths 2021-06-30 18:44:41 +00:00
Michael
916c51c630 Fix fatal errors / added some API todo 2021-05-17 19:20:31 +00:00
Tobias Diekershoff
af1896f4d2
Merge pull request #10231 from MrPetovan/bug/warnings
Make birthday time comparison 32-bit safe in Protocol\DFRN
2021-05-13 17:58:59 +02:00
Michael
74f3c885bf use "random_bytes" instead of "openssl_random_pseudo_bytes" 2021-05-11 13:12:12 +00:00
Hypolite Petovan
aeef4960a1 Make birthday time comparison 32-bit safe in Protocol\DFRN
- Address https://github.com/friendica/friendica/issues/10168#issuecomment-838221234
2021-05-11 08:10:25 -04:00
Michael
95f741c427 Improve data of shared posts 2021-05-07 06:26:41 +00:00
Michael
c840ee82af Avoid empty posts on Diaspora 2021-04-30 22:35:16 +00:00
Michael
639d5373e0 Add atachments to body for Diaspora and DFRN 2021-04-29 21:05:22 +00:00
Michael
688e056ad1 "post-reason" ends double usage of "post-type" 2021-04-07 06:02:06 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael
9e87dcb25b We now set the protocol in "gserver" on receiving as well 2021-03-10 22:31:33 +00:00
Michael
ef0400fc19 "uri-id" instead of "uri" or "id" 2021-01-27 10:01:42 +00:00
Hypolite Petovan
82e094179c Rename notify classes according the feature name, not the table name 2021-01-24 09:33:23 -05:00
Michael
d2ea3eabfb Replace legacy file/category handling 2021-01-21 07:16:41 +00:00
Michael
487c2df9ca The "tag" field is not used anymore 2021-01-19 10:30:45 +00:00
Michael
f57ad05736 Added missing parameter 2021-01-17 21:10:16 +00:00
Michael
4157db5473 "item" is replaced by "post-view" / postupdate check added 2021-01-17 20:32:13 +00:00
Michael
68502daed0 New post class in protocol and worker classes 2021-01-16 04:14:58 +00:00
Michael
fd562677fd Use "===" 2021-01-10 21:30:30 +00:00
Michael
8894f14b4e Set post type if relay post was received via DFRN 2021-01-09 18:17:49 +00:00
Michael
2987070d93 Improved direction and protocol detection 2021-01-09 12:59:30 +00:00
Michael
965374596f Avoid dropping of incoming DFRN messages 2020-12-10 07:22:49 +00:00
Michael
1f1697222b Don't create the parent during a deletion 2020-12-06 09:54:34 +00:00
Michael
7ab63d2106 Store the protocol of the received message 2020-11-29 09:01:51 +00:00
Michael
1d4be7b01f Fixes notice "Undefined index: parent-uri" 2020-11-28 10:17:55 +00:00
Michael
818c064c0a The notifications parameters are now simplified 2020-11-25 19:56:39 +00:00
Hypolite Petovan
5ce8cc24de Clarify parameter type in DFRN::mail 2020-11-14 10:08:51 -05:00
Hypolite Petovan
0f2a5daf09 Replace confusing uses of item.parent-uri with expected item.thr-parent 2020-11-14 10:08:50 -05:00
Michael
43749c3069 The "attach" field is now deprecated 2020-11-07 08:22:59 +00:00
Michael
d383f49f1e The "[attach]" field is replaced by the "post-media" table 2020-11-06 04:14:29 +00:00