This website requires JavaScript.
Explore
Support
Help
Register
Sign In
tykayn
/
mastodon
Watch
1
Star
0
Fork
0
You've already forked mastodon
mirror of
https://framagit.org/tykayn/mastodon.git
synced
2023-08-25 08:33:12 +02:00
Code
Issues
Projects
Releases
Wiki
Activity
1ce29aeabf
mastodon
/
app
/
models
/
list_feed.rb
8 lines
112 B
Ruby
Raw
Normal View
History
Unescape
Escape
Lists (#5703) * Add structure for lists * Add list timeline streaming API * Add list APIs, bind list-account relation to follow relation * Add API for adding/removing accounts from lists * Add pagination to lists API * Add pagination to list accounts API * Adjust scopes for new APIs - Creating and modifying lists merely requires "write" scope - Fetching information about lists merely requires "read" scope * Add test for wrong user context on list timeline * Clean up tests
2017-11-18 00:16:48 +01:00
# frozen_string_literal: true
class
ListFeed
<
Feed
def
initialize
(
list
)
Fix rubocop config and warnings (#15503) * disable NewCops * update TargetRubyVersion * Fix Lint/MissingSuper for ActiveModelSerializers::Model * Fix Lint/MissingSuper for feed * Fix Lint/FloatComparison * Do not use instance variables
2021-01-07 09:40:55 +01:00
super
(
:list
,
list
.
id
)
Lists (#5703) * Add structure for lists * Add list timeline streaming API * Add list APIs, bind list-account relation to follow relation * Add API for adding/removing accounts from lists * Add pagination to lists API * Add pagination to list accounts API * Adjust scopes for new APIs - Creating and modifying lists merely requires "write" scope - Fetching information about lists merely requires "read" scope * Add test for wrong user context on list timeline * Clean up tests
2017-11-18 00:16:48 +01:00
end
end
Reference in New Issue
Copy Permalink
Accueil Chapril
Services libres
Nous suivre
CGU
Mentions légales
Nous contacter
Accueil Chapril
Services libres
Nous suivre
CGU
Mentions légales
Nous contacter