Commit graph

11419 commits

Author SHA1 Message Date
Michael 1744f6b2c3 Add menu entry to directly collapse posts 2023-05-20 12:24:19 +00:00
Michael 5a18d06a93 Merge remote-tracking branch 'upstream/2023.05-rc' into quote-loop 2023-05-19 19:50:36 +00:00
Michael 63436be80e Merge remote-tracking branch 'upstream/2023.05-rc' into receiver-exception 2023-05-19 17:44:01 +00:00
Michael 1523fa2236 Fix: Prevent an endless loop when fetching quoted content 2023-05-19 17:28:29 +00:00
Tobias Diekershoff 14956244cc bump version 2023.05-rc 2023-05-18 15:55:42 +02:00
Hypolite Petovan ccf94c5424
Merge pull request #13107 from annando/unify-link
Unifiy the creation of photo links
2023-05-18 08:01:56 -04:00
Michael 4e54b25b3e Logging for an exception when processing activities 2023-05-18 06:43:53 +00:00
Hypolite Petovan ff80e46eb0 Fix magic links in contact photo menu
- They were using a URL format obsolete for years
2023-05-17 19:53:22 -04:00
Michael 1010443031 Simplify image url 2023-05-17 20:30:45 +00:00
Michael 7c266be206 Merge remote-tracking branch 'upstream/develop' into unify-link 2023-05-17 20:03:57 +00:00
Hypolite Petovan 878f144bc1
Merge pull request #13131 from annando/supportsprobe
Replace "Probe::isProbable" with "Protocol::supportsProbe"
2023-05-17 15:44:21 -04:00
Hypolite Petovan 7248b6833a
Merge pull request #13133 from annando/start-header
Unify the heading levels
2023-05-17 15:42:51 -04:00
Michael 3dbbbb69e4 Long refresh periods for connector networks 2023-05-17 14:28:40 +00:00
Michael 8b264c38fe Unify the heading levels 2023-05-17 08:17:23 +00:00
Michael 3f66ecf3be Reverted accidentally reversed parameter order 2023-05-17 02:38:47 +00:00
Michael e23a7383f8 Only probr when needed, search local if nothing was found 2023-05-17 02:23:56 +00:00
Michael 97456ff205 Merge remote-tracking branch 'upstream/develop' into search 2023-05-17 01:30:56 +00:00
Michael 2e46d64ea0 Replace "Probe::isProbable" with "Protocol::supportsProbe" 2023-05-17 01:28:10 +00:00
Michael Vogel a52c1cde9c
Merge pull request #13124 from ne20002/develop
fix for probe loop in case that network of contact has changed
2023-05-17 03:16:04 +02:00
Hypolite Petovan c58dd5b471
Merge pull request #13128 from annando/owa
OWA: reworked code
2023-05-16 08:09:23 -04:00
Michael Vogel f604ddacb5
Update src/Module/Magic.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-05-16 13:54:46 +02:00
Michael 5782caba92 OWA: reworked code 2023-05-15 20:46:05 +00:00
Philipp Holzer c21e6ab952
Fixup incrementQueue 2023-05-14 20:52:07 +02:00
Philipp Holzer e998c059b6
Escape message for notifications 2023-05-14 20:31:20 +02:00
S. Brusch 084cd955a2 fix for probe loop in case that network of contact has changed
This fixes a loop of probes / contact updates where the network has been apup and for whatever
reason is now feed. In this case the contact hasn't been updated and rescheduled with next_update as null resulting
in a huge number of queries.

The call to hasLocalData has been moved a bit up as it checks for values that otherwise would be emptied befare the call.

