summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix sort ordering with merge request APIsh-improve-mr-apiStan Hu2017-07-101-4/+3
|
* Paginate the merge requests API earlier to avoid eager loading every merge ↵Stan Hu2017-07-101-1/+2
| | | | | | request Fixes a performance regression introduced in !12732
* Merge branch 'sh-optimize-mr-api-emojis-and-labels' into 'master'Sean McGivern2017-07-103-5/+59
|\ | | | | | | | | | | | | Remove remaining N+1 queries in merge requests API with emojis and labels Closes #34159 See merge request !12732
| * Remove remaining N+1 queries in merge requests API with emojis and labelsStan Hu2017-07-083-5/+59
| | | | | | | | Closes #34159
* | Merge branch '34728-fix-application-setting-created-when-redis-down' into ↵Stan Hu2017-07-101-6/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 'master' Prevent bad data being added to application settings when Redis is unavailable Closes #34728 See merge request !12750
| * | Prevent bad data being added to application settings when Redis is unavailableNick Thomas2017-07-101-6/+1
| | |
* | | Re-add Feature.register_feature_groups which is already documentedRémy Coutable2017-07-101-0/+6
|/ / | | | | | | | | | | | | | | | | This is a follow-up for !12362 where this was documented but the code was removed in the last iteration. Since this can still be useful and this is already supported by the API, I think re-adding the code was the best course of action. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch 'patch-24' into 'master'Rémy Coutable2017-07-101-1/+1
|\ \ | | | | | | | | | | | | Fix gitlab-ee reference in ee_compat_check See merge request !12713
| * | Fix gitlab-ee reference in ee_compat_checkPedro Moreira da Silva2017-07-071-1/+1
| | |
* | | Merge branch 'dm-routing-helpers-fix' into 'master'31331-view-time-tracking-info-in-issue-board-contextual-sidebar29974-real-time-emoji-award-updatesMarin Jankovski2017-07-091-4/+9
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Also inject new route helpers into includers of GitlabRoutingHelper Closes #34859 See merge request !12735
| * | Also inject new route helpers into includers of GitlabRoutingHelperdm-routing-helpers-fixDouwe Maan2017-07-081-4/+9
| | |
* | | Merge branch 'fix/gb/stage-id-reference-background-migration' into 'master'Grzegorz Bizon2017-07-081-0/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add build stage_id reference background migration Closes #34151 See merge request !12513
| * \ \ Merge branch 'master' into 'fix/gb/stage-id-reference-background-migration'Grzegorz Bizon2017-07-0710-36/+108
| |\ \ \ | | | | | | | | | | | | | | | | | | | | # Conflicts: # app/models/concerns/each_batch.rb # spec/models/concerns/each_batch_spec.rb
| * | | | Simplify stage_id migration as we now use relationsGrzegorz Bizon2017-07-071-9/+4
| | | | |
| * | | | Schedule stage_id bg migrations in batches of 10Grzegorz Bizon2017-07-071-1/+1
| | | | |
| * | | | Merge remote-tracking branch 'origin/active-record-each-batch' into ↵Grzegorz Bizon2017-07-0716-105/+223
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix/gb/stage-id-reference-background-migration * origin/active-record-each-batch: (59 commits) Added EachBatch for iterating tables in batches Extend MR tabs a bit to cover up the avatar holder and collapse icon on scroll Update VERSION to 9.4.0-pre. Add CHANGELOG Fix some N+1 queries in the GET /projects API Don't show auxiliary blob viewer for README when there is no wiki Improve & fix the performance bar UI and behavior Remove orphaned haml files Fixed CHANGELOG.md for 9.3.4 release Add table for merge request commits 34727 Remove two columned layout from project member settings Just draw :legacy_builds Re-enable polling for environments Cleanup minor UX issues in the performance dashboard Upgrade GitLab Workhorse to v2.3.0 Added test for the chart legend Use correct field for label name, fix default for unit to be blank Fix shorter route helpers in production environment Encode certificate-authority-data in base64 Revert "Merge branch 'winh-mr-widget-no-pipeline' into 'master'" ...
| | * | | | Added EachBatch for iterating tables in batchesYorick Peterse2017-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This module provides a class method called `each_batch` that can be used to iterate tables in batches in a more efficient way compared to Rails' `in_batches` method. This commit also includes a RuboCop cop to blacklist the use of `in_batches` in favour of this new method.
| * | | | | Revert recent changes in migration helpersGrzegorz Bizon2017-07-071-94/+26
| | | | | |
| * | | | | Add some comments on new migrations helpersGrzegorz Bizon2017-07-071-0/+38
| | | | | |
| * | | | | Schedule stage_id background migration in rangesGrzegorz Bizon2017-07-072-4/+9
| | | | | |
| * | | | | Extract `execute_in_batches` migrations helperGrzegorz Bizon2017-07-071-15/+24
| | | | | |
| * | | | | Add walk_table_in_batches and refactor migration helpersGrzegorz Bizon2017-07-071-27/+48
| | | | | |
| * | | | | Sanitize id value passed to async background migrationGrzegorz Bizon2017-07-071-3/+1
| | | | | |
| * | | | | Improve readability of build stage id migration queryGrzegorz Bizon2017-07-071-6/+7
| | | | | |
| * | | | | Test if argument passed to a migration is presentGrzegorz Bizon2017-07-071-1/+1
| | | | | |
| * | | | | Add initial build stage_id ref background migrationGrzegorz Bizon2017-07-071-7/+11
| | | | | |
| * | | | | Add initial stage_id background migration filesGrzegorz Bizon2017-07-071-0/+16
| | | | | |
* | | | | | Merge branch 'sh-optimize-mr-api' into 'master'Stan Hu2017-07-081-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove many N+1 queries with merge requests API See merge request !12726
| * | | | | | Remove many N+1 queries with merge requests APIsh-optimize-mr-apiStan Hu2017-07-071-1/+3
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Identified via `ENABLE_BULLET=1 bundle exec rspec spec/requests/api/merge_requests_spec.rb:34` Improves speed of #34159
* | | | | | Merge branch 'gitaly-internal-allowed-send-repo' into 'master'Robert Speicher2017-07-082-7/+31
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Send Gitaly Repository with /api/internal/allowed See merge request !12452
| * | | | | | Send Gitaly Repository with /api/internal/allowedgitaly-internal-allowed-send-repoKim "BKC" Carlbäcker2017-07-072-7/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make single gitaly payload - Add feature-flag specs to verify payload
* | | | | | | Merge branch 'feature/user-datetime-search-api-mysql' into 'master'Douwe Maan2017-07-071-0/+6
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add creation time filters to user search API for admins Closes #29507 See merge request !12682
| * | | | | | refactor created at filter to use model scopesJames Lopez2017-07-071-17/+0
| | | | | | |
| * | | | | | fix specsJames Lopez2017-07-071-1/+1
| | | | | | |
| * | | | | | refactor filtersJames Lopez2017-07-071-0/+17
| | | | | | |
| * | | | | | add created at filter logic to users finder and APIJames Lopez2017-07-071-0/+6
| | |_|/ / / | |/| | | |
* | | | | | Merge branch 'dm-fix-project-path-helpers-production' into 'master'Douwe Maan2017-07-076-5/+25
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include new URL helpers retroactively into includers of Gitlab::Routing Closes #34821 See merge request !12716
| * | | | | | Include new URL helpers retroactively into includers of Gitlab::Routingdm-fix-project-path-helpers-productionDouwe Maan2017-07-076-5/+25
| | | | | | |
* | | | | | | Merge branch 'gitaly-get-blob' into 'master'Sean McGivern2017-07-072-13/+62
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add gitaly_git_blob_raw feature See merge request !12712
| * | | | | | | Add git_blob_load_all_data feature flagJacob Vosmaer2017-07-071-1/+10
| | | | | | | |
| * | | | | | | Add gitaly_git_blob_raw featureJacob Vosmaer2017-07-072-12/+52
| |/ / / / / /
* | | | | | | Merge branch '33929-allow-to-enable-perf-bar-for-a-group' into 'master'Sean McGivern2017-07-072-14/+45
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow to enable the performance bar per user or Feature group Closes #33929 and #34528 See merge request !12362
| * | | | | | Merge branch 'master' into '33929-allow-to-enable-perf-bar-for-a-group'Sean McGivern2017-07-074-10/+33
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * | | | | | Merge branch 'master' into 33929-allow-to-enable-perf-bar-for-a-groupSean McGivern2017-07-0717-129/+242
| |\ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | |
| * | | | | | Don't use Flipper for the Performance BarRémy Coutable2017-07-072-18/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation now simply rely on the `performance_bar_allowed_group_id` Application Setting. Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | | | | Allow to enable the Performance Bar for a group from the admin areaRémy Coutable2017-07-061-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | | | | Use Rails.cache instead of Redis directlyRémy Coutable2017-07-061-22/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | | | | Improve Features API and its docs and add a Changelog itemRémy Coutable2017-07-061-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | | | | Cache the allowed user IDs for the performance bar, in Redis for 10 minutesRémy Coutable2017-07-061-17/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | | | | Improve feature flag check for the performance barRémy Coutable2017-07-062-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>