summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add notifications for new user mentions in merge requestsNick Thomas2016-08-157-1/+107
|
* Remove superfluous parens on a method callNick Thomas2016-08-151-1/+1
|
* Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Nick Thomas2016-08-1544-124/+437
|\ | | | | | | 2451-fix-mentions-in-issue-updates
| * Merge branch 'new-phantomjs-version' into 'master' Jacob Schatz2016-08-1524-36/+93
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use new PhantomJS version ## What does this MR do? Makes CI builds to use PhantomJS 2.1.1. ## Are there points in the code the reviewer needs to double check? ## Why was this MR needed? ## What are the relevant issue numbers? ## Screenshots (if relevant) ## Does this MR meet the acceptance criteria? - [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [ ] API support added - Tests - [ ] Added for this feature/bug - [ ] All builds are passing - [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [ ] Branch has no merge conflicts with `master` (if you do - rebase it please) - [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5740
| | * Used phantomjs variablenew-phantomjs-versionPhil Hughes2016-08-151-1/+1
| | |
| | * Update phantomjs linkAlfredo Sumaran2016-08-131-1/+1
| | |
| | * Remove sleeping and replace escaped text.Connor Shea2016-08-132-8/+8
| | |
| | * Filters test fixPhil Hughes2016-08-131-3/+6
| | |
| | * Fixed filtering testsPhil Hughes2016-08-132-13/+5
| | |
| | * Removed screenshot command :poop:Phil Hughes2016-08-131-3/+0
| | |
| | * Updated failing testsPhil Hughes2016-08-135-7/+27
| | |
| | * Used mirrored version on GitLabPhil Hughes2016-08-131-1/+1
| | |
| | * Updated testsPhil Hughes2016-08-1318-11/+46
| | |
| | * Fix `U2fSpec` for PhantomJS versions > 2.Timothy Andrew2016-08-131-12/+20
| | | | | | | | | | | | | | | | | | - We weren't explicilty waiting for the page to load while navigating to the "Manage two-factor authentication" page. This was probably incidentally working for PhantomJS 1.x versions.
| | * Fix file downloadingKamil Trzcinski2016-08-131-1/+1
| | |
| | * Install latest stable phantomjsKamil Trzcinski2016-08-132-4/+5
| | |
| | * Use new PhantomJS versionKamil Trzcinski2016-08-132-3/+4
| | |
| * | Merge branch '20842-todos-queries-cache' into 'master' Yorick Peterse2016-08-158-12/+60
| |\ \ | | | | | | | | | | | | | | | | Try to get back todo's cache or at least avoid hitting the database See merge request !5789
| | * | Recover usage of Todos counter cache20842-todos-queries-cachePaco Guzman2016-08-125-9/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We’re being kept up to date the counter data but we’re not using it. The only thing which is not real if is the number of projects that the user read changes the number of todos can be stale for some time. The counters will be sync just after the user receives a new todo or mark any as done
| | * | Use cache for todos counter calling TodoServicePaco Guzman2016-08-124-3/+16
| | | |
| * | | Merge branch 'fix/slow-todos' into 'master' Yorick Peterse2016-08-154-67/+30
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Speed up todos queries by limiting the projects set we join with See merge request !5791
| | * | | Add a spec for ProjectsFinder project_ids_relation optionAhmad Sherif2016-08-151-0/+8
| | | | | | | | | | | | | | | | | | | | Follow-up 1003454c
| | * | | Fix ProjectsFinder specAhmad Sherif2016-08-151-57/+12
| | | | | | | | | | | | | | | | | | | | Follow-up on 1003454c
| | * | | Pass project IDs relation to ProjectsFinder instead of using a blockAhmad Sherif2016-08-152-5/+3
| | | | |
| | * | | Speed up todos queries by limiting the projects set we join withAhmad Sherif2016-08-153-11/+13
| |/ / / | | | | | | | | | | | | Closes #20828
| * | | Merge branch 'change-access-update' into 'master' Yorick Peterse2016-08-152-1/+100
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Change the order of the access rules to check simpler first, and add specs See merge request !5799
| | * | | Change the order of the access rules to check simpler first, and add specschange-access-updateAlejandro Rodríguez2016-08-122-1/+100
| | | | |
| * | | | Merge branch 'pivotaltracker-restrict-branch' into 'master' Jeroen van Baarsen2016-08-154-6/+101
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ability to restrict branches for pivotal tracker integration ## What does this MR do? It allows to specify branches which you want to track for pivotal tracker integration. ## Why was this MR needed? Typical use case: send commits to PivotalTracker and finish the story only when the feature branch is merged into master. See merge request !5752
| | * | | | Ability to specify branches for pivotal tracker integrationEgor Lynko2016-08-154-6/+101
| | | |_|/ | | |/| |
| * | | | Merge branch 'fix/sanitization-filter-leak' into 'master' Yorick Peterse2016-08-152-1/+4
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | Fix a memory leak caused by Banzai::Filter::SanitizationFilter See merge request !5808
| | * | | Fix a memory leak caused by Banzai::Filter::SanitizationFilterfix/sanitization-filter-leakAhmad Sherif2016-08-142-1/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Banzai::Filter::SanitizationFilter#customize_whitelist, we append three lambdas that has reference to the SanitizationFilter instance, which in turn (potentially) has a reference to the following chain: context hash -> Project instance -> Repository instance -> lookup hash -> various Rugged instances -> various mmap-ed git pack files. All of the above is not garbage collected because the array we append the lambdas to is the constant HTML::Pipeline::SanitizationFilter::WHITELIST.
| * | | Merge branch 'push-mr-url-guards' into 'master' Douwe Maan2016-08-122-1/+46
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't show new MR URL after push when it doesn't make sense See merge request !5786
| | * | | Don't show new MR URL after push when it doesn't make senseDouwe Maan2016-08-122-1/+46
| | |/ /
| * | | Merge branch 'archived_project_badge' into 'master' Rémy Coutable2016-08-122-0/+3
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add archived badge to project listing ## What does this MR do? Add an `archived` badge to the user project list, if the project is archived. ## Are there points in the code the reviewer needs to double check? No. ## Why was this MR needed? Customer noted in https://gitlab.zendesk.com/agent/tickets/33787 that there is no distinction for archived projects in the project dashboard/explore projects page. There is an archived badge on the admin projects page, though. ## What are the relevant issue numbers? ## Screenshots (if relevant) Existing admin projects page: ![Screen_Shot_2016-08-12_at_3.54.37_PM](/uploads/d6ba44c2d3be1f78372792b5ac406672/Screen_Shot_2016-08-12_at_3.54.37_PM.png) New project list with archived badge: ![Screen_Shot_2016-08-12_at_3.54.21_PM](/uploads/3fa8bb9fe7588575aace0761984929a7/Screen_Shot_2016-08-12_at_3.54.21_PM.png) See merge request !5798
| | * | Add archived badge to project listingDrew Blessing2016-08-122-0/+3
| |/ /
* | | Fix a 'missing keyword' error introduced in the last commitNick Thomas2016-08-151-1/+3
| | |
* | | Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Nick Thomas2016-08-1238-163/+451
|\ \ \ | |/ / | | | | | | 2451-fix-mentions-in-issue-updates
| * | Merge branch 'fix-namespace-deletion' into 'master' Robert Speicher2016-08-1216-34/+179
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug where destroying a namespace would not always destroy projects There is a race condition in DestroyGroupService now that projects are deleted asynchronously: 1. User attempts to delete group 2. DestroyGroupService iterates through all projects and schedules a Sidekiq job to delete each Project 3. DestroyGroupService destroys the Group, leaving all its projects without a namespace 4. Projects::DestroyService runs later but the can?(current_user, :remove_project) is `false` because the user no longer has permission to destroy projects with no namespace. 5. This leaves the project in pending_delete state with no namespace/group. Projects without a namespace or group also adds another problem: it's not possible to destroy the container registry tags, since `container_registry_path_with_namespace` is the wrong value. The fix is to destroy the group asynchronously and run `execute` directly on Projects::DestroyService. Closes #17893 See merge request !4341
| | * | Fix bug where destroying a namespace would not always destroy projectsStan Hu2016-08-1116-34/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a race condition in DestroyGroupService now that projects are deleted asynchronously: 1. User attempts to delete group 2. DestroyGroupService iterates through all projects and schedules a Sidekiq job to delete each Project 3. DestroyGroupService destroys the Group, leaving all its projects without a namespace 4. Projects::DestroyService runs later but the can?(current_user, :remove_project) is `false` because the user no longer has permission to destroy projects with no namespace. 5. This leaves the project in pending_delete state with no namespace/group. Projects without a namespace or group also adds another problem: it's not possible to destroy the container registry tags, since container_registry_path_with_namespace is the wrong value. The fix is to destroy the group asynchronously and to run execute directly on Projects::DestroyService. Closes #17893
| * | | Merge branch 'ruby-2-3-1' into 'master' Douwe Maan2016-08-121-2/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update ruby 2.3.1 We where using 2.3.0, now 2.3.1 cc @connorshea See merge request !5790
| | * | | Update ruby 2.3.1ruby-2-3-1Z.J. van de Weg2016-08-121-2/+2
| | | | |
| * | | | Merge branch '20059-environment-list' into 'master' Jacob Schatz2016-08-128-14/+52
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Format branch, tag, and commit in environment list" ## What does this MR do? Updates Environments page rows to match the new pipeline updates ## Are there points in the code the reviewer needs to double check? I removed `private` from `avatars_helper.rb` so I could use `user_avatar`. ## What are the relevant issue numbers? Closes #20059 ## Screenshots (if relevant) ![Screen_Shot_2016-08-08_at_11.44.36_AM](/uploads/62fbb475a7d9cc613fe5ba1715229553/Screen_Shot_2016-08-08_at_11.44.36_AM.png) ![Screen_Shot_2016-08-08_at_11.44.41_AM](/uploads/ce1bd3ab62c0bc8091e9b6f85012ed36/Screen_Shot_2016-08-08_at_11.44.41_AM.png) See merge request !5687
| | * | | Add gravatars to build history20059-environment-listAnnabel Dunstone2016-08-083-3/+4
| | | | |
| | * | | Add deployment ID and gravatar to environments pageAnnabel Dunstone2016-08-083-4/+8
| | | | |
| | * | | Format environment history pageAnnabel Dunstone2016-08-081-2/+2
| | | | |
| | * | | Add avatar to commit message; environment style updates to match pipelines pageAnnabel Dunstone2016-08-085-9/+25
| | | | |
| | * | | Style deploy buttonAnnabel Dunstone2016-08-082-3/+20
| | | | |
| * | | | Merge branch 'instrument-project-visible-to-user' into 'master' Rémy Coutable2016-08-122-0/+4
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instrument Project.visible_to_user ## What does this MR do? This MR instruments `Project.visible_to_user` ## Are there points in the code the reviewer needs to double check? No. ## Why was this MR needed? The method in question was not instrumented due to being a Rails scope. ## What are the relevant issue numbers? #12425 ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - Tests - [ ] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [ ] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5793
| | * | | | Instrument Project.visible_to_userYorick Peterse2016-08-122-0/+4
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | Because this method is a Rails scope we have to instrument it manually as regular the instrumentation methods only instrument methods defined directly on a Class or Module.
| * | | | Merge branch 'improve-pipeline-processing' into 'master' Rémy Coutable2016-08-1212-113/+214
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve pipeline processing ## What does this MR do? This works on top of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5295 trying to solve some edge cases introduced by that Merge Request. The fix switches to a state machine which is already a part of `Ci::Pipeline` and uses events with conditional transitions to switch between pipeline states. This is approach is much more bullet proof and much easier to understand than a previous one where we were calling a `reload_status!` which manually updated `status`. Previous approach become confusing and prone to number of errors. ## Why was this MR needed? This improves changes introduced by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5295 ## What are the relevant issue numbers? None, yet. ## Screenshots (if relevant) Not needed. ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added (not needed since changelog for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5295 is already introduced) - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [x] API support added (not needed) - Tests - [x] Added for this feature/bug (most of tests do cover the triggering of Pipeline) - [ ] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5782