[openstreetmap/openstreetmap-website] Friend cleanups (PR #5512)

Tom Hughes notifications at github.com
Fri Jan 17 23:04:21 UTC 2025


This continues the renaming of friends as follows by tidying up some of the remaining code references to friendships.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5512

-- Commit Summary --

  * Rename friends_with to follows
  * Remove trailing whitespace from translation
  * Rename friendship_notification to follow_notification
  * Drop rubocop exclusions that weren't doing anything
  * Rename friends rate limit as follows
  * Rename friends as followings

-- File Changes --

    M .rubocop_todo.yml (2)
    M app/controllers/follows_controller.rb (10)
    M app/mailers/user_mailer.rb (2)
    M app/models/user.rb (12)
    M app/views/dashboards/_contact.html.erb (2)
    M app/views/dashboards/show.html.erb (8)
    R app/views/user_mailer/follow_notification.html.erb (2)
    R app/views/user_mailer/follow_notification.text.erb (2)
    M app/views/users/show.html.erb (2)
    M config/locales/en.yml (4)
    M config/settings.yml (4)
    M test/models/user_test.rb (14)
    M test/system/follows_test.rb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5512.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5512.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5512
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5512 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250117/1ff1cd67/attachment-0001.htm>


More information about the rails-dev mailing list