Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-03-05 | 1 | -5/+5 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-02-27 | 1 | -6/+8 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-02-26 | 1 | -15/+15 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-01-28 | 1 | -2/+9 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-09-13 | 1 | -0/+2 |
| | |||||
* | Port changes for design management to CE | Bob Van Landuyt | 2019-04-29 | 1 | -1/+5 |
| | | | | | | This ports the changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10462/ to CE | ||||
* | Allow console messages be sent to gitlab-shell9217-warn-on-git-fetch-over-ssh-if-the-secondary-is-lagging-the-primary | Ash McKenzie | 2019-04-04 | 1 | -1/+5 |
| | | | | Currently a no-op for CE | ||||
* | Move push size check to EE module | Douwe Maan | 2019-01-02 | 1 | -2/+0 |
| | | | | | | # Conflicts: # ee/lib/ee/gitlab/git_access.rb # lib/gitlab/git_access.rb | ||||
* | Don't run single change checks when changes are unknown | Douwe Maan | 2019-01-02 | 1 | -13/+23 |
| | | | | | | | | When the `changes` passed to `GitAccess` are the literal string `_any`, which indicates that this is a pre-authorization check, we now check whether the user can push to any branch in the project in question, instead of running the per-change check with `oldrev` `_any`, `newrev` `nil`, and `ref` `nil`. | ||||
* | Skip change access check for deploy keys | Douwe Maan | 2019-01-02 | 1 | -1/+3 |
| | |||||
* | Move magic '_any' string to constant | Douwe Maan | 2019-01-02 | 1 | -1/+5 |
| | |||||
* | Iterating through commit list times out | Tiago Botelho | 2018-10-25 | 1 | -1/+1 |
| | | | | | | | | Validating each commit on ChangeAccess times out if it already took too long to complete. Improves the TimedLogger specs to not make use of a stubbed class anymore | ||||
* | Refactors TimedLogger to be more OOP compliant | Tiago Botelho | 2018-10-25 | 1 | -8/+8 |
| | | | | | | | Adds a #full_message method so that external classes do not have access to the state of the logger. Adds a #append_message to always append to the array in-place | ||||
* | Adds tracing messages for slow git pushes | Tiago Botelho | 2018-10-25 | 1 | -4/+18 |
| | | | | | | Whenever a git push takes more than 50 seconds the user will receive a trace from each check performed along with their timings | ||||
* | Enable frozen string for lib/gitlab/*.rb | gfyoung | 2018-10-22 | 1 | -0/+2 |
| | |||||
* | Fix SpaceInsidePercentLiteralDelimiters cop | Semyon Pupkov | 2018-09-20 | 1 | -2/+2 |
| | |||||
* | Remove Gitlab::GitAccess#authed_via_jwt? | Ash McKenzie | 2018-09-08 | 1 | -6/+0 |
| | | | | Previously overridden in EE but no longer required. | ||||
* | Update /api/v4/allowed | Ash McKenzie | 2018-09-06 | 1 | -3/+3 |
| | | | | | - Use proper HTTP codes for /api/v4/allowed response - CustomAction support | ||||
* | GitAccess#check custom action support | Ash McKenzie | 2018-09-06 | 1 | -1/+9 |
| | | | | | - if #check_custom_action!(cmd) returns something, return from #check() - now returns :Gitlab::GitAccessResult::Success.new instead of true | ||||
* | Allow auth via JWT (always false in CE)ash.mckenzie/allow-auth-via-jwt | Ash McKenzie | 2018-08-14 | 1 | -0/+6 |
| | |||||
* | Backport some changes from EE | Rubén Dávila | 2018-07-09 | 1 | -7/+13 |
| | |||||
* | Allow triggered builds git access | Bob Van Landuyt | 2018-05-11 | 1 | -1/+5 |
| | | | | | Allow builds that have been triggered by a user before terms were enforced access to git. That way the builds can complete as usual. | ||||
* | Block access to API & git when terms are enforced | Bob Van Landuyt | 2018-05-10 | 1 | -4/+2 |
| | | | | | | When terms are enforced, but the user has not accepted the terms access to the API & git is rejected with a message directing the user to the web app to accept the terms. | ||||
* | Support Deploy Tokens properly without hacking abilities | Kamil Trzciński | 2018-04-06 | 1 | -2/+2 |
| | |||||
* | Implement 'read_repo' for DeployTokens | Mayra Cabrera | 2018-04-06 | 1 | -0/+11 |
| | | | | This will allow to download a repo using the token from the DeployToken | ||||
* | Automatically cleanup stale worktrees and lock files upon a push | Stan Hu | 2018-04-06 | 1 | -0/+5 |
| | | | | | | git 2.16 will fail badly if there are stale worktrees. Closes #44115 | ||||
* | Allow HTTP(s) when git request is made by GitLab CI | Tomasz Maczukin | 2018-04-05 | 1 | -2/+11 |
| | |||||
* | Merge branch 'dm-deploy-keys-default-user' into 'master' | Sean McGivern | 2018-03-29 | 1 | -4/+4 |
|\ | | | | | | | | | | | | | Ensure hooks run when a deploy key without a user pushes Closes #44317 See merge request gitlab-org/gitlab-ce!18057 | ||||
| * | Fall back on ghost user when deploy key user is not set | Douwe Maan | 2018-03-28 | 1 | -4/+4 |
| | | |||||
* | | Remove permanent redirects | Bob Van Landuyt | 2018-03-28 | 1 | -7/+3 |
|/ | | | | | Removes permanent redirects, this means that redirects will only be possible as long as the old route isn't taken by a new project/group. | ||||
* | Respond 404 when repo does not existmk/fix-error-code-for-repo-does-not-exist | Michael Kozono | 2018-02-24 | 1 | -1/+1 |
| | |||||
* | Fix repo existence check in GitAccessWiki | Jacob Vosmaer (GitLab) | 2018-02-22 | 1 | -1/+5 |
| | |||||
* | Only check LFS integrity for first branch in pushjej/fix-slow-lfs-object-check | James Edwards-Jones | 2018-02-15 | 1 | -3/+6 |
| | |||||
* | Check ability ability before proceeding with project specific checks | Tiago Botelho | 2018-02-06 | 1 | -18/+23 |
| | |||||
* | Moves project creationg to git access check for git push | Tiago Botelho | 2018-02-06 | 1 | -36/+56 |
| | |||||
* | Adds documentation for the feature | Tiago Botelho | 2018-02-06 | 1 | -2/+6 |
| | |||||
* | Abstracts ProjectMoved and ProjectCreated into a BaseProject | Tiago Botelho | 2018-02-06 | 1 | -22/+12 |
| | |||||
* | Move new project on push logic to a service | Tiago Botelho | 2018-02-06 | 1 | -5/+10 |
| | |||||
* | Add specs | Tiago Botelho | 2018-02-06 | 1 | -8/+3 |
| | |||||
* | Adds remote messsage when project is created in a push over SSH or HTTP | Tiago Botelho | 2018-02-06 | 1 | -15/+20 |
| | |||||
* | Adds option to push over SSH to create a new project | Tiago Botelho | 2018-02-06 | 1 | -1/+1 |
| | |||||
* | Adds option to push over HTTP to create a new project | Tiago Botelho | 2018-02-06 | 1 | -5/+24 |
| | |||||
* | Allow git pull/push on project redirects | Mayra Cabrera | 2017-12-08 | 1 | -10/+7 |
| | |||||
* | refactor code to match EE changes | James Lopez | 2017-12-07 | 1 | -1/+5 |
| | |||||
* | Move all rugged operation for ff_merge inside Gitlab::Gitgitaly-ff-merge-preparation | Alejandro Rodríguez | 2017-10-24 | 1 | -4/+0 |
| | | | | We also delete some unused code related to the aforementioned feature. | ||||
* | Create idea of read-only databasetc-geo-read-only-idea | Toon Claes | 2017-10-06 | 1 | -2/+7 |
| | | | | | | | | | | | | In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo secondary node). But in GitLab CE it also might be useful to have the "read-only" idea around. So port it back to GitLab CE. Also having the principle of read-only in GitLab CE would hopefully lead to less errors introduced, doing write operations when there aren't allowed for read-only calls. Closes gitlab-org/gitlab-ce#37534. | ||||
* | [Backported from EE] Readonly flag for Projects | Gabriel Mazetto | 2017-09-28 | 1 | -1/+6 |
| | | | | | This is used in EE for the storage migration, and we want to use this in CE as well to be able to migrate projects to hashed_storage. | ||||
* | Address review comments | Nick Thomas | 2017-08-30 | 1 | -1/+1 |
| | |||||
* | Add settings for minimum key strength and allowed key type | Nick Thomas | 2017-08-30 | 1 | -0/+9 |
| | | | | | | | | This is an amalgamation of: * Cory Hinshaw: Initial implementation !5552 * Rémy Coutable: Updates !9350 * Nick Thomas: Resolve conflicts and add ED25519 support !13712 | ||||
* | Reduce duplication in GitAccess spec around error messagesrs-git-access-spec-speed | Robert Speicher | 2017-08-18 | 1 | -9/+10 |
| | | | | | | | | | | | - Adds a new `ProjectMovedError` class to encapsulate that error condition. Inherits from `NotFoundError` so existing rescues should continue to work. - Separating that condition out of `NotFoundError` allowed us to simplify the `raise_not_found` helper and avoid repeating the literal string. - Spec makes use of `ERROR_MESSAGES` hash to avoid repeating literal error message strings. |