Commit graph

3658 commits

Author SHA1 Message Date
Michael
60f5fd8188 Many deprecated function calls are replaced 2024-05-13 21:37:15 +00:00
Michael
21fc28029a Probing for Zot improved and Pumpio removed 2024-05-13 00:58:54 +00:00
Michael
5751e024c0 Request type set for all HTTP requests 2024-05-12 17:53:21 +00:00
Hypolite Petovan
d788cb82cc
Merge pull request #14148 from annando/summary
Use the field for the summary instead of the "abstract" element
2024-05-11 18:14:32 -04:00
Michael
e43f96740b Use the field for the summary instead of the "abstract" element 2024-05-11 20:14:01 +00:00
Michael
567292533e Issue 11963: Set Permissions for attachments 2024-05-11 19:19:18 +00:00
Michael Vogel
0be622e049
Merge pull request #14139 from MrPetovan/bug/apexrabbit-vulns
Fix a couple of stored XSS vulnerabilities
2024-05-11 14:03:24 +02:00
Hypolite Petovan
40949483f3 Fix wrong return value in Item::gettopLevelParent()
- Address https://github.com/friendica/friendica/issues/14025#issuecomment-2105033182
2024-05-10 21:54:19 -04:00
Hypolite Petovan
c19a68dc64 Remove DI dependency from PermissionTooltip module
- Update PHPDoc of APContact::getByURL
2024-05-10 11:25:27 -04:00
Michael
afff2b949f Improved user agent string 2024-05-10 09:01:43 +00:00
Michael
e7b861388d Issue 14132: Title for videos 2024-05-10 05:42:45 +00:00
Michael
c82a1ed467 Performance improvements when displaying local posts 2024-04-17 19:16:47 +00:00
Tobias Diekershoff
9626a76b18
Merge pull request #14083 from annando/issue-13812
Issue 13812: Public groups with manual request approval
2024-04-09 18:46:44 +02:00
Michael
69fc2c04e4 Issue 13812: Public groups with manual request approval 2024-04-08 07:58:45 +00:00
Michael
d7e8ee51ae Use similar values for generator and system actor 2024-04-08 06:33:03 +00:00
Michael
a2da42640c Issue 14055: Set link to group server for group posts 2024-04-07 15:46:55 +00:00
Michael
50b1de5959 Menu option to display the search text 2024-04-05 07:35:21 +00:00
Michael
0d4f956fba Avoid exception "Unable to retrieve the host in URL" in the search 2024-04-03 07:51:02 +00:00
Michael
c041c65c1d Comstants for features 2024-03-24 14:48:23 +00:00
Michael
b72e32a842 Add a link to the post if "no preview" is selected 2024-03-24 06:46:48 +00:00
Michael
7a0c5d141e Issue 13714: Support for "commentsEnabled" and "capabilities" 2024-03-21 17:11:20 +00:00
Michael
3d267c7b8f Possibility to mark contacts as "channel only" 2024-03-21 13:20:52 +00:00
Michael Vogel
e6c23e69cc
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2024-03-16 09:19:57 +01:00
Michael
b75fdbbd32 Fix handling of relais contact updates 2024-03-16 05:30:21 +00:00
Michael
eaddf5318a Fix: "unsearchable" is now stored 2024-03-15 06:07:47 +00:00
Hypolite Petovan
57187f26ae
Merge pull request #13978 from annando/issue-13972
Default behaviour for adding media types
2024-03-12 20:06:24 +00:00
Michael
fda832cd83 "network/group" fragments are removed 2024-03-12 08:02:00 +00:00
Michael
00b325d521 Default behaviour for adding media types 2024-03-09 15:45:38 +00:00
Michael
d9bedbb473 Centralized logging for a wrong JSON content-type 2024-03-08 13:48:21 +00:00
Michael
435b30be11 Check for the content type before fetching the content 2024-03-07 22:16:52 +00:00
Michael
67696d08da Set default value for max video height 2024-03-07 14:22:40 +00:00
Michael
68c2bdb98e Change the last activity for delegation parents and siblings as well 2024-03-07 06:12:36 +00:00
Hypolite Petovan
111df607bc Don't call mb_strlen() on $body if it isn't set in Model\Post\Counts
- Address https://github.com/friendica/friendica/issues/13761#issuecomment-1978354153
2024-03-06 12:01:25 -05:00
Michael
31b92b16ed Reduce the height of portrait videos 2024-03-05 21:25:00 +00:00
Michael
ba07172a65 Compare with the utc value 2024-03-05 14:24:40 +00:00
Michael
72e045e744 Improved assigning of "last-activity" and "login_date" 2024-03-05 14:06:26 +00:00
Michael
52cc8ab73b Issue 13765: Fixed creation of self user contact for approval 2024-03-04 07:30:04 +00:00
Michael
ae37c44cc0 Oembed: Some more cleanup 2024-03-03 18:06:25 +00:00
Michael
bae7644d6f Issue 13955: Check for publish date upon receival 2024-03-02 19:21:14 +00:00
Michael
5df1ead001 Issue 13953: Fix warning during postupdate 2024-03-01 08:41:12 +00:00
Michael
20fd25258a Accidentally changes are reverted 2024-02-24 11:35:32 +00:00
Michael
00bb538fd0 Merge branch '2024.03-rc' of https://github.com/friendica/friendica into 2024.03-rc 2024-02-24 11:01:44 +00:00
Michael
12bdbaaba8 OEmbed: Complete cleanup 2024-02-24 11:01:34 +00:00
Hypolite Petovan
5c5d7eb04f
Fix several vulnerabilities (#13927)
* Escape HTML in the location field of a calendar event post

- This allowed script tags to be interpreted in the post display of an event.

* Add form security token check to /admin/phpinfo module

- This prevents basic XSS attacks against /admin/phpinfo

* Add form security token check to /babel module

- This prevents basic XSS attacks against /babel

* Prevent pass-through for attachments

- This addresses a straightforward Reflected XSS vulnerability if a malicious HTML/Javascript file is attached to a post through upload

* Prevent overwriting cid on event edit

- This allowed to share an event as any other user after zeroing the cid field of an existing event
2024-02-22 06:53:52 +01:00
Michael Vogel
71384e6f39
Issue 13909: Filter channels by network (#13924) 2024-02-20 07:11:26 +01:00
Michael
892e0a5623 Check for activity pub mime types 2024-02-19 07:11:56 +00:00
Michael Vogel
bcec6c5ab2
Issue #13899: Fix error on postupdate (#13915) 2024-02-18 20:09:56 +01:00
Michael
0d2ea97eb1 Fix comtact-relation follower calculation 2024-02-17 21:32:17 +00:00
Michael Vogel
14e5b06029
Image handling reworked, new image formats added (#13900)
* Image handling reworked, new image formats added

* Updated messages.po

* The dot is now part of the file extension

* Added WebP in install documentation

* Handle unhandled mime types

* Fixed animated picture detected
2024-02-17 07:45:41 +01:00
Michael Vogel
fad55e0948
Prevent users from following relay accounts (#13894) 2024-02-13 06:50:46 +01:00
Hypolite Petovan
686d0b6dbb
Merge pull request #13892 from annando/no-preview-on-sensitive
Don't display preview images for links, when the post is marked as sensitive
2024-02-12 22:30:31 -05:00
Michael
e2cbe0983a Don't display preview images for links, when the post is marked as sensitive 2024-02-12 06:01:07 +00:00
Michael
061f43788c Sanitize links before storing them 2024-02-12 05:21:13 +00:00
Michael
fe00a3893d urlencode for tags / fix smiley replacement 2024-02-12 04:46:20 +00:00
Michael Vogel
52825cb4c4
User setting to disable blurring of sensitive pictures (#13883) 2024-02-10 09:50:49 +01:00
Michael
0a6dff0618 Sensitive previews are now blurred 2024-02-06 16:15:58 +00:00
Michael
0153c2a027 Merge remote-tracking branch 'upstream/develop' into issue-13845 2024-02-06 09:47:38 +00:00
Michael
d5bf306884 We now use xonstants 2024-02-06 06:34:16 +00:00
Michael
4cd2fde6f2 Two new search options "media:card" and "media:post" 2024-02-05 22:21:58 +00:00
Michael
c0cd0dc74d "sensitive" added to fierld list 2024-02-05 12:21:57 +00:00
Michael
15df9990da Issue 13845: Support "sensitive" attribute 2024-02-04 21:45:30 +00:00
Michael
fc05daefb5 "media" is added to the search text 2024-02-02 10:46:20 +00:00
Michael
7faa42882b language field renamed to "language" 2024-02-02 07:05:39 +00:00
Michael
fc22a3e83f Unify searchindex table with engagement table 2024-02-01 23:08:53 +00:00
Michael
e60f3e1a99 Channel relay reshares are now private follwers posts 2024-02-01 15:59:04 +00:00
Michael
d29d7c40cd Alternatives are added to the documentation 2024-01-30 11:55:36 +00:00
Michael
1e3cfca58d search term alternatives added 2024-01-30 11:14:41 +00:00
Michael
3fe4991fcf Filter user defined channels by size 2024-01-30 10:05:05 +00:00
Michael
7432e47f7a Fix code standards 2024-01-29 18:07:53 +00:00
Michael
cda1b91b77 Update searchindex on reshare 2024-01-29 12:32:21 +00:00
Michael
7c43b41f0b Searchtext functionality added 2024-01-29 11:02:13 +00:00
Michael
9bd8d974b3 Account type relay / fix missing baseurl for own contacts 2024-01-29 06:28:43 +00:00
Michael
d2702dfe9c Use centralized functions for tag string handling 2024-01-28 06:32:55 +00:00
Michael Vogel
e1381cfc5c
Update src/Model/Post/Counts.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2024-01-25 22:16:38 +01:00
Michael
dcb6fa32a1 Fixes "Counts::update(): Argument #3 ($vid) must be of type int, null given" 2024-01-25 13:20:50 +00:00
Michael
7b638617f1 Merge remote-tracking branch 'upstream/develop' into search 2024-01-22 14:09:29 +00:00
Michael
ad6976a407 Changed leftover "getBody" to "getBodyString" 2024-01-22 07:38:05 +00:00
Michael
39e1f2c0fc Code standards 2024-01-21 17:05:18 +00:00
Michael
6389133575 Expiry post search index entries 2024-01-21 16:24:59 +00:00
Michael
919f97c9a0 Postupdate added 2024-01-17 21:10:33 +00:00
Michael
e9f7ea0afa New search keyword "language" 2024-01-17 20:25:49 +00:00
Michael
ee9a68e40c New table "post-searchindex" 2024-01-17 19:46:22 +00:00
Michael
23b247d1c3 Merge remote-tracking branch 'upstream/develop' into channel-relay 2024-01-15 19:41:26 +00:00
Hypolite Petovan
dd534919d7
Merge pull request #13831 from friendica/warning
Fix warning concerning a missing "created" field
2024-01-15 14:17:06 -05:00
Michael
f6335590c5 Improve query 2024-01-15 17:00:32 +00:00
Michael
f83f61f7ac "ANY_VALUE" is removed 2024-01-15 16:45:24 +00:00
Hypolite Petovan
a0dec23f2d
Merge pull request #13832 from mexon/console-set-password
Update use of PasswordExposed API
2024-01-15 07:43:23 -05:00
Michael
9075d7f37d Constant for undeterminded language 2024-01-15 06:20:49 +00:00
Michael
7a13d8b8ac Merge remote-tracking branch 'upstream/develop' into channel-relay 2024-01-15 06:14:55 +00:00
Hypolite Petovan
60b81bb6ca
Merge pull request #13833 from mexon/create-user-photo
Allow setting user avatar in the console at creation
2024-01-15 01:09:01 -05:00
Michael
5acfff1152 Merge remote-tracking branch 'upstream/develop' into ocr 2024-01-14 18:33:02 +00:00
Matthew Exon
921bf15419 Update use of PasswordExposed API 2024-01-14 18:40:40 +01:00
Matthew Exon
36c37e0c62 Allow setting user avatar in the console at creation 2024-01-14 16:19:20 +01:00
Michael
3b1d636322 Merge remote-tracking branch 'upstream/develop' into warning 2024-01-14 12:13:10 +00:00
Michael
d4c16b8704 Fix warning concerning a missing "created" field 2024-01-14 11:58:06 +00:00
Michael Vogel
02123bda98
Issue 13828: Use the alias as profile link if present (#13829)
* Issue 13828: Use the alias as profile link if present

* Updated messages.po
2024-01-14 10:08:00 +01:00
Michael
3a60229e5c Use OCR to fetch text in images 2024-01-13 19:30:20 +00:00
Hypolite Petovan
e8c256bcff [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices
- Bump divineomega/password_exposed to version 3 to remove dependency on Guzzle version 6
- Add new ICanHandleHttpResponses->getBodyString method to solve inheritance mismatch with GuzzleHttp\Psr7\ResponseInterface->getBody return type
2024-01-12 08:42:46 -05:00
Michael
a30b9e6927 Improved handling of empty default languages 2024-01-12 09:58:16 +00:00
Michael
dfce85a09f Improved performance with full text search 2024-01-10 21:17:21 +00:00
Michael
a04dc06aab Handle reshares / improved code 2024-01-09 22:55:47 +00:00
Michael
0b84e0d056 Compare with lowered tags 2024-01-09 06:40:07 +00:00
Michael
7a680dd9b7 Take language from quoted post 2024-01-08 06:48:49 +00:00
Michael
5dedf5e500 Execute the language detection all the time 2024-01-08 06:23:28 +00:00
Michael
43fa22470c Fix warning, when the language is invalid 2024-01-07 23:10:28 +00:00
Michael
d2a74d1936 New option to disallow 2024-01-07 19:22:56 +00:00
Michael
c4b85ef25a New field "publish" for channels 2024-01-07 18:36:47 +00:00
Michael
08738e6551 Improved handling of undetected languages 2024-01-07 12:45:08 +00:00
Michael
da02df20c3 Simplified language check 2024-01-07 12:09:13 +00:00
Michael
6e830f7774 Improved handling for undeterminded languages 2024-01-07 10:11:52 +00:00
Michael
6cd0e1e35f Use owner instead of author 2024-01-07 01:08:59 +00:00
Michael
811a9f01bc New user account type "Channel Relay" 2024-01-06 17:27:42 +00:00
Michael
7ecf143e4c The "unkmail" functionality is removed 2024-01-03 10:23:11 +00:00
Michael
89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Michael Vogel
9592292dba
Improved server detection / new servers added to federation statistics (#13793)
* Improved server detection / new servers added to federation statistics

* Fix wrong color code
2024-01-02 20:12:37 +01:00
Michael Vogel
8fc96477e7
Use the post-counts table to display content (#13781)
* Use the post-counts table to display content

* Use verb instead of vid

* Use verb

* Update counter on delete
2023-12-31 12:50:07 +01:00
Michael
e88cd16644 Code standards 2023-12-28 17:50:11 +00:00
Michael
40a1263066 New table "post-counts" to precalculate the counts 2023-12-28 17:42:39 +00:00
Michael
86a27b51ad "User::" is changed to "self::" 2023-12-28 10:23:01 +00:00
Michael
da65f0bea7 Store Pixelfed's capabilities 2023-12-21 00:33:42 +00:00
Michael
a86cd93fb8 Fix class name capitalisation 2023-12-20 19:55:34 +00:00
Michael
fbcfa46beb Fix lost local tags upon update 2023-12-19 15:28:20 +00:00
Michael
7c7ebd9b86 Issue 13731: Fix error concerning invalid user 2023-12-17 09:56:00 +00:00
Michael
303c9fb23f Added server detection for "threads" 2023-12-15 11:19:11 +00:00
Michael
0a4f0d616a Allow longer avatar URLs / the system outbox is now handled 2023-12-15 10:39:41 +00:00
Michael
1cd729531d Sorting changed to "created" 2023-12-14 06:18:17 +00:00
Michael
f81192b4c3 Fix uddate issues and improve speed when displaying contact posts 2023-12-14 04:58:43 +00:00
Michael
14266a1ca4 Only use posts with wanted languages for subscribed tags 2023-12-11 22:07:01 +00:00
Hypolite Petovan
35e3e912df Add support for string in $nodeinfo['protocols']
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1848404671
2023-12-09 21:36:57 -05:00
Michael
a120debac6 Fix for exception when there are "null" replies 2023-12-07 09:59:39 +00:00
Michael
f5337904e4 Improved distribution of non public messages 2023-11-30 05:51:38 +00:00
Michael
1ca7118027 Improve performance on the contact relation queries 2023-11-28 10:00:11 +00:00
Michael
077c9ff0c9 Improved control about the contact/server updates 2023-11-27 19:00:12 +00:00
Michael
3f971f6dec Fix exceptions in the channel check 2023-11-25 16:17:26 +00:00
Michael
4a5014eab5 Function is renamed 2023-11-25 15:14:06 +00:00
Michael
b3d7dfb9a5 Issue 8542: User option to display the event list/birthday notification 2023-11-25 14:57:24 +00:00
Hypolite Petovan
5c3227ac4c
Merge pull request #13663 from annando/issue-13607
Issue 13607: Use privacy setting for "remote self"
2023-11-24 21:19:52 -05:00
Hank Grabowski
f3f0859e0b Fix if not allowed blocked servers then server-blocked condition is false not true 2023-11-24 17:19:04 -05:00
Michael
4277b0c3aa Issue 13607: Use privacy setting for "remote self" 2023-11-24 08:35:49 +00:00
Michael
ffbab95c20 Channels can now be based on the "network" feed as well 2023-11-21 23:13:26 +00:00
Michael
ba3dacdbde Simplify gserver entry creation for non native networks 2023-11-19 19:11:45 +00:00
Michael
43f9be367f Check for user defined channel matches before storing them 2023-11-15 16:19:05 +00:00
Michael
58a8ce0420 Store "null" when no language couldn't be detected 2023-11-10 08:30:37 +00:00
Michael
dbda317c6d The transmitted language is now stored 2023-11-09 21:31:34 +00:00
Michael
5afa4fa838 Improved relay post processing 2023-11-09 06:43:03 +00:00
Hypolite Petovan
89e105afbe
Merge pull request #13613 from annando/permissions
Ensure to always have stored the receivers
2023-11-06 04:13:18 -08:00
Michael
b58cabdc41 Ensure to always have stored the receivers 2023-11-06 09:57:23 +00:00
Hypolite Petovan
da9baf2be8 Use public contact ID in Model\Profile::getVCardHtml instead of potentially self-contact ID
- This prevented contact conversation link from working
2023-11-05 19:34:36 -05:00
Hypolite Petovan
58e5f0d9c5
Merge pull request #13611 from annando/languages
Use the post language for the language detection / config for quality
2023-11-05 16:23:57 -08:00
Michael
f5091110c2 Use the "abandon days" for the user language detection 2023-11-05 21:04:29 +00:00