Commits on Source (31)
-
Grzegorz Bizon authored
-
joshbabier authored
Currently, the way the 'starts_at' and 'ends_at' attributes are set, if the specs are run at one second to midnight, the broadcast message will expire in one second. I have changed it so that we are guaranteed a period of one day until expiration. I believe this is the desired behaviour and it's also consistent with the rest of the factory. This corrects the following three specs that can fail depending upon where and when they are run: ./spec/helpers/broadcast_messages_helper_spec.rb:42 ./spec/models/broadcast_message_spec.rb:26 ./spec/models/broadcast_message_spec.rb:47
-
Grzegorz Bizon authored
-
Dmytro Zaporozhets (DZ) authored
-
Tom Bell authored
Add the devise initializer config setting to enable the sending of notification emails when a user changes their password.
-
Winnie authored
-
Grzegorz Bizon authored
-
Cadu Ribeiro authored
-
Douwe Maan authored
-
Robert Speicher authored
Add newlines styleguide for Ruby code See merge request !5636
-
Robert Speicher authored
Enable some Rubocop cops related to new lines ## What does this MR do? This MR enabled two additional Rubocop cops: Keeps track of empty lines around block bodies. `Style/EmptyLinesAroundBlockBody` Keeps track of empty lines around method bodies. ` Style/EmptyLinesAroundMethodBody` See merge request !5637
-
Robert Speicher authored
Remove legacy Ci::StaticModel we do not use anymore ## What does this MR do? This removes class that according to our code coverage report and `grep` is a legacy and unused class. See merge request !5710
-
Lin Jen-Shin authored
Closes #20724
-
Winnie authored
-
Rémy Coutable authored
See merge request !5712.
-
Hannes Rosenögger authored
Remove offending empty line to make rubocop happy see https://gitlab.com/gitlab-org/gitlab-ce/builds/2931496 See merge request !5732
-
James Lopez authored
-
Grzegorz Bizon authored
-
tiagonbotelho authored
-
tiagonbotelho authored
-
Rémy Coutable authored
Active tense test coverage Fixes all tests to use active tense and follow [Four Phase Test]( https://robots.thoughtbot.com/four-phase-test#all-together) See merge request !5233
-
Connor Shea authored
Changelog: https://github.com/ruby-grape/grape/blob/v0.15.0/CHANGELOG.md Works toward #18226.
-
Connor Shea authored
-
Connor Shea authored
-
Connor Shea authored
-
Stan Hu authored
Memoize CI config node validator to prevent leaks ## What does this MR do? This MR memoizes CI configuration node validator, to prevent possible memory leak described in #20698. ## Why was this MR needed? See #20698 ## What are the relevant issue numbers? Closes #20698 ## 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 - [x] Added for this feature/bug - [x] 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) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5733
-
Rémy Coutable authored
Update Grape from 0.13.0 to 0.15.0 Changelog: https://github.com/ruby-grape/grape/blob/v0.15.0/CHANGELOG.md Working on #18226. See merge request !4601
-
Robert Speicher authored
Rails prefers require_dependency so that it won't require twice: ## What does this MR do? Fix warnings for loading constants twice ## Are there points in the code the reviewer needs to double check? Now it's depending on `require_dependency`. ## Why was this MR needed? Fixes #20724 Backtrace before this patch: $23876 See merge request !5727
-
Robert Speicher authored
TST: Use more accurate time windows so tests do not fail This MR sets the Datetime attributes of the of the broadcast messages factory more precisely. This MR is necessary to ensure that all specs which use the broadcast message factory will pass when run anywhere at any time. Currently, the way the 'starts_at' and 'ends_at' attributes are set,if the specs are run at one second to midnight, the broadcast message will expire in one second. I have changed it so that we are guaranteed a period of one day until expiration. I believe this is the desired behaviour and it's also consistent with the rest of the factory. See merge request !5674
-
Robert Speicher authored
Fix importing with an invalid MR source project Source project shouldn't be -1 when both source and target are the same in the original export. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/20611 See merge request !5679
-
Robert Speicher authored
Add JavaScript coverage analysis ## What does this MR do? - configure teaspoon to calculate test coverage of JavaScript files - publish result as GitLab pages ## Why was this MR needed? - test coverage was not calculated for JavaScript files - JavaScript wants to be under cover
## What are the relevant issue numbers? #19412 See merge request !5052
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- .gitlab-ci.yml 10 additions, 0 deletions.gitlab-ci.yml
- .rubocop.yml 2 additions, 2 deletions.rubocop.yml
- CHANGELOG 4 additions, 0 deletionsCHANGELOG
- CONTRIBUTING.md 2 additions, 0 deletionsCONTRIBUTING.md
- Gemfile 1 addition, 1 deletionGemfile
- Gemfile.lock 2 additions, 2 deletionsGemfile.lock
- app/controllers/profiles/passwords_controller.rb 1 addition, 0 deletionsapp/controllers/profiles/passwords_controller.rb
- config/initializers/devise.rb 3 additions, 0 deletionsconfig/initializers/devise.rb
- doc/development/newlines_styleguide.md 102 additions, 0 deletionsdoc/development/newlines_styleguide.md
- lib/api/api.rb 4 additions, 2 deletionslib/api/api.rb
- lib/ci/static_model.rb 0 additions, 49 deletionslib/ci/static_model.rb
- lib/gitlab/ci/config/node/validatable.rb 4 additions, 6 deletionslib/gitlab/ci/config/node/validatable.rb
- lib/gitlab/email/receiver.rb 1 addition, 1 deletionlib/gitlab/email/receiver.rb
- lib/gitlab/import_export/relation_factory.rb 8 additions, 6 deletionslib/gitlab/import_export/relation_factory.rb
- lib/gitlab/request_profiler/middleware.rb 1 addition, 1 deletionlib/gitlab/request_profiler/middleware.rb
- spec/controllers/admin/users_controller_spec.rb 1 addition, 1 deletionspec/controllers/admin/users_controller_spec.rb
- spec/controllers/application_controller_spec.rb 3 additions, 3 deletionsspec/controllers/application_controller_spec.rb
- spec/controllers/groups/avatars_controller_spec.rb 1 addition, 1 deletionspec/controllers/groups/avatars_controller_spec.rb
- spec/controllers/groups/milestones_controller_spec.rb 1 addition, 1 deletionspec/controllers/groups/milestones_controller_spec.rb
... | ... | @@ -69,7 +69,7 @@ gem 'gollum-rugged_adapter', '~> 0.4.2', require: false |
gem 'github-linguist', '~> 4.7.0', require: 'linguist' | ||
# API | ||
gem 'grape', '~> 0.13.0' | ||
gem 'grape', '~> 0.15.0' | ||
gem 'grape-entity', '~> 0.4.2' | ||
gem 'rack-cors', '~> 0.4.0', require: 'rack/cors' | ||
... | ... |
doc/development/newlines_styleguide.md
0 → 100644
lib/ci/static_model.rb
deleted
100644 → 0