Commit Graph

3304 Commits

Author SHA1 Message Date
Michael 7c266be206 Merge remote-tracking branch 'upstream/develop' into unify-link 2023-05-17 20:03:57 +00:00
Michael 3dbbbb69e4 Long refresh periods for connector networks 2023-05-17 14:28:40 +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
Philipp c21e6ab952
Fixup incrementQueue 2023-05-14 20:52:07 +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 5be9c9dbaf
Use optimized update statements 2023-05-13 22:14:52 +02:00
Michael e13a31c4fe Ensure that the baseurl return value is a string 2023-05-11 08:13:19 +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
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
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
Michael d4f0c1a8dc Improved ATOM distinction, added OPML 2023-05-06 13:52:39 +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
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 2df2a8f123 Contacts from probeable networks are now updated correctly 2023-04-28 18:25:55 +00: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
Michael 69e4254dcc Merge remote-tracking branch 'upstream/develop' into audience 2023-04-23 21:20:01 +00:00
Michael 2ad8bd901a Fix: Only add link preview for selected networks 2023-04-18 17:56:30 +00:00
Michael 78b969cb19 Store "audience" and "attributedTo" data 2023-04-14 17:21:20 +00:00
Michael cd3f2f63d6 Replace the Diaspora signature upon update 2023-04-12 05:48:38 +00:00
Michael ed875a80f7 Merge remote-tracking branch 'upstream/2023.03-rc' into npf2 2023-04-03 21:46:01 +00: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 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
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 f0743e4e12 Allow the search for contacts on blocked servers via web 2023-03-29 18:39:21 +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
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
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 685f4fcddd spelling: used
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 68a5a99d8b spelling: password
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:07 -04:00
Josh Soref cdc04bf147 spelling: object
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:07 -04:00
Josh Soref fb4c76a2b6 spelling: entry
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:03:51 -04:00
Josh Soref 2230098458 spelling: unannounce
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref 54268a7eb7 spelling: translatable
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref fd9e5fc5c4 spelling: system
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref f634c1a067 spelling: successful
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref 1d5f1f393f spelling: retrieve
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref 2f7612d8b1 spelling: resource
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref f6bd4f5d79 spelling: refers
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref be49a3a2b5 spelling: protocol
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref 5566a2f14c spelling: perform
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref 57f4b5fc0a spelling: notify
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref 76c006d560 spelling: names
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref 2bb41167f3 spelling: mismatches
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref c8d5b6e0c6 spelling: group
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref f87eeb2f28 spelling: group id
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref 044bc8ddac spelling: formatter
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref f6fda5840d spelling: failure
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref 9369691713 spelling: existence
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref 4f332e3b52 spelling: discover
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref 6c27117444 spelling: diaspora
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref 61fafed83c spelling: database
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref 48427bb20e spelling: blocked
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref 459f28776d spelling: birthdays
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref 20fdae12e0 spelling: ambiguity
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref 07862b8a88 spelling: activity
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Michael 8a55ce2415 Set different permissions for comments via API 2023-03-24 20:39:11 +00:00
Hank G cc86a54c80
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-22 21:35:44 -04:00
Hank Grabowski 3d4e11045a Fix type and name on Mail::send sender ID argument 2023-03-22 18:25:13 -04:00
Hank Grabowski 0a5e3c75dc Fix Twitter NewDM API w/OAuth by passing in UID not query session 2023-03-22 18:18:49 -04:00
Michael 72952d2c92 Issue 11535: Automatically open and close the registration 2023-03-21 21:44:26 +00:00
Michael 7728232737 Unneeded variable removed 2023-03-21 06:42:29 +00:00
Michael afe1a59345 Fetch platform and version of nomad implementations 2023-03-21 05:36:47 +00:00
Michael 9c8ae42c04 Delete the attached HTML media on content updates 2023-03-20 14:19:51 +00:00
Philipp 29e4f0ea9a
Force correct string casting for BaseUrl 2023-03-19 11:21:17 +01:00
Hank Grabowski 4366737eb8 Fix posting/editing empty text image posts through Mastodon API 2023-03-18 23:06:13 -04:00
Hank Grabowski 261975afe9 Delete previous post version's link attachments before posting the one from the current update. 2023-03-18 21:35:38 -04:00
Michael eab4d6cbb4 Simplified Nomad detection 2023-03-18 12:27:49 +00:00
Michael 9c1516feb2 Takahē and Wildebeest added, Nomad detection improved 2023-03-18 11:43:29 +00:00
Michael 1a98961c3c Issue 12858: Peertube avatars can now be fetched 2023-03-18 06:41:35 +00:00
Michael 31693c2d1f Separation between picture links 2023-03-16 05:01:05 +00:00
Michael eefebaff49 Improved handling of images with links 2023-03-15 21:15:10 +00:00
Michael e3047794f9 Merge remote-tracking branch 'upstream/2023.03-rc' into api-edit 2023-03-14 21:46:24 +00:00
Michael 59c436b442 Merge remote-tracking branch 'upstream/develop' into api-edit 2023-03-13 05:33:32 +00:00
Michael 2a752b37b1 The function "getAttachedData" is replaced by a simplified functionality 2023-03-13 05:04:55 +00:00
Michael aea3ed4548 Code is reformatted 2023-03-05 21:46:45 +00:00
Michael eafe54f2dd The function "getAttachedData" has been removed 2023-03-05 21:22:22 +00:00
Michael 60ddef1720 Unneeded field removed 2023-03-04 19:28:31 +00:00
Michael b761760d65 Fix missing attached links in posts 2023-03-04 19:04:37 +00:00
Michael 3a0b0ffce5 Editing of media descriptions is now possible as well 2023-02-28 08:06:49 +00:00
Michael 98aed4dde3 Adding and removing of pictures via API is now possible 2023-02-28 06:19:19 +00:00
Michael Vogel 0338d9fda8
Update src/Model/Post/Media.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-02-27 14:31:56 +01:00
Michael 5f6503a73f Editing/removing of attached pictures is now possible via web 2023-02-27 07:47:31 +00:00
Michael 6e3602591d Use "Exception" 2023-02-26 22:43:45 +00:00
Michael 2b513a48c7 Catch all errors thrown by "fetchRaw" 2023-02-26 14:08:33 +00:00
Michael 08ba9e4183 Fix emoji activities 2023-02-21 21:07:41 +00:00