Commit graph

11435 commits

Author SHA1 Message Date
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
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 Holzer 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 Holzer 47802fbebd
Make more strings plural :) 2023-04-02 11:34:38 +02:00
Philipp Holzer 4ce6721c27
Extract liker phrase in own method 2023-04-02 11:29:38 +02:00
Philipp Holzer 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
Michael 0c7be66d79 No call by reference anymore 2023-04-01 23:17:39 +00:00
Michael 70092a1aff Reworked parser 2023-04-01 21:51:30 +00:00
Philipp 97e897a9ca
Update System.php 2023-04-01 23:00:43 +02:00
Philipp Holzer 1d328f4c76
Adapt logging & temppath creation 2023-04-01 20:12:02 +02:00
Hypolite Petovan 508807af1c Fix namespace issue with posix function in Worker\Repository\Process
- [Composer] Add ext-posix dependency
- [Composer] Sort latest added dependencies alphabetically
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1492842672
2023-04-01 09:25:19 -04:00
Hypolite Petovan f1843c8aac Fix Register namespace confusion in Model\User
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1491861831
2023-04-01 08:07:48 -04:00
Michael 58a4469f25 Merge remote-tracking branch 'upstream/2023.03-rc' into npf2 2023-03-31 19:49:51 +00:00
Hypolite Petovan 8e74fb1754 Add receiver name extraction case
- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1445359764
2023-03-31 14:18:55 -04:00
Michael 9df68da80e Fix some warnings 2023-03-31 18:01:10 +00:00
Hypolite Petovan d200503381
Merge pull request #12962 from annando/issue-12876c
Issue 12876 again: Delete the public contact as well
2023-03-31 08:56:30 -04:00
Philipp c77266de98
Merge pull request #12952 from MrPetovan/bug/fatal-errors
Address a few fatal errors
2023-03-31 14:35:37 +02:00
Michael 9122eeda9b Issue 12876 again: Delete the public contact as well 2023-03-31 03:37:48 +00:00
Michael 963374bb3e Ensure to only delete data of a valid contact 2023-03-30 21:48:41 +00:00
Michael 22cae5aaf2 Issue 12876: Delete all public contact related data 2023-03-30 21:23:46 +00:00
Michael a9d8f4d64a Issue 12876: Enhanced logging for the user removal 2023-03-29 20:24:16 +00:00
Hypolite Petovan bc7bf77096
Merge pull request #12956 from annando/server-blocked
Don't search for contacts on blocked or failed systems
2023-03-29 14:58:12 -04:00
Michael f0743e4e12 Allow the search for contacts on blocked servers via web 2023-03-29 18:39:21 +00:00
Michael 5f683df711 Nested blocks 2023-03-29 14:54:43 +00:00
Philipp Holzer 54b7af6ccf
Fix php-lint issue 2023-03-28 19:42:16 +02:00
Michael e6ce165bb5 Use the correct ids for the search results 2023-03-28 10:06:41 +00:00
Michael 74222532dc Simply use "unsearchable" (and ensure it is updated for local users) 2023-03-28 06:34:09 +00:00
Michael 4c81a7ab91 Don't search for contacts on blocked or failed systems 2023-03-28 05:33:14 +00:00
Michael 459a7099ca Improved NPF 2023-03-28 05:25:33 +00:00
Hypolite Petovan b268fa60e7 Add explicit parameter to IHandleUserSession->setvisitorContacts
- Convert some remaining $_SESSION references to object calls
- Address part of https://github.com/friendica/friendica/issues/12486#issuecomment-1428489772
2023-03-27 21:31:54 -04:00
Hypolite Petovan 2fdf39e8b8 Skip nonexistent contacts in Pofile/Contacts
- Address part of https://github.com/friendica/friendica/issues/12486#issuecomment-1428489772
2023-03-27 21:31:54 -04:00
Hypolite Petovan 8ab5fddafd Don't try to follow remote item from non-URI or scheme-less URI
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1407679388
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1433112562
2023-03-27 21:31:54 -04:00
Hypolite Petovan 1a21f19f42 Add exception throw when contact data isn't available in Factory/Api/Mastodon/Relationship
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1445323023
- Remove default value to parameter which array keys are used in method body
2023-03-27 21:31:53 -04:00
Philipp Holzer c2d11328cc
adapt minor changers / fix tests 2023-03-27 19:36:14 +02:00
Philipp 73aaedac97
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-27 19:36:14 +02:00
Philipp 36e21cacc9
Apply suggestions from code review
Switch to `isWritable`

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-27 19:36:14 +02:00
Philipp Holzer e072c9985e
Fixup and adding tests 2023-03-27 19:36:13 +02:00
Philipp Holzer fa9c3d40be
Add conditional help text for disabled fields 2023-03-27 19:36:13 +02:00
Philipp Holzer 76f3b07033
Disable setting fields in case we use environment variables 2023-03-27 19:36:13 +02:00
Michael c4c80ed3cc Merge remote-tracking branch 'upstream/2023.03-rc' into npf2 2023-03-27 06:42:24 +00:00
Michael aca4b2eaae Added support for "Tumblr Neue Post Format" 2023-03-27 06:40:22 +00:00
Josh Soref 765891f070 spelling: widget
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref 685f4fcddd spelling: used
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref 7c5815f14e spelling: trimmed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref 5f9d324ac9 spelling: these
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref dabc5c3f46 spelling: successful
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref f7666fae78 spelling: signature
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref 23e1c0bb71 spelling: search
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref 2b819b8f8c spelling: resource
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref 900d4f1207 spelling: relay
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref e1be88579e spelling: read
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref 7e82d70449 spelling: public
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref 65730ffa86 spelling: proxified
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref 93c93bf69f spelling: private
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref 1234d5b77a spelling: posts
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:07 -04:00
Josh Soref 04cbbcd2ff spelling: phppath
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:07 -04:00