Skip to content

Commit

Permalink
print file name, don't bump copyright year if not 2600Hz (2600hz#4830)
Browse files Browse the repository at this point in the history
revert copyright holder to original

maunaully formatting

 previous regex won't bumped year somehow

edoc doesn't like email in comment

add documenting style

add edoc doc to mkdocs.yml
  • Loading branch information
icehess authored and jamesaimonetti committed May 9, 2018
1 parent 486ed0f commit d5edce3
Show file tree
Hide file tree
Showing 48 changed files with 461 additions and 144 deletions.
2 changes: 1 addition & 1 deletion applications/acdc/src/acdc_announcements.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2018-, 2600Hz
%%% @copyright (C) 2017, Voxter Communications
%%% @doc
%%% @author Daniel Finke
%%% @end
Expand Down
2 changes: 1 addition & 1 deletion applications/acdc/src/acdc_announcements_sup.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2018-, 2600Hz
%%% @copyright (C) 2017, Voxter Communications
%%% @doc
%%% @author Daniel Finke
%%% @end
Expand Down
6 changes: 3 additions & 3 deletions applications/acdc/src/acdc_eavesdrop.erl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2012-2018, 2600Hz
%%% @author James Aimonetti <>
%%% @doc
%%% @doc ACDc Eavesdrop.
%%%
%%% @author James Aimonetti
%%% @end
%%% Created : 29 Nov 2012 by James Aimonetti <>
%%%-----------------------------------------------------------------------------
-module(acdc_eavesdrop).

Expand Down
2 changes: 1 addition & 1 deletion applications/blackhole/src/modules/bh_ping.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2018-, 2600Hz
%%% @copyright (C) 2017 Conversant Ltd
%%% @doc Receives a ping, responds with a pong.
%%% Useful for both keeping a websocket connection up, and figuring
%%% out if a websocket connection is still up
Expand Down
2 changes: 1 addition & 1 deletion applications/callflow/src/module/cf_edr.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2016-2018, 2600Hz
%%% @copyright (C) 2016, SIPLABS, LLC
%%% @doc
%%% @end
%%%-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion applications/callflow/src/module/cf_flush_dtmf.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2017-2018, 2600Hz
%%% @copyright (C) 2017 Voxter Communications
%%% @doc Flush DTMF collection on a call.
%%%
%%% <h4>Data options:</h4>
Expand Down
4 changes: 2 additions & 2 deletions applications/conference/src/conference_app.erl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2010-2018, 2600Hz
%%% @doc Conference App.
%%%
%%% @author Karl Anderson <[email protected]>
%%% @doc
%%% @end
%%% Created : 27 June 2011 by Karl Anderson <[email protected]>
%%%-----------------------------------------------------------------------------
-module(conference_app).

Expand Down
4 changes: 2 additions & 2 deletions applications/dth/src/dth_blacklist_req.erl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2011-2018, 2600Hz
%%% @doc Handle requests from WhApps for the blacklist.
%%%
%%% @author James Aimonetti <[email protected]>
%%% @doc Handle requests from WhApps for the blacklist
%%% @end
%%% Created : 29 Aug 2011 by James Aimonetti <[email protected]>
%%%-----------------------------------------------------------------------------
-module(dth_blacklist_req).

Expand Down
4 changes: 2 additions & 2 deletions applications/dth/src/dth_cdr_handler.erl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2010-2018, 2600Hz
%%% @doc Send a CDR payload to DTH.
%%%
%%% @author James Aimonetti <[email protected]>
%%% @doc Send a CDR payload to DTH
%%% @end
%%% Created : 29 Aug 2011 by James Aimonetti <[email protected]>
%%%-----------------------------------------------------------------------------
-module(dth_cdr_handler).

Expand Down
4 changes: 2 additions & 2 deletions applications/dth/src/dth_listener.erl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2010-2018, 2600Hz
%%% @doc Listener for authn_req, reg_success, and reg_query AMQP requests.
%%%
%%% @author James Aimonetti <[email protected]>
%%% @doc Listener for authn_req, reg_success, and reg_query AMQP requests
%%% @end
%%% Created : 13 Jan 2011 by James Aimonetti <[email protected]>
%%%-----------------------------------------------------------------------------
-module(dth_listener).
-behaviour(gen_listener).
Expand Down
4 changes: 2 additions & 2 deletions applications/dth/src/dth_util.erl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2010-2018, 2600Hz
%%% @doc DTH Utilities.
%%%
%%% @author James Aimonetti <[email protected]>
%%% @doc
%%% @end
%%% Created : 29 Aug 2011 by James Aimonetti <[email protected]>
%%%-----------------------------------------------------------------------------
-module(dth_util).

