openstreetmap-website/app/models
Andy Allan 1a11c4dc19 Use a state machine for user status
The user status is a bit complex, since there are various states and
not all transitions between them make sense.

Using AASM means that we can name and restrict the transitions, which
hopefully makes them easier to reason about.
2022-01-12 18:16:14 +00:00
..
concerns Remove the ObjectMetadata concern, since it's only used in tests now 2021-09-15 17:05:50 +01:00
access_token.rb Add support for OAuth2 using doorkeeper 2021-05-18 12:05:32 +01:00
acl.rb Allow acls to match on parent domains 2021-07-06 10:13:33 +01:00
application_record.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
changeset.rb Prefer keyword arguments when method has optional boolean arguments 2020-11-13 10:22:55 +00:00
changeset_comment.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
changeset_tag.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
client_application.rb Add support for OAuth2 using doorkeeper 2021-05-18 12:05:32 +01:00
diary_comment.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
diary_entry.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
diary_entry_subscription.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
friendship.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
issue.rb Add additional limits on sending messages 2021-03-31 22:40:34 +01:00
issue_comment.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
language.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
message.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
node.rb Fix new rubocop warnings 2021-12-28 19:47:51 +00:00
node_tag.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
note.rb Look at all note comments to find the close event 2020-05-06 14:06:04 +01:00
note_comment.rb Fix new rubocop warnings 2020-06-11 19:21:41 +01:00
oauth2_application.rb Introduce privileged scopes that only an administrator can enable 2021-08-26 17:22:24 +01:00
oauth2_token.rb Add annotate gem and associated rake task. Annotate models. 2017-10-22 22:18:26 +01:00
oauth2_verifier.rb Add annotate gem and associated rake task. Annotate models. 2017-10-22 22:18:26 +01:00
oauth_nonce.rb Convert id column for oauth_nonces to bigint 2020-12-14 14:48:59 +00:00
oauth_token.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
old_node.rb Fix new rubocop warnings 2021-12-28 19:47:51 +00:00
old_node_tag.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
old_relation.rb Fix new rubocop warnings 2021-12-28 19:47:51 +00:00
old_relation_member.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
old_relation_tag.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
old_way.rb Fix new rubocop warnings 2021-12-28 19:47:51 +00:00
old_way_node.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
old_way_tag.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
redaction.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
relation.rb Fix new rubocop warnings 2021-12-28 19:47:51 +00:00
relation_member.rb Fix new rubocop warnings 2020-06-11 19:21:41 +01:00
relation_tag.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
report.rb Fix new rubocop warnings 2021-01-11 19:17:31 +00:00
request_token.rb Move all settings to settings.yml 2019-03-13 18:06:23 +01:00
trace.rb Fix new rubocop warning 2021-09-29 18:54:56 +01:00
tracepoint.rb Move the tracepoint coordinate format test to the controller test 2021-09-29 15:25:28 +01:00
tracetag.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
user.rb Use a state machine for user status 2022-01-12 18:16:14 +00:00
user_block.rb Fix new rubocop warnings 2020-06-11 19:21:41 +01:00
user_preference.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
user_role.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
user_token.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
way.rb Fix new rubocop warnings 2021-12-28 19:47:51 +00:00
way_node.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00
way_tag.rb Create an ApplicationRecord for models to inherit from 2019-11-27 11:50:48 +01:00