summaryrefslogtreecommitdiff
path: root/changelogs/unreleased
Commit message (Collapse)AuthorAgeFilesLines
* Eager load namespace owners for project dashboardsdashboards-projects-controllerYorick Peterse2017-09-111-0/+5
| | | | | This solves an N+1 query problem where we'd run multiple queries when getting the namespace owners of the displayed projects.
* Merge branch 'user-recent-push' into 'master'Douwe Maan2017-09-111-0/+5
|\ | | | | | | | | | | | | Rework how recent push events are retrieved Closes #35990 See merge request !13995
| * Rework how recent push events are retrieveduser-recent-pushYorick Peterse2017-09-081-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever you push to a branch GitLab will show a button to create a merge request (should one not exist already). The underlying code to display this data was quite inefficient. For example, it involved multiple slow queries just to figure out what the most recent push event was. This commit changes the way this data is retrieved so it's much faster. This is achieved by caching the ID of the last push event on every push, which is then retrieved when loading certain pages. Database queries are only executed if necessary and the cached data is removed automatically once a merge request has been created, or 2 hours after being stored. A trade-off of this approach is that we _only_ track the last event. Previously if you were to push to branch A and B then create a merge request for branch B we'd still show the widget for branch A. As of this commit this is no longer the case, instead we will only show the widget for the branch you pushed to most recently. Once a merge request exists the widget is no longer displayed. Alternative solutions are either too complex and/or too slow, hence the decision was made to settle for this trade-off. Performance Impact ------------------ In the best case scenario (= a user didn't push anything for more than 2 hours) we perform a single Redis GET per page. Should there be cached data we will run a single (and lightweight) SQL query to get the event data from the database. If a merge request already exists we will run an additional DEL to remove the cache key. The difference in response timings can vary a bit per project. On GitLab.com the 99th percentile of time spent in User#recent_push hovers between 100 milliseconds and 1 second, while the mean hovers around 50 milliseconds. With the changes in this MR the expected time spent in User#recent_push is expected to be reduced down to just a few milliseconds. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/35990
* | Correctly link ConvDev Index nav links to its controller.conv-dev-index-regressionBryce Johnson2017-09-081-0/+5
| |
* | Revert "Merge branch ↵revert-f2421b2bRubén Dávila2017-09-081-5/+0
| | | | | | | | | | '35012-navigation-add-option-to-change-navigation-color-palette' into 'master'" This reverts merge request !13619
* | Fix tooltip width on collapsed issue board column titlesJedidiah2017-09-081-0/+5
| |
* | Tweak column widths on two factor warning messagesJedidiah2017-09-081-0/+5
| |
* | Merge branch 'bugfix/graph-friendly-notes-number' into 'master'Rémy Coutable2017-09-081-0/+5
|\ \ | | | | | | | | | | | | | | | | | | Print notes number explained in the graph. Closes #37224 See merge request !13949
| * | Print notes number explained.Vladislav Kaverin2017-09-081-0/+5
| | | | | | | | | | | | | | | | | | Printing just `[<number>]` was confusing - it looks like a ghost branch or something. Add `note` (or `notes`, depending on number of notes) to give some details of what this number means. Refactor code to follow DRY principle.
* | | Merge branch 'support-additional-colors' into 'master'Tim Zallmann2017-09-081-0/+5
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Supports additional colors and labels for the prometheus monitoring dashboard Closes #34629 See merge request !14065
| * | Added CHANGELOGJose Ivan Vargas2017-09-071-0/+5
| | |
| * | Added minor details to specsJose Ivan Vargas2017-09-071-1/+1
| | |
| * | Renamed some componentsJose Ivan Vargas2017-09-071-1/+1
| | |
* | | Merge remote-tracking branch 'dev/master'Robert Speicher2017-09-071-5/+0
|\ \ \
| * \ \ Merge remote-tracking branch 'origin/master' into dev-masterDJ Mountney2017-09-0614-0/+66
| |\ \ \
| * | | | Update CHANGELOG.md for 9.3.11Jose Ivan Vargas2017-09-061-5/+0
| | | | | | | | | | | | | | | [ci skip]
* | | | | Normalize styles for empty-state group-level new issue/MR combo buttonBryce Johnson2017-09-071-0/+5
| |_|_|/ |/| | |
* | | | Merge branch 'zj-update-rails-template' into 'master'Kamil Trzciński2017-09-071-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update rails template to include postgres Closes #37156 See merge request !14120
| * | | | Update rails template to include postgreszj-update-rails-templateZeger-Jan van de Weg2017-09-071-0/+5
| | | | |
* | | | | Merge branch 'improve-share-locking-feature-for-subgroups' into 'master'Douwe Maan2017-09-071-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve "Share with group lock" feature for subgroups Closes #30550 See merge request !13944
| * | | | | Add changelog entry for "Share with group lock"Michael Kozono2017-09-061-0/+6
| | | | | |
* | | | | | Resolve "Make project and features visibility settings less confusing"Mike Greiling2017-09-071-0/+5
| | | | | |
* | | | | | Merge branch '37158-autodevops-banner' into 'master'Kamil Trzciński2017-09-071-0/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Banner to enable Auto DevOps at project level" Closes #37158 See merge request !13991
| * \ \ \ \ \ Merge branch 'zj/gitlab-ce-zj-auto-devops-table' into 37158-autodevops-bannerKamil Trzcinski2017-09-075-0/+25
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'zj-auto-devops-table' of gitlab.com:zj/gitlab-ce into ↵Kamil Trzcinski2017-09-074-0/+20
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 37158-autodevops-banner
| * \ \ \ \ \ \ \ Merge branch 'zj/gitlab-ce-zj-auto-devops-table' into 37158-autodevops-bannerKamil Trzcinski2017-09-0640-0/+196
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'zj-auto-devops-table' into 37158-autodevops-bannerFilipa Lacerda2017-09-0520-55/+43
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * zj-auto-devops-table: (365 commits) Fix boolean logic with nil value Incorporate review Updates settings sections to: - create labels for each radio button - remove elements from form section - visually match the mockups Adds documentation path to pipelines table in merge request page Fix tests Update CHANGELOG.md for 9.5.3 Fix a spec failure dependent on load order Ensure `issuables_count_for_state` returns the requested state count Shorten the search input for "text with other filters" spec Turns out that short name was important, who knew! Combine multiple `it` blocks in filter_issues_spec Remove more redundant specs in filter_issues_spec Re-order top-level `let`s, so that labels are grouped Remove unused select_search_at_index helper Reduce duplication in RSS feed specs for filter_issues_spec Remove the top-level closed issue from filter_issues_spec Remove unused labels from filter_issues_spec Reduce issues and milestones created in global filter_issues_spec setup Clean up the still-way-too-complex filter_issues_spec setup Remove an unnecessary issue creation ...
| * | | | | | | | | | Creates auto devops calloutFilipa Lacerda2017-09-011-0/+5
| | | | | | | | | | |
* | | | | | | | | | | Update docs for confidential issuesClement Ho2017-09-071-0/+5
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'sh-add-grape-logging' into 'master'Sean McGivern2017-09-071-0/+5
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add JSON logger in `log/api_json.log` for Grape API endpoints Closes #36189 See merge request !14102
| * | | | | | | | | | | Add JSON logger in `log/api_json.log` for Grape API endpointsStan Hu2017-09-061-0/+5
| | |_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #36189
* | | | | | | | | | | Gitaly feature toggles are on by default in development environmentsAndrew Newdigate2017-09-071-0/+5
| | | | | | | | | | |
* | | | | | | | | | | Merge branch '37288-fix-wrong-header-when-testing-webhook' into 'master'Douwe Maan2017-09-071-0/+5
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a wrong `X-Gitlab-Event` header when testing webhooks Closes #37288 See merge request !14108
| * | | | | | | | | | Fix a wrong `X-Gitlab-Event` header when testing webhooks37288-fix-wrong-header-when-testing-webhookRémy Coutable2017-09-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | | | | | | | | Merge branch 'zj-auto-devops-table' into 'master'Kamil Trzciński2017-09-071-0/+5
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the implied CI/CD config for AutoDevOps Closes #34777 See merge request !13923
| * | | | | | | | | | Merge remote-tracking branch 'origin/master' into ↵Kamil Trzcinski2017-09-075-0/+25
| |\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | zj/gitlab-ce-zj-auto-devops-table
| * | | | | | | | | | Merge branch 'master' into zj-auto-devops-tablezj/gitlab-ce-zj-auto-devops-tableZeger-Jan van de Weg2017-09-074-0/+20
| |\ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | |/| | | | / / / / | | |_|_|_|_|/ / / / | |/| | | | | | | |
| * | | | | | | | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵Kamil Trzcinski2017-09-0610-0/+46
| |\ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / | | |/| | | | | | | | | | | | | | | | | zj/gitlab-ce-zj-auto-devops-table
| * | | | | | | | | Merge branch 'master' into zj-auto-devops-tableZeger-Jan van de Weg2017-09-0630-0/+150
| |\ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / | |/| | | | | | | |
| * | | | | | | | | Merge branch 'master' into zj-auto-devops-tableZeger-Jan van de Weg2017-09-0420-55/+43
| |\ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / | |/| | | | | | | |
| * | | | | | | | | Implement the implied CI/CD config for AutoDevOpsZeger-Jan van de Weg2017-08-311-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Behind an application setting, which defaults to false, this commit implements the implied CI/CD config. Which means that in the case we can't find the `.gitlab-ci.yml` on the commit we want to start a pipeline for, we fall back to an implied configuration. For now the Bash template has been copied to `Auto-Devops.gitlab-ci.yml` so the tests actually work. Fixes #34777
* | | | | | | | | | Merge branch '31362_decrease_cyclomatic_complexity_threshold_step3' into ↵Rémy Coutable2017-09-071-0/+5
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Decrease Cyclomatic Complexity threshold to 14 See merge request !13972
| * | | | | | | | | | adds changelogMaxim Rydkin2017-09-071-0/+5
| | | | | | | | | | |
* | | | | | | | | | | Merge branch '23079-remove-default-scope-in-sortable' into 'master'Douwe Maan2017-09-071-0/+5
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes default scope from sortable Closes #23079 See merge request !13558
| * | | | | | | | | | | Removes default scope from sortable23079-remove-default-scope-in-sortableTiago Botelho2017-09-071-0/+5
| | |_|_|_|_|_|_|_|/ / | |/| | | | | | | | |
* | | | | | | | | | | Merge branch '37368-blob-viewer-on-mobile' into 'master'Annabel Dunstone Gray2017-09-071-0/+5
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make blob viewer wider for mobile Closes #37368 See merge request !14011
| * | | | | | | | | | Make blob viewer for rich contents wider for mobileTakuya Noguchi2017-09-021-0/+5
| | | | | | | | | | |
* | | | | | | | | | | Merge branch ↵Sean McGivern2017-09-071-0/+5
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '35012-navigation-add-option-to-change-navigation-color-palette' into 'master' Add option to change navigation color palette Closes #35012 See merge request !13619
| * | | | | | | | | | | Add changelogAnnabel Dunstone Gray2017-09-061-0/+5
| | | | | | | | | | | |
* | | | | | | | | | | | Merge branch 'events-migration-cleanup' into 'master'Sean McGivern2017-09-071-0/+5
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Finish migration to the new events setup Closes #37241 See merge request !13932