Commit graph

15 commits

Author SHA1 Message Date
Bob Van Landuyt
7684217d68 Enforces terms in the web application
This enforces the terms in the web application. These cases are
specced:

- Logging in: When terms are enforced, and a user logs in that has not
  accepted the terms, they are presented with the screen. They get
  directed to their customized root path afterwards.
- Signing up: After signing up, the first screen the user is presented
  with the screen to accept the terms. After they accept they are
  directed to the dashboard.
- While a session is active:
  - For a GET: The user will be directed to the terms page first,
    after they accept the terms, they will be directed to the page
    they were going to
  - For any other request: They are directed to the terms, after they
    accept the terms, they are directed back to the page they came
    from to retry the request. Any information entered would be
    persisted in localstorage and available on the page.
2018-05-04 13:54:43 +02:00
Eric Eastwood
ed3fcdd09b Remove blank flash messages caused by nil
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/40671

See
f7254a4060/app/controllers/sessions_controller.rb (L42)
for an example of where we set `flash[:notice] = nil`
2017-11-29 16:04:41 -06:00
Eric Eastwood
ac87bd0c11 Add checkboxes to automatically run AutoDevops pipeline
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38962
2017-11-28 12:43:43 -06:00
Annabel Dunstone Gray
a2af779004 Add flash containers and broadcast messages below subnav 2016-10-01 00:21:37 +03:00
winniehell
2886ebfb13 Remove pinTo from Flash and make inline flash messages look nicer (!4854) 2016-06-30 23:53:22 +02:00
Dmitriy Zaporozhets
0175e66589 hide no-ssh message if notice or alert present 2013-08-10 21:20:03 +03:00
Dmitriy Zaporozhets
37cf2eb691 More readable notice/alert messages 2013-08-10 21:10:24 +03:00
Dmitriy Zaporozhets
acb402a1c1 Ability to leave group from profile area 2013-07-12 18:22:03 +03:00
Dmitriy Zaporozhets
54d95f5897 Restyle flash message. Not it does not overflow head panel 2013-02-28 11:06:52 +02:00
Cyril
a9a5497915 refactor flash
* make unobtrusive js
* convert js to coffee
2012-12-01 18:40:47 +01:00
Robert Speicher
7754189187 Fully embrace Ruby 1.9 hash syntax
Didn't bother with files in db/, config/, or features/
2012-08-10 18:25:15 -04:00
Dmitriy Zaporozhets
48bc4fc214 fixed flash message. better tree css 2012-02-12 19:47:37 +02:00
Dmitriy Zaporozhets
c7933d7a78 Bootstrap: team 2012-01-28 11:54:11 +02:00
Nihad Abbasov
d62200cad4 clean-up code
* Remove trailing whitespace
  * Converts hard-tabs into two-space soft-tabs
  * Remove consecutive blank lines
2011-10-26 18:46:25 +05:00
gitlabhq
9ba1224867 init commit 2011-10-09 00:36:38 +03:00