Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Sign In

hoodiehq / hoodie-server / 1624
100%
next: 82%

DEFAULT BRANCH: next
Build:
LAST BUILD BRANCH: master
Repo Added 27 Jul 2015 05:29PM UTC
Total Files 17
# Builds 697 Last
Badge
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

11 Sep 2016 - 0:15 coverage increased (+10.8%) to 100.0%
1624

Pull #507

travis-ci

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
fix(store): add migration for server.plugins.store.api usage

BREAKING CHANGE:

The API now keeps state of all databases and access in a dedicated `hoodie-store` database. If your app uses CouchDB as its backend, there is no migration required, it happens automatically on next restart.

If you use don’t use CouchDB (which is the default), the simplest way to "migrate" is to delete the `.hoodie/data` folder. It will loose all data, so this is only an option for local development. If you don’t want to loose all data, you manually have to create the `hoodie-store` database with documents for each user database. The documents look like this:

```json
{
   "_id": "db_user/lsdlo55",
   "_rev": "1-a01e6998fb10543ca0402e648dd1d048",
   "access": {
       "read": {
           "role": [
               "id:lsdlo55"
           ]
       },
       "write": {
           "role": [
               "id:lsdlo55"
           ]
       }
   }
}
```

Besides that, this release also updates to a new express-pouchdb version which includes a bugfix for a faulty encoding of database folders. You must rename all folders that look like `user%2Fabc4567` to `user/abc4567` (nested directories). See https://github.com/pouchdb/express-pouchdb/pull/377
Pull Request #507: Use Store Server APIs for access and database creates/destroys

34 of 34 new or added lines in 4 files covered. (100.0%)

203 of 203 relevant lines covered (100.0%)

3.09 hits per line

Jobs
Coverage Job Files Covered Ran
100.0
1624.1 17 11 Sep 2016 12:17AM UTC Travis Job 1624.1
Source Files on build 1624
  • List 17
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1624
  • Pull Request #507
  • PR Base - master (#1616)
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
BLOG · TWITTER · Legal & Privacy · Supported CI Services · What's a CI service? · Automated Testing

© 2021 Coveralls, Inc