Commit Graph

8 Commits

Author SHA1 Message Date
GitLab Bot 7e3f469a40 Add latest changes from gitlab-org/gitlab@master 2021-07-21 21:10:10 +00:00
GitLab Bot 39623d60e8 Add latest changes from gitlab-org/gitlab@master 2021-07-12 03:09:27 +00:00
GitLab Bot a7e81add72 Add latest changes from gitlab-org/gitlab@master 2020-10-01 06:09:59 +00:00
Nick Thomas 013f7cd24c
Inherit from ApplicationRecord instead of ActiveRecord::Base 2019-03-28 16:18:23 +00:00
gfyoung 388cb319d5 Enable frozen string for app/models/**/*.rb
Partially addresses #47424.
2018-08-03 01:44:16 -07:00
tauriedavis 285ffb2238 Messaging on terms page when user already accepted
We show a blue flash banner if the user already accepted, and show a
button allowing them to continue to the application.
2018-06-04 22:22:11 +02:00
Bob Van Landuyt 3d6d0a09b6 Store application wide terms
This allows admins to define terms in the application settings.

Every time the terms are adjusted, a new version is stored and becomes
the 'active' version. This allows tracking which specific version was
accepted by a user.
2018-05-04 13:52:55 +02:00
Bob Van Landuyt cf37bef287 Add `Term` model to keep track of terms
That way we can link a users acceptance of terms directly to a terms record.
2018-05-04 13:52:55 +02:00