Commit graph

36541 commits

Author SHA1 Message Date
Philipp
ea550f6b02
ident_size 2 is better for XML readability :) 2023-02-27 20:57:19 +01:00
Philipp
089850e8f6
Add a PHPStorm code style XML 2023-02-27 20:53:19 +01:00
Philipp
ae5fe47c03
Adapt .editorconfig
- Add .json rule
- Add .xml rule
2023-02-27 20:34:46 +01:00
Philipp
3c7184513c
Revert quote_type 2023-02-27 20:11:07 +01:00
Philipp
191c84a281
adapt codecov config 2023-02-27 20:01:16 +01:00
Philipp
d2b3cc515f
Adapt .editorconfig for PHPStorm 2023-02-27 19:51:04 +01: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
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
Hank Grabowski
c235bf299e Add Mastodon format compatible (un)dislike endpoint in Friendica API space 2023-02-20 15:33:36 -05:00
Hank Grabowski
dba74c7940 Fix phpcbf style errors in part of code I didn't change 2023-02-20 15:32:03 -05:00
Hank Grabowski
3a8929be1f Add dislike counts to Mastodon API Statuses in FriendicaExtension 2023-02-20 15:31:15 -05:00
Hypolite Petovan
dec5a40aac
Merge pull request #12818 from HankG/mastodon-instance-v2-implementation
Mastodon instance v2 implementation
2023-02-20 14:16:17 -05:00
Hank Grabowski
6cd271b10f Modify to use the new baseURL methods. 2023-02-20 13:33:13 -05:00