Commit graph

27448 commits

Author SHA1 Message Date
Michael
2350c6ab57 Replace deprecated Logger calls 2020-06-28 15:43:58 +00:00
Tobias Diekershoff
91c843608b
Merge pull request #8825 from annando/render-speed
Improve render speed by not probing for unknown contacts
2020-06-28 16:18:36 +02:00
Michael Vogel
f611c99ad7 Improve render speed by not probing for unknown contacts 2020-06-28 15:57:33 +02:00
Michael Vogel
77e0d8c7bc
Merge pull request #8821 from MrPetovan/bug/fix-item-source-route
Improve Module\Admin\Item\Source
2020-06-28 14:02:25 +02:00
Hypolite Petovan
7d726dbb0c Improve Module\Admin\Item\Source
- Use router parameter
- Accept full URLs with GUID in form
- Fix 500 error when item with guid doesn't exist
2020-06-28 07:51:17 -04:00
Tobias Diekershoff
64ba2f9b61
Merge pull request #8823 from annando/keyword-notices
Fix notice "Undefined index: keywords"
2020-06-28 11:10:37 +02:00
Tobias Diekershoff
9bce7aa08f
Merge pull request #8824 from annando/fix-coord
Fix processing of received coordinates
2020-06-28 11:08:22 +02:00
Michael
a1a9d4f657 Fix processing of received coordinates 2020-06-28 08:46:27 +00:00
Michael Vogel
30561fa483
Merge pull request #8822 from MrPetovan/bug/8709-frio-admin-site-accordion
[frio] Add missing margin above relocate form in admin site
2020-06-28 08:25:22 +02:00
Michael Vogel
713eda1dfe Empty lines removed 2020-06-28 08:23:53 +02:00
Michael Vogel
2756c3249b Fix notice "Undefined index: keywords" 2020-06-28 08:18:35 +02:00
Hypolite Petovan
4aacd6ef09 [frio] Add missing margin above relocate form in admin site 2020-06-27 18:37:02 -04:00
Michael Vogel
c852e1479c
Merge pull request #8811 from MrPetovan/task/8517-probe-mobile-twitter
Add support for mobile profile URL to core twitter probing
2020-06-27 17:32:19 +02:00
Hypolite Petovan
3b701371ea
Merge pull request #8820 from annando/fix-author-network
Fix notice "Undefined index: author-network"
2020-06-27 11:28:14 -04:00
Michael
64dc3519a4 Fix notice "Undefined index: author-network" 2020-06-27 15:10:06 +00:00
Hypolite Petovan
0b38826a73 Simplify sender handle assignment in Model\Mail 2020-06-27 09:34:29 -04:00
Hypolite Petovan
e78db3fac6
Merge pull request #8817 from annando/ap-diaspora-delivery
Prevent delivering AP comments to Diaspora
2020-06-27 09:30:11 -04:00
Tobias Diekershoff
6a641546b0
Merge pull request #8816 from annando/fix-ap-receiving
Fix receiving non public posts from AP
2020-06-27 14:52:02 +02:00
Michael
de19f94aca Prevent delivering AP comments to Diaspora 2020-06-27 12:18:36 +00:00
Michael
ef56837b9e Fix receiving non public posts from AP 2020-06-27 10:35:45 +00:00
Hypolite Petovan
2c2db55298 Add support for mobile profile URL to core twitter probing 2020-06-26 12:52:40 -04: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
Hypolite Petovan
abd5b2a881
Merge pull request #8815 from annando/forum-notice
Fix for "PHP Notice:  Undefined index: forum in /src/Protocol/OStatus.php on line 2091"
2020-06-26 08:13:12 -04:00
Michael
a0ee12aade Fix notice "Undefined index: forum" 2020-06-26 05:29:00 +00:00
Michael
019a9d44c5 New function to fetch contact data by url 2020-06-26 05:28:25 +00:00
Hypolite Petovan
7822238fe0
Merge pull request #8813 from annando/issue-8807
Issue 8807: Improved feed detecting
2020-06-25 17:04:50 -04:00
Michael
d8f9bb1e0a Unify code structure 2020-06-25 20:41:34 +00:00
Michael
4d986526f9 Issue 8807: Improved feed detecting 2020-06-25 20:29:21 +00:00
Michael Vogel
0740782d58
Merge pull request #8803 from MrPetovan/bug/8477-api-photo-item-selectfirstforuser
[API] Replace unwarranted Item::selectFirstForUser calls in photo endpoints
2020-06-25 19:22:49 +02:00
Hypolite Petovan
b6c7f247cc Replace array_unique with GROUP BY clause in api_fr_photoalbum_delete() 2020-06-25 08:05:09 -04:00
Michael Vogel
95ed81de5f
Merge pull request #8805 from MrPetovan/bug/notices
Add logging to rare condition in Model\Profile::sidebar
2020-06-25 08:39:28 +02:00
Michael Vogel
1625dfa0a4
Merge pull request #8804 from MrPetovan/bug/warnings
Add type hint to Database::insert
2020-06-25 08:37:41 +02:00
Michael Vogel
e1e06459b9
Merge pull request #8809 from MrPetovan/bug/8808-db-error-contact
Add expected whitespace before Widget::unavailableNetworks() output
2020-06-25 05:48:03 +02:00
Hypolite Petovan
06b992a5dd Add expected whitespace before Widget::unavailableNetworks() output in Module\Contact 2020-06-24 18:49:55 -04:00
Hypolite Petovan
192576f01a Add logging to rare condition in Model\Profile::sidebar
- Adresses https://github.com/friendica/friendica/issues/8475#issuecomment-647104375
2020-06-24 09:56:11 -04:00
Hypolite Petovan
5cf5869b04 Add type hint to Database::insert
- Will escalate warning to fatal error in https://github.com/friendica/friendica/issues/8474#issuecomment-646802016
2020-06-24 09:36:34 -04:00
Hypolite Petovan
8272b16647 [API] Replace unwarranted Item::selectFirstForUser calls in photo endpoints
- Item::selectFirstForUser checks for item.visible = 1 which isn't necessarily set on photo-related items
2020-06-24 08:14:45 -04:00
Hypolite Petovan
ae6e9e7267 [API] Miscellaneous improvements
- Use empty() instead of isset($r) && $r in save_media_to_database()
- Use expected variable name for result array in api_fr_photo_delete()
- Use correct associative array references in prepare_photo_data()
- Replace a() call in api_fr_photoalbum_delete()
2020-06-24 08:11:47 -04:00
Michael Vogel
7fd2c00171
Merge pull request #8792 from MrPetovan/task/share-block-guid
[frio] Add local post link to share block when guid attribute is present
2020-06-23 21:26:07 +02:00
Michael Vogel
f5993463e8
Merge pull request #8802 from MrPetovan/task/8314-api-capture-login
Update user.login_date for authenticated API calls
2020-06-23 21:23:08 +02:00
Tobias Diekershoff
2fc0b23b7c
Merge pull request #8801 from MrPetovan/task/8800-pre-whitespaces
[pre] blocks now preserve spaces
2020-06-23 17:01:44 +02:00
Hypolite Petovan
677eaf78ed Add API login capture 12h cooldown to spare database writes 2020-06-23 10:15:39 -04:00
Hypolite Petovan
43e6cec200 Update user.login_date for authenticated API calls 2020-06-23 09:09:23 -04:00
Hypolite Petovan
faeffff8a3 [pre] blocks now preserve spaces
- Added test case
- Added English documentation
2020-06-23 07:53:18 -04:00
Hypolite Petovan
251a3791dd Keep spaces after non-tags in Content\BBCode::convert
- Added test case
2020-06-23 07:52:38 -04:00
Tobias Diekershoff
4e5c3157fe
Merge pull request #8799 from MrPetovan/bug/3084-text-complete-catch-escape
Prevent propagation of escape key press when it was used to close autocomplete dropdown
2020-06-23 06:55:54 +02:00
Hypolite Petovan
ad9bac8b07 Prevent propagation of escape key press when it was used to close autocomplete dropdown
- It was causing the modal window to unexpectedly close
2020-06-22 22:25:15 -04:00
Hypolite Petovan
2b83ec6784 Add more expected data to test fixtures 2020-06-22 17:49:20 -04:00
Hypolite Petovan
b77896ed45 [frio] Add local post link to share block when guid attribute is present 2020-06-21 09:45:36 -04:00
Hypolite Petovan
d2aa68106b Make guid attribute available to convertShare callback 2020-06-21 09:45:00 -04:00