Commit graph

403 commits

Author SHA1 Message Date
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
Michael
29ec0bb98d Replaced debug log 2020-11-04 13:05:07 +00:00
Michael
e5704eb05a Fix: Posts sent to forums had been rejected 2020-11-04 08:57:21 +00:00
Michael
8485c8c357 The post-media table now works with the "attach" field as well 2020-10-31 13:26:08 +00:00
Philipp
069753416d
Revert "Fix IHTTPResult::getHeader/s() - Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s() - Fix functionality at various places - Adapt CurlResultTest"
This reverts commit 933ea7c9
2020-10-11 23:26:03 +02:00
Philipp
933ea7c9ce
Fix IHTTPResult::getHeader/s()
- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places
- Adapt CurlResultTest
2020-10-10 23:11:30 +02:00
Hypolite Petovan
2bfd9851d3
Merge pull request #9314 from annando/suggestions
New function for contact suggestions
2020-10-03 13:32:21 -04:00
Michael
9b1918c650 Don't accept ignored author via relay 2020-10-02 03:35:22 +00:00
Michael
648e8a00a4 Use the right table ... 2020-09-30 19:05:19 +00:00
Michael
e26d73393e New "relay" class / check of incoming popsts from DFRN and Diaspora 2020-09-30 17:37:46 +00:00
Michael Vogel
777ece84cf
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-09-29 05:56:57 +02:00
Michael
fb50a43ac0 New function for contact suggestions 2020-09-28 21:33:40 +00:00
Hypolite Petovan
a705db27c2 Fix wrong expected DB field name in DFRN::fetchauthor 2020-09-16 22:45:51 -04:00
Hypolite Petovan
c767325257
Merge pull request #9196 from annando/queryValue
New function XML::getFirstValue to fetch the first value
2020-09-13 18:25:26 -04:00
Michael
34257e78ca Function renamed 2020-09-13 19:40:38 +00:00
Michael
5a41cd437d Add additional direction types 2020-09-13 14:15:28 +00:00
Michael
20b25a1acd New function "queryValue" 2020-09-12 19:23:23 +00:00
Michael
5daec27cfb Issue 9094: Prevent announces via DFRN 2020-08-30 10:09:54 +00:00
Michael
22027f8451 Fix malformatted tag scheme 2020-08-22 05:59:19 +00:00
Hypolite Petovan
78f6ea94bb Check for parent existence in Protocol\DFRN
- Address https://github.com/friendica/friendica/issues/8877#issuecomment-660263687
2020-08-20 09:34:37 -04:00
Michael
62ce87dfe6 Fixing processing forum posts 2020-08-09 22:46:18 +00:00
Michael
f09d9bc9cc Remove url caching, locking cleanup 2020-08-06 18:53:45 +00:00