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
2018-05-24Persist truncated note diffs on a new tableOswaldo Ferreira
We request Gitaly in a N+1 manner to build discussion diffs. Once the diffs are from different revisions, it's hard to make a single request to the service in order to build the whole response. With this change we solve this problem and simplify a lot fetching this piece of info.
2018-05-07Backport 5480-epic-notifications from EEMario de la Ossa
2018-04-05Merge branch 'jprovazn-comment-refs' into 'master'Sean McGivern
Better group support in notes-related code See merge request gitlab-org/gitlab-ce!18150
2018-04-05Better group support notes-related codeJan Provaznik
Updates notes-related services and rendering so this code can be easily used for group-scoped resources (specifically Epics). Related to gitlab-ee!5205
2018-04-05Merge branch 'jej/mattermost-notification-confidentiality-10-6' into ↵Douwe Maan
'security-10-6' [10.6] Prevent notes on confidential issues from being sent to chat See merge request gitlab/gitlabhq!2366 # Conflicts: # app/helpers/services_helper.rb
2018-04-03Refactor discussions/notes codeJan Provaznik
2018-03-07Add discussion APIJan Provaznik
* adds basic discussions API for issues and snippets * reorganizes notes specs (so same tests can be used for all noteable types - issues, MRs, snippets)
2018-02-28Render MR Notes with Vue with behind a cookieFatih Acet
2018-02-05Add foreign keys to todos table.Andreas Brandl
Fixes #32282.
2018-02-02use Gitlab::UserSettings directly as a singleton instead of ↵Mario de la Ossa
including/extending it
2018-02-01port of 594e6a0a625^..f74c90f68c6Micaël Bergeron
2017-12-13Make discussion mail References all notes in the discussionToon Claes
When a note is part of a discussion, the email sent out will be `In-Reply-To` the previous note in that discussion. It also `References` all the previous notes in that discussion, and the original issue. Closes gitlab-org/gitlab-ce#36054.
2017-12-13Make mail notifications of discussion notes In-Reply-To of each otherToon Claes
When a note is part of a discussion, the email sent out should be `In-Reply-To` the previous note in that discussion. Closes gitlab-org/gitlab-ce#36054
2017-12-12Return the noteable in Note#touch_noteableYorick Peterse
This allows EE to re-use the object, making it easier to trigger indexing of the noteable.
2017-12-07cache the Note#commit methodmicael.bergeron
2017-12-07add support for commit (in mr) to reference filtermicael.bergeron
2017-12-07Allow commenting on individual commits inside an MRDouwe Maan
2017-12-06Throttle the number of UPDATEs triggered by touchYorick Peterse
This throttles the number of UPDATE queries that can be triggered by calling "touch" on a Note, Issue, or MergeRequest. For Note objects we also take care of updating the associated "noteable" relation in a smarter way than Rails does by default.
2017-11-27Use fuzzy search with minimum length of 3 characters where appropriateDouwe Maan
2017-11-24Use Gitlab::SQL::Pattern where appropriateDouwe Maan
2017-11-21add `#with_metadata` scope to remove a N+1 from the notes' APImicael.bergeron
2017-11-16reverting to the simpler approachmicael.bergeron
2017-11-02CE port of code changed for epicsJarka Kadlecova
2017-10-18Merge branch 'security-10-1' into '10-1-stable'Jen-Shin Lin
Security fixes for 10.1 RC See merge request gitlab/gitlabhq!2209
2017-10-07Commenting on image diffsFelipe Artur
2017-09-06add controller specmicael.bergeron
also fix some code styling issues
2017-09-06rework the contributor badgemicael.bergeron
- only show in merge-requests - show as a little glyph
2017-09-06round of fixes after code reviewmicael.bergeron
2017-09-06WIP: refactor the first-contributor to Issuablemicael.bergeron
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
2017-08-30Fix specsDouwe Maan
2017-08-17Prefer polymorphism over `is_a?`Douwe Maan
2017-08-10Merge branch 'master' into issue-discussions-refactorFilipa Lacerda
* 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 ...
2017-08-09Enable the Layout/SpaceBeforeBlockBraces copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-21Expire ETag cache on note when award emoji changesSean McGivern
2017-07-17Cache Note#notable for commits and fix testsLin Jen-Shin
2017-07-06Added Cop to blacklist the use of `dependent:`Yorick Peterse
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).
2017-07-05Create and use project path helpers that only need a project, no namespaceDouwe Maan
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-06-15Rename "Slash commands" to "Quick actions"Eric Eastwood
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`
2017-06-07Added Cop to blacklist polymorphic associationsYorick Peterse
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.
2017-06-02Merge remote-tracking branch 'origin/master' into ↵Luke "Jared" Bennett
fix-realtime-edited-text-for-issues-9-3
2017-05-31Move includes call to scopeDouwe Maan
2017-05-31Port fix-realtime-edited-text-for-issues 9-2-stable fix to master.Luke "Jared" Bennett
2017-05-24Address reviewDouwe Maan
2017-05-24Fix specsDouwe Maan
2017-05-24Add system note with link to diff comparison when MR discussion becomes outdatedDouwe Maan
2017-05-04Add comment to notes aliasesblackst0ne
2017-05-04Add alias_attributes for notesblackst0ne
2017-05-04Add last_edited_at and last_edited_by attributesblackst0ne
2017-05-03Allow commenting on older versions of the diff and comparisons between diff ↵Douwe Maan
versions