Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-15Added write_repository scope for personal access tokenHoratiu Eugen Vlad
2019-04-08Externalize strings in flash messagesMartin Wortschack
- Externalize strings in controllers - Update PO file
2018-09-23Enable more frozen string in app/controllers/gfyoung
Enables frozen string for the following: * app/controllers/dashboard/**/*.rb * app/controllers/explore/**/*.rb * app/controllers/google_api/**/*.rb * app/controllers/groups/**/*.rb * app/controllers/import/**/*.rb * app/controllers/instance_statistics/**/*.rb * app/controllers/ldap/**/*.rb * app/controllers/oauth/**/*.rb * app/controllers/profiles/**/*.rb Partially addresses #47424.
2018-09-11Disable existing offenses for the CodeReuse copsYorick Peterse
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
2017-12-08Fix new personal access token showing up in a flash messageEric Eastwood
2017-11-02Add sudo API scopeDouwe Maan
2017-10-03Set default scope on PATs that don't have one set to allow them to be revokedDouwe Maan
2017-09-18Clean up read_registry scope changesRobin Bobbitt
Closes #37789
2017-06-05Create read_registry scope with JWT authZ.J. van de Weg
This is the first commit doing mainly 3 things: 1. create a new scope and allow users to use it 2. Have the JWTController respond correctly on this 3. Updates documentation to suggest usage of PATs There is one gotcha, there will be no support for impersonation tokens, as this seems not needed. Fixes gitlab-org/gitlab-ce#19219
2017-03-07Merge branch 'siemens/gitlab-ce-feature/openid-connect'Sean McGivern
2017-03-07Only use API scopes for personal access tokensMarkus Koller
2017-03-06apply codestyle and implementation changes to the respective feature codeTiago Botelho
2017-03-01refactors finder and correlated codeTiago Botelho
2017-03-01applies relevant changes to the code and code structureTiago Botelho
2016-12-16Allow creating personal access tokens / OAuth applications with scopes.Timothy Andrew
2016-06-16Implement @DouweM's feedback.Timothy Andrew
- Extract a duplicated `redirect_to` - Fix a typo: "token", not "certificate" - Have the "Expires at" datepicker be attached to a text field, not inline - Have both private tokens and personal access tokens verified in a single "authenticate_from_private_token" method, both in the application and API. Move relevant logic to `User#find_by_personal_access_token` - Remove unnecessary constants relating to API auth. We don't need a separate constant for personal access tokens since the param is the same as for private tokens.
2016-06-09Implement @jschatz1's comments.Timothy Andrew
- No hardcoded colors in any SCSS file except `variables.scss` - Don't allow choosing a date in the past - Use the same table as in the "Applications" tab - The button should say "Create Personal Access Token" - Float the revoke button to the right of the table cell - Change the revocation message to be more explicit. - Date shouldn't look selected on page load - Don't use a panel for the created token - Use a normal flash for "Your new personal access token has been created" - Show the input (with the token) below it full width. - Put the "Make sure you save it - you won't be able to access it again." message near the input - Have the created token's input highlight all on single click
2016-06-03Display appropriate errors when personal access token creation/revocation fails.Timothy Andrew
2016-06-02Only show a personal access token right after its creation.Timothy Andrew
2016-06-01Fix minor issues with the personal access tokens implementation.Timothy Andrew
- Use the `:personal_access_token` param root instead of `personal_access_token_params`, because we aren't using the `personal_access_token` param for authentication anymore (we're using `private_token` instead). - Use `build` to instantiate a `PersonalAccessToken` - Use better-formatted dates
2016-04-28Make fixes based on @vsizov's comments on MR !3749Timothy Andrew
2016-04-28Change the root param while creating personal access tokens.Timothy Andrew
- Can't use `personal_access_token` anymore, because the contents of that param are assumed to be a token string, and authenticated against.
2016-04-28Add an "Inactive Personal Access Tokens" section.Timothy Andrew
- Show the count for each section in parens - Remove the `revoked?` check, because everything in the active section is guaranteed to not be revoked.
2016-04-28Add an entry for Personal Access Tokens in the sidebar.Timothy Andrew
2016-04-28Allow expiration of personal access tokens.Timothy Andrew
2016-04-28Allow revoking personal access tokens.Timothy Andrew
2016-04-28Allow creating Personal Access Tokens through the website.Timothy Andrew