Permalink
Switch branches/tags
Commits on May 4, 2017
  1. superc: trying

    fenollp committed Apr 27, 2017
  2. rel-migrate: test release migration function (#3666)

    fenollp authored and lazedo committed May 4, 2017
    * rel-migrate: test release migration function
    
    * rel-migrate: check return values
    
    * rel-migrate: more checks
    
    * show sup command as it is run
    
    * error when error.log is non-empty
    
    * rel-migrate: use the real sup
    
    * rel-migrate: introduce sup:in_kazoo
    
    * rel-migrate: pass normal errors
Commits on May 3, 2017
  1. remove maintenance code duplicating notify's maintenance code (#3668)

    fenollp authored and lazedo committed May 3, 2017
    Reported by @seanwysor after crash:
    
    ```
    <9847.5234.0> (21/21) refreshing database 'system_config'
    archiving to /tmp/system_config.json
       archived 83 docs
    <9847.5234.0> (20/21) refreshing database 'system_data'
    <9847.5234.0> (19/21) refreshing database 'offnet'
    <9847.5234.0> (18/21) refreshing database 'accounts'
    Stderr Command failed: {'EXIT',{badarg,[{erlang,list_to_binary,[[{error,bad_name},"/couchdb/",<<"views/notify.json">>]],[]},{kapps_util,get_view_json,2,[{file,"src/kapps_util.erl"},{line,530}]},{kapps_maintenance,refresh,1,[{file,"src/kapps_maintenance.erl"},{line,315}]},{kapps_maintenance,refresh,3,[{file,"src/kapps_maintenance.erl"},{line,244}]},{kapps_maintenance,migrate,2,[{file,"src/kapps_maintenance.erl"},{line,141}]},{kapps_maintenance,migrate,1,[{file,"src/kapps_maintenance.erl"},{line,126}]},{rpc,'-handle_call_call/6-fun-0-',5,[{file,"rpc.erl"},{line,206}]}]}}
    ```
  2. KAZOO-5500: allow picking number state on creation (#3655)

    fenollp authored and lazedo committed May 3, 2017
    * KAZOO-5500: provide usable creation states based on auth account
    
    * KAZOO-5500: pick state based on leaked permissions
Commits on May 2, 2017
  1. HELP-29843: if authz is disabled consider the channel authorized (#3657)

    k-anderson authored and lazedo committed May 2, 2017
    * HELP-29843: if authz is disabled consider the channel authorized
  2. use worker to publish new account notification (#3662)

    jamesaimonetti authored and lazedo committed May 2, 2017
    reduces channel creation/destruction for this one-off process
  3. set authz CCVs on channel create (#3664)

    jamesaimonetti authored and lazedo committed May 2, 2017
Commits on May 1, 2017
  1. PISTON-421: allow teletype to use system-level templates as fallback (#…

    danielfinke authored and icehess committed May 1, 2017
    …3618)
    
    * PISTON-421: allow teletype to use system-level templates as fallback
    
    * PISTON-421: follow same hierarchy for attachments as teletype
    
    Conflicts:
    	applications/crossbar/src/modules/cb_notifications.erl
    
    * PISTON-421: remove unused caching of initial_reseller_id from previous strategy
    
    * Use get_parent_account_id/1 for merge_ancestor_attachments
    
    * PISTON-421: one-liner spec for templates_source_has_attachments/4
  2. transaction templates amount in dollars (#3636)

    icehess authored and k-anderson committed May 1, 2017
Commits on Apr 28, 2017
  1. Set Rate ID to {ISO}-{Prefix} as before (#3652)

    jamesaimonetti authored and lazedo committed Apr 28, 2017
  2. Check DB name against driver to determine conn to use (#3653)

    jamesaimonetti authored and lazedo committed Apr 28, 2017
  3. sup commands subscription reset (#3651)

    lazedo authored and fenollp committed Apr 28, 2017
  4. add media_extention to vmbox schema (#3649)

    icehess authored and lazedo committed Apr 28, 2017
    * add media_extention to vmbox schema
    
    * allow only mp3, mp4 and wav format
  5. KAZOO-5494: maintenance functions to manage feature permissions (#3646)

    fenollp authored and lazedo committed Apr 28, 2017
    * KAZOO-5494: revert the module_name in QS thing introduced in #3631
    
    * KAZOO-5494: list + edit feature permissions on a number
    
    * KAZOO-5494: list + edit feature permissions on reseller doc
    
    * KAZOO-5494: list + edit feature permissions on system_config
  6. KAZOO-5493_master: KNM: no more picking state on account type (#3642)

    fenollp authored and lazedo committed Apr 28, 2017
    * KAZOO-5493: do not pick state based on type of account to assign_to
    
    * KAZOO-5493: allow admins to pick the state or fallback to reserved
    
    * KAZOO-5493: replace main authorize function in knm_number_states with the main KPN one
  7. qf-restrictions: fix a crash on undefined AuthDoc (#3647)

    fenollp authored and lazedo committed Apr 28, 2017
Commits on Apr 27, 2017
  1. r-knm: faster cleaner pushing a collections reserve history (#3641)

    fenollp authored and lazedo committed Apr 27, 2017
  2. knm-reserve: (and reconcile and create) fail if assign_to is not an a…

    fenollp authored and lazedo committed Apr 27, 2017
    …ccount id (#3634)
    
    * knm-reserve: reuse code and add more tests
    
    * knm-reserve: do not crash on create without assign_to
  3. fix schema to allow both string and array (#3639)

    icehess authored and lazedo committed Apr 27, 2017
  4. qf-auth: no need to include jquery in kazoo (#3638)

    fenollp authored and lazedo committed Apr 27, 2017
  5. Added cb_me endpoint to alias /accounts/{AUTH_ACCOUNT_ID} (#3522)

    kalda341 authored and lazedo committed Apr 27, 2017
    * Added cb_account endpoint as alias to /accounts/{auth_account_id}
  6. wrong command used to create postfix hash tables..... (#3644)

    mm0ntg0m authored and lazedo committed Apr 27, 2017
    It should be postmap (not postconf)
  7. [master] HELP-29570: use kazoo_modb for most modb ops (#3623)

    icehess authored and lazedo committed Apr 27, 2017
    * HELP-29570: use kazoo_modb for most modb ops
Commits on Apr 26, 2017
  1. migrate tts_cache from media to speech config (#3637)

    jamesaimonetti authored and lazedo committed Apr 26, 2017
  2. use median check when max exceeds 5s (#3633)

    jamesaimonetti authored and lazedo committed Apr 26, 2017
  3. KAZOO-5491: return error when the daily limit is reached so the low b…

    k-anderson authored and lazedo committed Apr 26, 2017
    …alanace flag is not cleared (#3632)
  4. PISTON-422: fix name announcements in conferences when crossing media…

    danielfinke authored and k-anderson committed Apr 26, 2017
    … servers (#3626)
    
    * PISTON-422: remove unnecessary function (not relevant for mod_conference in Kazoo 4)
    
    * PISTON-422: share pronounced name IDs over media server bridge using SIP headers
  5. HELP-29204_master: add API to query search prefix maximum length (#3631)

    fenollp authored and lazedo committed Apr 26, 2017
    * knm-search: return state as well as number
    
    * knm-search: carriers_info API endpoint
    
    * KAZOO-5407: allow selecting carrier on number cration
    
    * HELP-29204_master: allow acquiring numbers from non-existing carriers
  6. try to catche in kazoo binding for map (#3602)

    icehess authored and lazedo committed Apr 26, 2017
    * try to catche in kazoo binding for map
    
    useful for debugging crashes (e.g. crashes in teletype modules)
  7. perf testing merge vs merge_recursive (#3628)

    jamesaimonetti authored and lazedo committed Apr 26, 2017
    * perf testing merge vs merge_recursive
    
    For 100K iterations:
    kz_json_test:merge in 0.176618s
    kz_json_test:merge_recursive in 0.595275s
    
    Property testing merge left/right variants
    
    test confirming merge_recursive is merge(right)
    
    * add dbg helper
    
    * use test generator for flatten/expand
    
    * astute catch by @lazedo
  8. Kazoo speech (#3625)

    jamesaimonetti authored and lazedo committed Apr 26, 2017
    * break out TTS/ASR into interface and provider modules
Commits on Apr 25, 2017
  1. HELP-29668: add some time to allow overhead in originate (#3630)

    k-anderson authored and jamesaimonetti committed Apr 25, 2017
Commits on Apr 21, 2017
  1. ktn-DYWTKM: get more information & power out of number tasks (#3612)

    fenollp authored and lazedo committed Apr 21, 2017
Commits on Apr 20, 2017
  1. Corrects PATCH order and adds tests (#3622)

    jamesaimonetti authored and k-anderson committed Apr 20, 2017
    * PATCH fix
    
    while doing patch request the doc never got saved as the patch was made in reverse order as the db doc was being patched on top of request doc
    
    * explicitly use merge-left
    
    add tests to verify merging is patching JSON objects as expected.
    
    closes #3614 when merged
  2. add stdlib to sup (#3621)

    lazedo authored and fenollp committed Apr 20, 2017