Commit graph

9 commits

Author SHA1 Message Date
GitLab Bot
ccca6cec34 Add latest changes from gitlab-org/gitlab@master 2021-11-16 06:12:13 +00:00
GitLab Bot
840c85c174 Add latest changes from gitlab-org/gitlab@master 2021-10-19 21:12:08 +00:00
GitLab Bot
6d533fe8b4 Add latest changes from gitlab-org/gitlab@master 2021-02-12 18:08:59 +00:00
GitLab Bot
ce27ba9f6c Add latest changes from gitlab-org/gitlab@master 2020-10-29 18:09:11 +00:00
dineshpanda
20111b045d Avoid calling freeze on already frozen strings in app/models 2019-09-01 01:27:00 +05:30
Nick Thomas
013f7cd24c
Inherit from ApplicationRecord instead of ActiveRecord::Base 2019-03-28 16:18:23 +00:00
Bob Van Landuyt
f1d3ea63cf Show the status of a user in interactions
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
2018-07-30 15:01:26 +02:00
Bob Van Landuyt
b4c4b48a8c Allow users to set a status
This can be done trough the API for the current user, or on the
profile page.
2018-07-30 15:01:26 +02:00
Bob Van Landuyt
812bfb158b Add the UserStatus model
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.
2018-07-25 15:12:41 +02:00