Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-08-18 | Add latest changes from gitlab-org/gitlab@16-3-stable-eev16.3.0-rc42 | GitLab Bot | |
2023-05-17 | Add latest changes from gitlab-org/gitlab@16-0-stable-eev16.0.0-rc42 | GitLab Bot | |
2023-01-18 | Add latest changes from gitlab-org/gitlab@15-8-stable-eev15.8.0-rc42 | GitLab Bot | |
2022-12-20 | Add latest changes from gitlab-org/gitlab@15-7-stable-eev15.7.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-08-18 | Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.0-rc42 | GitLab Bot | |
2022-05-19 | Add latest changes from gitlab-org/gitlab@15-0-stable-eev15.0.0-rc42 | GitLab Bot | |
2022-04-20 | Add latest changes from gitlab-org/gitlab@14-10-stable-eev14.10.0-rc42 | GitLab Bot | |
2022-02-18 | Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42 | GitLab Bot | |
2021-12-20 | Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.0-rc42 | GitLab Bot | |
2021-11-18 | Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.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-05-19 | Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42 | GitLab Bot | |
2021-02-18 | Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42 | GitLab Bot | |
2020-10-21 | Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42 | GitLab Bot | |
2020-08-20 | Add latest changes from gitlab-org/gitlab@13-3-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-05-20 | Add latest changes from gitlab-org/gitlab@13-0-stable-ee | GitLab Bot | |
2020-03-24 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-19 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-17 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-02-03 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-01-24 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-01-23 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-10-11 | 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-10 | Add event presenter | Jan Provaznik | |
This presenter will be used in an upcoming MR which adds rendering of epic events on group activity page. | |||
2019-09-04 | Create an event on epic actions | Jan Provaznik | |
Creates new event when an epic is created, closed, reopened or commented. | |||
2019-08-29 | Remove dependency on IgnorableColumn concern | dineshpanda | |
2019-05-13 | Rename methods that conflict in Rails 5.2 | Heinrich Lee Yu | |
Adds suffix to enum methods and changes `in_groups` to `of_groups` | |||
2019-03-28 | Inherit from ApplicationRecord instead of ActiveRecord::Base | Nick Thomas | |
2018-12-16 | Remove rails4 specific code | Jasper Maes | |
2018-12-10 | Reduce N+1 from Activity Dashboard and Banzai | Gabriel 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-21 | Check snippet note event visibility | Nick Thomas | |
2018-09-21 | Fix Event#visible_to_user? for milestones | Nick Thomas | |
2018-09-17 | Added FromUnion to easily select from a UNION | Yorick 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-07 | Include private contributions in user contribution graph | George Tsiolis | |
2018-07-27 | Enable frozen string in app/models/*.rb | gfyoung | |
Partially addresses #47424. | |||
2018-05-29 | Throttle updates to Project#last_repository_updated_at. | Andreas Brandl | |
Closes #35364. | |||
2018-04-11 | [Rails5] Update Event#subclass_from_attributes method | blackst0ne | |
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-23 | Remove 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-07 | Merge 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-06 | Singularize model name. | Andreas Brandl | |
2018-03-06 | Rename 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-06 | Only 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-06 | Track which projects a user contributed to. | Andreas Brandl | |
Closes #43460. |