]> cat aescling's git repositories - mastodon.git/commit
Move KeywordMute into Glitch namespace.
authorDavid Yip <yipdw@member.fsf.org>
Sat, 21 Oct 2017 19:47:17 +0000 (14:47 -0500)
committerDavid Yip <yipdw@member.fsf.org>
Sat, 21 Oct 2017 19:54:36 +0000 (14:54 -0500)
commit670e6a33f8eeca628707dc020e02ce32502d74a4
tree527043ee2b85d5a18dc5c51acd7277fc560b3e78
parentcd04e3df58c09b0faca81ccc820b2cd5e12c2890
Move KeywordMute into Glitch namespace.

There are two motivations for this:

1. It looks like we're going to add other features that require
   server-side storage (e.g. user notes).

2. Namespacing glitchsoc modifications is a good idea anyway: even if we
   do not end up doing (1), if upstream introduces a keyword-mute feature
   that also uses a "KeywordMute" model, we can avoid some merge
   conflicts this way and work on the more interesting task of
   choosing which implementation to use.
app/controllers/settings/keyword_mutes_controller.rb
app/lib/feed_manager.rb
app/models/glitch.rb [new file with mode: 0644]
app/models/glitch/keyword_mute.rb [moved from app/models/keyword_mute.rb with 84% similarity]
db/migrate/20171021191900_move_keyword_mutes_into_glitch_namespace.rb [new file with mode: 0644]
db/schema.rb
spec/fabricators/glitch_keyword_mute_fabricator.rb [new file with mode: 0644]
spec/fabricators/keyword_mute_fabricator.rb [deleted file]
spec/models/glitch/keyword_mute_spec.rb [moved from spec/models/keyword_mute_spec.rb with 64% similarity]
This page took 0.029158 seconds and 3 git commands to generate.