Michael
c840ee82af
Avoid empty posts on Diaspora
2021-04-30 22:35:16 +00:00
Michael
795761ee89
Attachments are added to OStatus as well
2021-04-29 21:16:04 +00:00
Michael
8685e5ca32
Reworked media handling
2021-04-26 06:50:12 +00:00
Michael
5a00902e11
Avoid HTML parsing of an empty body
2021-04-10 05:46:19 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
b892db0cf3
All item selects are now done by the post class
2021-01-19 07:23:01 +00:00
Michael
2b1d0b9db8
"selectForUser" and "" selectFirstForUser" is now moved to Post
2021-01-16 22:37:27 +00:00
Michael
68502daed0
New post class in protocol and worker classes
2021-01-16 04:14:58 +00:00
Michael
2987070d93
Improved direction and protocol detection
2021-01-09 12:59:30 +00:00
Michael
0eb4a600b0
Delay unprepared posts
2020-12-13 12:47:49 +00:00
Michael
a68810301a
Fix structure error
2020-11-29 11:43:07 +00:00
Michael
7ab63d2106
Store the protocol of the received message
2020-11-29 09:01:51 +00:00
Michael Vogel
f69c043bec
Update src/Protocol/OStatus.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-11-18 18:07:20 +01:00
Michael
a1dcbedc6f
Fix Notice: Undefined variable: valid in /src/Protocol/OStatus.php on line 526
2020-11-18 13:47:29 +00:00
Hypolite Petovan
283b70928d
Remove top-level parent check from Protocol\OStatus
...
- It's done in Item::insert instead
- Address part of https://github.com/friendica/friendica/issues/9252#issuecomment-729171051
2020-11-17 17:54:07 -05:00
Hypolite Petovan
2e7c505ac0
Revert wrong item.thr-parent field usage in Protocol\OStatus
2020-11-14 10:08:52 -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
8485c8c357
The post-media table now works with the "attach" field as well
2020-10-31 13:26:08 +00:00
Philipp
a6fc9cd32e
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3)
2020-10-18 20:56:31 +02: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
0449077126
Revert "Fix IHTTPResult::getHeader() - Now returns a string array, like expected - Fix usages - Fix dataset"
...
This reverts commit 80bd0a4d
2020-10-11 23:25:40 +02:00
Philipp
80bd0a4d5a
Fix IHTTPResult::getHeader()
...
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2020-10-10 23:11:30 +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
Michael
7b13b7e9c8
Reworked "getIdForURL"
2020-08-07 13:49:59 +00:00
Michael
f09d9bc9cc
Remove url caching, locking cleanup
2020-08-06 18:53:45 +00:00
Michael
603b1f965d
Fix wrong value for parameter
2020-08-05 12:53:25 +00:00
Michael
0c73531da1
Poco and gcontact (mostly) removed
2020-08-01 16:15:18 +00:00
Michael
9b86f40a5f
Store avatar cache fields only when needed
2020-07-25 11:48:52 +00:00
nupplaPhil
7029012f27
Rename "HTTPRequest::curl()" to HTTPRequest::get()
2020-07-21 03:14:01 -04:00
nupplaPhil
2973ed6448
Make "HTTPRequest::curl" dynamic
2020-07-21 03:01:12 -04:00
nupplaPhil
5344efef71
Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest"
2020-07-21 02:56:10 -04:00
Hypolite Petovan
25b3fa83fc
Rename PageInfo::appendToBody to searchAndAppendToBody
2020-07-17 19:15:43 -04:00
Michael
c987785146
Use "contact-type" instead of "account-type" to avoid notices
2020-07-17 06:58:39 +00:00
Michael
ecf6018b89
Atom feed generation is moved to the feed class
2020-07-17 04:40:20 +00:00
Michael
70699878ee
Replaced more calls of "Probe::uri" with "Contact::getByURL"
2020-07-16 19:22:38 +00:00
Michael
b0086a49e2
in "getidforurl" "no update" is now "update"
2020-07-15 21:08:42 +00:00
Hypolite Petovan
631095eefd
Merge pull request #8883 from annando/replace-getdetails
...
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
2020-07-15 13:49:27 -04:00
Michael
fc0312451d
Changed parameter order for getByURL
2020-07-15 17:06:48 +00:00
Hypolite Petovan
3e25fc3a72
Replace *_page_info function calls with Content\PageInfo equivalent
2020-07-14 10:15:04 -04:00
Michael
0100e0df84
Some more invalid feed elements
2020-07-11 19:11:35 +00:00
Michael
b107a4984e
Make feeds validate
2020-07-11 18:54:08 +00:00
Michael
fb18325b6b
Don't check the date on regular feeds
2020-07-11 16:29:18 +00:00
Hypolite Petovan
50d05cec83
Ensure url property of Probe::uri result is used authoritatively
...
- Some profile URLs aren't canonical and need to be updated during probe
2020-06-26 12:52:39 -04:00
Michael
a0ee12aade
Fix notice "Undefined index: forum"
2020-06-26 05:29:00 +00:00
Hypolite Petovan
a83681e93a
Use Contact::getDetailsByURL instead of custom query in Protocol\OStatus
...
- Address part of https://github.com/friendica/friendica/issues/8475#issuecomment-646457104
2020-06-19 07:10:39 -04:00
Michael
0acb5d4558
"parent = id" is replaced with gravity check
2020-05-28 16:02:36 +00:00
Michael
973abb6196
Replace "id = parent" checks with "gravity" checks
2020-05-27 12:19:06 +00:00
Michael
0cf517ad76
Use constants for the BBCode modes
2020-05-16 16:28:15 +00:00