Commit graph

167 commits

Author SHA1 Message Date
Philipp
68046573a4
Restructure Cache to follow new paradigm 2021-10-26 22:11:06 +02:00
Michael
d20aa5f557 The legacy reshare functionality is removed 2021-10-05 18:58:35 +00:00
Hypolite Petovan
a4706e9521 Trim XML before emptiness check in Protocol\Feed::import
- Address https://github.com/friendica/friendica/issues/10791
2021-10-03 19:32:20 -04:00
Michael
9961943b73 Code Style: Replace "AS" with "as" 2021-10-03 10:34:41 +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
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
b76634ea0c
Catch TransferExceptions for HTTPClient::finalUrl() in case the headers are empty 2021-08-29 13:37:08 +02:00
Philipp
13a91e63aa
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
Michael
6a23b17c95 Respect the postopts values for scheduled posts 2021-08-06 18:49:17 +00:00
Michael
ec3eead034 Don't set the pconfig values on manual mode 2021-08-03 05:39:04 +00:00
Michael
afe3c8954c Simplified functionality to load the profile in the sidebar 2021-07-23 12:39:37 +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
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
3deb384c54 Replace the proxify function 2021-07-05 21:35:57 +00:00
Michael
90588ddb8e Avoid proxyfying images that are removed or replaced later 2021-07-05 07:00:35 +00:00
Michael
98dd4e889a Some more contact paths 2021-06-30 18:44:41 +00:00
Michael
4b12c54345 API: photos are now directly stored as attached data and not in the body anymore 2021-05-01 15:48:19 +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
08771d96c2 Remove unused parameter 2021-03-16 07:15:20 +00:00
Michael
ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00: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
dd94fb1242 Check for bad worker priorities 2020-12-08 21:58:32 +00:00
Michael
c1d1b189f7 Cleaned code 2020-12-02 08:36:23 +00:00
Michael
6c3b1ac4bd Moved direct storage 2020-12-02 05:41:33 +00:00
Michael
b54465ba9c Directly post non mirrored feed items 2020-12-02 05:08:39 +00:00
Michael
e9fecf1541 Only delay mirrored feeds 2020-12-02 04:53:54 +00:00
Michael
b2dadf0f92 Use a combined unique index 2020-12-02 00:34:10 +00:00
Michael
425440ec24 The network doesn't matter 2020-12-02 00:29:57 +00:00
Michael
c302b7c347 Check for existing post 2020-12-02 00:20:07 +00:00
Michael
4fbd0a46b5 Reducing parameter list 2020-12-02 00:05:03 +00:00
Michael
b047d31a4f Added logging and default config value 2020-12-01 23:46:50 +00:00
Michael
2aa302c570 New class for handling delayed posts 2020-12-01 22:11:29 +00:00
Michael
b30d2c9c6b Renamed function 2020-11-30 20:59:18 +00:00
Michael
8bc799ff38 Issue 8943: Only check for too old postings for feeds 2020-11-30 20:32:56 +00:00
Michael
5b19469a4c Fix Notice: Undefined variable: publish_at 2020-11-30 18:27:02 +00:00
Michael Vogel
d0f45c4ecb Fixed function name and variable 2020-11-30 09:59:29 +01:00
Michael
6e06e0cf20 New class for delayed postings 2020-11-30 06:59:00 +00:00
Michael
cbd1ba8da2 Post delay is in seconds 2020-11-30 06:23:27 +00:00
Michael
a7e0a1f7de The maximum delay should be a day 2020-11-30 06:19:10 +00:00