7 Commits

Author SHA1 Message Date
Alexander Brandon Coles efb998b7ce Add missing uniqueness validation to Favorite 2025-09-10 19:08:16 +01:00
Alexander Brandon Coles 7aab2251ea Remove extraneous validations from Favorite
As of Rails 5, `belongs_to` assocations are `required: true`.
2025-09-10 19:08:16 +01:00
Alexander Brandon Coles 2b144e8542 Fix wording: Change "Favored" to "Favorited"
Favorite is the correct term in the context of expressing a preference
for a particular project / other OpenProject domain object.

Updates `ActsAsFavorable` to `ActsAsFavoritable`, as well as filenames,
identifiers and strings to:

    favored => favorited
    favorable => favoritable
    favoring => favoriting
2025-09-10 19:08:15 +01:00
Alexander Brandon Coles d17da65477 Freeze string literals in app/models
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/models
2025-07-22 18:26:13 +01:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Oliver Günther e96d2e6506 Add favorites 2024-04-23 14:46:30 +02:00
Oliver Günther dbc4fcc0b6 Move watchable under lib/open_project 2024-04-23 14:46:30 +02:00