Commit Graph

14 Commits (2baba513d9e05ac926cd66ddb6b9260115325164)

Author SHA1 Message Date
Claire 5aade2baac Add support for private pinned posts ()
* Add support for private pinned toots

* Allow local user to pin private toots

* Change wording to avoid "direct message"
2022-01-17 00:49:55 +01:00
Eugen Rochko c6ad9aae69 Add featured hashtags as an ActivityPub collection () 2020-09-02 02:11:12 +02:00
Eugen Rochko b864e78db8 Add E2EE API () 2020-06-02 19:24:53 +02:00
Eugen Rochko 0ca06d0ba9 Add more tests for ActivityPub controllers () 2020-05-03 16:30:36 +02:00
abcang 4c0da93bc7 Improve status pin query () 2019-09-27 15:23:30 +02:00
Eugen Rochko 79b9eee938 Add (back) rails-level JSON caching () 2019-07-21 22:32:16 +02:00
ThibG a4b1083795 Fix caching headers in ActivityPub endpoints ()
* Fix reverse-proxy caching in public fetch mode

* Fix caching in ActivityPub-specific controllers
2019-07-17 00:00:39 +02:00
Eugen Rochko 39719ae981 Add ActivityPub secure mode ()
* Add HTTP signature requirement for served ActivityPub resources

* Change `SECURE_MODE` to `AUTHORIZED_FETCH`

* Add 'Signature' to 'Vary' header and improve code style

* Improve code style by adding `public_fetch_mode?` method
2019-07-11 20:11:09 +02:00
Eugen Rochko 56f0203c66 Refactor controllers for statuses, accounts, and more () 2019-07-08 12:03:45 +02:00
ThibG 806c2f8102 Cleanup various controllers ()
* Remove skip_session! as it is not supported in Rails 5

* Minor cleanup in StreamEntriesController

* Remove redundant mark_cacheable! calls
2019-06-05 14:02:59 +02:00
ThibG 4fa0b331ae Cache featured collections, as well as outbox, followers and following () 2019-04-04 01:30:44 +02:00
ysksn dfd6445334 Add specs for activitypub collections controller ()
* Add specs for ActivityPub::CollectionsController#show

* Raise ActiveRecord::RecordNotFound

Raising ActiveRecord::NotFound raises NameError: uninitialized constant
ActiveRecord::NotFound.
2018-12-10 21:39:25 +01:00
Eugen Rochko 93b8db8f08 Better pagination for ActivityPub outbox () 2018-05-04 19:19:11 +02:00
Eugen Rochko b1f8dfd3cf Federate pinned statuses over ActivityPub ()
* Federate pinned statuses over ActivityPub

* Display pinned toots in web UI

Fix 

* Fix migration

* Fix tests

* Update outbox_serializer.rb

* Update remove_serializer.rb

* Update add_serializer.rb

* Update fetch_featured_collection_service.rb
2018-03-04 09:19:11 +01:00