- Aug 28, 2020
-
-
Akihiko Odaki authored
* Replace incorrect use of distinct with group Some uses of ActiveRecord::QueryMethods#distinct pass field names but they are incorrect for the current version of Rails. ActiveRecord::QueryMethods#group provides the expected behavior and benefits performance. See commit 6da24aad4cafdef8d8a2c92bac2002a5fc2fe9c8. * Introduce ApplicationController#cache_collection_paginated_by_id ApplicationController#cache_collection_paginated_by_id fuses ApplicationController#cache_collection and Paginable.paginate_by_id. An advantage of this method is that it prevents from modifying scope which Paginable.paginate_by_id may provide. ApplicationController#cache_collection always return an array and there is no possibility of the scope modification. It is also clear for a programmer, considering the implication of "cache". This method can also emit more efficient queries by using Cacheable.cache_ids before calling Paginable.paginate_by_id.
-
- May 03, 2020
-
-
Eugen Rochko authored
-
- Jul 16, 2019
-
-
ThibG authored
* Fix reverse-proxy caching in public fetch mode * Fix caching in ActivityPub-specific controllers
-
- Jul 11, 2019
-
-
Eugen Rochko authored
* 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
-
- Jul 08, 2019
-
-
Eugen Rochko authored
-
- Jun 05, 2019
-
-
ThibG authored
* Remove skip_session! as it is not supported in Rails 5 * Minor cleanup in StreamEntriesController * Remove redundant mark_cacheable! calls
-
- Apr 03, 2019
-
-
ThibG authored
-
- May 04, 2018
-
-
Eugen Rochko authored
-
- Mar 04, 2018
-
-
Eugen Rochko authored
* Federate pinned statuses over ActivityPub * Display pinned toots in web UI Fix #6117 * Fix migration * Fix tests * Update outbox_serializer.rb * Update remove_serializer.rb * Update add_serializer.rb * Update fetch_featured_collection_service.rb
-
- Feb 02, 2018
-
-
puckipedia authored
-
- Aug 14, 2017
-
-
Eugen Rochko authored
-
- Jul 16, 2017
-
-
Eugen Rochko authored
- Objects must have attributedTo instead of actor - The current attribute belongs to CollectionPage, not Collection
-
- Jul 15, 2017
-
-
Eugen Rochko authored
* 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
-