Commit Graph

14 Commits

Author SHA1 Message Date
GitLab Bot 2385fdce54 Add latest changes from gitlab-org/gitlab@master 2021-10-27 00:13:04 +00:00
GitLab Bot be6cab1d69 Add latest changes from gitlab-org/gitlab@master 2021-09-29 00:10:07 +00:00
GitLab Bot 139f9c7dc1 Add latest changes from gitlab-org/gitlab@master 2021-08-03 06:08:50 +00:00
GitLab Bot 154523302b Add latest changes from gitlab-org/gitlab@master 2021-04-27 12:10:12 +00:00
GitLab Bot fd320d0858 Add latest changes from gitlab-org/gitlab@master 2021-01-07 21:10:18 +00:00
GitLab Bot 0d8e625e4c Add latest changes from gitlab-org/gitlab@master 2020-05-25 15:07:58 +00:00
GitLab Bot b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
dineshpanda 20111b045d Avoid calling freeze on already frozen strings in app/models 2019-09-01 01:27:00 +05:30
Thong Kuah d119d3d1b2 Align UrlValidator to validate_url gem implementation.
Renamed UrlValidator to AddressableUrlValidator to avoid 'url:' naming collision with ActiveModel::Validations::UrlValidator in 'validates' statement.
Make use of the options attribute of the parent class ActiveModel::EachValidator.
Add more options: allow_nil, allow_blank, message.
Renamed 'protocols' option to 'schemes' to match the option naming from UrlValidator.
2019-04-11 06:29:07 +00:00
Francisco Javier López 8a134f4c65 Renamed terminal_specification to channel_specification
We're moving from using terminology related to terminals when
we refer to Websockets connections in Workhorse.
It's more appropiate a concept like channel.
2019-04-04 18:32:02 +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
Steve Azzopardi 18a1bcf862
Fix authorization for web terminals
Workhorse was not able to parse the `headers` property since it was expecting a
key => array as a structure.

Error from workhorse: preAuthorizeHandler: decode authorization response: json:
cannot unmarshal string into Go struct field TerminalSettings.Header of type
[]string

Workhorse was not changed since this api is already used for the environment
terminals.

gitlab-org/gitlab-ce#25990
2018-07-30 16:58:59 +02:00
Francisco Javier López a7a1531fe5 Web Terminal Ci Build 2018-07-05 13:55:10 +00:00