summaryrefslogtreecommitdiff
path: root/app/models/note.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use fuzzy search with minimum length of 3 characters where appropriatedm-search-patternDouwe Maan2017-11-271-1/+1
|
* Use Gitlab::SQL::Pattern where appropriateDouwe Maan2017-11-241-0/+5
|
* add `#with_metadata` scope to remove a N+1 from the notes' APImicael.bergeron2017-11-211-0/+1
|
* reverting to the simpler approachmicael.bergeron2017-11-161-1/+13
|
* CE port of code changed for epicsjk-epic-changes-ce-portJarka Kadlecova2017-11-021-2/+6
|
* Merge branch 'security-10-1' into '10-1-stable'Jen-Shin Lin2017-10-171-1/+1
| | | | | Security fixes for 10.1 RC See merge request gitlab/gitlabhq!2209
* Commenting on image diffsFelipe Artur2017-10-071-4/+12
|
* add controller specmicael.bergeron2017-09-061-7/+4
| | | | also fix some code styling issues
* rework the contributor badgemicael.bergeron2017-09-061-0/+5
| | | | | - only show in merge-requests - show as a little glyph
* round of fixes after code reviewmicael.bergeron2017-09-061-3/+11
|
* WIP: refactor the first-contributor to Issuablemicael.bergeron2017-09-061-1/+24
| | | | | | | this will remove the need make N queries (per-note) at the cost of having to mark notes with an attribute this opens up the possibility for other special roles for notes
* Fix specsDouwe Maan2017-08-301-1/+1
|
* Prefer polymorphism over `is_a?`Douwe Maan2017-08-171-3/+3
|
* Merge branch 'master' into issue-discussions-refactorFilipa Lacerda2017-08-101-10/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (42 commits) alternative route for download archive Add missing command to compile GetText files Prevent user from changing username with container registry tags Rename RPC 'Exists' to 'RepositoryExists' Fix the sticky changes bar on commits page Fix ee_compat_check when EE branch uses a prefix Removed display styles when hiding the fly out navigation Explain why we use select all for project_url_constrainer.rb Fix pikaday being undefined Add a helper to stub storage settings with defaults Enable the Layout/SpaceBeforeBlockBraces cop update Install from Source instructions Translations can be picked without asking for exceptions Ask for exceptions in advance Don't require stackprof in Gemfile Synchronous Korean translation in zanata Use full path of user's avatar in webhooks Update icon color on hover Align all nav items in sidebar Fix height of collapsed sidebar items ...
| * Enable the Layout/SpaceBeforeBlockBraces coprc/enable-the-Layout/SpaceBeforeBlockBraces-copRémy Coutable2017-08-091-10/+10
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Expire ETag cache on note when award emoji changesSean McGivern2017-07-211-11/+11
|/
* Cache Note#notable for commits and fix testsrequest-store-wrapLin Jen-Shin2017-07-181-1/+1
|
* Added Cop to blacklist the use of `dependent:`Yorick Peterse2017-07-061-2/+2
| | | | | | | | This is allowed for existing instances so we don't end up 76 offenses right away, but for new code one should _only_ use this if they _have_ to remove non database data. Even then it's usually better to do this in a service class as this gives you more control over how to remove the data (e.g. in bulk).
* Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-051-2/+1
|
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-3/+3
|
* Rename "Slash commands" to "Quick actions"Eric Eastwood2017-06-151-1/+1
| | | | | | | | | | | | | Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27070 Deprecate "chat commands" in favor of "slash commands" We looked for things like: - `slash commmand` - `slash_command` - `slash-command` - `SlashCommand`
* Added Cop to blacklist polymorphic associationsYorick Peterse2017-06-071-1/+1
| | | | | | | | One should really use a separate table instead of using polymorphic associations. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11168 for more information.
* Merge remote-tracking branch 'origin/master' into ↵Luke "Jared" Bennett2017-06-021-1/+1
|\ | | | | | | fix-realtime-edited-text-for-issues-9-3
| * Move includes call to scopedm-discussions-n-plus-1Douwe Maan2017-05-311-1/+1
| |
* | Port fix-realtime-edited-text-for-issues 9-2-stable fix to master.Luke "Jared" Bennett2017-05-311-0/+1
|/
* Address reviewDouwe Maan2017-05-241-6/+1
|
* Fix specsdm-outdated-system-noteDouwe Maan2017-05-231-2/+5
|
* Add system note with link to diff comparison when MR discussion becomes outdatedDouwe Maan2017-05-231-8/+9
|
* Add comment to notes aliasesblackst0ne2017-05-041-0/+2
|
* Add alias_attributes for notesblackst0ne2017-05-041-0/+3
|
* Add last_edited_at and last_edited_by attributesblackst0ne2017-05-041-0/+1
|
* Allow commenting on older versions of the diff and comparisons between diff ↵dm-link-discussion-to-outdated-diffDouwe Maan2017-05-031-9/+13
| | | | versions
* Display issuable state only in notes and issuable descriptionAdam Niedzielski2017-04-191-1/+1
| | | | Closes #30964
* Merge branch '30457-expire-note-destroy' into 'master'Sean McGivern2017-04-121-0/+1
|\ | | | | | | | | | | | | Fix issue's note cache expiration after delete Closes #30457 See merge request !10461
| * Fix issue's note cache expiration after deletemhasbini2017-04-111-0/+1
| |
* | Link to outdated diff in older MR version from outdated diff discussionDouwe Maan2017-04-081-2/+6
|/
* Fix bug where commit comment would not show up in the right discussion on ↵Douwe Maan2017-04-071-2/+2
| | | | the MR page
* Refactor resolvability checks based on typeDouwe Maan2017-04-061-5/+4
|
* Customize Start discussion message according to if the noteable can be ↵Alfredo Sumaran2017-04-051-0/+4
| | | | resolvable
* Remove and ignore notes.original_discussion_id columnDouwe Maan2017-04-051-0/+3
|
* Address review commentsDouwe Maan2017-04-051-1/+3
|
* Address review commentsDouwe Maan2017-04-051-7/+10
|
* Correctly display multiple separate discussions on the same diff lineDouwe Maan2017-04-051-3/+2
|
* Don't use original_discussion_idDouwe Maan2017-04-051-24/+3
|
* Extract commonalities between DiffDiscussion and LegacyDiffDiscussionDouwe Maan2017-04-051-8/+1
|
* Add specsDouwe Maan2017-04-051-5/+22
|
* Better notification emails for notes and (diff) discussionsDouwe Maan2017-04-051-1/+1
|
* Add option to start a new discussion on an MRDouwe Maan2017-04-051-38/+74
|
* Create metadata when creating system notesJarka Kadlecova2017-03-281-1/+1
|
* Add system_note_metadata modelJarka Kadlecova2017-03-281-1/+4
|