Commit Graph

17 Commits (dd4738a3f239ab17429e103750bcc95bb042066e)

Author SHA1 Message Date
Eugen Rochko b851456139
Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` ()
Eugen Rochko 51e154f5e8
Admission-based registrations mode ()
Fix 
Fix 
aus-social 1f98eae1cf Lint pass ()
Yamagishi Kazutoshi d10447c3a8 Use raw status code on have_http_status ()
Nanamachi d200e041fe Rewrite account_controller_spec ()
* make accounts_controller_spec DRY

* Add blocked user spec
nullkal 2293466edd Show pinned statuses only in the top of the profile page ()
* Show pinned statuses only in the top of the profile page

* Refactor AccountsController#show_pinned_statuses?
nullkal c2af138113 Allow multiple pinned statuses to be shown and make them be ordered b… ()
* Allow multiple pinned statuses to be shown and make them be ordered by pinned date

* Set timestamps NOT NULL

* Make single-line pinned_statuses

* Spec for pinned_statuses

* Remove redundant empty line
Eugen Rochko 6df8bd277b Set correct content-type for ActivityPub JSON ()
Eugen Rochko 8c45cd0e36 Improve ActivityPub representations ()
* Improve webfinger templates and make tests more flexible

* Clean up AS2 representation of actor

* Refactor outbox

* Create activities representation

* Add representations of followers/following collections, do not redirect /users/:username route if format is empty

* Remove unused translations

* ActivityPub endpoint for single statuses, add ActivityPub::TagManager for better
URL/URI generation

* Add ActivityPub::TagManager#to

* Represent all attachments as Document instead of Image/Video specifically
(Because for remote ones we may not know for sure)

Add mentions and hashtags representation to AP notes

* Add AP-resolvable hashtag URIs

* Use ActiveModelSerializers for ActivityPub

* Clean up unused translations

* Separate route for object and activity

* Adjust cc/to matrices

* Add to/cc to activities, ensure announce activity embeds target status and
not the wrapper status, add "id" to all collections
Akihiko Odaki 8fd174298d Cover AccountsController more in spec ()
* Introduce recent scope to Status and StreamEntry

Introduce recent scope to Status and StreamEntry as Account has.

* Cover AccountsController more in AccountsController
Matt Jankowski 8bac0350d1 Restful refactor of accounts/ routes ()
* Add routing specs for accounts followers and following actions

* Use more restful route naming for public account follow pages

Moves two actions:
- accounts#followers to accounts/follower_accounts#index
- accounts#following to accounts/following_accounts#index

Adds routing spec to ensure prior URLs are preserved.
Evan Minto da7f24c238 Add test
Eugen Rochko 9863196f7b Small rubocop offences removed
Eugen Rochko 87576e1ab1 Fixing atom feeds for accounts, adding tests that would catch such bugs in future
Eugen Rochko 10ba09f546 Upgrade to Rails 5.0.0.1
Eugen Rochko 71ae4dd3d2 Adding public following and followers pages, fix
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things