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
2023-07-19Add latest changes from gitlab-org/gitlab@16-2-stable-eev16.2.0-rc42GitLab Bot
2023-06-20Add latest changes from gitlab-org/gitlab@16-1-stable-eev16.1.0-rc42GitLab Bot
2023-05-17Add latest changes from gitlab-org/gitlab@16-0-stable-eev16.0.0-rc42GitLab Bot
2022-12-20Add latest changes from gitlab-org/gitlab@15-7-stable-eev15.7.0-rc42GitLab Bot
2022-11-17Add latest changes from gitlab-org/gitlab@15-6-stable-eev15.6.0-rc42GitLab Bot
2022-05-19Add latest changes from gitlab-org/gitlab@15-0-stable-eev15.0.0-rc42GitLab Bot
2022-04-20Add latest changes from gitlab-org/gitlab@14-10-stable-eev14.10.0-rc42GitLab Bot
2022-02-18Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42GitLab Bot
2021-11-18Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42GitLab Bot
2021-09-20Add latest changes from gitlab-org/gitlab@14-3-stable-eev14.3.0-rc42GitLab Bot
2021-08-19Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42GitLab Bot
2021-05-19Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot
2021-03-16Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40GitLab Bot
2021-01-20Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42Robert Speicher
2020-12-17Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42GitLab Bot
2020-12-04Add latest changes from gitlab-org/security/gitlab@13-6-stable-eeGitLab Bot
2020-10-21Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot
2020-08-20Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2020-04-20Add latest changes from gitlab-org/gitlab@12-10-stable-eeGitLab Bot
2020-04-15Add latest changes from gitlab-org/gitlab@12-10-stable-eeGitLab Bot
2020-02-26Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-01-23Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-10Add controller concern for paginated collectionsMarkus Koller
We had similar code in a few places to redirect to the last page if the given page number is out of range. This unifies the handling in a new controller concern and adds usage of it in all snippet listings.
2019-09-10Optimize queries for snippet listingsMarkus Koller
- Avoid N+1 queries for authors and comment counts - Avoid an additional snippet existence query
2019-08-21Add SortingPreference concernGeorge Koltsov
Sorting preference functionality has been extracted from `IssuableCollections` to a new `SortingPreference` concern in order to reuse this functionality in projects (and groups in the future).
2019-03-19Fix undefined variable error on json project viewsAlejandro Rodríguez
This mistake seems to have always been there, but it only resulted in errors on the `/explore*.json` since they were the one that _actually_ relied on the local variables.
2019-01-28Fix `star` action in the `explore` subpagesRiccardo Padovani
2019-01-15Move ProjectsFinder into the controllerGeorge Tsiolis
2018-12-10Eager-load relations for Explore::ProjectsControllerGabriel Mazetto
This removes remaining N+1 queries
2018-09-23Enable more frozen string in app/controllers/gfyoung
Enables frozen string for the following: * app/controllers/dashboard/**/*.rb * app/controllers/explore/**/*.rb * app/controllers/google_api/**/*.rb * app/controllers/groups/**/*.rb * app/controllers/import/**/*.rb * app/controllers/instance_statistics/**/*.rb * app/controllers/ldap/**/*.rb * app/controllers/oauth/**/*.rb * app/controllers/profiles/**/*.rb Partially addresses #47424.
2018-09-11Disable existing offenses for the CodeReuse copsYorick Peterse
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
2017-12-07Resolve "Display member role per project"Mike Greiling
2017-10-04Reuse the groups tree for explore and dashboard.Bob Van Landuyt
2017-08-14Use Prev/Next pagination for exploring projectsYorick Peterse
This changes the pagination of the "Explore" pages so they use a simpler pagination system that only shows "Prev" and "Next" buttons. This removes the need for getting the total number of rows to display, a process that can easily take up to 2 seconds when browsing through a large list of projects. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/27390
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-05-10Merge branch 'tc-fix-private-subgroups-shown' into 'security' Douwe Maan
Use GroupsFinder to find subgroups the user has access to See merge request !2096
2017-05-10Merge branch 'snippets-finder-visibility' into 'security'Douwe Maan
Refactor snippets finder & dont return internal snippets for external users See merge request !2094
2017-04-06ProjectsFinder should handle more optionsJacopo
Extended ProjectFinder in order to handle the following options: - current_user - which user use - project_ids_relation: int[] - project ids to use - params: - trending: boolean - non_public: boolean - starred: boolean - sort: string - visibility_level: int - tags: string[] - personal: boolean - search: string - non_archived: boolean GroupProjectsFinder now inherits from ProjectsFinder. Changed the code in order to use the new available options.
2017-03-16Eager load route & namespace in `Explore::ProjectsController`Bob Van Landuyt
2017-03-01Add filter and sorting to dashboard groups pageDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-02-10Don't perform Devise trackable updates on blocked User recordsRobert Speicher
2017-01-26Fix /explore sorting (trending)Eric Eastwood
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27044
2016-10-10Precalculate trending projectsYorick Peterse
This commit introduces a Sidekiq worker that precalculates the list of trending projects on a daily basis. The resulting set is stored in a database table that is then queried by Project.trending. This setup means that Unicorn workers no longer _may_ have to calculate the list of trending projects. Furthermore it supports filtering without any complex caching mechanisms. The data in the "trending_projects" table is inserted in the same order as the project ranking. This means that getting the projects in the correct order is simply a matter of: SELECT projects.* FROM projects INNER JOIN trending_projects ON trending_projects.project_id = projects.id ORDER BY trending_projects.id ASC; Such a query will only take a few milliseconds at most (as measured on GitLab.com), opposed to a few seconds for the query used for calculating the project ranks. The migration in this commit does not require downtime and takes care of populating an initial list of trending projects.
2016-10-05Refactor TrendingProjectsFinder to support cachingYorick Peterse
== Public Projects This finder class now _only_ returns public projects. Previously this finder would also return private and internal projects. Including these projects makes caching data much harder and less efficient. Meanwhile including this data isn't very useful as very few users would be interested in seeing projects they have access to as trending. That is, the feature is more useful when you want to see what _other_ popular projects there are. == Caching The data returned by TrendingProjectsFinder is now cached for a day based on the number of months the data should be restricted to. The cache is not flushed explicitly, instead it's rebuilt whenever it expires. == Timings To measure the impact I changed the finder code to use the last 24 months instead of the last month. I then executed and measured 10 requests to the explore page. On the current "master" branch (commit 88fa5916ffa0aea491cd339272ed7437c3f52dc7) this would take an average of 2.43 seconds. Using the changes of this commit this was reduced to around 1.7 seconds. Fixes gitlab-org/gitlab-ce#22164
2016-07-27Replace reject_blocked with reject_blocked! in callbacks.Connor Shea
In Rails 4.2 and below, skipping callbacks (skip_before_action, skip_after_action, etc.) that use methods which do not exist will not throw any errors. On the other hand, Rails 5 does. See https://github.com/rails/rails/pull/19029 After testing with Rails 5 I noticed there are some methods that don't actually exist (because they were renamed, usually), this fixes a few instances of those. reject_blocked! was introduced in c9def945d4222eeb8026a0311495259bf99267a1, I can't find any references to reject_blocked ever existing.
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-20Use the configured Kaminari "per page" defaultRobert Speicher
2016-03-17Merge 4009-external-users into issue_12658Felipe Artur