- remove expired keys from couch auth db on startup and every 6 hours
- bugfix: handle user:user_id role
- oauth profile id to lower case
- Replaced
node-extend
withnode.extend
due to https://github.com/advisories/GHSA-cg42-4wrc-gp47
- bugfix azure
- improved error handling in auth callback template
- reduced payload in login response
- optional redirect_uri on login
- lang param for email templates
- add replyTo header to emails
- bugfix generate password
- added missing dependency @node-redis/bloom for redis
- dependencies updates/upgrades
- logging for pouch db instance observation
- actively close pouchdb instances when no longer needed
- handle concurrency issues on login and refresh
- bumped dependency versions
- cleanup arrays
- dedicated default roles config for social auth providers and local registration
- bugfixes design docs
- short one time passwords for email confirmation and password reset
- error handling for expired sessions during refresh
- better user name / email validation
- revert to 2.0.27 (had no effect)
- better handle new sessions on first access
- bugfix in error handling (jsCallback is not defined)
- file adapter thread save bugfix
- pouchdb 7
- pouchdb-security-helper
- file adapter thread save
- oauth error handling
- doc
- better error messages
- bugfixes
- better error messages
- better error messages
- fixed typo in FileAdapter
- optimized oAuth handling with new routes, channels, sessions, configurable callbacks, etc.
- new route /profile
- bugfix when using email style username
- avoid 409 on session cleanup/sync
- better error messages
- sync session refresh to userDB
- json (instead of plain text) response when session invalid
- change listener on sl-users triggers updates on sessions and authDb when roles are modified
- sync roles from user to session when refreshing session
- better error messages
- bugfix FileAdapter
- avoid exceptions in user-design views
- clone design doc instance to enable multiple independent instances of superLogin
- fixed express error handler signature
- mocha from
5.1.1
to5.2.0
- sinon from
5.0.4
to7.2.2
- superlogin.initialized()
- default http status code for error message in '/register'
- generic error message in http response for '/validate-username/' and '/validate-email/'
- delegate method invocations from routes via superlogin instance instead of user instance to allow effective patching of superlogin methods
- fs-extra from
4.0.3
to6.0.0
- mocha from
3.5.3
to5.1.1
- passport from
0.3.2
to0.4.0
- pouchdb from
6.3.4
to6.4.3
- pouchdb-seed-design from
0.2.2
to0.3.0
- sinon from
3.3.0
to5.0.4
- sinon-chai from
2.14.0
to3.0.0
- Send a 400 with a JSON object when registration fails.
- bluebird from
3.3.4
to3.5.1
- express from
4.13.3
to4.16.2
- nodemailer from
4.1.1
to4.3.1
- superagent from
3.6.0
to3.8.0
- sinon-chai from
2.8.0
to2.14.0
- Ignore package-lock.json
previous
usage as a promise anti-pattern, removed.- moved
require
calls to the top - Always test
err
in callbacks before
should not include a promise inonCreate
- Missed returning a promise in user spec:
bulkDocs
- Test node 9
- Point to this repo for this fork
- Update
fs-extra
from^0.3.0
to^4.0.2
- Update
nodemailer
from^2.3.0
to^4.1.1
- Update
superagent
from^1.2.0
to^3.6.0
- Remove
gulp
,gulp-mocha
,gulp-jshint
- Improve linting
- Drop support for node 4
- Whitespace cleanup
- Do not cache node modules
- Remove cloudant test
- Do not publish
test
directory or.travis.yml
or.jshintrc
to npm
- Updated CHANGELOG formatting
- Change couch-pwd to @sensu/couch-pwd
- Update Travis CI config to test modern versions of node
- Update chai, gulp-mocha, mocha, & sinon to modern versions
- Add some missing newlines at ends of files
- Misc bugfixes
- Documentation improvements
- Now testing against Node 4.x and 5.x
- Updated dependencies
- Improved unit tests (thanks @tohagan and @ybian)
- CouchDB server can now have a separate URL for public access
- Misc bug fixes
- Previously a user could only logout if the session token was still valid. API keys would be expired, but database credentials could still be used. Now logout will ensure the user is completely logged out, even if the session is already expired.
- Fixed a bug that was causing
sessionLife
andtokenLife
settings not to work.
- Default per-DB Cloudant permissions no longer save in the user doc. You can set custom permissions in the user doc, otherwise it will use the settings in your config. Misc bug fixes.
- Created configuration options to setup
_security
roles when user databases are created - Improved tests and updated PouchDB.
- Added client
access_token
strategies to support OAuth2 flows from Cordova, PhoneGap, and native apps
- The intense power of SuperLogin is unleashed on a world that may not be ready! Tested with Node.js 0.12.7 and 4.0.0