discourse/app/models/concerns
Ted Johansson 8053cb0c21
DEV: Add a HasDeprecatedColumns concern for better deprecation messages (#22930)
Currently when we decide we're going to drop a column in the future we just mark it with a TODO comment and add it to ignored_columns. This makes it instantly unavailable, and we mostly forget about the TODO in the end. 😬

This change adds a HasDeprecatedColumns concern which offers a little bit more flexibility. We can still simulate the old behaviour by setting drop_from to the current version, but we can also set it to a future version, causing it to raise a deprecation warning until then if used.
2023-08-11 15:25:44 +08:00
..
reports FIX: Add 'Ignored' flags to Moderator Activity report (#22041) 2023-08-02 12:27:31 +01:00
anon_cache_invalidator.rb DEV: Apply syntax_tree formatting to `app/*` 2023-01-09 14:14:59 +00:00
cached_counting.rb DEV: In test, if flush is called and there is no thread, flush inline (#21426) 2023-05-08 13:25:00 +10:00
category_hashtag.rb DEV: Remove enable_experimental_hashtag_autocomplete logic (#22820) 2023-08-08 11:18:55 +10:00
has_custom_fields.rb DEV: Set limits on custom fields 2023-06-13 11:47:21 +02:00
has_deprecated_columns.rb DEV: Add a HasDeprecatedColumns concern for better deprecation messages (#22930) 2023-08-11 15:25:44 +08:00
has_destroyed_web_hook.rb DEV: Apply syntax_tree formatting to `app/*` 2023-01-09 14:14:59 +00:00
has_sanitizable_fields.rb DEV: Apply syntax_tree formatting to `app/*` 2023-01-09 14:14:59 +00:00
has_search_data.rb DEV: Apply syntax_tree formatting to `app/*` 2023-01-09 14:14:59 +00:00
has_url.rb DEV: Apply syntax_tree formatting to `app/*` 2023-01-09 14:14:59 +00:00
limited_edit.rb REFACTOR: Edit title respects min trust to edit post 2020-02-05 10:36:24 -07:00
positionable.rb DEV: Apply syntax_tree formatting to `app/*` 2023-01-09 14:14:59 +00:00
roleable.rb DEV: Apply syntax_tree formatting to `app/*` 2023-01-09 14:14:59 +00:00
searchable.rb DEV: Apply syntax_tree formatting to `app/*` 2023-01-09 14:14:59 +00:00
second_factor_manager.rb FEATURE: Persist password hashing algorithm/params in database (#20980) 2023-04-11 10:16:28 +01:00
stats_cacheable.rb DEV: Apply syntax_tree formatting to `app/*` 2023-01-09 14:14:59 +00:00
topic_tracking_state_publishable.rb DEV: Apply syntax_tree formatting to `app/*` 2023-01-09 14:14:59 +00:00
trashable.rb DEV: Added .only_deleted scope in the Trashable module (#20196) 2023-02-07 15:28:59 -03:00