Hank Grabowski
4b2ee284d8
Change check for friendica-title key to use isa and always set
2023-02-18 10:07:08 -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
9187723263
Add link headers to Mastodon trending endpoints
2023-02-17 13:24:11 -05: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
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
cb1adf983b
Fix style error
2023-02-15 15:13:30 -05:00
Hank Grabowski
c084e6a427
Allows @ in query on statuses when resolving since Mastodon links have it
2023-02-15 15:12:58 -05:00
Michael
9a93c8f1c5
Fix caps
2023-02-14 20:52:33 +00:00
Hank Grabowski
e384a9d6ca
Automatic PHPCBF style fix
2023-02-13 17:27:06 -05:00
Hank Grabowski
7e91a88d9b
Add unsupported Friendica notification types to built query
2023-02-13 17:26:24 -05:00
Hank Grabowski
8bfca6373a
Remove extraneous, unused, non-standard 'count' parameter from request list
...
- artifact of when I was playing around with the endpoint that somehow
didn't get deleted when I did the ultimate commit.
2023-02-13 15:13:17 -05:00
Michael
3e8c38946d
Catch not fetchable posts
2023-01-25 23:03:51 +00:00
Michael
30093fd2ec
Quote for notifications
2023-01-25 20:35:10 +00:00
Michael
b6fcfebd56
Switch parameters
2023-01-25 20:14:33 +00:00
Michael
c27fdc7167
Unused "use" removed
2023-01-25 06:34:15 +00:00
Michael
49d513f8d2
API: added positiv list for quote support
2023-01-25 06:26:17 +00:00
Michael
c471a78b05
Issue 12358: Allow blocking of every contact
2023-01-23 21:44:30 +00:00
Michael
d0373ab414
Issue 12603: Support quote in the api / Issue 12654: prevent privacy leakage
2023-01-23 21:24:50 +00:00
Michael
5a01fb0521
Don't show reblogged on single post
2023-01-23 17:56:45 +00:00
Michael
8e4e2eecb7
Issue 12702: Let the user decide how to handle spoiler texts
2023-01-22 17:10:31 +00:00
Michael
356a2a9a5a
News "blocked" field on the gserver table
2023-01-17 17:25:19 +00:00
Michael
e06f699dd9
Added Documentation, updated messages.po
2023-01-14 21:20:04 +00:00
Michael
af2a38c5b3
API: Accept "redirect_uris" as both array and string
2023-01-14 21:07:47 +00:00
Hypolite Petovan
97642e770b
Treat unsupported API call as HTTP error
2023-01-07 22:47:52 -05:00
Hypolite Petovan
8bbf9e93c6
Remove dependency to the second parameter of XML::fromArray
2023-01-01 19:20:42 -05:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Michael
9115ec5f0d
Adjust class references to the new location
2022-12-30 21:20:28 +00:00
Hypolite Petovan
5c332af844
Merge pull request #12527 from nupplaphil/feat/request_id
...
Introduce Request::getRequestId()
2022-12-26 16:07:35 -05:00
Philipp
4f1bb0d274
Use X-REQUEST-ID for Error pages
2022-12-26 21:18:05 +01:00
Michael
5298cd73b3
We now store the violation as well
2022-12-25 10:44:06 +00:00
Michael
cef4349421
Changed parameter order
2022-12-25 07:30:39 +00:00
Michael
8a7d08ae28
Category added
2022-12-24 13:57:43 +00:00
Michael
4c945850f4
Reports: The reporting contact id is added
2022-12-24 08:03:37 +00:00
Michael
de1c0f4c13
Don't display Diaspora reshares
2022-12-20 19:25:57 +00:00
Michael
8397ccf37c
Merge remote-tracking branch 'upstream/2022.12-rc' into diaspora-reshare
2022-12-17 12:27:35 +00:00
Hypolite Petovan
0e543b2d4a
Merge pull request #12392 from annando/api-relations
...
API: Use "contact" for own relations
2022-12-14 08:06:14 -05:00
Michael
5041e92937
Merge remote-tracking branch 'upstream/2022.12-rc' into diaspora-reshare
2022-12-14 09:19:41 +00:00
Michael
f013c92487
Only search for empty quoted reshares (Diaspora type)
2022-12-13 23:26:58 +00:00
Michael
ca8a89ed1c
Use reshare with Diaspora like with ActivityPub
2022-12-13 23:19:19 +00:00
Hypolite Petovan
d26b0ed5a2
Merge pull request #12407 from HankG/friendica-api-photo-endpoint-updates
...
Friendica api photo endpoint updates
2022-12-13 17:14:48 -05:00
Hank G
7072a71788
Update src/Module/Api/Friendica/Photoalbum/Index.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-12-13 16:52:28 -05:00
Hank G
2338a268d3
Update src/Module/Api/Friendica/Photoalbum/Show.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-12-13 16:52:21 -05:00
Hank G
6af4bfae21
Update src/Module/Api/Friendica/Photoalbum/Show.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-12-13 16:46:16 -05:00
Hank G
ae8f1a1c5b
Update src/Module/Api/Friendica/Photoalbum/Show.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-12-13 16:45:56 -05:00
Hank G
7bb60776c6
Update src/Module/Api/Friendica/Photoalbum/Show.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-12-13 16:45:49 -05:00
Hank G
d74345782a
Update src/Module/Api/Friendica/Photoalbum/Index.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-12-13 16:45:34 -05:00
Hank Grabowski
5288ed46d4
Remove extraneous comment and fix whitespace between lines for style
2022-12-13 16:04:03 -05:00
Hank Grabowski
0b2c013db4
Fix space missing after if style error in src/Module/Api/Friendica/Photoalbum/Show.php
2022-12-13 15:59:45 -05:00
Hank Grabowski
8576610c54
Fix copyright header issues...
2022-12-13 15:58:03 -05:00
Hank Grabowski
991c5fa6de
Add latest_first parameter to photo gallery listing Friendica API endpoint
2022-12-13 15:41:24 -05:00
Hank Grabowski
4fc01c93ce
Add photo album show endpoint that lists photos in an album
2022-12-13 14:16:08 -05:00
Hank Grabowski
5b52533749
Fix Friendica API Photo Album list documentation to reflect endpoint
2022-12-13 14:14:58 -05:00
Hank Grabowski
951b221e21
Fix Friendica API Photo Album list documentation to reflect endpoint
2022-12-13 13:31:10 -05:00
Hank Grabowski
e1823c7138
Add Photo Album index endpoint to Friendica API
2022-12-13 13:28:34 -05:00
Hank Grabowski
800f94495b
Add Photo album cache flushes to Friendica Photo endpoints
2022-12-13 13:27:23 -05:00
Hank Grabowski
8f56aa316b
Allow album to be empty string thus defaulting to i10n "Wall Photos" like in UI
2022-12-13 12:48:50 -05:00
Hypolite Petovan
27c738f90f
Merge pull request #12395 from HankG/fix-photo-get-without-scale-arg
...
Fix Friendica Photo GET API endpoint to work without explicit scale term
2022-12-12 13:00:19 -05:00
Hank Grabowski
4e5794c99d
Update Friendica Photo API endpoint fix to pass null for scale when not applied
2022-12-12 12:37:01 -05:00
Hank Grabowski
46607598f3
Fix Friendica Photo GET API endpoint to work without explicit scale term
2022-12-12 11:27:59 -05:00
Michael Vogel
0209c39e0a
Update src/Module/Api/Twitter/Statuses/Update.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-12-12 15:51:14 +01:00
Michael
5312b23f03
Don't send the header
2022-12-12 03:13:24 +00:00
Michael
a2f386cd2f
Transmit header before creating user list
2022-12-12 02:43:32 +00:00
Michael
cfd09663e7
Don't display pending requests
2022-12-12 02:33:57 +00:00
Michael
89efa73195
Fix tests
2022-12-11 22:56:56 +00:00
Michael
d05910a6e5
API: Allow permissions for status posts
2022-12-11 22:48:43 +00:00
Michael
ff5da9bc71
API: Use "contact" for own relations
2022-12-11 22:26:30 +00:00
Michael
6965614f00
API: Only search for direct hit without offset
2022-12-06 18:47:43 +00:00
Michael
4f98d2c74a
Issue 11915: Show reshared posts for contacts
2022-12-04 21:57:58 +00:00
Michael
5c74113bf6
Issue 12275: Banner upload via avatar does work now
2022-12-04 16:33:29 +00:00
Michael
b6f7d31036
API: Central way to fetch the system rules
2022-12-03 20:18:19 +00:00
Michael
36c7aea214
Debug code removed
2022-12-03 15:37:40 +00:00
Michael
e4dda7d2ca
Issue 11553: Reliably return the user's contacts
2022-12-03 14:19:48 +00:00
Hypolite Petovan
2baa56d478
Merge pull request #12298 from annando/api-suggestions
...
Contact suggestions are now cached
2022-12-01 05:25:44 -05:00
Michael
1d00947bcd
Don't fetch sugestions for the system user / catch error on contact timeline
2022-12-01 07:07:59 +00:00
Hypolite Petovan
1b0f7e5add
Merge pull request #12304 from HankG/add-dismissed-field-to-mastodon-notifications
...
Add dismissed field to mastodon notifications
2022-11-30 14:55:09 -05:00
Hank G
f61dbf76a7
Update src/Module/Api/Mastodon/Notifications.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-30 14:39:00 -05:00
Hank Grabowski
a2559d6241
Add 'include_all' parameter on Mastodon API endpoint
...
Maintains old functionality of only returning non-dismissed notifications while adding ability to get list of dismissed and non-dismissed notifications
2022-11-30 14:24:46 -05:00
Hank Grabowski
5b5c38f9ab
Fix broken dismiss endpoint on Mastodon notifications API
2022-11-30 14:11:39 -05:00
Michael
f31e617f5d
Contact suggestions are now cached
2022-11-30 05:59:27 +00:00
Michael
8eda9dfe7c
Fix warning 'Undefined array key "name"'
2022-11-29 23:21:27 +00:00
Michael
8b41d62a88
API: Speed improvements
2022-11-29 18:45:30 +00:00
Michael Vogel
7898f9cccb
Update src/Module/Api/Mastodon/Trends/Links.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-28 21:42:34 +01:00
Michael
de76e860ad
API: Added trending links
2022-11-28 20:19:57 +00:00
Michael
bded1c3989
Only use items that had originally been posted in the last week
2022-11-28 14:51:37 +00:00
Michael
0e160040d4
Code standards
2022-11-28 10:54:26 +00:00
Michael
c00004f6ea
API: Tredning statuses added
2022-11-28 09:30:41 +00:00
Michael
73ba7d8005
Coding styles
2022-11-28 06:52:55 +00:00
Michael
f7167acc74
Standards
2022-11-28 04:07:25 +00:00
Michael
56c4727fe1
Merge branch 'api-tags' of github.com:annando/friendica into api-tags
2022-11-28 04:04:35 +00:00
Michael
934766c364
Trim the tag
2022-11-28 04:04:27 +00:00
Michael Vogel
4e6b6fd76b
Update src/Module/Api/Mastodon/FollowedTags.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-28 05:00:08 +01:00
Michael
85f57e69fa
Issue 12191: We can now follow and unfollow tags via API
2022-11-28 03:29:43 +00:00
Michael
a6d060b0e4
Merge remote-tracking branch 'upstream/develop' into api-tags
2022-11-28 02:13:20 +00:00