Commit graph

36546 commits

Author SHA1 Message Date
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
Philipp
a40ecb3902
Merge pull request #12843 from annando/fetchraw-attachments
Catch all errors thrown by "fetchRaw"
2023-02-27 08:24:05 +01:00
Michael
bd3120d6cb Use non static logger call 2023-02-27 07:02:06 +00:00
Michael
6e3602591d Use "Exception" 2023-02-26 22:43:45 +00:00
Philipp
de53109a49
Merge pull request #12844 from HankG/mastodon-status-add-delivery-data
Add Delivery Information to Mastodon Status API Entity
2023-02-26 23:03:30 +01:00
Hank Grabowski
9ab73c30ef Allow delivery stats to be null. 2023-02-26 11:27:01 -05:00
Hank Grabowski
ea782d97fc Make calls inline and return 0 if value is null 2023-02-26 10:26:15 -05:00
Michael Vogel
4be9c180d5
Merge pull request #12845 from HankG/fix-instancev2-nullability
Add nullability to InstanceV2 Contact type for account parameter
2023-02-26 16:10:00 +01:00
Hank Grabowski
0f811abc50 Add nullability to InstanceV2 Contact type for account parameter 2023-02-26 09:38:22 -05:00
Hank Grabowski
e92b0a73f4 Update documentation for delivery status data addition to Mastodon Status 2023-02-26 09:18:46 -05:00
Michael
2b513a48c7 Catch all errors thrown by "fetchRaw" 2023-02-26 14:08:33 +00:00
Hank Grabowski
751e335b4b Add delivery status data to Mastodon Status Friendica Extension 2023-02-25 14:23:59 -05:00
Hypolite Petovan
d8aa8772cd
Merge pull request #12839 from HankG/api-documentation-updates
API documentation updates
2023-02-24 08:48:41 -05:00
Hank G
c0741be417
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-02-24 08:47:37 -05:00
Hank G
5e8acbf534
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-02-24 08:46:52 -05:00
Hank Grabowski
671fc61ef4 Make indentation consistent 2023-02-23 20:52:16 -05:00
Hank G
65dedb7a7e
Apply suggestions from code review
Changes suggested by @MrPetovan

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-02-23 20:40:43 -05:00
Hank G
b243df5125
Update doc/API-Entities.md
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-02-23 10:32:09 -05:00
Hank Grabowski
7b6cb7bcf2 Add Mastodon Instance::V2 Friendica extension documentation 2023-02-23 06:46:43 -05:00
Hank Grabowski
811d57cb6d Add Mastodon Status Editing endpoint documentation 2023-02-22 22:55:04 -05:00
Hank Grabowski
3389a17553 Add additional and not supported fields/QPs on the Mastodon Timeline Endpoints 2023-02-22 22:43:32 -05:00
Hank Grabowski
d64ae9bef2 Add new Friendica Photo Album GET endpoints to documentation 2023-02-22 22:35:24 -05:00
Hank Grabowski
a8661f1eff Add Mastodon Notification Entity Extensions documentation 2023-02-22 22:20:33 -05:00
Hank Grabowski
e0143618db Add Mastodon API endpoint extension information 2023-02-22 22:07:27 -05:00
Hank Grabowski
467193c661 Add Mastodon Status Entity Friendica extensions (minus quote)
- I can't figure out how to get the quote one to populate, check if still relevant
2023-02-22 21:49:56 -05:00
Hank Grabowski
dacda1b364 Add changes to the Photo entries in Friendica API endpoint 2023-02-22 21:31:07 -05:00
Hank Grabowski
e28a0ed59c Add Dislike Friendica API documentation 2023-02-22 20:55:52 -05:00
Hank Grabowski
95d615ec1c Add new Mastodon InstanceV2 to implemented list and fix doc links 2023-02-22 20:47:55 -05:00
Hypolite Petovan
1cff849a94
Merge pull request #12838 from HankG/blocks-status-fix
Correctly reflect blocked status in Mastodon Relationship Object
2023-02-22 16:49:55 -05:00
Hypolite Petovan
defbf87d9c
Merge pull request #12837 from HankG/fix-blocks-ignores-in-full-context-status-request
Incorporate ignore/blocks in Mastodon Status Context Endpoint
2023-02-22 16:48:25 -05:00
Hank Grabowski
a301f8a82d Merge branch 'develop' into fix-blocks-ignores-in-full-context-status-request 2023-02-22 13:26:28 -05:00
Hank Grabowski
7224c0fc38 Merge branch 'develop' into blocks-status-fix 2023-02-22 12:08:06 -05:00
Hank Grabowski
4a00731aa4 Breakup public/user ID query results so can always query blocked status by CID 2023-02-22 12:07:57 -05:00
Hank Grabowski
b06a3e877e Add show_all option to Mastodon status context to show ignored and blocked statuses 2023-02-22 11:45:42 -05:00
Hypolite Petovan
6870ccc00e
Merge pull request #12833 from annando/ostatus-like
Fix emoji activities
2023-02-21 16:35:25 -05:00
Michael
08ba9e4183 Fix emoji activities 2023-02-21 21:07:41 +00:00
Hypolite Petovan
a27baa24b9
Merge pull request #12832 from nupplaphil/feat/json-ld-1.1.2
Update json-ld to 1.1.2
2023-02-21 16:03:07 -05:00
Philipp
433dd3e6ef
Update json-ld to 1.1.2
- Add support for local files for unsecured document loading
2023-02-21 21:37:00 +01:00
Philipp
f4af683af2
Merge pull request #12830 from MrPetovan/bug/12828-addon-table
Remove addon table from DB structure
2023-02-21 21:06:18 +01:00
Philipp
fae2c6632c
Fix database 2023-02-21 21:01:57 +01:00
Philipp
7e92adef6c
Fix API tests without addon table 2023-02-21 21:01:40 +01:00
Hank Grabowski
3958739d60 Add to Mastodon Status/Context filter for ignored and blocked user's comments 2023-02-21 13:53:16 -05:00
Hypolite Petovan
5acbcba5c2
Merge pull request #12829 from Quix0r/fixes/export-to-file-null
Fixed: DomainPatternBlocklist::exportToFile() must be of the type string, null given
2023-02-21 09:13:19 -05:00
Hypolite Petovan
dffd28cf20 Remove addon table from DB structure
- It isn't used anymore in favor of a Config key
2023-02-21 09:07:19 -05:00
Roland Häder
ed86e9ca96
Fixed:
- added check for empty file name as the export doesn't work without one:
  `[Error] Argument 1 passed to Friendica\Moderation\DomainPatternBlocklist::exportToFile() must be of the type string, null given, called in /var/www/.../src/Console/ServerBlock.php on line 110`
2023-02-21 12:58:50 +01:00
Hypolite Petovan
b1b3b0ffe7
Merge pull request #12826 from HankG/dislike-for-mastodon-endpoints
Dislike capabilities for Mastodon compatible endpoints
2023-02-21 00:15:05 -05:00
Hank Grabowski
9c9abd4400 Merge branch 'develop' into dislike-for-mastodon-endpoints 2023-02-20 15:52:09 -05:00
Hank Grabowski
155e3a701e Add DislikedBy Mastodon compatible endpoint in the Friendica API space 2023-02-20 15:51:17 -05:00
Hank Grabowski
c419aabee4 Add deleted check to FavouritedBy Mastodon endpoint 2023-02-20 15:50:21 -05:00