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
2016-06-06Add workhorse controller and API helpersDouwe Maan
2016-06-06Implement U2F registration.Timothy Andrew
- Move the `TwoFactorAuthsController`'s `new` action to `show`, since the page is not used to create a single "two factor auth" anymore. We can have a single 2FA authenticator app, along with any number of U2F devices, in any combination, so the page will be accessed after the first "two factor auth" is created. - Add the `u2f` javascript library, which provides an API to the browser's U2F implementation. - Add tests for the JS components
2016-06-06Add a `U2fRegistrations` table/model.Timothy Andrew
- To hold registrations from U2F devices, and to authenticate them. - Previously, `User#two_factor_enabled` was aliased to the `otp_required_for_login` column on `users`. - This commit changes things a bit: - `User#two_factor_enabled` is not a method anymore - `User#two_factor_enabled?` checks both the `otp_required_for_login` column, as well as `U2fRegistration`s - Change all instances of `User#two_factor_enabled` to `User#two_factor_enabled?` - Add the `u2f` gem, and implement registration/authentication at the model level.
2016-06-02Merge branch 'upgrade-devise-two-factor' into 'master' Robert Speicher
Upgrade devise, devise-two-factor, and attr_encrypted Devise 4 includes support for Rails 5, working towards #14286. devise-async doesn't support Devise 4.0 and in 4.1 the bug that was blocking using Devise's built-in ActiveJob integration was fixed. So devise-async is removed. devise-two-factor 3.0.0 is required for Devise 4 support. attr_encrypted and encryptor are optional but recommended upgrades for devise-two-factor 3.0.0. The mode and algorithm will need to be changed in order to update to attr_encrypted 4.x in the future. See merge request !4216
2016-06-01Add leading comment space copFelipe Artur
2016-05-30Upgrade devise and devise-two-factor, remove devise-asyncConnor Shea
Devise (3.5.4 => 4.1.1) Changelog: https://github.com/plataformatec/devise/blob/master/CHANGELOG.md devise-two-factor (2.0.1 => 3.0.0) Changelog: https://github.com/tinfoil/devise-two-factor/blob/master/CHANGELOG.md These are reliant on each other, so they have to be upgraded together. devise-async is no longer necessary as Devise 4.1 fixes a bug with the ActiveJob integration.
2016-05-13Codestyle: make sure we have space around operatorsGabriel Mazetto
2016-05-03Use sign out path only if not emptyArtem Sidorenko
2016-04-14Add Sentry program context even without a current userRobert Speicher
2016-04-14Include GonHelper separately and remove created_at in factoryStan Hu
2016-04-14Add spec for deletion of authorized OAuth2 applicationStan Hu
Closes #14370 Move gon function into its own helper
2016-04-10Add a `program` tag to Sentry Raven contextRobert Speicher
This will let us filter errors by the program environment in which they were encountered. Source: http://stackoverflow.com/a/28370539/223897 Closes #15092
2016-03-22Merge branch 'master' into issue_12658Douwe Maan
# Conflicts: # app/models/issue.rb # app/views/projects/_home_panel.html.haml # app/views/shared/projects/_project.html.haml # db/schema.rb # spec/models/project_spec.rb
2016-03-20Tweaks, refactoring, and specsDouwe Maan
2016-03-20Use the configured Kaminari "per page" defaultRobert Speicher
2016-03-10Move method to UserJacob Vosmaer
2016-03-10Rename ExpiringLock to ExclusiveLeaseJacob Vosmaer
2016-03-09Acquire lock before LDAP syncJacob Vosmaer
2016-02-19Fix build and add specsRubén Dávila
2016-02-16Provide explicit html format when rendering git_not_found pageRobert Speicher
Prior, if the request format was, for example, .zip, we'd get an `ActionView::MissingTemplate` error.
2016-02-15Properly render the `errors/git_not_found` pageRobert Speicher
2016-02-04Various filter fixesJosh Frye
2016-02-04Paginate + ajax filter dashboard projectsJosh Frye
2016-02-03Support download access by PRIVATE-TOKEN headerStan Hu
Currently there is no way to download a raw file without embedding the token in the URL, which exposes the token in the URL. There should be an way of sending this information via the header as the API does. Closes https://github.com/gitlabhq/gitlabhq/issues/8137
2016-01-23Make default sorting preference work for Issues and MRs.Rubén Dávila
2016-01-23Merge branch 'master' into issue_5546Rubén Dávila
2016-01-23Make sorting preference reusable for all projects.Rubén Dávila
2016-01-21Make cookie suffix more simpler.Rubén Dávila
2016-01-21Little refactor plus some specs.Rubén Dávila
2016-01-21Remember last sort option used.Rubén Dávila
2016-01-20Merge branch 'master' into issue_3945Douwe Maan
2016-01-20Send user context to SentryDouwe Maan
2016-01-20Merge branch 'master' into issue_3945Douwe Maan
2016-01-15Merge branch 'master' into issue_3945Rubén Dávila
2016-01-14Consider that URL can end with '/' before redirecting. #7975Rubén Dávila
2016-01-08Change strategy to highlight diffs. #3945Rubén Dávila
Now we apply syntax highlighting to the whole old and new files. This basically help us to highlight adequately multiline content.
2016-01-07Sort by ID when sorting using "Recently created"Yorick Peterse
Sorting by "id" has the same effect as sorting by created_at while performing far better and without the need of an extra index (in case one wanted to speed up sorting by "created_at"). Sorting by "Recently updated" still uses the physical "updated_at" column as there's no way to use the "id" column for this instead.
2015-12-25Fixed codestyle and added 2FA documentationGabriel Mazetto
2015-12-25specs for forced two-factor authentication and grace periodGabriel Mazetto
simplified code and fixed stuffs
2015-12-25Grace period support for TFAGabriel Mazetto
2015-12-25WIP require two factor authenticationGabriel Mazetto
2015-12-15add CAS authentication supporttduehr
2015-11-02Only redirect to homepage url when its not the root urlJeroen van Baarsen
It was possible to create an infi redirect when the user set up the `home_page_url` to redirect to the main URL of the gitlab instance. This fix makes sure this redirect is not possible. Fixes !1020 Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-10-22Merge branch 'project-path-case-sensitivity' into 'master' Robert Speicher
Prefer project with exact path to differently cased one when both exist. Fixes #3113. See merge request !1649
2015-10-21Move case sensitivity check to find_with_namespace.Douwe Maan
2015-10-20Redirect to a default path if HTTP_REFERER is not setStan Hu
Safari 9.0 does not yet honor the HTML5 `origin-when-cross-origin` mode, and it's possible load balancers/proxies strip the HTTP_REFERER from the request header. In these cases, default to some default path. Closes #3122 Closes https://github.com/gitlabhq/gitlabhq/issues/9731
2015-10-20Prefer project with exact path to differently cased one when both exist.Douwe Maan
2015-10-15Merge branch 'master' into git-archive-golangDouwe Maan
2015-10-14Always return HTML in git_not_foundJacob Vosmaer
This allows us to give a nice 404 for e.g. archive.zip.
2015-10-13Only render 404 page from /publicValery Sizov