Eugen Rochko
73be8f38c1
Add profile directory ( #9427 )
...
Fix #5578
6 years ago
Eugen Rochko
1f6ed4f86a
Add more granular OAuth scopes ( #7929 )
...
* Add more granular OAuth scopes
* Add human-readable descriptions of the new scopes
* Ensure new scopes look good on the app UI
* Add tests
* Group scopes in screen and color-code dangerous ones
* Fix wrong extra scope
6 years ago
Eugen Rochko
a58ec29631
Allow selecting default posting language instead of auto-detect ( #7828 )
...
* Allow selecting default posting language instead of auto-detect
* Enable default language setting in credentials API
* Fix form saving
7 years ago
Eugen Rochko
42cd363542
Bot nameplates ( #7391 )
...
* Store actor type in database
* Add bot nameplate to web UI, add setting to preferences, API, AP
Fix #7365
* Fix code style issues
7 years ago
Eugen Rochko
cae933510c
Allow updating bio fields via PUT /api/v1/accounts/update_credentials ( #7288 )
...
Add raw bio fields to the source attribute on GET /api/v1/accounts/verify_credentials
7 years ago
Levi Bard
cd0eaa349c
Enable updating additional account information from user preferences via rest api ( #6789 )
...
* Enable updating additional account information from user preferences via rest api
Resolves #6553
* Pacify rubocop
* Decoerce incoming settings in UserSettingsDecorator
* Create user preferences hash directly from incoming credentials instead of going through ActionController::Parameters
* Clean up user preferences update
* Use ActiveModel::Type::Boolean instead of manually checking stringified number equivalence
7 years ago
Konrad Pozniak
bb26cdda24
add parameter locked to /api/v1/update_credentials ( #6506 )
7 years ago
masarakki
649a20ab46
authorize-follow-requests-after-unlocking ( #4658 )
7 years ago
Eugen Rochko
74e5078795
Fix #4637 - Re-add missing doorkeeper_authorize for /api/v1/verify_credentials ( #4650 )
7 years ago
Eugen Rochko
b7370ac8ba
ActivityPub delivery ( #4566 )
...
* Deliver ActivityPub Like
* Deliver ActivityPub Undo-Like
* Deliver ActivityPub Create/Announce activities
* Deliver ActivityPub creates from mentions
* Deliver ActivityPub Block/Undo-Block
* Deliver ActivityPub Accept/Reject-Follow
* Deliver ActivityPub Undo-Follow
* Deliver ActivityPub Follow
* Deliver ActivityPub Delete activities
Incidentally fix #889
* Adjust BatchedRemoveStatusService for ActivityPub
* Add tests for ActivityPub workers
* Add tests for FollowService
* Add tests for FavouriteService, UnfollowService and PostStatusService
* Add tests for ReblogService, BlockService, UnblockService, ProcessMentionsService
* Add tests for AuthorizeFollowService, RejectFollowService, RemoveStatusService
* Add tests for BatchedRemoveStatusService
* Deliver updates to a local account to ActivityPub followers
* Minor adjustments
7 years ago
Yamagishi Kazutoshi
f8212da329
Add attribute for default privacy to verify credentials ( #4075 )
...
* Add attribute for default privacy to verify credentials
* add raw_note
* source
7 years ago
Eugen Rochko
8b2cad5637
Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ( #4090 )
8 years ago
Matt Jankowski
73540ffe6b
Clean up for api/base controller ( #3629 )
...
* Move ApiController to Api/BaseController
* API controllers inherit from Api::BaseController
* Add coverage for various error cases in api/base controller
8 years ago
Matt Jankowski
5c63523972
Spec coverage and refactor for the api/v1/accounts controllers ( #3451 )
8 years ago