Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-18 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-09-13 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-09-04 | Avoid calling freeze on already frozen strings in lib/gitlab | dineshpanda | |
2019-06-19 | Add documentation and tests | Manoj MJ | |
This commit adds - feature specs - to test the ability of a user with "developer" permission to delete tags in repositories. - documentation | |||
2019-04-23 | Add feature flag to disable LFS check | Igor | |
2019-04-22 | Remove protected_branch_creation feature flag | Patrick Bajao | |
2019-03-21 | Allow users to create protected branches via CLI | Patrick Bajao | |
This is for fixing a regression introduced by: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24969 This fix will allow users who are allowed to push to protected branches to create protected branches via CLI as well, just like before. The checks for protected branch creation won't need to run. | |||
2019-03-07 | Move empty_repo check on its own | Patrick Bajao | |
2019-03-07 | Allow protected branch creation for empty project | Patrick Bajao | |
2019-03-06 | Allow protected branch creation via web and API | Patrick Bajao | |
This commit includes changes to add `UserAccess#can_create_branch?` which will check whether the user is allowed to create a branch even if it matches a protected branch. This is used in `Gitlab::Checks::BranchCheck` when the branch name matches a protected branch. A `push_to_create_protected_branch` ability in `ProjectPolicy` has been added to allow Developers and above to create protected branches. | |||
2019-01-02 | Remove oldrev and newrev nil-checks that are now unnecessary | Douwe Maan | |
2019-01-02 | Don't run single change checks when changes are unknown | Douwe Maan | |
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`. | |||
2019-01-02 | Skip change access check for deploy keys | Douwe Maan | |
2018-12-28 | Skip per-commit validations which have already passed on another change/branch | Francisco Javier López | |
2018-12-11 | Remove now-unnecessary checks | Douwe Maan | |
2018-12-11 | Fix DiffCheck failing due to invalid string argument | Stan Hu | |
Hot patch for #55137 | |||
2018-12-04 | CE port Refactor Gitlab::Checks::ChangeAccess class | Francisco Javier López | |
2018-11-14 | Fix bug in CommitCheck | Francisco Javier López | |
2018-10-26 | Reverts commits_check message | Tiago Botelho | |
2018-10-25 | Iterating through commit list times out | Tiago Botelho | |
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 | |||
2018-10-25 | Refactors TimedLogger to be more OOP compliant | Tiago Botelho | |
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 | |||
2018-10-25 | Adds tracing messages for slow git pushes | Tiago Botelho | |
Whenever a git push takes more than 50 seconds the user will receive a trace from each check performed along with their timings | |||
2018-10-13 | Enable some frozen string in lib/gitlab | gfyoung | |
Enable frozen string for the following files: * lib/gitlab/auth/**/*.rb * lib/gitlab/badge/**/*.rb * lib/gitlab/bare_repository_import/**/*.rb * lib/gitlab/bitbucket_import/**/*.rb * lib/gitlab/bitbucket_server_import/**/*.rb * lib/gitlab/cache/**/*.rb * lib/gitlab/checks/**/*.rb Partially addresses #47424. | |||
2018-09-11 | Disable existing offenses for the CodeReuse cops | Yorick Peterse | |
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop. | |||
2018-08-07 | Backport some changes from gitlab-org/gitlab-ee!6767 | Rubén Dávila | |
2018-07-18 | Improves remote message when a developer is unable to push in an empty ↵ | Tiago Botelho | |
repository | |||
2018-06-19 | Force push is handled by Gitaly now | Zeger-Jan van de Weg | |
Closes gitlab-org/gitaly#348 | |||
2018-06-19 | Eliminate N+1 queries in LFS file locks checks during a push | Stan Hu | |
This significantly improves performance when a user pushes many references. project.path_locks.any? doesn't cache the output and runs `SELECT 1 AS one FROM "path_locks" WHERE project_id = N` each time. When there are thousands of refs being pushed, this can time out the unicorn worker. CE port for https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6159. | |||
2018-06-06 | change wording | Mark Chao | |
2018-04-05 | Add helper for accessing lfs_objects for project | Bob Van Landuyt | |
This makes accessing LFS Objects for a project easier project.lfs_storage_project.lfs_objects` becomes project.all_lfs_objects This will make the refactor in https://gitlab.com/gitlab-org/gitlab-ce/issues/39769 easier to deal with. | |||
2018-03-28 | Remove permanent redirects | Bob Van Landuyt | |
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. | |||
2018-03-07 | Limit queries to a user-branch combination | Bob Van Landuyt | |
The query becomes a lot simpler if we can check the branch name as well instead of having to load all branch names. | |||
2018-03-07 | Allow maintainers to edit directly in a fork | Bob Van Landuyt | |
2018-02-19 | Merge branch 'jej/avoid-slow-file-lock-checks' into 'master' | Sean McGivern | |
Avoid slow File Lock checks when not used Closes #43339 See merge request gitlab-org/gitlab-ce!17140 | |||
2018-02-19 | Avoid slow File Lock checks when not used | James Edwards-Jones | |
Also avoid double commit lookup during file lock check by reusing memoized commits. | |||
2018-02-15 | Only check LFS integrity for first branch in push | James Edwards-Jones | |
2018-02-07 | Backport of LFS File Locking API | Rubén Dávila | |
2018-02-06 | Merge branch 'master' into '26388-push-to-create-a-new-project' | Douwe Maan | |
# Conflicts: # lib/gitlab/path_regex.rb | |||
2018-02-06 | Moves project creationg to git access check for git push | Tiago Botelho | |
2018-02-06 | Abstracts ProjectMoved and ProjectCreated into a BaseProject | Tiago Botelho | |
2018-02-06 | Move new project on push logic to a service | Tiago Botelho | |
2018-02-06 | Add specs | Tiago Botelho | |
2018-02-06 | Adds remote messsage when project is created in a push over SSH or HTTP | Tiago Botelho | |
2018-02-02 | Refactor Gitlab::Git code related to LFS changes for Gitaly migration | Alejandro Rodríguez | |
We stop relying on Gitlab::Git::Env for the RevList class, and use Gitlab::Git::Repository#run_git methods inteaad. The refactor also fixes another issue, since we now top using "path_to_repo" (which is a Repository model method). | |||
2018-01-23 | Backport changes to Gitlab::Checks::ChangeAccess from EE | Douwe Maan | |
2017-12-25 | Disable redirect messages for anonymous clones | Stan Hu | |
2017-12-25 | Fix Error 500s with anonymous clones for a project that has moved | Stan Hu | |
Closes #41457 | |||
2017-12-08 | Allow git pull/push on project redirects | Mayra Cabrera | |
2017-11-09 | Handle forks in Gitlab::Checks::LfsIntegrity | James Edwards-Jones | |
2017-11-06 | Prevent git push when LFS objects are missing | James Edwards-Jones | |