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

stockpile-co / api / 459 / 1
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 31 Jul 2017 09:01PM UTC
Files 22
Run time 1s
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

31 Jul 2017 08:56PM UTC coverage: 99.038% (+0.05%) from 98.984%
CXX=g++-4.8

push

travis-ci

web-flow
272/add Stripe endpoints (#281)

* Add Stripe

* Add Stripe keys

* Add email and Stripe customer fields to organization

Closes #267.

* Move password hashing into a method

This will allow other controllers to hash passwords without using Bcrypt directly.

* Add subscription endpoint

* Update VS Code tasks

* Fix syntax errors

* Add default test task to VS Code config

* Fix change password

This was broken by the removal of `auth.saltRounds`, but can easily be fixed by replacing the direct use of bcrypt with `auth.hashPassword`.

* Fix environment variables loading too late

* Set first user to admin and include created IDs in response

The first user in the organization should be an administrator so that he or she can add and administer other users. Including the created IDs in the response is helpful for then retrieving those entities.

* Fix promise indentation

* Add subscription tests

This involved removing many unnecessary conditionals and error checks, because they will be unreachable in production usage, and if they are reached, it is a symptom of a bigger problem.

* Fix indentation

* Fix test name capitalization

* Fix cleaning up created Stripe customers

* Remove "create organization" endpoint

This functionality is provided by the new "create subscription" endpoint.

515 of 520 relevant lines covered (99.04%)

4.53 hits per line

Source Files on job 459.1 (CXX=g++-4.8)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 4
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 459
  • Travis Job 459.1
  • 6f83895a on github
  • Prev Job for CXX=g++-4.8 on master (#456.1)
  • Next Job for CXX=g++-4.8 on master (#462.1)
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

© 2026 Coveralls, Inc