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-08-18Add latest changes from gitlab-org/gitlab@16-3-stable-eev16.3.0-rc42GitLab Bot
2023-05-17Add latest changes from gitlab-org/gitlab@16-0-stable-eev16.0.0-rc42GitLab Bot
2023-01-18Add latest changes from gitlab-org/gitlab@15-8-stable-eev15.8.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-10-20Add latest changes from gitlab-org/gitlab@15-5-stable-eev15.5.0-rc42GitLab Bot
2022-08-18Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.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-12-20Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.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-07-20Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42GitLab Bot
2021-05-19Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot
2021-02-18Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab 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-06-18Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot
2020-05-20Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot
2020-03-24Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-19Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-17Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-03Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-01-24Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-01-23Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-11Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-10Add event presenterJan Provaznik
This presenter will be used in an upcoming MR which adds rendering of epic events on group activity page.
2019-09-04Create an event on epic actionsJan Provaznik
Creates new event when an epic is created, closed, reopened or commented.
2019-08-29Remove dependency on IgnorableColumn concerndineshpanda
2019-05-13Rename methods that conflict in Rails 5.2Heinrich Lee Yu
Adds suffix to enum methods and changes `in_groups` to `of_groups`
2019-03-28Inherit from ApplicationRecord instead of ActiveRecord::BaseNick Thomas
2018-12-16Remove rails4 specific codeJasper Maes
2018-12-10Reduce N+1 from Activity Dashboard and BanzaiGabriel Mazetto
There is a combination of few strategies implemented here: 1. Few relations were eager loaded 2. Changed few polymorphic routes to specific ones so we don't have to use `#becomes(Namespace)` which doesn't preserve association cache
2018-09-21Check snippet note event visibilityNick Thomas
2018-09-21Fix Event#visible_to_user? for milestonesNick Thomas
2018-09-17Added FromUnion to easily select from a UNIONYorick Peterse
This commit adds the module `FromUnion`, which provides the class method `from_union`. This simplifies the process of selecting data from the result of a UNION, and reduces the likelihood of making mistakes. As a result, instead of this: union = Gitlab::SQL::Union.new([foo, bar]) Foo.from("(#{union.to_sql}) #{Foo.table_name}") We can now write this instead: Foo.from_union([foo, bar]) This commit also includes some changes to make this new setup work properly. For example, a bug in Rails 4 (https://github.com/rails/rails/issues/24193) would break the use of `from("sub-query-here").includes(:relation)` in certain cases. There was also a CI query which appeared to repeat a lot of conditions from an outer query on an inner query, which isn't necessary. Finally, we include a RuboCop cop to ensure developers use this new module, instead of using Gitlab::SQL::Union directly. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/51307
2018-09-07Include private contributions in user contribution graphGeorge Tsiolis
2018-07-27Enable frozen string in app/models/*.rbgfyoung
Partially addresses #47424.
2018-05-29Throttle updates to Project#last_repository_updated_at.Andreas Brandl
Closes #35364.
2018-04-11[Rails5] Update Event#subclass_from_attributes methodblackst0ne
In Rails 5.0 the `ActiveRecord::Inheritance::subclass_from_attributes` method was updated. Now it calls the `find_sti_class` method [1] which is overriden in the `Event` model and returns needed class (`Event` vs `PushEvent`). [1]: https://github.com/rails/rails/blob/5-0-stable/activerecord/lib/active_record/inheritance.rb#L209 This commit fixes the errors like ``` 143) User#contributed_projects doesn't include IDs for unrelated projects Failure/Error: action = attrs.with_indifferent_access[inheritance_column].to_i NoMethodError: undefined method `with_indifferent_access' for nil:NilClass # ./app/models/event.rb:118:in `subclass_from_attributes' ``` which are raised on the `RAILS5=1 rspec ...` command.
2018-03-23Remove N+1 query for Noteable association.Andreas Brandl
For each event with `Event#target_type` of "Note", we had a query to load the associated instance `noteable`. For example, if `Note` was related to an issue, we'd load each `Issue` with its own query (N+1 problem). Closes #43150.
2018-03-07Merge branch '43460-track-projects-a-user-contributed-to' into 'master'Yorick Peterse
Keep track of projects a user interacted with Closes #43460 See merge request gitlab-org/gitlab-ce!17327
2018-03-06Singularize model name.Andreas Brandl
2018-03-06Rename to UserInteractedProjects.Andreas Brandl
This is to avoid a mix-up with the existing concept of 'user contributions'. See `User#contributed_projects` or `Event#contributions`.
2018-03-06Only track contributions if table is available.Andreas Brandl
This is due to the problem that the callback can be called while running an earlier database schema version (for example during earlier migrations). We work around this by checking the current schema version and only track contributions if the table is available.
2018-03-06Track which projects a user contributed to.Andreas Brandl
Closes #43460.