Expand Down
1 change: 0 additions & 1 deletion applications/ecallmgr/src/ecallmgr_discovery.erl
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,3 @@ sbc_discovery() ->
ecallmgr_config:set_node(<<"acls">>, kz_json:set_values(sbc_acls(Updates), ACLs), <<"default">>),
ecallmgr_maintenance:reload_acls()
end.

2 changes: 1 addition & 1 deletion applications/edr/src/backends/bh_edr.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2017-2018, 2600Hz
%%% @copyright (C) 2017, Conversant Ltd
%%% @doc EDR.
%%%
%%% <div class="notice">{@link edr_be_amqp} must be running, otherwise no events will come
Expand Down
2 changes: 1 addition & 1 deletion applications/edr/src/backends/edr_be_amqp.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2017-2018, 2600Hz
%%% @copyright (C) 2017, Conversant Ltd
%%% @doc Relays EDR messages to AMQP via {@link kapi_edr_amqp}.
%%% @author Max Lay
%%% @end
Expand Down
2 changes: 1 addition & 1 deletion applications/edr/src/backends/kapi_edr_amqp.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2017-2018, 2600Hz
%%% @copyright (C) 2017, Conversant Ltd
%%% @doc
%%% @author Max Lay
%%% @end
Expand Down
2 changes: 1 addition & 1 deletion applications/edr/src/edr_formatter.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2017-2018, 2600Hz
%%% @copyright (C) 2017, Conversant Ltd
%%% @doc EDR output formatter.
%%% @author Max Lay
%%% @end
Expand Down
2 changes: 1 addition & 1 deletion applications/edr/src/formatters/edr_fmt_json.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2016-2018, 2600Hz
%%% @copyright (C) 2017, Conversant Ltd
%%% @doc JSON formatter module.
%%% @author Max Lay
%%% @end
Expand Down
24 changes: 15 additions & 9 deletions applications/konami/src/module/konami_audio_level.erl
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2018-, 2600Hz
%%% @author Vladimir Ralev
%%% @copyright (C) 2016, Vladimir Ralev
%%% @doc Allow to change volume for channels, mute and unmute.
%%% Data = {
%%% "action":"start" // or "stop"
%%% ,"mode":"read" // or "write" depends on direction
%%% ,"level":"-4" // -4 is mute, 0 is unmute, other values are not studied
%%% }
%%% Created : 17. Mar 2016 6:25 AM
%%%
%%% <h4>Data options:</h4>
%%% <dl>
%%% <dt>`action'</dt>
%%% <dd>`start' or `stop'.</dd>
%%%
%%% <dt>`mode'</dt>
%%% <dd>`read' or `write' (depends on direction).</dd>
%%%
%%% <dt>`level'</dt>
%%% <dd>`-4' is mute, `0' is unmute.</dd>
%%% </dl>
%%%
%%% @author Vladimir Ralev
%%% @end
%%%-----------------------------------------------------------------------------
-module(konami_audio_level).
-author("vladimirralev").

-export([handle/2
]).
Expand Down
1 change: 0 additions & 1 deletion applications/stepswitch/src/stepswitch_sup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
%%% @doc Root supervisor tree for stepswitch routing WhApp
%%% @end
%%%-----------------------------------------------------------------------------

-module(stepswitch_sup).

-behaviour(supervisor).
Expand Down
1 change: 1 addition & 0 deletions applications/tasks/src/modules/kt_cleanup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
%%% @end
%%%-----------------------------------------------------------------------------
-module(kt_cleanup).

%% behaviour: tasks_provider

