Commit graph

36661 commits

Author SHA1 Message Date
Hank Grabowski
0451f2dfa1 Add Mastodon Instance V2 API endpoint /api/v2/instance 2023-02-20 07:51:20 -05:00
Michael
3b469fe4e9 Fix the spelling of some verbs 2023-02-20 08:54:27 +00:00
Michael
11513519ce Config option to process the "view" activity 2023-02-20 06:41:28 +00:00
Hank Grabowski
8101739edd Change Mastodon API documentation URL for V1 Instance type 2023-02-19 17:32:13 -05:00
Hank Grabowski
7ea09e666b Add additional tables to the optimize worker function 2023-02-19 08:55:08 -05:00
Hank Grabowski
cd957a7f66 Remove extraneous __get since needed capability found in parent class 2023-02-19 07:59:53 -05:00
Hank Grabowski
3bb0bda880 Remove documentation stating friendica extensions can be null since always set 2023-02-19 07:58:10 -05:00
Hank G
f1dbf82e5b
Update src/Module/Api/Mastodon/Statuses.php
Co-authored-by: Philipp <admin+Github@philipp.info>
2023-02-19 07:50:39 -05:00
Philipp
cb106f40ca
Remove $ssl_state variable 2023-02-19 12:25:24 +01:00
Philipp
366d798e38
Remove dbstructure update 2023-02-19 11:31:22 +01:00
Philipp
b593165949
adapt theme comment 2023-02-19 11:30:33 +01:00
Philipp
a1fedaf514
adapt install path 2023-02-19 11:29:29 +01:00
Philipp
f9f86e04ff
adapt BaseURL constructor 2023-02-19 11:27:14 +01:00
Philipp
3e0efc9c7c
Update src/Module/Moderation/Users/Blocked.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-02-19 11:27:02 +01:00
Philipp
94d1e0b232
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-02-19 11:26:26 +01:00
Philipp
544168244c Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-02-19 11:12:48 +01:00
Philipp
92850d4482
Update messages.po 2023-02-18 21:50:14 +01:00
Philipp
75ecaa89ee
Add site admin warning if BaseURL is missing 2023-02-18 21:50:07 +01:00
Philipp
5552aac327
check themplates 2023-02-18 21:50:07 +01:00
Philipp
c0359330b6
Add typehint for DI::baseUrl() 2023-02-18 21:12:21 +01:00
Philipp
f0c29edcde
Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Philipp
9e6d95284b
Adapt tests to use new BaseURL UriInterface 2023-02-18 21:12:21 +01:00
Philipp
402d45d490
Move force_ssl behavior 2023-02-18 21:12:20 +01:00
Philipp
dbb7022ca5
Refactor Installer due new BaseURL logic 2023-02-18 21:12:20 +01:00
Philipp
96e12be26b
Remove old config parts
- config.hostname
- system.urlpath
- system.ssl_policy
2023-02-18 21:12:20 +01:00
Philipp
45749c14be
Refactor BaseURL.php to UriInterface compatible class
- remove parts
- added tests
2023-02-18 21:12:20 +01:00
Hank Grabowski
34c4849341 Merge branch 'develop' into mastodon-status-post-with-title 2023-02-18 10:30:57 -05:00
Hank Grabowski
4b2ee284d8 Change check for friendica-title key to use isa and always set 2023-02-18 10:07:08 -05:00
Tobias Diekershoff
08754b2bab
Merge pull request #12812 from annando/emoji-activities
Activities are now displayed as Emojis
2023-02-18 08:34:16 +01:00
Michael
608b5a37a4 Activities are now displayed as Emojis 2023-02-18 06:56:03 +00:00
Hypolite Petovan
960fdb9076
Merge pull request #12806 from annando/loglevels
Some loglevels are adjusted to more reasonable levels
2023-02-17 18:19:03 -05:00
Hypolite Petovan
6d38b44b97
Merge pull request #12799 from HankG/fix-mastodon-friend-requests-ids
Change FollowRequest to return the user ID so is compatible with POST endpoint
2023-02-17 18:09:26 -05:00
Hank Grabowski
f10821f915 Add friendica->title input to Mastodon Status POST API for explicitly setting title
- update logic so that if it is provided with a spoiler text then the spoiler text is always used as actual spoiler text and the title is the title.
2023-02-17 17:42:55 -05:00
Hank Grabowski
40ee96512a Add extension to Mastodon Status object for Friendica-specific things
- first entry is the title
2023-02-17 17:42:00 -05:00
Hank Grabowski
9187723263 Add link headers to Mastodon trending endpoints 2023-02-17 13:24:11 -05:00
Hank Grabowski
2754cdc5d6 Add Link headers by offset/limit capability to BaseApi 2023-02-17 13:24:00 -05: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
Michael Vogel
659fab0fe5
Merge pull request #12801 from HankG/fix-mastodon-api-search
Fix mastodon api search
2023-02-17 18:56:08 +01:00
Hank Grabowski
e6c93d31c1 Add offset parameter to Mastodon trending Links and Statuses endpoints 2023-02-17 11:59:30 -05:00
Hank Grabowski
6a94632131 Add documentation to new trending tags endpoint QPs 2023-02-17 11:25:25 -05:00
Hank Grabowski
f40cd60e39 Remove FollowRequest type and use mstdnAccount->createFromContactId instead 2023-02-17 11:09:16 -05:00
Hank Grabowski
67b8ad242b Allow @-symbols in Mastodon status searches under all conditions 2023-02-17 10:49:32 -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
Hank Grabowski
e3bfb39e91 Remove explicit block filtering for results that go through selectViewForUser 2023-02-16 16:06:56 -05:00
Michael
baf75adfca Some loglevels are adjusted to more reasonablöe levels 2023-02-16 20:47:37 +00:00
Hank Grabowski
a4515daca4 Add blocked/ignored filters to Mastodon Timeline API Direct and List endpoints 2023-02-16 08:08:58 -05:00
Hank Grabowski
d6c1e85b5f Add blocked/ignored filters to Mastodon Timeline API Home and Tags endpoints 2023-02-16 08:05:32 -05:00
Hank Grabowski
18bb181a78 Cleanup unused imports, excessive line length in Mastodon FollowRequest factory 2023-02-15 15:43:57 -05:00
Hank Grabowski
4964e947c9 Delete unused Mastodon FollowRequest object (can just use Account now) 2023-02-15 15:43:17 -05:00
Hank Grabowski
31b746cb16 Change FollowRequest return type to be Account 2023-02-15 15:40:10 -05:00