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

Kibibit / achievibit / 331 / 1
39%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: feature/add-core-features
DEFAULT BRANCH: develop
Ran 29 Sep 2017 09:55AM UTC
Files 24
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

29 Sep 2017 09:53AM UTC coverage: 39.017% (-5.8%) from 44.854%
331.1

push

travis-ci

web-flow
OAuth server side functions (#96)

* add+update user; create\delete webhook

* create two api end-points

one to authenticate and another one to create\delete webhooks

(currently I'm sending the githubToken to the client and it sends it back when creating a webhook. need to keep only the firebaseToken on the client side

* install missing dependency for firebase-admin

* Simplify our console service to create defaults (show time and location)

* change consoleService call

* change consoleService call + fix status warning + add missing code

currently, written as a comment since I need to also import the **account key** in some fancy way

* move consoleService into app/models folder

* implement api functions inside files

* add api file

* use api file inside index.js

* ignore mocha reports

* NEVER save private config file

private config file should make it easier to save configuration to disk (DB url, etc)

* save and require Q in our project (missing previous commit)

* change order in api so routes won't override other routes

* create new configuration service

this will handle all configurations (also will save the configuration you add as argv if you add --savePrivate)

I still need to make this simpler, but it's already simpler than the previous one :-)

* use new configService + uncomment firebase admin initialization

* put savePrivate inside configurationService

* remove traces of nconf in other files

* lint

* make sure `updateWith` object is defined

* get the firebase admin from userService

later, should replace this with a function that does this internally

* expose authenticateUsingToken instead of the defaultAuth object

* also use authenticateUsingToken internally for tests

* basic structure for userService specs

I want to change the functions inside userService to not use req and res so that it will be simpler to test.

after that change, I'll change this to test the actual file and not the function I mocked a few lines before :-)

* iif not all firebase admin vars are set, don't authenticate

* change userService model structure to support easier tests

* write mocks to help test individual files

* add some tests for userService auth functions

* comment out e2e and check how to fix the tests timing-out

104 of 437 branches covered (23.8%)

373 of 956 relevant lines covered (39.02%)

1.72 hits per line

Source Files on job 331.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 331
  • Travis Job 331.1
  • c87b12c0 on github
  • Prev Job for on master (#328.1)
  • Next Job for on master (#337.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