• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

codeforamerica / ohana-api
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: mb-update-factory-bot
DEFAULT BRANCH: master
Repo Added 30 May 2013 02:33PM UTC
Files 122
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH 185-org-autocomplete
branch: 185-org-autocomplete
CHANGE BRANCH
x
Reset
  • 185-org-autocomplete
  • 10-user-agent
  • 104-search-for-many-languages
  • 164-fix-devise-bug
  • 187-admin-languages
  • 188-highlight-error-fields
  • 200-remove-required-attribute
  • 238-update-readme
  • 25-api-keys
  • 304-csv-export
  • 308-add-new-program-button
  • 313-copy-service
  • 326-zip-csv-files
  • 332-improve-import-errors
  • 336-import-fixes
  • 361-csv-memory
  • 41-enable-ssl
  • 69-create-app-link
  • add-additional-fields
  • add-admin-field-to-location
  • add-codeclimate-config
  • add-contacts-to-org
  • add-contacts-to-service
  • add-devise-paranoid
  • add-docker-support
  • add-gitattributes
  • add-interpretation-services
  • add-number_type-to-phones
  • add-phones-to-org
  • add-phones-to-service
  • add-profiling-gems
  • add-programs
  • add-schedules
  • add-sms-to-phone-number-type
  • added_fields
  • admin-interface
  • admin-subdomain
  • automatically-set-super-admin
  • bootstrap-tweaks
  • cache-gems-for-travis
  • category-assignment-via-CSV
  • csv-import
  • data-merge
  • disable-email-sending-during-db-seed
  • disable-state-validation-for-non-us
  • elasticsearch
  • expose-weekday-as-integer
  • fix-csv-import-script
  • fix-dashboard-spec
  • fix-devise-issues
  • fix-docker
  • fix-flickering-search-spec
  • fix-heroku-db-setup
  • fix-label-for-categories
  • fix-ranking-issue
  • fix-readme
  • fix-rubocop-offenses
  • fix-scss-offenses
  • full-text-search-for-org-name
  • holiday-schedules
  • holiday-schedules-admin
  • hound-config
  • inactive-services
  • installation-docs
  • latlon
  • master
  • mb-protected-attributes
  • mb-update-factory-bot
  • mb-update-gems
  • nearby
  • only-validate-presence-of-state-for-us-and-ca
  • optimize-admin-decorator
  • order-categories
  • pg-search
  • postgres
  • prevent-puma-connection-leakage
  • readme-updates
  • refactor-search
  • refactor-validators
  • remove-grape
  • remove-redis
  • remove-short-description-validations-137
  • remove-unused-code
  • remove-unused-http-headers
  • rename-fields
  • replace-location-emails-with-email
  • replace-location-urls-with-website
  • replace-mandrill-with-sendgrid
  • replace-pg-search
  • search-keyword-service-area
  • search-multiple-categories
  • select2-for-service-areas
  • service-area-filter
  • show-version-number-in-admin-interface
  • snyk-fix-80ad56c6
  • taxonomy-import
  • test
  • tweak-install-postgresql-words
  • update-README
  • update-bootstrap-sass
  • update-caching
  • update-dev-gems
  • update-devise
  • update-gems
  • update-gems-with-bummr
  • update-nearby-serializer
  • update-nokogiri
  • update-pundit
  • update-rails
  • update-readme
  • update-required-fields
  • update-root-endpoint
  • update-rubocop
  • update-ruby
  • update-ruby-and-bummr
  • update-sample-csvs
  • update-services
  • update-spec-setup
  • update-status-controller
  • update-uglifier
  • updates-seed-user-comments
  • updates-test-data
  • updates-test-data-infobox
  • upgrade-bootstrap
  • upgrade-rspec
  • upgrade-swagger
  • use-select2-tags-for-service-keywords
  • v0.3.1.0
  • v1.0
  • v1.1.0
  • v1.2.0
  • v2.0.0
  • v3.0.0
  • v3.1.0
  • wad-without-credentials

pending completion
587

push

travis-ci

monfresh
Allow admin to search for orgs via autocomplete.

Closes #185.

Autocomplete functionality is provided by
[Select2](http://ivaynberg.github.io/select2/) via the select2-rails
gem.

The Select2 field is only enabled for super admins, because regular
admins will only have a small number of organizations to choose from.

Updated the API route and admin controller logic for creating a
location so that `organization_id` is not mass-assignable. Otherwise,
someone could assign a location to any organization by passing in any
organization id by updating the form via browser dev tools for example.

Added uniqueness validation for organization name.

930 of 938 relevant lines covered (99.15%)

57.16 hits per line

Relevant lines Covered
Build:
Build:
938 RELEVANT LINES 930 COVERED LINES
57.16 HITS PER LINE
Source Files on 185-org-autocomplete
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
587 185-org-autocomplete Allow admin to search for orgs via autocomplete. Closes #185. Autocomplete functionality is provided by [Select2](http://ivaynberg.github.io/select2/) via the select2-rails gem. The Select2 field is only enabled for super admins, because regula... push 11 Sep 2014 05:18AM UTC monfresh travis-ci pending completion  
See All Builds (1061)
  • Repo on GitHub
  • CI Project
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc