Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-07-19 | Add latest changes from gitlab-org/gitlab@16-2-stable-eev16.2.0-rc42 | GitLab Bot | |
2023-06-20 | Add latest changes from gitlab-org/gitlab@16-1-stable-eev16.1.0-rc42 | GitLab Bot | |
2023-05-17 | Add latest changes from gitlab-org/gitlab@16-0-stable-eev16.0.0-rc42 | GitLab Bot | |
2023-02-20 | Add latest changes from gitlab-org/gitlab@15-9-stable-eev15.9.0-rc42 | GitLab Bot | |
2022-11-17 | Add latest changes from gitlab-org/gitlab@15-6-stable-eev15.6.0-rc42 | GitLab Bot | |
2022-10-20 | Add latest changes from gitlab-org/gitlab@15-5-stable-eev15.5.0-rc42 | GitLab Bot | |
2022-09-20 | Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42 | GitLab Bot | |
2022-08-19 | Add latest changes from gitlab-org/security/gitlab@15-3-stable-ee | GitLab Bot | |
2022-08-18 | Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.0-rc42 | GitLab Bot | |
2021-10-20 | Add latest changes from gitlab-org/gitlab@14-4-stable-eev14.4.0-rc42 | GitLab Bot | |
2021-09-20 | Add latest changes from gitlab-org/gitlab@14-3-stable-eev14.3.0-rc42 | GitLab Bot | |
2021-08-19 | Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42 | GitLab Bot | |
2021-07-20 | Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42 | GitLab Bot | |
2021-06-16 | Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42 | GitLab Bot | |
2021-04-21 | Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43 | GitLab Bot | |
2020-09-19 | Add latest changes from gitlab-org/gitlab@13-4-stable-ee | GitLab Bot | |
2020-07-20 | Add latest changes from gitlab-org/gitlab@13-2-stable-ee | GitLab Bot | |
2020-06-18 | Add latest changes from gitlab-org/gitlab@13-1-stable-ee | GitLab Bot | |
2020-03-26 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-14 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-01-29 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-10-16 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2018-11-26 | Use strong memoize utility | Heinrich Lee Yu | |
2018-11-26 | Prevent loading from cache if commit is nil | Heinrich Lee Yu | |
2018-11-26 | Cache project HEAD to prevent unnecessary Gitaly calls | Heinrich Lee Yu | |
2018-11-16 | Change project pipeline status cache key to follow project convention | Gabriel Mazetto | |
Old cache key was: `projects/#{id}/pipeline_status/#{sha}` New one is: `project:#{id}:pipeline_status:#{sha}` This allows to delete any project related key just by scanning for: `project:#{id}`. | |||
2018-10-26 | Remove cache_sha parameter | Matija Čupić | |
2018-10-25 | Cache pipeline status only for specific sha | Matija Čupić | |
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-24 | Use `Gitlab::SafeRequestStore` in more places | Michael Kozono | |
Even if it doesn’t save lines of code, since people will tend to use code they’ve seen. And `SafeRequestStore` is safer since you don’t have to remember to check `RequestStore.active?`. | |||
2018-06-22 | Add docs for RequestCache, moved from comments | Lin Jen-Shin | |
2018-04-10 | Allow `rake cache:clear` clearing pipeline status cache | Lin Jen-Shin | |
* Use the correct key prefix * Clear old cache keys TODO: At some point we could remove clearing old cache keys. | |||
2017-11-17 | Use StrongMemoize and enable/disable cops properly | Lin Jen-Shin | |
2017-09-18 | Add cop to make sure we don't use ivar in a module | Lin Jen-Shin | |
2017-08-14 | Whitelist or fix additional `Gitlab/PublicSend` cop violations | Robert Speicher | |
An upcoming update to rubocop-gitlab-security added additional violations. | |||
2017-07-18 | Rename the methods to make it fit with current name | Lin Jen-Shin | |
2017-07-18 | Follow feedback on the merge request | Lin Jen-Shin | |
2017-07-17 | Update the comments for the new functionality | Lin Jen-Shin | |
2017-07-17 | Use RequestStoreWrap for Commit#author | Lin Jen-Shin | |
We also try to use instance variable to cache the result if RequestStore is not available, so we could keep the same logic, using the same cache key. Also introduce a way to specify method specific cache key | |||
2017-07-17 | Add RequestStoreWrap to cache via RequestStore | Lin Jen-Shin | |
I don't like the idea of `RequestStore` at all, because it's just a global state which shouldn't be used at all. But we have a number of places calling `ProtectedBranch.protected?` and `ProtectedTag.protected?` in a loop for the same user, project, and ref whenever we're checking against if the jobs for a given pipeline is accessible for a given user. This means we're effectively making N queries for the same thing over and over. To properly fix this, we need to change how we check the permission, and that could be a huge work. To solve this quickly, adding a cache layer for the given request would be quite simple to do. We're already doing this in Commit#author, and this is extending that idea and make it generalized. | |||
2017-07-11 | Support multiple Redis instances based on queue type | Paul Charlton | |
2017-06-21 | Enable Style/DotPosition Rubocop :cop: | Grzegorz Bizon | |
2017-04-26 | Load a project's CI status in batch from redis | Bob Van Landuyt | |
2017-04-07 | Take the ref of a pipeline into account when caching status | Bob Van Landuyt | |
2017-04-07 | Rename `ProjectBuildStatus` -> `ProjectPipelineStatus` | Bob Van Landuyt | |
2017-04-07 | Wrap updating of cache after pipeline transition in class method | Bob Van Landuyt | |
2017-04-07 | Rename Ci::PipelineStatus -> Ci::ProjectBuildStatus | Bob Van Landuyt | |