Commit Graph

11485 Commits

Author SHA1 Message Date
Michael 5966f0cc62 Function moved to the "Strings" class 2023-05-26 14:26:55 +00:00
Michael 7e03072082 "getStyledURL" is now public 2023-05-26 07:17:09 +00:00
Hypolite Petovan cee8dc2a3b Add support for reverse proxy to system.force_ssl feature 2023-05-24 08:04:34 -04:00
Tobias Diekershoff 7b02585b97
Merge pull request #13161 from annando/bluesky-activities
Support for Bluesky reshares in the core
2023-05-24 07:59:08 +02:00
Michael 5b23c1c67f Support for Bluesky reshares in the core 2023-05-24 05:55:36 +00:00
Tobias Diekershoff fa37537762 start 2023.09-dev 2023-05-23 22:19:34 +02:00
Tobias Diekershoff 2dbfb07008 bump version 2023-05-23 22:03:05 +02:00
Michael 7d4b11b450 Preparation to add Bluesky 2023-05-21 17:19:39 +00:00
Michael Vogel 1d211bea98
Merge pull request #13146 from MrPetovan/bug/deprecated
Move current table property from PDOStatement to Database class
2023-05-20 18:53:38 +02:00
Hypolite Petovan ce2abcdbca Move current table property from PDOStatement to Database class
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1533036354
2023-05-20 12:22:19 -04:00
Philipp 2b1fc4b561
Merge pull request #13145 from MrPetovan/bug/warnings
Refer to correct contact field in Core/Search
2023-05-20 17:42:54 +02:00
Philipp 7d58286cd9
Merge pull request #13144 from MrPetovan/bug/12683-tagcloud-link
Update tag cloud link to conversations
2023-05-20 17:42:38 +02:00
Philipp afa6e0ee3c
Merge pull request #13143 from MrPetovan/bug/12684-category-link
Support special characters in category widget links
2023-05-20 17:42:09 +02:00
Hypolite Petovan 739b6d6533 Refer to correct contact field in Core/Search
- Address https://github.com/friendica/friendica/issues/13025#issuecomment-1554498114
2023-05-20 10:31:05 -04:00
Hypolite Petovan c5e4e342bb Update tag cloud link to conversations 2023-05-20 10:20:01 -04:00
Hypolite Petovan c10a1f3568 Support special characters in category widget links 2023-05-20 10:10:14 -04:00
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 c21e6ab952
Fixup incrementQueue 2023-05-14 20:52:07 +02:00
Philipp 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 8c2678c82f
fixups 2023-05-14 11:18:59 +02:00
Philipp 7f184bf6fa
Adapt & remove impossible code 2023-05-13 22:27:29 +02:00
Philipp 9386adb184
Update & fix 2023-05-13 22:18:11 +02:00
Philipp 7bf2606120
Update & fix 2023-05-13 22:18:00 +02:00
Philipp 5be9c9dbaf
Use optimized update statements 2023-05-13 22:14:52 +02:00
Philipp 557d0e3aeb
Add direct field possibility 2023-05-13 22:04:51 +02:00
Philipp 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 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
Michael b0f880d0eb Fix: Force baseUrl being a string 2023-04-15 14:17:30 +00:00
Michael Vogel c81a9d1ddd
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-04-14 20:56:43 +02:00
Michael 78b969cb19 Store "audience" and "attributedTo" data 2023-04-14 17:21:20 +00:00
Michael a36e53af3c Fix: Attached images from Lemmy can now be processed 2023-04-13 05:05:20 +00:00
Michael a4ef546433 Merge remote-tracking branch 'upstream/2023.03-rc' into diaspora-signature 2023-04-12 05:53:18 +00:00
Michael cd3f2f63d6 Replace the Diaspora signature upon update 2023-04-12 05:48:38 +00:00
Tobias Diekershoff 00d6e97860
Merge pull request #12988 from annando/diaspora-signature
Fix Diaspora signature creation for comments on comments
2023-04-12 07:37:35 +02:00
Tobias Diekershoff ce52764886
Merge pull request #12989 from annando/warning
Fixes "Trying to access array offset on value of type bool"
2023-04-12 07:36:45 +02:00
Michael 504433581a Fixed check for likes in notification mail 2023-04-12 03:30:59 +00:00
Michael 8016f5c67c Fixes "Trying to access array offset on value of type bool" 2023-04-11 18:47:51 +00:00
Michael 4d4c8c634c Fix Diaspora signature creation for comments on comments 2023-04-11 18:42:13 +00:00
Michael d1af85b27f Handle exception on "head" / missing class variable added 2023-04-11 02:11:39 +00:00
Hypolite Petovan 4db29565de [frio] Add Dropzone dictionary strings to l10n 2023-04-09 08:24:12 -04:00
Philipp 135159aa2e
Merge pull request #12981 from annando/no-login
Don't perform BasicAuth on public endpoints
2023-04-08 21:32:06 +02:00
Michael 701681ea21 Don't perform BasicAuth on public endpoints 2023-04-08 19:17:57 +00:00
Michael c07c34a6ec Add the uri-id for the quoted post if it exists 2023-04-08 06:35:12 +00:00
Michael ab89e89b40 Issue 12977: Ensure to fetch quoted posts 2023-04-08 06:08:45 +00:00
Michael db85180d1e Fix more standards 2023-04-06 19:55:41 +00:00
Michael 2f7e22c4f7 Fix code standards 2023-04-06 19:53:52 +00:00
Michael e807da9d66 Media elements added 2023-04-05 20:08:53 +00:00
Michael 88cc788c9b Fixed NPF, new OAuth library added 2023-04-04 22:21:27 +00:00
Michael ed875a80f7 Merge remote-tracking branch 'upstream/2023.03-rc' into npf2 2023-04-03 21:46:01 +00:00
Hypolite Petovan e28179c855
Merge pull request #12973 from nupplaphil/bug/datetimeformat
Fix  DateTimeFormat issue
2023-04-03 13:49:07 -04:00
Philipp 9823b06630
Merge pull request #12971 from MrPetovan/bug/12970-FriendicaExtension
Account for null title when instantiating FriendicaExtension in Factory\Api\Mastodon\Status
2023-04-03 19:47:55 +02:00
Philipp 9c375e6460
Fix DateTimeFormat issue 2023-04-03 18:42:41 +02:00
Hypolite Petovan e7628af15f Ward against nonexistant item in Item::prepareBody
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1492984392
2023-04-03 00:05:40 -04:00
Hypolite Petovan c673c478ee Ward against missing plink in createSharedBlockByArray
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1492984224
- Add logging to troubleshoot the issue
2023-04-03 00:03:49 -04:00
Hypolite Petovan 888f5439d3 Account for null title when instantiating FriendicaExtension in Factory\Api\Mastodon\Status 2023-04-02 23:22:19 -04:00
Hypolite Petovan 09f9559769 Reformat Factory\Api\Mastodon\Status
- Simplify boolean operations
- Add ACLFormatter dependency to constructor
- Fix white space alignment
2023-04-02 23:21:39 -04:00
Michael 6957c3e5c8 Deactivated not working stuff 2023-04-02 19:53:58 +00:00
Philipp 47802fbebd
Make more strings plural :) 2023-04-02 11:34:38 +02:00
Philipp 4ce6721c27
Extract liker phrase in own method 2023-04-02 11:29:38 +02:00
Philipp 83212252fd
Make likes singular/plural translatable 2023-04-02 11:29:38 +02:00
Michael 63d0c88c5a Deactivate the attributes 2023-04-02 09:09:55 +00:00