An error occurred fetching the project authors.
- 24 Aug, 2021 1 commit
-
-
Heinrich Lee Yu authored
Remove the feature flag for optimizing storing of mentions without using a subtransaction Changelog: other
-
- 19 Aug, 2021 2 commits
-
-
Heinrich Lee Yu authored
Adds a feature flag to the optimization done for store_mentions!
-
Heinrich Lee Yu authored
Using UPSERT saves us a query, avoids cases where we get RecordNotUnique, and removes the use of SAVEPOINT which can cause PG performance issues.
-
- 10 Jun, 2021 1 commit
-
-
Nick Thomas authored
This change makes an item of implicit coupling between the Mentionable and CachedMarkdownField concerns. Mentionable needs to render the fields it depends on to extract references; when those fields are also cached markdown fields, it currently uses that cache to skip the render step. For the Commit model, we couldn't share the cache because Mentionable was looking at safe_message, while CachedMarkdownField was looking at `title`, `full_title`, and `description`. However, the combination of the latter two is equivalent to `safe_message`, so we can use them instead. This opens up a couple of cans of worms - in particular, we now call Commit#store_mentions!, which we've never done before. However, it all seems to work out in the end. Changelog: performance
-
- 24 Nov, 2020 1 commit
-
-
Alexandru Croitor authored
Move user mentions saving as a callback on models that save related markdown field cache(_html)
-
- 29 Sep, 2020 1 commit
-
-
Alexandru Croitor authored
Cleanup the enabled by default store_mentioned_users_to_db development feature flag.
-
- 10 Sep, 2020 1 commit
-
-
Rajendra Kadam authored
This MR fixes the SaveBang cop in helpers and adds changelog for the same Add changelog for the cop fixes Disable cop for create method Apply 3 suggestion(s) to 2 file(s) Fix indentation and specs
-
- 28 May, 2020 1 commit
-
-
Heinrich Lee Yu authored
This fixes a performance regression when mentions are being read repeatedly from the API and we have to re-render all the notes to parse the HTML
-
- 22 Apr, 2020 1 commit
-
-
Sashi Kumar authored
-
- 01 Apr, 2020 1 commit
-
-
Rémy Coutable authored
This makes the strategy to get a non-existing-record-id consistent accross the specs. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 13 Feb, 2020 1 commit
-
-
Alexandru Croitor authored
Instead of calling store_mentions! for each model save, move it to after_save callback to get it called and not worry to miss any save or update calls.
-
- 30 Jan, 2020 1 commit
-
-
Albert Salim authored
-
- 28 Jan, 2020 3 commits
-
-
Stan Hu authored
This brings back https://gitlab.com/gitlab-org/gitlab/-/merge_requests/22333, which was reverted due in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/23900 due to a broken master (https://gitlab.com/gitlab-org/gitlab/issues/199297).
-
Kyle Wiebers authored
This reverts merge request !22333
-
Alexandru Croitor authored
Isolate mentionable concern, epic and epic_user_mention models for the mentions migration. Create temporary indexes to be removed later for the text fields that containt mentions, i.e. `@`
-
- 20 Jan, 2020 1 commit
-
-
Rémy Coutable authored
This follows the documented convention. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 10 Dec, 2019 1 commit
-
-
Alexandru Croitor authored
When a note is created or updated it gets parsed and users, groups, projects mentioned in the note are stored in respective db table, or deleted when note is deleted.
-
- 25 Jul, 2019 1 commit
-
-
Thong Kuah authored
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
-
- 11 Jul, 2019 1 commit
-
-
Mario de la Ossa authored
When cache_collection_render runs we end up reading and writing things to redis even if we already have the rendered field cached in the DB. This commit avoids using redis at all whenever we have the field already rendered in the DB cache.
-
- 07 Mar, 2019 1 commit
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 24 Jan, 2019 2 commits
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 23 Apr, 2018 2 commits
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 22 Dec, 2017 2 commits
-
-
blackst0ne authored
-
Vitaliy @blackst0ne Klachkov authored
-
- 07 Dec, 2017 1 commit
-
-
Jarka Kadlecova authored
-
- 21 Jun, 2017 2 commits
-
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
- 23 Feb, 2017 4 commits
-
-
Douwe Maan authored
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
-
Douwe Maan authored
-
Douwe Maan authored
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
-
Douwe Maan authored
-
- 26 Jan, 2017 1 commit
-
-
Robert Speicher authored
-
- 04 Oct, 2016 1 commit
-
-
Paco Guzman authored
We remove some arguments that are rarely used or used just to simplify setups on specs. Modified Mentionable#create_new_cross_references method we don’t need to calculate previous references to avoid the duplication because we do that at database level when creating references extracted from the current entity state. MergeRequests won’t create cross_references for commits that are included so we change a spec to use a different merge request to make references to commits to other branches
-
- 17 Mar, 2016 2 commits
-
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
-
- 08 Dec, 2015 1 commit
-
-
Grzegorz Bizon authored
-
- 30 Nov, 2015 1 commit
-
-
Douwe Maan authored
-
- 14 Oct, 2015 1 commit
-
-
Douwe Maan authored
-