Commit graph

2264 commits

Author SHA1 Message Date
Michael
f37e808e02 Fix test 2021-07-03 15:47:11 +00:00
Michael
c72abe48a8 Fixed fetching private local images 2021-07-03 15:29:27 +00:00
Hypolite Petovan
dfd711d111
Merge pull request #10450 from annando/discoverable
AP: Support "discoverable"
2021-06-30 21:16:11 -04:00
Michael
e2dc36a691 AP: Support "discoverable" 2021-06-30 05:40:11 +00:00
Michael
ec49afa116 Guess the mimetype in advance 2021-06-30 04:28:03 +00:00
Michael
19aef93560 Unified avatar paths 2021-06-29 20:26:58 +00:00
Michael
9edc75e29d Improved avatar handling (timestamps for caching) 2021-06-29 06:15:45 +00:00
Michael
2f06d271bb Use a default value for "uid" 2021-06-28 13:58:06 +00:00
Michael
a1a584f444 External resources are cacheable 2021-06-28 13:09:00 +00:00
Michael
8ac9b37176 Merge remote-tracking branch 'upstream/2021.06-rc' into proxy2 2021-06-28 10:11:41 +00:00
Michael
6f350c1e59 Use signed requests for fetching private images 2021-06-28 10:08:51 +00:00
Michael
7e200174d6 Replace attachment links in the body 2021-06-28 04:53:20 +00:00
Hypolite Petovan
faac5b71ce
Merge pull request #10437 from annando/reduce-proxy
Reduce the usage of the "proxifyUrl" function
2021-06-27 22:41:14 -04:00
Hypolite Petovan
005ba8c388
Merge pull request #10435 from nupplaphil/feat/di_cleanup
Add constructor injection for ExternalResource Storage
2021-06-27 21:02:03 -04:00
Michael
b46b7b08ba Reduce the usage of the "proxifyUrl" function 2021-06-27 11:50:10 +00:00
Philipp
b5acc07eaf
Add todo for develop phase 2021-06-26 21:17:10 +02:00
Michael
de2898988b Inverted condition 2021-06-26 11:31:37 +00:00
Michael
258d5fa695 Issue 10433: Only notify when there had been changes 2021-06-26 11:29:58 +00:00
Philipp
f1f3fa7216
Add constructor injection for ExternalResource 2021-06-25 20:13:50 +02:00
Michael Vogel
d9d30d9555
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-06-25 20:00:59 +02:00
Michael
ed4a18f079 Function to return the avatar and header path for a given contact id 2021-06-25 17:03:35 +00:00
Michael
ee25246e41 Standards 2021-06-24 17:37:50 +00:00
Michael
9276f6823b New class for external resources 2021-06-24 17:30:22 +00:00
Michael
96809b3fdd API: Improved avatar handling 2021-06-24 07:08:38 +00:00
Michael
d5e5a6ea23 Fix fatal error: Uncaught TypeError: Argument 1 passed to Friendica\Model\Post\Media::existsByURIId() must be of the type int, null given 2021-06-21 03:53:53 +00:00
Michael
7dd5ea42e9 An empty user id does not have children 2021-06-19 06:27:25 +00:00
Michael
fe07dc828b Fix noscrape publishing and pulling, added header 2021-06-17 11:23:32 +00:00
Michael
ebd4f59d02 Merge remote-tracking branch 'upstream/2021.06-rc' into public-timeline 2021-06-16 21:01:20 +00:00
Michael
11d2440425 New functions for the post-view view 2021-06-16 10:16:01 +00:00
Michael
5211c12b0c Merge remote-tracking branch 'upstream/2021.06-rc' into public-timeline 2021-06-16 05:58:11 +00:00
Michael
3796e13142 Force a directory update if previously published 2021-06-16 05:23:43 +00:00
Michael
1ced04e54c Merge remote-tracking branch 'upstream/2021.06-rc' into profile-publish 2021-06-16 05:01:16 +00:00
Michael
c17f23423f Chec for missing profile first 2021-06-15 22:01:30 +00:00
Michael
e994d02791 Add a profile entry if missing 2021-06-15 21:39:28 +00:00
Michael
0ab24510ef Centzralized functionality to update and publish profile changes 2021-06-15 11:12:44 +00:00
Michael
d348e4afca Possibly fixes notice "Undefined index: private in .../src/Model/Item.php on line 3115" 2021-06-14 18:34:11 +00:00
Michael
24cc82f396 API: (hopefully) improves speed of the public timeline 2021-06-12 15:19:56 +00:00
Michael
56f07d412b Addec comments on forum delivery 2021-06-06 10:07:21 +00:00
Michael
73b0af52fb Use "self" 2021-06-06 09:24:12 +00:00
Michael
b269a2da87 Respect the "unlisted" setting for forum posts 2021-06-06 09:19:29 +00:00
Michael
e2b8d5379b Public forums are now posting unlisted 2021-06-05 18:38:21 +00:00
Michael
8a9f633ce2 Merge remote-tracking branch 'upstream/2021.06-rc' into forum-handling 2021-06-05 06:14:06 +00:00
Michael
98c314599c Don't lose ownership on forum posting 2021-06-05 06:13:10 +00:00
Michael
5df1b59bb3 Fix "Undefined index: post-type in .../src/Model/Item.php on line 2888" 2021-06-02 17:43:30 +00:00
Michael
842cbbaf09 Added notifications for follow requests 2021-06-01 21:13:16 +00:00
Michael
49459821be Renamed function 2021-06-01 14:23:12 +00:00
Michael
3f0937dd42 API: Show activity notifications 2021-06-01 05:51:03 +00:00
Hypolite Petovan
d99286640d
Merge pull request #10348 from annando/fix-diaspora-comment
Fix commenting on mobile to Diaspora
2021-05-31 19:27:53 -04:00
Michael
be7a01f086 Fix commenting on mobile to Diaspora 2021-05-31 19:39:50 +00:00
Hypolite Petovan
52cf924558 Check for post-type key existence in Model\Item::addVisualAttachments
- Address https://github.com/friendica/friendica/issues/10169#issuecomment-844324800
2021-05-31 08:29:50 -04:00
Hypolite Petovan
302070875c Ensure nodeinfo-provided protocols are strings in Model\GServer::parseNodeinfo2
- https://github.com/friendica/friendica/issues/10168#issuecomment-828281803
2021-05-31 00:47:03 -04:00
Philipp
bdc2cd000b
Update avatar after user creation 2021-05-30 20:47:21 +02:00
Michael
2df14fab3b Ensure that the public contact exists when a user is created 2021-05-30 12:04:26 +00:00
Michael
6f730bd671 Add relevant link after media links had been removed 2021-05-30 06:13:20 +00:00
Michael
0249048534 More logging for the contact discovery 2021-05-29 17:24:50 +00:00
Michael
b28acc7dad Improved logging for local probing, avoid worker fork 2021-05-29 11:11:26 +00:00
Michael
c6a56985a8 Changed comments 2021-05-26 18:15:07 +00:00
Michael
016911a20c Setting the post reason and causer 2021-05-26 14:21:28 +00:00
Michael
785f8124ed Issue 10306: Improve local delivery 2021-05-26 09:24:37 +00:00
Michael
09f29cd577 Avoid notices because of empty fields 2021-05-25 13:11:23 +00:00
Michael
da8d5f5015 Issue 9926: Limit the length of data to store in the apcontact table 2021-05-24 19:44:24 +00:00
Hypolite Petovan
a24febb8b6
Merge pull request #10283 from very-ape/fix-message-button
Fix message button using a more targeted approach.
2021-05-23 18:49:21 -04:00
very-ape
7776c5f690 Implement code changes from review. 2021-05-23 13:25:25 -07:00
Tobias Diekershoff
0ca929dccd
Merge pull request #10304 from annando/fix-emptymissing-photos
Fix missing media on posts to Mastodon
2021-05-23 15:34:34 +02:00
Michael
36c5e360f6 Fix missing media on posts to Mastodon 2021-05-23 13:29:25 +00:00
Michael
b7a7ae58e9 Issue 10232: Improved search for embedded media links 2021-05-23 12:35:05 +00:00
Michael Vogel
d00a4eacdc
Update src/Model/Mail.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-05-23 07:37:17 +02:00
very-ape
b2bc911eb2 Merge branch 'fix-message-button' of https://github.com/very-ape/friendica into fix-message-button 2021-05-22 15:32:08 -07:00
very-ape
ceb409dae8 Replace $contact with $profile_contact in sidebar function. 2021-05-22 15:30:46 -07:00
Michael
c18cbe95a6 Fix inserting mails 2021-05-22 18:20:11 +00:00
Michael
6fe916a390 API: improved mail handling 2021-05-22 13:37:04 +00:00
Michael
0c21588ab9 Don't delete local tombstone contacts 2021-05-22 08:25:30 +00:00
very-ape
bd9a469392
Merge branch '2021.06-rc' into fix-message-button 2021-05-21 23:40:49 -07:00
very-ape
34eb81a187 Don't retrieve a contact record we've already been given. 2021-05-21 22:49:35 -07:00
Michael
9d4b29d9c0 Fix for empty profile pages 2021-05-22 05:34:10 +00:00
very-ape
c22ef3e79e Fix message button using a more targeted approach. 2021-05-21 14:28:01 -07:00
Hypolite Petovan
26d3f5433b
Merge pull request #10280 from very-ape/fix-message-button
Fix Message button.
2021-05-21 14:57:28 -04:00
very-ape
97a9ec4e40 Bug fix: last commit results in logged-in user's contacts being displayed on contact profile sidebar. 2021-05-21 11:38:50 -07:00
very-ape
93926e99b8 Use getByNickname as suggested in code review. 2021-05-21 10:15:32 -07:00
very-ape
fe52719d37 Fix Message button. 2021-05-20 23:30:42 -07:00
Hypolite Petovan
315dddbcb9
Merge pull request #10277 from very-ape/authenticate-hook
Bug fix: allow authentication addons to create users again.
2021-05-20 15:05:55 -04:00
very-ape
e2d93b57da
Update src/Model/User.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-05-20 11:54:30 -07:00
very-ape
d66f1e30ae Apply suggestions from code review
Also clean up some code, make it less needlessly verbose.

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-05-20 11:35:33 -07:00
Hypolite Petovan
0e368c4ba4 Fix display of RTL tags 2021-05-20 08:39:36 -04:00
very-ape
c89241dbd8 Bug fix: add missing changes. 2021-05-20 00:19:09 -07:00
very-ape
9ab57de356 Bug fix: allow authentication addons to create users again. 2021-05-20 00:16:08 -07:00
Hypolite Petovan
09cf32926d
Merge pull request #10275 from very-ape/authenticate-hook
Move the 'authenticate' hook deeper into the authentication flow so t…
2021-05-19 16:51:15 -04:00
very-ape
9ddaabc22d Move the 'authenticate' hook deeper into the authentication flow so that password authentication addons are consulted whenever a user's password needs confirming. 2021-05-19 13:11:31 -07:00
Michael
916c51c630 Fix fatal errors / added some API todo 2021-05-17 19:20:31 +00:00
Michael
48d703d278 Fiy missing "in" 2021-05-17 06:03:14 +00:00
Michael
2e6cf056c1 Whitespace removed 2021-05-17 06:01:47 +00:00
Michael
cb7206d92f Reverted yesterdays panic coding 2021-05-17 05:59:41 +00:00
Hypolite Petovan
a44cf44708
Remove duplicated conditions, improve variables names in Model\APContact 2021-05-16 16:10:22 -04:00
Michael
6f2fcd2859 Don't use compacted data when parsing accounts 2021-05-16 16:41:07 +00:00
Michael
dd16bccbc8 Fix for sending content via connectors 2021-05-16 14:30:15 +00:00
Michael
14c1f7167a API: We now can upload photos 2021-05-16 09:56:02 +00:00
Michael
45c2cc3887 API: Account actions 2021-05-14 21:51:32 +00:00
Michael
5219080149 Fix url comparism 2021-05-13 15:01:35 +00:00
Michael
7975bc244d Refine OAuth flow 2021-05-13 11:26:56 +00:00
Michael
4476634f6c Fix list of accounts 2021-05-11 23:39:08 +00:00