gitlab-ce/spec
Fatih Acet 2f470a6262 Merge branch 'scope-input-errors' into 'master'
Stop injecting field errors where they won't be used.

## What does this MR do?

Filters the form elements which gl_field_errors validates, excluding input types button, submit and checkbox.

## Why was this MR needed?

This won't make a difference in UX, but I just noticed that we are currently validating and injecting errors into the DOM for all non-hidden inputs. Doing so is unnecessary, and could introduce performance problems on forms with larger numbers of inputs.

## Does this MR meet the acceptance criteria?

- [x] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [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 it does - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !6929
2016-10-25 08:42:10 +00:00
..
config
controllers Improve create project member test at project_members_controller_spec 2016-10-24 13:14:00 +03:00
factories Merge branch 'feature/group-level-labels' into 'master' 2016-10-19 20:41:04 +00:00
features Fix rubocop build error 2016-10-24 21:44:24 -04:00
finders Improve readability and add specs for label filtering 2016-10-24 23:06:14 -07:00
fixtures Preserve note_type and position for notes from emails 2016-10-20 16:18:53 +08:00
helpers Fix LabelsHelper#link_to_label to use the subject argument 2016-10-19 14:58:24 -02:00
initializers
javascripts Update gl_field_error tests for better input filtering. 2016-10-20 12:47:32 +02:00
lib Add relative url support to routing contrainers 2016-10-24 13:51:17 +03:00
mailers Move spec/mailers/shared/notify.rb to spec/support 2016-10-22 17:51:50 -05:00
models Remove redundant class_name and foreign_key overrides 2016-10-24 22:29:48 +02:00
policies Make guests unable to view MRs 2016-10-11 16:51:26 +03:00
requests Merge branch 'grapify-labels-api' into 'master' 2016-10-24 16:59:13 +00:00
routing Merge branch 'dz-rename-user-routes' into 'master' 2016-10-17 20:47:46 +02:00
services Fix Rubocop offenses in issue move specs 2016-10-24 22:40:08 -07:00
support Merge branch 'yesbabyyes/gitlab-ce-22967-adding-zero-users-to-group-reports-success' 2016-10-24 16:22:42 +03:00
tasks/gitlab fixes build with cache:clear issue 2016-10-24 14:59:20 +01:00
uploaders
views Fix login tests for crowd to use #crowd. 2016-10-18 11:12:41 +02:00
workers Re-organize queues to use for Sidekiq 2016-10-21 18:17:07 +02:00
factories_spec.rb
rails_helper.rb
simplecov_env.rb
spec_helper.rb Revert "Merge branch 'tests-use-tmpfs' into 'master'" 2016-10-12 14:45:26 +00:00
teaspoon_env.rb