summaryrefslogtreecommitdiff
path: root/app/models/user_status.rb
Commit message (Collapse)AuthorAgeFilesLines
* Avoid calling freeze on already frozen strings in app/modelsdineshpanda2019-09-011-1/+1
|
* Inherit from ApplicationRecord instead of ActiveRecord::BaseNick Thomas2019-03-281-1/+1
|
* Show the status of a user in interactionsBob Van Landuyt2018-07-301-0/+4
| | | | | | | | | | | | | | | The status is shown for - The author of a commit when viewing a commit - Notes on a commit (regular/diff) - The user that triggered a pipeline when viewing a pipeline - The author of a merge request when viewing a merge request - The author of notes on a merge request (regular/diff) - The author of an issue when viewing an issue - The author of notes on an issue - The author of a snippet when viewing a snippet - The author of notes on a snippet - A user's profile page - The list of members of a group/user
* Allow users to set a statusBob Van Landuyt2018-07-301-1/+1
| | | | | This can be done trough the API for the current user, or on the profile page.
* Add the `UserStatus` modelBob Van Landuyt2018-07-251-0/+13
This model will hold the status of a user, including these fields: - emoji: always present, with a default value - user: always present, foreign key to user - message: optional, maximum length of 100 The table also stores - cached_markdown_version - message_html For rendering markdown in the `message` field.