Commit graph

36511 commits

Author SHA1 Message Date
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
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 Holzer 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 Holzer fae2c6632c
Fix database 2023-02-21 21:01:57 +01:00
Philipp Holzer 7e92adef6c
Fix API tests without addon table 2023-02-21 21:01:40 +01: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
Hank Grabowski 06f53d2d1a Add missing spaces after colons for function parameters for style check reasons 2023-02-20 13:31:04 -05:00
Hypolite Petovan 5f56918d3e
Merge pull request #12825 from HankG/fix-blocks-listing
Remove extraneous ID parameter from Mastodon Blocks Listing API
2023-02-20 13:28:28 -05:00
Hank Grabowski 5c3bd4acd1 Merge branch 'develop' into mastodon-instance-v2-implementation 2023-02-20 13:25:59 -05:00
Hank Grabowski dd664f632f Merge branch 'develop' into fix-blocks-listing 2023-02-20 13:25:05 -05:00
Hank Grabowski 41b5ec0262 Merge branch 'develop' into mastodon-instance-v2-implementation 2023-02-20 13:22:37 -05:00
Hank Grabowski 71a7c0a4de Refactor Mastodon API InstanceV2 so objects are simple and BI in API layer 2023-02-20 13:22:29 -05:00
Philipp 3de3d867a5
Merge pull request #12821 from HankG/notifications-summary
Add Notifications summary poption to Mastodon API Endpoint
2023-02-20 18:36:38 +01:00
Hank Grabowski 97cad5d2e0 Merge branch 'develop' into fix-blocks-listing 2023-02-20 12:19:56 -05:00
Hypolite Petovan 33a8d2bc3d
Merge pull request #12814 from nupplaphil/bug/config_multi_serialize
Fix multiple serialized values
2023-02-20 11:54:18 -05:00
Hypolite Petovan 14a3f73f4f
Merge pull request #12823 from annando/optimize
Config to enable the optimizing of all tables
2023-02-20 11:53:30 -05:00
Philipp Holzer c233c666fb
Update db-version 2023-02-20 17:23:22 +01:00
Philipp Holzer 41251458a0
language and static 2023-02-20 17:23:01 +01:00
Philipp Holzer d772331b91
Fix multiple serialized values 2023-02-20 17:22:59 +01: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
Hank Grabowski f5ffc9da95 Remove extraneous ID parameter from Mastodon Blocks Listing API 2023-02-20 10:18:15 -05:00
Hank Grabowski 843502badc Merge branch 'develop' into notifications-summary 2023-02-20 10:06:59 -05:00
Michael bd0348b53c Config to enable the optimizing of all tables 2023-02-20 14:46:58 +00:00
Hank Grabowski 4abb7ed746 Fix whitespace issue on assignment alignment 2023-02-20 09:07:50 -05:00
Hank Grabowski e594bb72dd Add notifications summary (count only for now) to Mastodon API 2023-02-20 08:53:28 -05:00
Hypolite Petovan cef063e4fd
Merge pull request #12819 from HankG/add-tables-to-optimize
Add tables to Optimize Worker
2023-02-20 08:47:38 -05: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 6106b8b75e
Merge pull request #12813 from HankG/mastodon-status-post-with-title
Add Friendica Title Extension to Mastodon Statuses POST API
2023-02-20 08:27:54 -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 5bba6dd4b7
Merge pull request #12804 from HankG/fix-blocked-users-in-mastodon-api-timelines
Add Block/Ignore filtering on all Mastodon API Timeline endpoints
2023-02-20 08:27:33 -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
Hank Grabowski 0bb2d00e70 Add License header to FriendicaExtensions file 2023-02-20 08:05:46 -05:00
Hank Grabowski fcf59dc245 Fix binary_operator_spaces errors 2023-02-20 08:05:01 -05:00
Hank Grabowski c076a07404 Add back in accidentally removed Session table 2023-02-20 07:55:41 -05:00
Hypolite Petovan 711135a85b
Merge pull request #12816 from annando/view
Config option to process the "view" activity
2023-02-20 07:54:29 -05:00