openstreetmap-website/app
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
..
abilities Fix display of suspension message when a user is suspended mid-session 2022-01-05 18:21:42 +00:00
assets Merge remote-tracking branch 'upstream/pull/3380' 2021-11-25 17:15:54 +00:00
controllers Use a state machine for user status 2022-01-12 18:16:14 +00:00
helpers Replace CSS-driven borders with bootstrap borders 2021-11-24 12:24:16 +00:00
jobs Prefer string interpolation to concatenation 2020-11-13 11:32:28 +00:00
mailers Fix downloading of image variants 2021-05-19 18:44:41 +01:00
models Use a state machine for user status 2022-01-12 18:16:14 +00:00
validators Use .add method for adding errors 2021-03-17 17:09:34 +00:00
views Use a state machine for user status 2022-01-12 18:16:14 +00:00