Release Summary for 4.1.21
  Changes to 4.1 after version 4.1.20
  * Summary
      - As an developer I want an API to clean the notify parameters from my direct accounts so that I can fully transition to teletype
  * Commits
      - [Kazoo 5582 master - add a migrations API and add a migration to disable notify and move to teletype (#3912)
  * KAZOO-5582: add migrations api, add notify_to_teletype migration
  * formatting and docs
  * actual docs
  * make some api&#039;s
  * dialyze the things
  * changes per code review
  * :(
  * add account name and user name to the migration tracking
  * formatting again, switch types](https://github.com/2600hz/kazoo/commit/d0ce1dabc6094344fb1fe8b24386e4ba05cea5be) by Mark Magnusson
  * [Merge remote-tracking branch &#039;origin/master&#039; into 4.1](https://github.com/2600hz/kazoo/commit/1ad1d1adac921a4468c0c33ba71709ad6072b71e) by karl anderson
  * [qf-portreq: introduce and use validate_request_data_only/2,3,4 (#3923)  * somewhat better logging    * lets save some lines for the planet    * fix that lager format for good    * do not crash when bill is missing    * oh look we put non-JSON data in our JSON objects. amazing    * qf-portreq: introduce and use validate_request_data_only/2,3,4    * qf-portreq: amend per pull request review    * qf-portreq: do not modify req_data, patch the doc on save instead    * use patch_and_validate when processing PATCHes    * qf-portreq: do weird things after the patch to carry the merged doc+req_data    * qf-portreq: handle when account has no port requests    * qf-portreq: fix last_submitted fetching of docs    * qf-portreq: handle cases where port requests do not have any transitions yet    * qf-portreq: merge resp data    * qf-portreq: change shape of last_submitted for good    * either require scheduled_date or schedule_on or both    * qf-portreq: remove unused crossbar_doc:merge/3 for readability reasons    * qf-portreq: have validate_request_data merge pvt fields like load_merge does    * qf-portreq: delete new validate_request_data functions now that it is possible to not use them    * qf-portreq: make apis    * qf-portreq: handle case when doc is undefined    * qf-portreq: how about this instead    * qf-portreq: this WFM    * qf-portreq: fix Dialyzer compaints    * qf-portreq: some formatting and more logging on account creation validation    * qf-portreq: how about this    * formatting    * qf-portreq: use v2 and preset resp_status to success    * qf-portreq: use resp_status preset in cb_context record    * qf-portreq: revert to normal old behaviour](https://github.com/2600hz/kazoo/commit/b42ce351985c139e73050877c5e34d931e4c1718) by Pierre Fenoll
  * [term_to: use term convertion builtins throughout! (#3946)  * term_to: 2x improvement on the straight function... it&#039;s something    * term_to: move kz_term tests to the right app    * term_to: use term convertion builtins throughout    * term_to: remove unused module    * term_to: fix proper header inclusion    * term_to: just FYI this is why im reverting    * Revert &quot;term_to: remove unused module&quot;    This reverts commit 96ffb8e531ebc4d6aac302e223778dbb92f9de6d.    * term_to: pass tests](https://github.com/2600hz/kazoo/commit/a34d93880015a75cf1addbab0801908c55177ae3) by Pierre Fenoll
  * [qf-metrics: Graphite was tripping on non integer values (and a crash) (#3943)  * qf-metrics: explicitly filter out non-integerish values    * qf-metrics: more tests to check release startup    * qf-metrics: shellchecked!](https://github.com/2600hz/kazoo/commit/9ff38b1aa9449795c1b9d8b70b45039df19ab20b) by Pierre Fenoll
  * [Fix cb_cdrs get interactions for user (#3914)  * Fix cdrs get interactions for user to handle the following case: {&#039;startkey&#039;, [OwnerId, CreatedTo]}](https://github.com/2600hz/kazoo/commit/a82677bb5a170bead991d3e0648ae220a891a0de) by Max Lay
  * [Added feature to configure rtcp_mux for sip calls via resources gateway (#3888)  * Added feature to configure rtcp_mux for sip calls via resources gateway    * make apis for rtc_mux stepswitch feature](https://github.com/2600hz/kazoo/commit/4878c7ab14402ac6e4d990c856df56e49005afa7) by sergey-safarov
  * [reseller_bookkeeper_lookup (#3598)](https://github.com/2600hz/kazoo/commit/901635c4c2f6ee4d4d1a6efcc006566f9ee7a441) by OnNet
  * [let trunkstore live a bit longer (#3889)  A patch as a result of the next conversation: https://groups.google.com/forum/#!topic/2600hz-users/1BmpiqBiMks  closes #3889](https://github.com/2600hz/kazoo/commit/4e9051c6049ec05f707c3a60718331ed94a21e7d) by OnNet
  * [HELP-30966: treat an internal FS error as an execution error (#3937)](https://github.com/2600hz/kazoo/commit/1d34a3dac0bb7a2b4a10392dbfbdc3862fa32a87) by bitbashing
  * [Fix crossbar_util:response_400 (#3931)  * Fix crossbar_util:response_400    * Update api_resource.erl](https://github.com/2600hz/kazoo/commit/5559d7478a5f3cc27a1c3f726cdb69d769030216) by Max Lay
  * [landing pages should be index.md (#3936)  * landing pages should be index.md    * generic landing    * fix missing docs    * build the sites appropriately    * add main site index page](https://github.com/2600hz/kazoo/commit/70e0e5c62ea28e7f5f06f1b5fc424bfcbab49a73) by James Aimonetti
  * [multiple docs sites generated (#3935)  * multiple docs sites generated    * quieter building](https://github.com/2600hz/kazoo/commit/1bcc287abd4b14195e5d0132ab0edd6d2ea65640) by James Aimonetti
  * [use encoded node name in templates (#3924)  * use encoded node name instead of plain text hostname    * adding account and system macros to all templates    * node name as seperate key in system macros, include encoded versions    * use encoded node in all templates    * meant encoded_hostname](https://github.com/2600hz/kazoo/commit/35c080613b886852ba676b642538aad7e8113565) by icehess
  * [Build JSON schemas for AMQP payloads (#3921)](https://github.com/2600hz/kazoo/commit/5eae2b779d2cd87cadf1d3dc9b328465581da677) by James Aimonetti
  * [circle: pass circleci builds again (#3933)](https://github.com/2600hz/kazoo/commit/b188c148546b11c081c24168df573530460f6520) by Pierre Fenoll
  * [MWI function fix (#3929)  fix mwi probe request](https://github.com/2600hz/kazoo/commit/b505bdb3de8f7dbd182937b2abae1b533b10c447) by romana
  * [Braintree Descriptor crash fix (#3930)  while creating a new subscription braintree descriptor is undefined which crashes, bookkeeper sync](https://github.com/2600hz/kazoo/commit/299d16b3039d942d0ee62aad1e037dd76d0d1f58) by romana
  * [HELP-30934: handle possibility of find an app more than once (#3925)](https://github.com/2600hz/kazoo/commit/e2941fcf85ee1c8e516552001aefd4c3a88b0eb5) by Pierre Fenoll
  * [fix-erlydtl: use latest tag for ErlyDTL dep (#3927)](https://github.com/2600hz/kazoo/commit/d34ce51dd2d20ca24c6095199d4608c1395bd9a2) by Pierre Fenoll
  * [fix typos in cname template and better wording (#3916)  * fix typos in cname template and better wording    * fix typo in &#039;sent from&#039; p tag style](https://github.com/2600hz/kazoo/commit/4deb2ebae0c0adfa5cc4bca9239484c6aee02d1f) by icehess
  * [KAZOO-5448: crossbar auth configuration api (#3940)  * KAZOO-5448: add api to configure crossbar auth    * KAZOO-5448: make apis    * KAZOO-5448: don&#039;t allow patch/post if doc not exists, create if put    * KAZOO-5448: get token expiry from auth config, default to system    * KAZOO-5448: auth_config schema property    * KAZOO-5452: log JWT creation attempts    * KAZOO-5452: log failed authentication in cb_user_auth    * KAZOO-5452: log immediatly if a user/ip is found    * KAZOO-5452: add api to fetch login attempts    * KAZOO-5448: mapi apis, dialyzer    * support mapping start and end keys in kazoo_modb_view    * KAZOO-5452: log cause of authentication properly    * address pr comments    * KAZOO-5448: should return context    * KAZOO-5448: add other auth modules to list    * KAZOO-5448: security api documentation    * add missing backquote](https://github.com/2600hz/kazoo/commit/cbe5f3b1572ec6ce4d181d56ef88de351518defd) by icehess
  * [KAZOO-5603 decouple event stream processing (#3947)  * KAZOO-5603 decouple event stream processing    * KAZOO-5603 ast update for fs_prop_usage](https://github.com/2600hz/kazoo/commit/5ddfc2329d0e403649e4f442cd4d6c8a79b233c6) by lazedo
  * [[master] KAZOO-5578: update relx and change vm.args (#3907)  * KAZOO-5578: bump relx version to 3.23.0 to fix vm.args issue    * KAZOO-5578: rewrite vm.args to a new file with node name    temperoray patch kazoo bin generated by relx to rewrite vm.args to a new  file with node name included on the file name.    * KAZOO-5578: use another approach in relx bin to support include config    `sys.config` file supports include from another config file, the catch is  the the actual config file should be named excatly _sys.config_.    Relx supports environment variable substitution in `vm.args` and `sys.config`.  They added a multi node option which basically would replace env vars in  (for example `vm.args`) file and save the result in `vm.NODE_NAME.args`.  In no multi node situation it just substitute env vars to `vm.args` and  would copy the the orignal file into` vm.args.orig`.    First issue is exctracting `NAME_ARGS (&quot;-s?name NODE_NAME&quot;)`, which is always  uses vm.args (the file with substituted env vars) which is result of the previous  run and contains the previous `NODE_NAME`, which means not honoring current `NODE_NAME`  for commands of kazoo release script.    In other hand, it turns out sup command is unhappy when it calls multiple  times or simultaneously since `vm.args` is rewritten every time and could be  ends up corrupted or missed.    So removing `RELX_REPLACE_OS_VARS` could be a good solution since escript doesn&#039;t  have node name and cookie options. This turns out to copy the ``&quot;.orig&quot;`` files to  the their env vars substituted ones.    This commit contains a patch for the script to fix those issues.    Other changes:    * Remove `RELX_REPLACE_OS_VARS` from sup command script.  * clean up `scripts/dev/kazoo.sh`  * paramertize cookie in `vm.args`    * KAZOO-5578: update relx.patch to remove +Bd argument and better logging    * KAZOO-5578: ad RELX_MULTI_NODE to kazoo.sh](https://github.com/2600hz/kazoo/commit/bfad83c44ccb6c5dd65136e3c5f609446f2ef43e) by icehess
 -- 2600Hz Offical <packages@2600hz.com>  Fri, 14 Jul 2017 00:01:29 +0000
