]> git.openstreetmap.org Git - rails.git/commit
Add basic structures for UserMute and Message muting logic
authorGregory Igelmund <github.com@grekko.de>
Wed, 13 Dec 2023 18:06:28 +0000 (13:06 -0500)
committerGregory Igelmund <github.com@grekko.de>
Tue, 19 Dec 2023 17:57:47 +0000 (12:57 -0500)
commitefc61f13159f2cf4e2ba542bac40ca84a57480da
tree772d896e4c7fb965c9d35217eac17dee31397e1c
parent6eb29bf6d4cec8b6e4b503242e80a69647947745
Add basic structures for UserMute and Message muting logic

Including models, migration, controllers, views & locales.
18 files changed:
app/abilities/ability.rb
app/controllers/messages_controller.rb
app/controllers/user_mutes_controller.rb [new file with mode: 0644]
app/models/message.rb
app/models/user.rb
app/models/user_mute.rb [new file with mode: 0644]
app/views/application/_settings_menu.html.erb
app/views/messages/_heading.html.erb
app/views/messages/_message_summary.html.erb
app/views/messages/muted.html.erb [new file with mode: 0644]
app/views/user_mutes/index.html.erb [new file with mode: 0644]
app/views/users/show.html.erb
config/locales/en.yml
config/routes.rb
db/migrate/20231010201451_create_user_mutes.rb [new file with mode: 0644]
db/migrate/20231010203028_add_muted_flag_to_messages.rb [new file with mode: 0644]
db/structure.sql
script/deliver-message