js: Configuration and Error handling
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Wed, 25 Apr 2018 13:59:36 +0000 (15:59 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Wed, 25 Apr 2018 13:59:36 +0000 (15:59 +0200)
commit1fb310cabe578625f96fce5d84ff6f0092c08d24
tree7d86ba979e8a4c39fd75ea2f727cce8c169d4e08
parent5befa1c9751fe54b5ae87906d7f09772ce9de6ea
js: Configuration and Error handling

--

* gpgmejs_openpgpjs
  - unsuported values with no negative consequences can now reject,
    warn or be ignored, according to config.unconsidered_params
  - cleanup of unsupported/supported parameters and TODOS

* A src/index.js init() now accepts a configuration object

* Errors will now be derived from Error, offering more info and a
  stacktrace.

* Fixed Connection.post() timeout triggering on wrong cases

* Added comments in permittedOperations.js, which gpgme interactions
  are still unimplemented and should be added next
lang/js/src/Connection.js
lang/js/src/Errors.js
lang/js/src/Helpers.js
lang/js/src/Key.js
lang/js/src/Keyring.js
lang/js/src/Message.js
lang/js/src/gpgmejs.js
lang/js/src/gpgmejs_openpgpjs.js
lang/js/src/index.js
lang/js/src/permittedOperations.js