Ivan Tashkinov
|
77f3da0358
|
[#3213] Misc. tweaks: proper upsert in Hashtag, better feature toggle management.
|
3 years ago |
Haelwenn (lanodan) Monnier
|
7fc9cd0974
|
Video: Handle peertube videos only stashing attachments in x-mpegURL
Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/2535
|
3 years ago |
Mark Felder
|
63739c5a58
|
Tests to validate client disclosure obeys user setting
|
3 years ago |
Mark Felder
|
d5ef02c7a7
|
Mastodon makes this field null when posting with MastoFE or if you choose to not disclose it, so it's safe to be null by default
|
3 years ago |
Alexander Strizhakov
|
1e6c27181e
|
expires_in in scheduled status params
|
3 years ago |
rinpatch
|
6d66fadea7
|
Remove `:auth, :enforce_oauth_admin_scope_usage`
`admin` scope has been required by default for more than a year now
and all apps that use the API seems to request a proper scope by now.
|
3 years ago |
Haelwenn (lanodan) Monnier
|
ff72ce31ca
|
Enhance reports in Pleroma API: index, show
|
3 years ago |
rinpatch
|
d7ad288c84
|
Chats: Introduce /api/v2/pleroma/chats which implements pagination
Also removes incorrect claim that /api/v1/pleroma/chats supports
pagination and deprecates it.
Closes #2140
|
3 years ago |
Ivan Tashkinov
|
1dac7d1462
|
[#3213] Fixed `hashtags.name` lookup (must use `citext` type to do index scan). Fixed embedded hashtags lookup (lowercasing), adjusted tests.
|
3 years ago |
Egor Kislitsyn
|
cf6d3db58f
|
Add API endpoint to remove a conversation
|
3 years ago |
Mark Felder
|
fb2a8e7ccd
|
Additional validation so we don't get caught off guard with a nil response
if CommonAPI ever prevents us from injecting this data
|
3 years ago |
Mark Felder
|
3554a65f45
|
Inject fake application metadata and validate it is stripped by transmogrifier
|
3 years ago |
Mark Felder
|
bd3d0e8b57
|
Use a custom oauth token so we can predict and validate the client_name and website
|
3 years ago |
Mark Felder
|
333ff527fd
|
Validate client application metadata is retained in the object
|
3 years ago |
Ivan Tashkinov
|
df89b5019b
|
[#2510] Improved support for app-bound OAuth tokens. Auth-related refactoring.
|
3 years ago |
Alexander Strizhakov
|
b5d001fc8c
|
not used mock
|
3 years ago |
Mark Felder
|
55a13fc360
|
MRF NoEmptyPolicy: Deny posts from local users if there is no content or only mentions.
Helps prevent accidental button mashes from submitting incomplete posts
|
3 years ago |
Haelwenn (lanodan) Monnier
|
8c7b3b20d8
|
activity_pub_controller: Add authentication to object & activity endpoints
|
3 years ago |
Ivan Tashkinov
|
d1c6dd97aa
|
[#3213] Partially addressed code review points.
migration rollback task changes, hashtags-related config handling tweaks, `hashtags.data` deletion (unused).
|
3 years ago |
Mark Felder
|
6a3e75c8e6
|
Lint
|
3 years ago |
Mark Felder
|
c361440396
|
Add basic test to validate the registration email is dispatched when the others are disabled
Also only check for subject as the body is a mess of html and we don't really need to prove its contents if the subject matches.
|
3 years ago |
Haelwenn (lanodan) Monnier
|
ecff027418
|
Redirect non-local activities when /notice/:id is used
Related-to: https://git.pleroma.social/pleroma/pleroma/-/issues/2496
|
3 years ago |
Mark Felder
|
887db076b5
|
Load an emoji.txt specific to the test env
|
3 years ago |
Mark Felder
|
5bb5949048
|
Validate admin making report doesn't get their own report notification, but other admins do
|
3 years ago |
Haelwenn (lanodan) Monnier
|
fb25231fbe
|
Add test for Answer presence into an authenticated /outbox
|
3 years ago |
Alexander Strizhakov
|
aacd1c90b7
|
fix for test warnings
|
3 years ago |
Alexander Strizhakov
|
0dc68c157f
|
fix for scheduled post with poll
|
3 years ago |
Alexander Strizhakov
|
fdf1dfed56
|
only_remote -> remote renaming
|
3 years ago |
Alexander Strizhakov
|
77f0a0af7d
|
more tests and update for docs and changelog
|
3 years ago |
Alexander Strizhakov
|
2cb6dc5a3a
|
list timeline filtration by params
|
3 years ago |
Alexander Strizhakov
|
b6a72680e2
|
added only_media flag to home timeline
|
3 years ago |
Alexander Strizhakov
|
c3110c46f3
|
expanding filtration for home timeline
added local & remote statuses filtration for home timeline
|
3 years ago |
Ivan Tashkinov
|
cf4765af40
|
[#3213] ActivityPub: fixed subquery-based hashtags filtering implementation (addressed empty list options issue). Added regression test.
|
3 years ago |
Ivan Tashkinov
|
6fd4163ab6
|
[#3213] ActivityPub: implemented subqueries-based hashtags filtering, removed aggregation-based hashtags filtering.
|
3 years ago |
Alexander Strizhakov
|
c369d2b930
|
support for with_relationships parameter
in /api/v1/mutes and /api/v1/accounts/:id endpoints
|
3 years ago |
Ivan Tashkinov
|
380d0cce6b
|
[#3213] Reinstated DISTINCT clause for hashtag "any" filtering with 2+ terms. Added test.
|
3 years ago |
Mark Felder
|
5fcab23aa3
|
Improve error message for ConfigDB
|
3 years ago |
Mark Felder
|
9272cef500
|
Switch to a build of Majic that does not try to fix extensions by default
|
3 years ago |
Egor Kislitsyn
|
a51d903e0c
|
Make sure active_user_count/1 counts only local users
|
3 years ago |
Ivan Tashkinov
|
60b4654038
|
Email-like field in /api/v1/accounts/verify_credentials response (for OAuth plugins like Peertube).
Addresses https://git.pleroma.social/pleroma/pleroma-support/-/issues/56.
|
3 years ago |
Egor Kislitsyn
|
bddb01bded
|
Add tests
|
3 years ago |
Egor Kislitsyn
|
793fc77b16
|
Add active user count
|
3 years ago |
Alexander Strizhakov
|
d4158e8bf0
|
added total
to the instance adminAPI endpoint
|
3 years ago |
Alexander Strizhakov
|
6806c03e85
|
added total
to the user statuses adminAPI endpoint
|
3 years ago |
Mark Felder
|
e854c35e65
|
Convert tests to all use clear_config instead of Pleroma.Config.put
|
3 years ago |
Alexander Strizhakov
|
875fbaae35
|
support for expires_in/expires_at in filters
|
3 years ago |
Mark Felder
|
f868dcf3ac
|
Ensure consistent behavior between pleroma.user activate/deactivate mix tasks
|
3 years ago |
Alexander Strizhakov
|
3f3d64acbf
|
little refactor and tests
for voted & own_votes fields in polls
|
3 years ago |
Mark Felder
|
5e8da27e14
|
Provide pleroma.user mix task for both activate and deactivate
|
3 years ago |
Mark Felder
|
6bfd497f4a
|
Include own_votes in the poll data
|
3 years ago |