-export([init/0
Expand Down
1 change: 1 addition & 0 deletions applications/tasks/src/modules/kt_compactor.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
%%% @end
%%%-----------------------------------------------------------------------------
-module(kt_compactor).

%% behaviour: tasks_provider

-export([init/0]).
Expand Down
4 changes: 3 additions & 1 deletion applications/tasks/src/modules/kt_compactor_worker.erl
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2013-2018, 2600Hz
%%% @doc Runs the compaction job which consists of:
%%% @doc Runs the compaction.
%%%
%%% Task consists of:
%%% 1. The node to run it on (and API/Admin connections directly to the node
%%% 2. The database to compact
%%% 3. The heuristic to use
Expand Down
2 changes: 1 addition & 1 deletion applications/tasks/src/modules/kt_initial_occurrence.erl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2010-2018, 2600Hz
%%% @doc Looks for the account's initial call
%%% @doc Looks for the account's initial call.
%%% @author Harenson Henao
%%% @end
%%%-----------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions applications/tasks/src/modules/kt_modb.erl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
%%% @end
%%%-----------------------------------------------------------------------------
-module(kt_modb).

%% behaviour: tasks_provider

-export([init/0
Expand Down
1 change: 1 addition & 0 deletions applications/tasks/src/modules/kt_numbers.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
%%% @end
%%%-----------------------------------------------------------------------------
-module(kt_numbers).

%% behaviour: tasks_provider

-export([init/0
Expand Down
1 change: 1 addition & 0 deletions applications/tasks/src/modules/kt_port_requests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
%%% @end
%%%-----------------------------------------------------------------------------
-module(kt_port_requests).

%% behaviour: tasks_provider

-export([init/0
Expand Down
1 change: 1 addition & 0 deletions applications/tasks/src/modules/kt_rates.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
%%% @end
%%%-----------------------------------------------------------------------------
-module(kt_rates).

%% behaviour: tasks_provider

-export([init/0
Expand Down
1 change: 1 addition & 0 deletions applications/tasks/src/modules/kt_resource_selectors.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
%%% @end
%%%-----------------------------------------------------------------------------
-module(kt_resource_selectors).

%% behaviour: tasks_provider

-export([init/0
Expand Down
1 change: 1 addition & 0 deletions applications/tasks/src/modules/kt_services.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
%%% @end
%%%-----------------------------------------------------------------------------
-module(kt_services).

%% behaviour: tasks_provider

-export([init/0
Expand Down
1 change: 1 addition & 0 deletions applications/tasks/src/modules/kt_skel.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
%%% @end
%%%-----------------------------------------------------------------------------
-module(kt_skel).

%% behaviour: tasks_provider

-export([init/0
Expand Down
1 change: 1 addition & 0 deletions applications/tasks/src/modules/kt_token_auth.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
%%% @end
%%%-----------------------------------------------------------------------------
-module(kt_token_auth).

%% behaviour: tasks_provider

-export([init/0
Expand Down
1 change: 1 addition & 0 deletions applications/tasks/src/modules/kt_user_auth.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
%%% @end
%%%-----------------------------------------------------------------------------
-module(kt_user_auth).

%% behaviour: tasks_provider

-export([init/0
Expand Down
1 change: 1 addition & 0 deletions applications/tasks/src/modules/kt_webhooks.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
%%% @end
%%%-----------------------------------------------------------------------------
-module(kt_webhooks).

%% behaviour: tasks_provider

-export([init/0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ bindings_and_responders() ->
}
]
}.

Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ bindings_and_responders() ->
}
]
}.

Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ bindings_and_responders() ->
}
]
}.

Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ bindings_and_responders() ->
}
]
}.

1 change: 0 additions & 1 deletion applications/webhooks/src/modules/webhooks_object.erl
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,3 @@ find_account_id(Classification, DB, _Id)
kz_util:format_account_id(DB, 'raw');
find_account_id('aggregate', <<"accounts">>, Id) -> Id;
find_account_id(_, _, _) -> 'undefined'.

1 change: 0 additions & 1 deletion applications/webhooks/src/modules/webhooks_skel.erl
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ bindings_and_responders() ->
handle_event(JObj, _Props) ->
kz_util:put_callid(JObj),
lager:debug("event handled").

4 changes: 2 additions & 2 deletions core/kazoo_amqp/src/api/kapi_globals.erl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%%------------------------------------------------------------------------------
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2010-2018, 2600Hz
%%% @doc Globals API,
%%% @doc Globals API.
%%% @end
%%%-----------------------------------------------------------------------------
-module(kapi_globals).
Expand Down
2 changes: 1 addition & 1 deletion core/kazoo_amqp/src/kz_amqp_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
%%% @author Edouard Swiac
%%% @author Sponsored by GTNetwork LLC, Implemented by SIPLABS LLC
%%% @end
%%%-------------------------------------------------------------------
%%%-----------------------------------------------------------------------------
-module(kz_amqp_util).

-include("kz_amqp_util.hrl").
Expand Down
2 changes: 1 addition & 1 deletion core/kazoo_edr/src/edr_bindings.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2018-, 2600Hz
%%% @copyright (C) 2017, Conversant Ltd
%%% @doc EDR event distribution bindings
%%% @author Conversant Ltd (Max Lay)
%%% @end
Expand Down
2 changes: 1 addition & 1 deletion core/kazoo_stats/src/kazoo_stats.erl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
%%% on each node, and regularly sends the information the stats application.
%%% For `ecallmgr' nodes, it also collects `ecallmgr' information, and
%%% sip events statistics.
%%% @end
%%%
%%% @author Stephen Gibberd <[email protected]>
%%% @end
%%%-----------------------------------------------------------------------------
-module(kazoo_stats).
-behaviour(gen_server).
Expand Down
4 changes: 2 additions & 2 deletions core/kazoo_voicemail/src/kvm_mwi.erl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
%%%-------------------------------------------------------------------
%%%-----------------------------------------------------------------------------
%%% @copyright (C) 2018-, 2600Hz
%%% @doc Message Wait Indicator utilities.
%%% @author Luis Lazedo
%%% @end
%%%-------------------------------------------------------------------
%%%-----------------------------------------------------------------------------
-module(kvm_mwi).

-export([notify_vmbox/2
Expand Down
Loading

0 comments on commit d5edce3

Please sign in to comment.