summaryrefslogtreecommitdiff
path: root/app/models/concerns/noteable.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42GitLab Bot2021-11-181-0/+33
|
* Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot2021-05-191-2/+2
|
* Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42Robert Speicher2021-01-201-0/+21
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-0/+4
|
* Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot2020-06-181-1/+1
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-2/+12
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-251-0/+6
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-131-4/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-111-0/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-131-0/+3
|
* Optimize queries for snippet listingsMarkus Koller2019-09-101-0/+4
| | | | | - Avoid N+1 queries for authors and comment counts - Avoid an additional snippet existence query
* Change the way totalNotes is calculatedid-change-total-notes-calculationIgor Drozdov2019-08-281-0/+4
| | | | | | | | | | | | | | | totalNotes is only used to prerender a number of skeleton containers until real notes are loaded issuable.discussions makes multiple requests, so too expensive for this This commit uses mere notes for this and sends actual totalNotes number if it's less than 10; otherwise it sends 10 - it allows us to avoid bunch of skeleton prerenderings, which are not necessary since they doesn't fit into the whole screen and disappear quite fast
* Make `resolvable_types` a class methodBob Van Landuyt2019-06-031-4/+8
| | | | | This turns Notable::RESOLVABLE_TYPES into a `Notable.resolvable_types`. That allows us to override it in EE.
* Set correct timestamps when creating past issues58361-issue-create-system-note-timestampHeinrich Lee Yu2019-04-161-1/+1
| | | | Sets `system_note_timestamp` from `created_at`
* Fix `updated_at` doesn't apply to `state_event` updates of issues via APISean McGivern2019-04-081-0/+8
|
* Add reply to notes to turn into discussionsHeinrich Lee Yu2019-02-061-1/+14
|
* Cache diff highlight in discussionsOswaldo Ferreira2018-12-211-0/+4
| | | | | | | | | This commit handles note diffs caching, which considerably improves the performance on merge requests with lots of comments. Important to note that the caching approach taken here is different from `Gitlab::Diff::HighlightCache`. We do not reset the whole cache when a new push is sent or anything else. That's because discussions diffs are persisted and do not change.
* Allow suggesting single line changes in diffsOswaldo Ferreira2018-12-131-0/+4
|
* Remove EE-specific code from DiscussionNoteremove-ee-specific-code-from-plan-and-create-modelsSean McGivern2018-10-261-1/+1
|
* Use ResourceLabelEvent for tracking label changesJan Provaznik2018-09-071-0/+19
|
* Enable more frozen string in app/models/**/*.rbgfyoung2018-08-071-0/+2
| | | | Partially addresses #47424.
* Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin2017-11-221-2/+2
| | | | | And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude.
* Use StrongMemoize and enable/disable cops properlyLin Jen-Shin2017-11-181-0/+1
|
* Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-061-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (1723 commits) Resolve "Editor icons" Refactor issuable destroy action Ignore routes matching legacy_*_redirect in route specs Gitlab::Git::RevList and LfsChanges use lazy popen Gitlab::Git::Popen can lazily hand output to a block Merge branch 'master-i18n' into 'master' Remove unique validation from external_url in Environment Expose `duration` in Job API entity Add TimeCop freeze for DST and Regular time Harcode project visibility update a changelog Put a condition to old migration that adds fast_forward column to MRs Expose project visibility as CI variable fix flaky tests by removing unneeded clicks and focus actions fix flaky test in gfm_autocomplete_spec.rb Use Gitlab::Git operations for repository mirroring Encapsulate git operations for mirroring in Gitlab::Git Create a Wiki Repository's raw_repository properly Add `Gitlab::Git::Repository#fetch` command Fix Gitlab::Metrics::System#real_time and #monotonic_time doc ...
| * Create system notes for MR too, improve doc + clean up codeJarka Kadlecova2017-09-141-0/+4
| |
* | Allow simple ivar ||= form. Update accordinglyLin Jen-Shin2017-09-191-3/+0
| |
* | Add cop to make sure we don't use ivar in a moduleLin Jen-Shin2017-09-181-0/+4
|/
* Prefer polymorphism over `is_a?`Douwe Maan2017-08-171-0/+4
|
* Remove cross-references user cannot see from issue discussions JSONDouwe Maan2017-08-171-1/+1
|
* Resolve N+1 query issue with discussionsDouwe Maan2017-05-291-1/+6
|
* Link to outdated diff in older MR version from outdated diff discussionDouwe Maan2017-04-081-2/+2
|
* Refactor resolvability checks based on typeDouwe Maan2017-04-061-0/+25
|
* Address review commentsDouwe Maan2017-04-051-0/+26
|
* Don't use original_discussion_idDouwe Maan2017-04-051-1/+1
|
* Add option to start a new discussion on an MRDouwe Maan2017-04-051-0/+17