Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2017-08-29 | replace `is_ancestor` with `ancestor?` | Maxim Rydkin | |
2017-08-11 | Migrate force push check to Gitaly | Ahmad Sherif | |
2017-06-05 | Remove GitAccessStatus (no longer needed) | Michael Kozono | |
2017-06-05 | Refactor to let GitAccess errors bubble up | Michael Kozono | |
No external behavior change. This allows `GitHttpController` to set the HTTP status based on the type of error. Alternatively, we could have added an attribute to GitAccessStatus, but this pattern seemed appropriate. | |||
2017-06-05 | Fix Git over HTTP spec | Michael Kozono | |
* The spec has 7 failures at this point * Specify rendered error messages * Render the GitAccess message rather than “Access denied” * Render the Not Found message provided by GitAccess, instead of a custom one * Expect GitAccess to check the config for whether Git-over-HTTP pull or push is disabled, rather than doing it in the controller * Add more thorough testing for authentication * Dried up a lot of tests * Fixed some broken tests | |||
2017-05-08 | Add confirm delete protected branch modal | Sam Rose | |
2017-04-10 | Don't pass `env` anymore to GitAccess, ChangeAccess, and ForcePush | Rémy Coutable | |
Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-04-10 | Retrieve Git-specific env in Gitlab::Git::RevList and add a new #new_refs method | Rémy Coutable | |
Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-04-06 | Protected Tags backend review changes | James Edwards-Jones | |
Added changelog | |||
2017-04-04 | Cleanup & tests for UserAccess#can_create_tag? | James Edwards-Jones | |
2017-04-04 | Protected Tags prevents all updates instead of just force pushes. | James Edwards-Jones | |
This only changes behaviour for masters, as developers are already prevented from updating/deleting tags without the Protected Tags feature | |||
2017-04-03 | Clean up non TODO rubocop errors | James Edwards-Jones | |
2017-04-03 | Moved Project#protected_branch? to ProtectedBranch, similar for tags | James Edwards-Jones | |
2017-03-31 | Added ‘protected’ label and disabled delete button for tags index/show | James Edwards-Jones | |
2017-03-31 | Protected Tags enforced over git | James Edwards-Jones | |
2017-03-13 | Backport changes from gitlab-org/gitlab-ee!1406 | Adam Niedzielski | |