Fixes #13037
2023-05-14 15:38:47 +02:00
Philipp Holzer 8c2678c82f
fixups 2023-05-14 11:18:59 +02:00
Philipp Holzer 7f184bf6fa
Adapt & remove impossible code 2023-05-13 22:27:29 +02:00
Philipp Holzer 9386adb184
Update & fix 2023-05-13 22:18:11 +02:00
Philipp Holzer 7bf2606120
Update & fix 2023-05-13 22:18:00 +02:00
Philipp Holzer 5be9c9dbaf
Use optimized update statements 2023-05-13 22:14:52 +02:00
Philipp Holzer 557d0e3aeb
Add direct field possibility 2023-05-13 22:04:51 +02:00
Philipp Holzer db5078d51c
Move "OPTIMIZE TABLE" to own Database function 2023-05-13 21:05:22 +02:00
Hypolite Petovan add913da27 Remove misleading concatenation in XPath expression in Protocol\Feed
- Variable could be directly interpolated
- Address https://github.com/friendica/friendica/issues/13025#issuecomment-1543335001
- Address https://github.com/friendica/friendica/issues/13025#issuecomment-1545074703
2023-05-12 06:06:34 -04:00
Michael f45dbf8b01 Fix: Contacts can now be searched with a leading @ again. 2023-05-12 07:00:02 +00:00
Michael e13a31c4fe Ensure that the baseurl return value is a string 2023-05-11 08:13:19 +00:00
Michael 2b3c1972db Differentiate between no description or an empty description 2023-05-10 17:59:25 +00:00
Michael 992b6eed1d Fixed test - again 2023-05-10 16:57:08 +00:00
Michael Vogel 45dda2c064
Update src/Util/Images.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-05-10 17:06:16 +02:00
Michael 3554b61508 Fix tests 2023-05-10 08:48:21 +00:00
Michael c5ca5bfdf8 Function renamed 2023-05-10 07:54:15 +00:00
Michael 7d91cc73de Unifiy the creation of photo links 2023-05-09 20:44:58 +00:00
Hypolite Petovan 4c40bc164d
Merge pull request #13103 from annando/better-preview
Improved preview size
2023-05-09 03:43:58 -04:00
Michael 76ccc52406 Improved variable naming 2023-05-09 06:32:16 +00:00
Michael 91a12295ff Calculate image size if not provided 2023-05-09 05:59:07 +00:00
Michael b692146533 Remove unwanted stuff 2023-05-09 05:34:56 +00:00
Michael d20cae82ad Use old error message when storing fails 2023-05-09 05:32:52 +00:00
Michael d83073f2a2 Unifiy storing of photos with previews 2023-05-09 05:29:05 +00:00
Michael 1789266859 Improved preview size 2023-05-08 21:32:38 +00:00
Michael Vogel b5de664ef6
Merge pull request #13100 from MrPetovan/bug/fatal-errors
Wrap HTTP client call in try catch in Network\Probe
2023-05-07 12:27:27 +02:00
Michael Vogel 46d3778ee8
Merge pull request #13099 from MrPetovan/bug/warnings
Address several warnings
2023-05-07 08:25:44 +02:00
Michael 91a7217fb8 Fix: Feeds had been imported with the wrong body 2023-05-07 06:13:28 +00:00
Hypolite Petovan bce7e85e1f Wrap HTTP client call in try catch in Network\Probe
- Address https://github.com/friendica/friendica/issues/13023#issuecomment-1521458475
2023-05-07 00:26:16 -04:00
Hypolite Petovan 32688d34b6 Ensure $atomns is always set in Protocol\Feed
- Address https://github.com/friendica/friendica/issues/13025#issuecomment-1537162173
2023-05-07 00:00:55 -04:00
Hypolite Petovan 527c17a8a7 Rework Hashtag module to avoid undefined key error
- Address https://github.com/friendica/friendica/issues/13025#issuecomment-1537143590
2023-05-06 23:55:41 -04:00
Hypolite Petovan 29329f799d Prevent casting a non-existent array key before it's been coalesced in Model\GServer
- Address https://github.com/friendica/friendica/issues/13025#issuecomment-1536440077
2023-05-06 23:48:32 -04:00
Hypolite Petovan 8585a94f90
Merge pull request #13096 from ne20002/heikosblog.eu
Added host check on xrd request
2023-05-06 17:03:02 -04:00
S. Brusch d50b9612a0 Added host check on xrd request 2023-05-06 22:26:37 +02:00
Hypolite Petovan b270771f0f
Merge pull request #13095 from annando/atom03
Improved ATOM distinction, added OPML
2023-05-06 10:43:36 -04:00
Michael d4f0c1a8dc Improved ATOM distinction, added OPML 2023-05-06 13:52:39 +00:00
Hypolite Petovan d196fbbd54
Merge pull request #13094 from annando/atom03
Support for feeds that follow the ATOM 0.3 specification
2023-05-06 09:43:11 -04:00
Michael 74bcc33fdb Support for feeds that follow the ATOM 0.3 specification 2023-05-06 11:35:34 +00:00
Pascal 7fd1db0ec6
Update src/Module/Magic.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-05-05 15:58:38 +02:00
Pascal 54c530933d
Update src/Module/Magic.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-05-05 15:58:25 +02:00
Pascal 2a98e71b16
Merge branch 'friendica:develop' into feature-openwebauth 2023-05-05 13:47:47 +02:00
Pascal a268c5ffdc Remote auth works from Streams 2023-05-05 12:46:30 +02:00
Hypolite Petovan 148f12580b
Merge pull request #13088 from nupplaphil/feat/settings
Introduce settings for overriding php.ini values
2023-05-04 12:37:43 -04:00
Philipp 948217da51
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-05-04 18:27:44 +02:00
Philipp Holzer bbe6554bb0
Introduce settings for overriding php.ini values 2023-05-04 17:48:13 +02:00
Michael 45c1d74750 The Emojipicker is added to Frio for new posts 2023-05-04 10:54:29 +00:00
Michael bf4d19eed3 Changes after code review 2023-05-03 21:14:35 +00:00
Michael b4b9a6a34a Add Fancybox to the core 2023-05-03 20:59:28 +00:00
Michael 349fa08ece Fix warning: Undefined array key "post" 2023-05-02 09:21:11 +00:00
Michael 8ab7e6552b Improved fetching of attached activities 2023-05-01 13:05:59 +00:00
Tobias Diekershoff d425f2eaac
Merge pull request #13066 from annando/issue-13041
Issue 13041: API activities for reshared posts are now performed on the original posts
2023-05-01 07:26:53 +02:00
Michael e1dfcc35d7 Issue 13052: The limit parameter now behaves like the Mastodon counterpart 2023-05-01 04:56:45 +00:00
Michael a5b00e9199 Issue 13041: API activities for reshared posts are now performed on the original posts 2023-05-01 04:01:11 +00:00
Michael 25636c2442 Issue 13058: BasicAuth can now be disabled 2023-04-30 11:53:32 +00:00
Michael 2df2a8f123 Contacts from probeable networks are now updated correctly 2023-04-28 18:25:55 +00:00
Tobias Diekershoff 9d770c0060
Merge pull request #13051 from annando/audience-followers
"audience" is set for forum posts / followers posts are directed to the followers collection
2023-04-28 07:42:40 +02:00
Tobias Diekershoff 096b95a247
Merge pull request #13048 from MrPetovan/bug/fatal-errors
Wrap last remaining system.maximagesize config retrieval in Strings::getBytesFromShorthand call
2023-04-28 07:13:44 +02:00
Michael ae6c354232 "audience" is set for forum posts / followers posts are directed to the followers collection 2023-04-28 05:13:23 +00:00
Tobias Diekershoff b271b3aa27
Merge pull request #13047 from MrPetovan/bug/13043-Notify-msg-null
Account for null value in Entity\Notify->msg
2023-04-28 07:12:54 +02:00
Hypolite Petovan 6d3a4ea2b3 Wrap last remaining system.maximagesize config retrieval in Strings::getBytesFromShorthand call
- Address https://github.com/friendica/friendica/issues/13023#issuecomment-1520073381
2023-04-27 23:09:48 -04:00
Hypolite Petovan fff1d44878 Account for null value in Entity\Notify->msg
- Update possible types of entity properties
2023-04-27 23:00:48 -04:00
Hypolite Petovan e29e802b7c Fix link to user category in label
- Improve documentation of Content\Item->determineCategoriesTerms
2023-04-27 22:50:43 -04:00
Michael 970d86472e New hook "support_probe" 2023-04-27 05:24:47 +00:00
Michael 69e4254dcc Merge remote-tracking branch 'upstream/develop' into audience 2023-04-23 21:20:01 +00:00
Hypolite Petovan ce9939b4c0 Separate JSON output of contact lists in message_recipient template 2023-04-23 16:31:29 -04:00
Tobias Diekershoff 26e8180e8d bump development version 2023-04-23 15:25:19 +02:00
Tobias Diekershoff 1a0c415fa2 bump Friendica version to 2023.04 2023-04-23 15:15:07 +02:00
Tobias Diekershoff 4eec2804de Merge branch '2023.03-rc' into stable 2023-04-23 15:12:51 +02:00
Hypolite Petovan 9788984b06 Move calls to json_encode from Smarty templates to variable lists
- Address https://github.com/friendica/friendica/issues/12011#issuecomment-1518577079
2023-04-23 00:29:08 -04:00
Hypolite Petovan 9dc5557fb7
Merge pull request #13018 from annando/share-federated
Only share from federated posts
2023-04-22 08:34:53 -04:00
Michael d1d1685e24 Only share from federated posts 2023-04-22 10:40:58 +00:00
Hypolite Petovan 03b7fcd09c Filter contact search by blocked remote domains
- Add filter explanation
2023-04-20 07:43:17 -04:00
Hypolite Petovan 261ba161a2 Convert ContactResult->url parameter to UriInterface 2023-04-20 07:43:17 -04:00
Michael f0d8b109fe Preparation for Tumblr 2023-04-18 19:30:28 +00:00
Michael 2ad8bd901a Fix: Only add link preview for selected networks 2023-04-18 17:56:30 +00:00
Michael bb3ec3807c Harmonize Youtube/Vimeo-Link behaviour 2023-04-18 06:02:58 +00:00
Michael b8dd6c0b25 Fixes warning: Undefined array key "pending" 2023-04-15 23:08:42 +00:00