Michael
420bd9bcf9
Fix: Unseen marker wasn't set / Don't mark activities as unseen
2023-06-25 13:33:01 +00:00
Michael
201d5ac364
Fix warning "Undefined array key "alias""
2023-06-23 21:50:35 +00:00
Michael
0da2391c49
Fix warnings because of missing field
2023-06-23 21:27:34 +00:00
Michael
968c935bf7
Changes variable names / fetch the alias / improved group handling
2023-06-23 21:05:45 +00:00
Michael
8a50101eea
Merge remote-tracking branch 'upstream/develop' into lemmy
2023-06-18 17:38:39 +00:00
Michael
4c3f2441f7
Display the contact alias if the URL is no HTTP link
2023-06-18 16:49:38 +00:00
Michael
6d911a8f39
Better support for "audience" / simplified Lemmy processing
2023-06-15 22:04:28 +00:00
Roland Häder
80afe13a26
Changed:
...
- added missing type-hint
2023-06-09 21:46:44 +02:00
Michael
dfaa4b89c7
Support for contact uri that aren't HTTP URLs
2023-06-05 04:34:06 +00:00
Michael Vogel
483cc45712
Merge pull request #13183 from MrPetovan/task/13114-rename-forum-to-group
...
Replace "forum" by "group"
2023-06-04 00:19:59 +02:00
Michael
921e070b22
Improved profile summary for notifications
2023-06-03 15:27:14 +00:00
Hypolite Petovan
3385147f25
Replace "forum" by "group" in the rest of the code
2023-06-02 13:52:41 -04:00
Philipp
d971a2cc5c
Merge pull request #13177 from annando/follow-uid
...
Pass the "uid" when calling the "follow" hook
2023-05-30 08:36:58 +02:00
Michael
f5433b25d8
Pass the "uid" when calling the "follow" hook
2023-05-30 06:06:49 +00:00
Hypolite Petovan
fc09017dd1
Remove support for user.parent-uid = 0
...
- uid = 0 is the system user which isn't supposed to be the parent-uid of all the non-delegate users
2023-05-29 18:32:21 -04:00
Michael
1129e8f17d
Merge remote-tracking branch 'upstream/develop' into parent-view
2023-05-29 06:53:02 +00:00
Michael
a42ddafbbb
Ensure to store user-contact / display contact relations
2023-05-29 06:41:07 +00:00
Hypolite Petovan
4f7740264e
Replace "group" with "circle" in the rest of the code
...
- Remaining mentions already mean "forum"
2023-05-27 22:01:45 -04:00
Michael
5b23c1c67f
Support for Bluesky reshares in the core
2023-05-24 05:55:36 +00: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
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
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
Michael Vogel
7560939d75
Merge pull request #12820 from MrPetovan/bug/fatal-errors
...
Remove reference to remove field in event table
2023-02-20 16:37:45 +01:00
Hypolite Petovan
ee5acc29c3
Merge pull request #12802 from nupplaphil/feat/system_url_handling
...
Transform BaseURL to URIInterface conform class with less business logic
2023-02-20 08:43:00 -05:00
Hypolite Petovan
65cd493431
Merge pull request #12807 from HankG/mastodon-trending-api-updates
...
Mastodon trending api updates
2023-02-20 08:27:42 -05:00
Hypolite Petovan
0dbee1c4d2
Remove reference to remove field in event table
...
- Address https://anonsys.net/display/bf69967c-1663-f368-5a52-cdd110992529
2023-02-20 08:26:23 -05:00
Philipp
f0c29edcde
Adapt BaseURL calls to new UriInterface
2023-02-18 21:12:21 +01:00
Hank Grabowski
df4af8da9b
Fix offset is absolute in set not a page to be consistent with SQL
2023-02-17 13:23:34 -05:00
Hank Grabowski
c5effdadec
Add support to Mastodon Tag Trends for paging, local tags, and faster refresh
...
= with phpcbf format auto-correction
2023-02-16 22:55:23 -05:00
Michael
baf75adfca
Some loglevels are adjusted to more reasonablöe levels
2023-02-16 20:47:37 +00:00
Michael
9f7747a360
We can now store emoji reactions from Misskey
2023-02-15 05:13:40 +00:00
Michael
a3cb43805c
Fix fatal error because of an invalid url
2023-02-14 21:19:47 +00:00
Michael
5fdeed8ed8
C2S: Improve C2S-API, fix inbox endpoint
2023-02-08 20:16:19 +00:00
Michael
4d4e34dc64
Issue 12764: Fix photo permissions when posting via web
2023-02-07 14:18:01 +00:00
Michael
f455f7e7d1
Fixes "Invalid URL for photo" for photos without host
2023-02-04 12:14:40 +00:00
Hypolite Petovan
301fa681c5
Ward against potentially missing "platform" array key in Model\GServer::fetchSiteinfo
...
- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1411635902
2023-02-01 08:35:33 -05:00
Michael
3f618218c7
Old stuff removed
2023-01-28 18:50:45 +00:00
Michael
999cdc7db9
Avoid more local links and bad http requests
2023-01-28 14:57:04 +00:00
Michael Vogel
fc46778a00
Merge pull request #12735 from MrPetovan/bug/fatal-errors
...
Address a couple of Fatal errors
2023-01-27 08:55:27 +01:00
Michael Vogel
1d7d6fe35c
Merge pull request #12736 from MrPetovan/bug/12733-webfinger-apcontact
...
Replace custom WebFinger implementation by Probe::getWebfingerArray in APContact::fetchWebfingerData
2023-01-27 08:27:20 +01:00
Hypolite Petovan
79dc5c177e
Replace custom WebFinger implementation by Probe::getWebfingerArray in APContact::fetchWebfingerData
...
- This implementation didn't support separate domains for the address and the final account
2023-01-27 01:24:28 -05:00
Michael
ba4860b787
Avoid local network communication / invalid url requests
2023-01-27 05:55:45 +00:00
Hypolite Petovan
be105db759
Check the image URL has a host before retrieving it in Photo::importProfilePhoto
...
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1404324012
2023-01-25 22:31:07 -05:00
Michael
edf3e9c4b6
Improved block check for redirects
2023-01-22 12:33:38 +00:00
Hypolite Petovan
7e618856ab
Replace deprecated use of "self" in callables
...
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1383147421
2023-01-21 14:25:21 -05:00
Hypolite Petovan
d3ef2b23cc
Don't select deleted contact when in Contact::createFromProbeForUser
2023-01-21 09:18:17 -05:00
Hypolite Petovan
6749ace4b7
Reset pending value when unfollowing a contact
2023-01-21 09:18:17 -05:00
Hypolite Petovan
5519b50900
Apply changes to user-contact table first in Contact::update
...
- The truncateFieldsForTable call in the same method was potentially restricting the fields that could be updated in the user-contact table
2023-01-21 09:18:17 -05:00
Roland Häder
27969e8ca6
Continued:
...
- moved if() block to suggested position by MrPetovan, for me I want to have all
conditions checked at the start of the method, e.g. no unwanted null
references or (in this case) if the URL is blacklisted
- normalized URLs are without SSL, means http://host/path/file.ext so they exist
only once for contacts and servers (aka. instances)
- documented returned type `void`
2023-01-21 01:07:14 +01:00
Roland Häder
a0704db43a
Continued:
...
- some trolls managed to flood gserver with useless URLs. They can be blocked
by domain blocking them, but still it floods gserver table with dead entries
- this hack tries to change that so they won't enter gserver at all. Let's hope
these trolls as `activitypub-trolls.cf` learn a lesson (and get adults soon)
Signed-off-by: Roland Häder <roland@mxchange.org>
2023-01-20 01:50:55 +01:00