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

hoodiehq / hoodie / 2234
100%
camp: 100%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: camp
Ran 05 Jan 2017 07:29PM UTC
Jobs 1
Files 15
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

pending completion
2234

push

travis-ci

gr2m
fix(package): @hoodie/server@^22.0.0

BREAKING CHANGE:

* Before this change, we loaded admin accounts from CouchDB’s `/_config/admins` API or for PouchDB we simply set the password to `"secret"` and wrote it into `.hoodie/config.json`

  We dropped persisting the admin password altogether and instead made it an option: `adminPassword`. If it’s not set, then no admin account exists.

  ([5899eda1](https://github.com/hoodiehq/hoodie-server/commit/5899eda1))

* Before storing the secret in the database using PouchDB, it was stored in different ways based on the adapter.

  1. If the used PouchDB adapter was http (CouchDB), the secret was loaded from `/_config/couch_httpd_auth/secret`
  2. If the used PouchDB adapter was any other PouchDB adapter, the secret was stored in a file at `<data path>/config.json`

  To migrate to this version, create a database `hoodie-config` with a document `{"_id": "hoodie", "secret": "<your secret here>"}`

  ([cd055af1](https://github.com/hoodiehq/hoodie-server/commit/cd055af1))

* CouchDB’s `_users` database is configurable at `/_config/couch_httpd_auth/authentication_db`. We read out this configuration and used it as the name of the users database. But as we don’t rely on the special behavior of CouchDB’s users database (auto-hashing of passwords) we can use any normal CouchDB database to store the accoutns of Hoodie. And as the `/_config` API is not implemented by CouchDB-like hosters like Cloudant, we want to store this configuration ourselves.

  For now, we hardcode the database name to default to `_users`. The name can be configured via `options.account.usersDb`.

  ([e9ee7a06](https://github.com/hoodiehq/hoodie-server/commit/e9ee7a06))

261 of 261 relevant lines covered (100.0%)

9.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2234.1 05 Jan 2017 07:29PM UTC 0
100.0
Travis Job 2234.1
Source Files on build 2234
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2234
  • 335d1ac2 on github
  • Next Build on hoodiehq/discussion#108 (#2237)
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