Git Product home page Git Product logo

couchdb-calculate-session-id's People

Contributors

gr2m avatar greenkeeper[bot] avatar greenkeeperio-bot avatar lowprofiledog avatar marten-de-vries avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

couchdb-calculate-session-id's Issues

Change order of arguments

I’d like to put secret first, that we can easily expose a calculateSessionId(username, salt, timestamp) method with

calculateSessionId = require('couchdb-calculate-session-id').bind(null, 'secret')

I think that order makes also more sense in terms of grade of security

add browser tests

follow up for #9 @marten-de-vries

We usually use zuul and have a helper module with config presets: https://github.com/hoodiehq/hoodie-zuul-config.

Then add two scripts to package.json

    "test:browser:local": "zuul --local 8080 -- tests",
    "test:browser:cloud": "zuul -- tests",

and add a test matrix to .travis.yml

script: npm run $COMMAND
env:
  matrix:
  - COMMAND=test
  - COMMAND=test:browser:cloud

I already configured saucelabs credentials on travis

An in-range update of semantic-release is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 15.0.3 of semantic-release was just published.

Branch Build failing 🚨
Dependency semantic-release
Current Version 15.0.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

semantic-release is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v15.0.3

15.0.3 (2018-03-13)

Bug Fixes

  • convert git+https URL in package.json to https (b0b4fc8)
  • use correct debug namespace (6f74dcb)
Commits

The new version differs by 3 commits.

  • b0b4fc8 fix: convert git+https URL in package.json to https
  • 6f74dcb fix: use correct debug namespace
  • 1129d47 docs(configuration): environment variable DEBUG must be set to semantic-release:*, not semantic-release

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

rename to couchdb-calculate-session-id?

I feel like the name might be a bit confusing. "generate" might imply that we randomly generate a session id, but in fact the result is always the same based on the input.

I think calling it couchdb-calculate-session-id would make that more clear.

An in-range update of semantic-release is breaking the build 🚨

Version 15.5.0 of semantic-release was just published.

Branch Build failing 🚨
Dependency semantic-release
Current Version 15.4.4
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

semantic-release is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v15.5.0

15.5.0 (2018-05-21)

Features

  • add support for git version 2.0.0 (47c73eb)
  • verify minimum required git version is installed (db1cc60)
Commits

The new version differs by 2 commits.

  • db1cc60 feat: verify minimum required git version is installed
  • 47c73eb feat: add support for git version 2.0.0

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of semantic-release is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 15.0.2 of semantic-release was just published.

Branch Build failing 🚨
Dependency semantic-release
Current Version 15.0.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

semantic-release is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v15.0.2

15.0.2 (2018-03-08)

Bug Fixes

  • exclude prereleases from version retrived by getLastRelease (e4618a2)
Commits

The new version differs by 1 commits.

  • e4618a2 fix: exclude prereleases from version retrived by getLastRelease

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! 🎊

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml

If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didn’t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of semantic-release is breaking the build 🚨

Version 6.3.2 of semantic-release just got published.

Branch Build failing 🚨
Dependency semantic-release
Current Version 6.3.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As semantic-release is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details
Release Notes v6.3.2

6.3.2 (2016-11-17)

Bug Fixes

  • use travis-deploy-once to reenable travis-pro support (2be6e5d3)

We always want semantic-release to be simple and clean.

On versions 4 and below it requires a Python script, configured with 3 additional lines in your .travis.yml file, to get semantic-release to properly work with test matrices (i.e. testing multiple node versions).

In an attempt to fix this we published version 6 and on with a bundled JavaScript version of that script, so there was no need for additional config anymore.
Unfortunately though this broke compatibility with Travis Pro, because the JavaScript version does not support that. Version 6 never reached the "latest" dist-tag and stayed on "next" for quite some time, just because of this.

This has been the sad state of semantic-release for way too long, so we built travis-deploy-once. Another very simple JavaScript version of that script, but with out-of-the-box Travis Pro support.

So here it is: semantic-release 6.3.2. No more python script awkwardness in your .travis.yml files, no more latest/next confusion.

The last version on "latest" was 4.3.5 so here are the breaking changes that happened since then. Upgrading should be trivial.

From 6.0.0: Breaking Changes

  • If you run travis_after_all and travis-after-all at the same time they'll keep waiting for each other until forever. You have to apply this patch to your .travis.yml.
---
 .travis.yml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a5fbddb..c76091b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,9 +14,6 @@ before_install:

  • npm i -g npm@^2.0.0
    before_script:
  • npm prune
    -- curl -Lo travis_after_all.py https://git.io/vLSON
    after_success:
    -- python travis_after_all.py
    -- export $(cat .to_export_back)
  • npm run semantic-release
    --

(ef162321)

From 5.0.0: Breaking Changes

  • In cases where you pushed a new commit with a "dist-tag" configuration of "next" and no version was previously published as "next", semantic-release failed and did not publish a new version. It will now automatically fall back to the "latest" version to determine a new "next" version.

(7a4c89f1)

Commits

The new version differs by 1 commits .

  • 2be6e5d fix: use travis-deploy-once to reenable travis-pro support

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.