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
2017-11-02CE port of code changed for epicsJarka Kadlecova
2017-10-09Start adding Gitlab::HookData::IssuableBuilderRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-09Include the changes in issuable webhook payloadsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-09-20Merge remote-tracking branch 'origin/master' into 18608-lock-issuesLuke "Jared" Bennett
2017-09-19Fix refreshing of issues/MR count cachesYorick Peterse
This ensures the open issues/MR count caches are refreshed properly when creating new issues or MRs. This MR also includes a change to the cache keys to ensure all caches are rebuilt on the fly. This particular problem was not caught in the test suite due to a null cache being used, resulting in all calls that would use a cache using the underlying data directly. In production the code would fail because a newly saved record returns an empty hash in #changes meaning checks such as `state_changed? || confidential_changed?` would return false for new rows, thus never updating the counters. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/38061
2017-09-14Create system notes for MR too, improve doc + clean up codeJarka Kadlecova
2017-09-14Support discussion locking in the backendJarka Kadlecova
2017-09-01Merge branch 'remove-finder-caching' into 'master'Robert Speicher
Remove issuable finder count caching See merge request !13959
2017-09-01Merge branch 'move-action' into 'master'Sean McGivern
Merge request to address /move functionality. See merge request !13436
2017-08-31/move project functionality. Squash commit.Manolis Mavrofidis
Update to add all issues to be updated. Added functionality, proper tests, documentation and changelog.
2017-08-31Remove issuable finder count cachingSean McGivern
We're going to cache the total open count separately, and then just perform these counts on the list. We already do that to get the pagination information, through Kaminari, and a future change will make Kaminari reuse the query results from earlier in the request.
2017-08-23Cache the number of open issues and merge requestsYorick Peterse
Every project page displays a navigation menu that in turn displays the number of open issues and merge requests. This means that for every project page we run two COUNT(*) queries, each taking up roughly 30 milliseconds on GitLab.com. By caching these numbers and refreshing them whenever necessary we can reduce loading times of all these pages by up to roughly 60 milliseconds. The number of open issues does not include confidential issues. This is a trade-off to keep the code simple and to ensure refreshing the data only needs 2 COUNT(*) queries instead of 3. A downside is that if a project only has 5 confidential issues the counter will be set to 0. Because we now have 3 similar counting service classes the code previously used in Projects::ForksCountService has mostly been moved to Projects::CountService, which in turn is reused by the various service classes. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36622
2017-08-14Whitelist or fix additional `Gitlab/PublicSend` cop violationsRobert Speicher
An upcoming update to rubocop-gitlab-security added additional violations.
2017-08-08Merge branch '32844-issuables-performance' into 'master'Sean McGivern
Issuables: Move some code from create services to Sidekiq workers See merge request !13326
2017-08-07Move some after_create parts to worker to improve performanceJarka Kadlecova
2017-08-07Create system notes for group milestone changesSean McGivern
2017-08-03Avoid plucking Todo ids and use sub-queries insteadToon Claes
TodoService should not call `.select(&:id)` on todos, because this is bad performance. So instead use sub-queries, which will result in a single SQL query to the database. https://docs.gitlab.com/ee/development/sql.html#plucking-ids
2017-07-21Move duplicate issue management to a serviceSean McGivern
2017-07-20Changes based on MR feedback.Ryan Scott
Marking an issue as a duplicate will now also add an upvote on behalf of the author on the original issue.
2017-07-20Added slash command to close an issue as a duplicate. Closes #26372Ryan Scott
2017-07-19Clear issuable counter caches on updateSean McGivern
When an issuable's state changes, or one is created, we should clear the cache counts for a user's assigned issuables, and also the project-wide caches for this user type.
2017-07-07Native group milestonesFelipe Artur
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-06-16Merge branch '27070-rename-slash-commands-to-quick-actions' into 'master'Sean McGivern
Rename "Slash commands" to "Quick actions" Closes #27070 See merge request !11811
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-15Use the same way to invalidate cache in EELin Jen-Shin
Because it doesn't really hurt and could reduce conflicts Discussion: https://gitlab.com/gitlab-org/gitlab-ee/commit/5020e1a779cecbf16fffa3b37726b9167093126c#note_32403646
2017-06-12Only add a description change note when no tasks are updatedJared Deckard
2017-06-02Enable the Style/PreferredHashMethods copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-18Remove duplicate cache invalidation from IssuableBaseServiceRémy Coutable
2017-05-15Invalidate cache for issue and MR counters more granularlyValery Sizov
2017-05-12Move update_assignee_cache_counts to the serviceValery Sizov
2017-05-06Merge branch 'blackst0ne/gitlab-ce-add_system_note_for_editing_issuable'Sean McGivern
2017-05-04Backport of multiple_assignees_feature [ci skip]Valery Sizov
2017-05-04Add specs for issue and note changesblackst0ne
2017-05-04Simplified assign_attributes for issuableblackst0ne
2017-05-04Add last_edited_at and last_edited_by attributesblackst0ne
2017-05-04Add system note on description change of issue/merge requestblackst0ne
2017-04-29Revert "Merge branch 'tc-no-todo-service-select' into 'master'"Stan Hu
This reverts merge request !10845
2017-04-27Avoid plucking Todo ids and use sub-queries insteadToon Claes
TodoService should not call `.select(&:id)` on todos, because this is bad performance. So instead use sub-queries, which will result in a single SQL query to the database. https://docs.gitlab.com/ee/development/sql.html#plucking-ids
2017-03-03Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into orderable-issuesValery Sizov
2017-02-28add /award slash commandmhasbini
add /award slash command; Allow posting of just an emoji in comment
2017-02-24Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into orderable-issuesValery Sizov
2017-02-21Spam check and reCAPTCHA improvementsOswaldo Ferreira
2017-02-17Allow issues in boards to be orderedDouwe Maan
2017-01-18Add some API endpoints for time tracking.Ruben Davila
New endpoints are: POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_estimate" POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_time_estimate" POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/add_spent_time" POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_spent_time" GET :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_stats"
2017-01-15Backport backend work for time tracking.Ruben Davila
2016-12-28Check if user can read issue before being assignedFelipe Artur
2016-12-16Ensure issuable state changes only fire webhooks onceMark Fletcher
* Webhooks for close and reopen events now fired in respective services only * Prevents generic 'update' webhooks firing too
2016-12-05Feature: delegate all open discussions to IssueBob Van Landuyt
When a merge request can only be merged when all discussions are resolved. This feature allows to easily delegate those discussions to a new issue, while marking them as resolved in the merge request. The user is presented with a new issue, prepared with mentions of all unresolved discussions, including the first unresolved note of the discussion, time and link to the note. When the issue is created, the discussions in the merge request will get a system note directing the user to the newly created issue.
2016-11-29Merge branch 'zj-fix-label-creation-non-members' into 'security'Douwe Maan
Fix label creation non members Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/23416 See merge request !2006