• Alex Buijs's avatar
    Implement feedback fixes BE · 63d389e9
    Alex Buijs authored
    - redirect users to almost there page after signing up when
    soft_email_confirmation is not enabled
    - remove enabled_since code for feature flags, since it is unreliable
    - add User#role_required? and User#set_role_required! methods to
    ‘abuse’ the role column in order to determine whether the role is
    required
    - store the requested url and redirect there after setting the role
    - add flash notice after successful signup
    - enable invisible captcha when signup_flow experiment is enabled
    - change `Welcome to GitLab.com` text to `Welcome to GitLab` in
    order to apply to Self hosted instances as well
    - cancel the signup_notice flash in the create action, where it is set
    63d389e9
application_controller_spec.rb 24.1 KB