openstreetmap-website/app/models
Anton Khorev cff4c63713 Add deactivates_at date to user blocks
Block deactivation dates that take needs_view-block views into account were derived using updated_at. This was possible because inactive blocks couldn't be edited and their updated_at date wouldn't change. With editing of inactive blocks enabled deactivation date needs to be saved explicitly.
2024-08-19 14:33:20 +03:00
..
concerns Remove outdated comment 2024-03-30 11:03:06 +03:00
access_token.rb Fix rubocop Rails/TimeZone warnings 2022-03-01 22:55:10 +00:00
acl.rb Make allow_account_creation work the same as other ACLs 2023-12-19 12:03:08 +00:00
application_record.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
changeset.rb Enforce changeset size limit for API calls which make changes 2024-06-19 00:46:34 +01:00
changeset_comment.rb Annotate models 2023-10-14 11:19:13 +08:00
changeset_tag.rb Replace composite_primary_keys with rails builtin support 2023-10-18 18:26:14 +01:00
client_application.rb Enable active_record.belongs_to_required_by_default 2022-02-23 20:33:28 +00:00
community.rb Switch to using FrozenRecord for loading communities 2022-07-27 16:19:08 +01:00
diary_comment.rb Add note and diary comments counts to the user profile 2024-06-07 21:20:42 +02:00
diary_entry.rb Set Open Graph image to first image for diary entries 2024-06-06 17:28:57 +03:00
diary_entry_subscription.rb Replace composite_primary_keys with rails builtin support 2023-10-18 18:26:14 +01:00
friendship.rb Annotate models 2023-10-14 11:19:13 +08:00
issue.rb Fix new rubocop warnings 2024-05-21 18:21:56 +01:00
issue_comment.rb Put issue comments through kramdown formatter 2022-05-06 13:36:59 +01:00
language.rb Don't show native language name if it's the same as English name 2024-01-02 09:09:33 +03:00
message.rb Add basic structures for UserMute and Message muting logic 2023-12-19 12:57:47 -05:00
node.rb Rename update element consistency check 2024-03-30 10:57:39 +03:00
node_tag.rb Replace composite_primary_keys with rails builtin support 2023-10-18 18:26:14 +01:00
note.rb Define a DEFAULT_FRESHLY_CLOSED_LIMIT constant 2022-09-14 23:59:41 +01:00
note_comment.rb Add note and diary comments counts to the user profile 2024-06-07 21:20:42 +02:00
oauth2_application.rb Annotate models 2023-10-14 11:19:13 +08:00
oauth2_token.rb Add annotate gem and associated rake task. Annotate models. 2017-10-22 22:18:26 +01:00
oauth2_verifier.rb Fix rubocop Rails/TimeZone warnings 2022-03-01 22:55:10 +00:00
oauth_nonce.rb Annotate models 2023-10-14 11:19:13 +08:00
oauth_token.rb Fix rubocop Rails/TimeZone warnings 2022-03-01 22:55:10 +00:00
old_node.rb Remove unused includes of ConsistencyValidations 2024-03-28 11:49:49 +03:00
old_node_tag.rb Replace composite_primary_keys with rails builtin support 2023-10-18 18:26:14 +01:00
old_relation.rb Remove unused includes of ConsistencyValidations 2024-03-28 11:49:49 +03:00
old_relation_member.rb Remove extraneous fields from primary keys for relation members 2023-10-26 18:08:26 +01:00
old_relation_tag.rb Replace composite_primary_keys with rails builtin support 2023-10-18 18:26:14 +01:00
old_way.rb Remove unused includes of ConsistencyValidations 2024-03-28 11:49:49 +03:00
old_way_node.rb Replace composite_primary_keys with rails builtin support 2023-10-18 18:26:14 +01:00
old_way_tag.rb Replace composite_primary_keys with rails builtin support 2023-10-18 18:26:14 +01:00
redaction.rb Add NOT NULL constraints to redaction title and description 2024-03-11 09:27:11 +00:00
relation.rb Rename update element consistency check 2024-03-30 10:57:39 +03:00
relation_member.rb Remove extraneous fields from primary keys for relation members 2023-10-26 18:08:26 +01:00
relation_tag.rb Replace composite_primary_keys with rails builtin support 2023-10-18 18:26:14 +01:00
report.rb Format report text with kramdown 2022-04-29 01:31:39 +01:00
request_token.rb Use casecmp?() instead of casecmp().zero? 2024-07-13 16:00:45 +03:00
trace.rb Fix new rubocop warnings 2024-05-28 17:39:33 +01:00
tracepoint.rb Add inverse_of to relationships that can't detect it automatically 2022-02-23 19:23:51 +00:00
tracetag.rb Annotate models 2023-10-14 11:19:13 +08:00
user.rb Add note and diary comments counts to the user profile 2024-06-07 21:20:42 +02:00
user_block.rb Add deactivates_at date to user blocks 2024-08-19 14:33:20 +03:00
user_mute.rb Add basic structures for UserMute and Message muting logic 2023-12-19 12:57:47 -05:00
user_preference.rb Replace composite_primary_keys with rails builtin support 2023-10-18 18:26:14 +01:00
user_role.rb Add importer role that can be associated with higher rate limits 2023-11-02 08:58:12 +00:00
way.rb Rename update element consistency check 2024-03-30 10:57:39 +03:00
way_node.rb Replace composite_primary_keys with rails builtin support 2023-10-18 18:26:14 +01:00
way_tag.rb Replace composite_primary_keys with rails builtin support 2023-10-18 18:26:14 +01:00