Commit Graph

19 Commits

Author SHA1 Message Date
GitLab Bot f986ce9ffa Add latest changes from gitlab-org/gitlab@master 2021-03-23 18:09:05 +00:00
GitLab Bot 8309ef26ed Add latest changes from gitlab-org/gitlab@master 2021-02-14 09:09:06 +00:00
GitLab Bot 6ab9cdec26 Add latest changes from gitlab-org/gitlab@master 2020-10-06 12:08:38 +00:00
GitLab Bot 497d517e13 Add latest changes from gitlab-org/gitlab@master 2020-10-06 09:08:32 +00:00
GitLab Bot d5823ee1cd Add latest changes from gitlab-org/gitlab@master 2020-09-14 03:09:21 +00:00
GitLab Bot 3b963d6919 Add latest changes from gitlab-org/gitlab@master 2020-08-20 12:10:27 +00:00
GitLab Bot 640e72ca92 Add latest changes from gitlab-org/gitlab@master 2020-06-04 03:08:05 +00:00
GitLab Bot 87f286558d Add latest changes from gitlab-org/gitlab@master 2020-05-14 15:08:14 +00:00
GitLab Bot 742a7f35ac Add latest changes from gitlab-org/gitlab@master 2020-05-12 18:07:54 +00:00
GitLab Bot b6847c621f Add latest changes from gitlab-org/gitlab@master 2020-04-03 18:10:03 +00:00
GitLab Bot abae8f34f3 Add latest changes from gitlab-org/gitlab@master 2020-03-31 21:08:05 +00:00
GitLab Bot 22e9af3c8b Add latest changes from gitlab-org/gitlab@master 2020-01-27 12:08:35 +00:00
Alex Kalderimis 8a1fc36e1d Propagate argument errors as execution errors 2019-07-30 11:12:24 -04:00
Felipe Artur 73b553a42a Add API access check to Graphql
Check if user can access API on GraphqlController
2019-03-27 14:59:02 +00:00
Bob Van Landuyt b623932eb3 Allow GraphQL requests without CSRF token
With this we allow authentication using a session or using personal
access token.

Authentication using a session, and CSRF token makes it easy to play
with GraphQL from the Graphiql endpoint we expose.

But we cannot enforce CSRF validity, otherwise authentication for
regular API clients would fail when they use personal access tokens to
authenticate.
2019-03-06 15:38:00 +01:00
blackst0ne b44a2c801a Update specs to rails5 format
Updates specs to use new rails5 format.

The old format:
`get :show, { some: params }, { some: headers }`

The new format:
`get :show, params: { some: params }, headers: { some: headers }`
2018-12-19 10:04:31 +11:00
Cindy Pallares fe5f75930e
Merge branch 'security-fix-pat-web-access' into 'master'
[master] Resolve "Personal access token with only `read_user` scope can be used to authenticate any web request"

See merge request gitlab/gitlabhq!2583
2018-11-28 19:13:59 -05:00
Bob Van Landuyt c443133e77 Handle exceptions outside the GraphQL schema
This allows us to report JSON parse exceptions to clients and ignore
them in sentry.
2018-06-05 20:47:42 +02:00
Nick Thomas 9c6c17cbcd Add a minimal GraphQL API 2018-06-05 20:47:42 +02:00