Commit graph

25557 commits

Author SHA1 Message Date
Hypolite Petovan c9c30e4a23 Add relationship filter to api_friends_ids and api_followers_ids 2019-12-13 11:43:45 -05:00
Hypolite Petovan 81b9d25906 Add relationship filter to api_ff_ids() 2019-12-13 11:43:20 -05:00
Michael Vogel 0b13a7acd3
Merge pull request #7942 from MrPetovan/bug/notices
Don't process empty hash tags in Model\Item
2019-12-13 17:08:01 +01:00
Hypolite Petovan b800083a2b Don't process empty hash tags in Model\Item
- Addresses https://github.com/friendica/friendica/issues/7677#issuecomment-565372628
2019-12-13 07:16:43 -05:00
Michael b42262f206 API: Improved handling of quoted posts and attachments 2019-12-13 10:12:40 +00:00
Hypolite Petovan 5a15e6bc59 Support post URL search term in api_search() 2019-12-12 20:59:19 -05:00
Hypolite Petovan 0069bb022d Support user profile URL search term in api_users_search() 2019-12-12 17:04:47 -05:00
Hypolite Petovan ff3a0a0eba
Merge pull request #7939 from annando/issue-7659
Issue 7659: Display blocked and ignored public contacts as well
2019-12-12 11:07:57 -05:00
Michael 543c8f8459 Use localuser() 2019-12-12 15:57:08 +00:00
Hypolite Petovan 7d150edb29
Merge pull request #7935 from annando/issue-7651
Issue 7651: Added basic support for more complicated "video" elements
2019-12-12 10:00:54 -05:00
Michael cc38250538 Improved RegExp 2019-12-12 14:57:31 +00:00
Copiis e5b470c78e
Update Install.md 2019-12-12 13:38:00 +01:00
Michael 39560218f8 Issue 7659: Display blocked and ignored public contacts as well 2019-12-12 11:58:57 +00:00
Michael e70743f72d Issue 7651: Added basic support for more complicated "video" elements 2019-12-12 05:35:30 +00:00
Tobias Diekershoff 9d626516d8
Merge pull request #7932 from MrPetovan/bug/fatal-errors
Log a message when data isn't the expected type in GContact::updateFromOutbox
2019-12-11 18:36:36 +01:00
Hypolite Petovan e976bc0668 Log a message when data isn't the expected type in GContact::updateFromOutbox 2019-12-11 08:48:44 -05:00
Hypolite Petovan 9a0a11ed39 Improve Api\Mastodon\Account with data from apcontact
- Original work by @annando
2019-12-11 08:25:45 -05:00
Hypolite Petovan cf72bde93d Ensure APContact::getByUrl always returns an array 2019-12-11 08:25:44 -05:00
Hypolite Petovan 2d47952921 Add POST follow request Mastodon API endpoint 2019-12-11 08:25:44 -05:00
Hypolite Petovan 1625330e70 Switch Api\Mastodon\FollowRequests to list introductions instead of pending contacts 2019-12-11 08:24:17 -05:00
Hypolite Petovan 0656e9ece4 Update web modules handling introduction to use new model class 2019-12-11 08:24:17 -05:00
Hypolite Petovan c239d218d8 Update Base\Api::login to return the authentication status 2019-12-11 08:24:16 -05:00
Hypolite Petovan 919b1f45ab Add new Introduction model class 2019-12-11 08:24:16 -05:00
Hypolite Petovan be93914c7d Move module post call before rawContent
- This was preventing API POST request to be processed
2019-12-11 08:24:16 -05:00
Hypolite Petovan ff69fa1629 Add new BaseModel class 2019-12-11 08:24:16 -05:00
Hypolite Petovan 7716583912 Add Mastodon API entity Relationship class 2019-12-11 08:24:16 -05:00
Hypolite Petovan 97b0175e55
Merge pull request #7931 from nupplaphil/bug/codecov_exclude
Fix phpunit exclude list
2019-12-11 08:13:55 -05:00
Philipp Holzer 64977cc589
Fix codecov exclude list 2019-12-11 13:35:40 +01:00
Hypolite Petovan 1c69dda2e1
Merge pull request #7926 from annando/api-instance
API: Added endpoints /instance and /instance/peers
2019-12-11 04:07:49 -05:00
Michael 3388274f9a Removed unneeded function 2019-12-11 08:26:18 +00:00
Michael 203857ede0 Added parameter description 2019-12-11 06:54:31 +00:00
Michael 9296a55dfb Added entities 2019-12-11 06:51:59 +00:00
Hypolite Petovan d994c91f38
Merge pull request #7929 from annando/apcontact-data
APContact: Added follower count, following count and count of posts
2019-12-10 19:58:25 -05:00
Michael 1baa4d48af Removed outcommented code 2019-12-11 00:10:25 +00:00
Michael 911a854255 APContact: Added follower count, following count and count of posts 2019-12-11 00:05:50 +00:00
Michael 4e2804d783 Added some more data 2019-12-10 23:05:25 +00:00
Hypolite Petovan e39e3389ca
Merge pull request #7927 from nupplaphil/task/2fact_tel
Make 2Factor "tel" field instead "number"
2019-12-10 17:02:34 -05:00
Philipp Holzer b085098b49
Make 2Factor "tel" field instead "number"
- because of missing copy&paste buttons at number
2019-12-10 22:44:45 +01:00
Michael 1958bde4c0 API: Added endpoints /instance and /instance/peers 2019-12-10 21:27:09 +00:00
Tobias Diekershoff 9c1f652008 Version 2019.12-rc 2019-12-10 18:13:43 +01:00
Philipp d0b20fb499
Merge pull request #7904 from MrPetovan/task/7887-api-followers-request
Add GET /api/v1/follow_requests Mastodon API endpoint
2019-12-10 15:53:06 +01:00
Hypolite Petovan f4c94236c5
Merge pull request #7924 from annando/issue-7691
Issue 7691: We can now switch to BCC for ActivityPub
2019-12-10 08:36:07 -05:00
Hypolite Petovan 9e41488c40 Fix JSON syntax in Friendica API doc 2019-12-10 07:54:11 -05:00
Tobias Diekershoff 7cec9a9dd1
Merge pull request #7925 from annando/issue-7613
Issue 7613: When an item is deleted, delete all notifications for it
2019-12-10 07:51:50 +01:00
Michael a6c72a209e Issue 7613: When an item is deleted, delete all notifications for it 2019-12-10 06:21:18 +00:00
Hypolite Petovan e1ba53fec3 Rework API documentation
- Split API pages by target software
- Added API entities list
2019-12-09 22:50:38 -05:00
Hypolite Petovan c6d422a188 Update Module\Help to use anchor words for titles
- Previous anchors are kept for links backward compatibility
2019-12-09 22:50:37 -05:00
Hypolite Petovan 8016cb3cee Add GET /api/v1/follow_requests Mastodon API endpoint 2019-12-09 22:50:36 -05:00
Hypolite Petovan b365ffc3b5 Add API base module 2019-12-09 22:50:36 -05:00
Hypolite Petovan 2e9be55e51 Add Mastodon API entity classes 2019-12-09 22:50:35 -05:00