-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update hooks and handlers docs #3300
Conversation
It was looking for hooks run the old way, through ejabberd_hooks:run or ejabberd_hooks:run_fold, and so it didn't find anything. Now it is just enought to extract the exported functions from `mongoose_hooks`.
It makes sense to have the Accumulator overview right after Hooks and Handlers.
Codecov Report
@@ Coverage Diff @@
## master #3300 +/- ##
==========================================
- Coverage 80.25% 80.21% -0.04%
==========================================
Files 398 398
Lines 32559 32559
==========================================
- Hits 26129 26118 -11
- Misses 6430 6441 +11
Continue to review full report at Codecov.
|
small_tests_24 / small_tests / 1aecebc internal_mnesia_24 / internal_mnesia / 1aecebc small_tests_22 / small_tests / 1aecebc small_tests_23 / small_tests / 1aecebc dynamic_domains_23 / pgsql_mnesia / 1aecebc service_domain_db_SUITE:db:db_keeps_syncing_after_cluster_join{error,{test_case_failed,{[<<"example1.com">>,<<"example2.com">>,
<<"example3.com">>],
[<<"example1.com">>,<<"example2.com">>,
<<"example3.com">>,<<"example4.com">>]}}} ldap_mnesia_22 / ldap_mnesia / 1aecebc dynamic_domains_24 / pgsql_mnesia / 1aecebc ldap_mnesia_23 / ldap_mnesia / 1aecebc pgsql_mnesia_23 / pgsql_mnesia / 1aecebc ldap_mnesia_24 / ldap_mnesia / 1aecebc elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 1aecebc pgsql_mnesia_22 / pgsql_mnesia / 1aecebc mssql_mnesia_24 / odbc_mssql_mnesia / 1aecebc pgsql_mnesia_24 / pgsql_mnesia / 1aecebc mysql_redis_24 / mysql_redis / 1aecebc mam_SUITE:rdbms_prefs_cases:prefs_set_request{error,{test_case_failed,"ASSERT EQUAL\n\tExpected {prefs_result_iq,<<\"roster\">>,\n [<<\"romeo@montague.net\">>],\n [<<\"montague@montague.net\">>]}\n\tValue {prefs_result_iq,<<\"always\">>,\n [<<\"romeo@montague.net\">>],\n [<<\"montague@montague.net\">>]}\n"}} mod_event_pusher_rabbit_SUITE:group_chat_message_publish:group_chat_message_received_event_properly_formatted{error,
{{assertMatch,
[{module,mod_event_pusher_rabbit_SUITE},
{line,435},
{expression,
"get_decoded_message_from_rabbit ( AliceGroupChatMsgRecvRK )"},
{pattern,
"# { << \"from_user_id\" >> := BobRoomJID , << \"to_user_id\" >> := AliceFullJID , << \"message\" >> := Message }"},
{value,
#{<<"from_user_id">> => <<"muc_publish@muc.localhost">>,
<<"message">> => <<>>,
<<"to_user_id">> =>
<<"alice_unnamed_41.658975@localhost/res1">>}}]},
[{mod_event_pusher_rabbit_SUITE,
'-group_chat_message_received_event_properly_formatted/1-fun-1-',3,
[{file,
"/home/circleci/app/big_tests/tests/mod_event_pusher_rabbit_SUITE.erl"},
{line,435}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}} riak_mnesia_24 / riak_mnesia / 1aecebc dynamic_domains_23 / pgsql_mnesia / 1aecebc |
Co-authored-by: Viacheslav Katsuba <v.katsuba.dev@gmail.com>
small_tests_24 / small_tests / 7d591a1 internal_mnesia_24 / internal_mnesia / 7d591a1 small_tests_22 / small_tests / 7d591a1 small_tests_23 / small_tests / 7d591a1 ldap_mnesia_24 / ldap_mnesia / 7d591a1 dynamic_domains_24 / pgsql_mnesia / 7d591a1 dynamic_domains_23 / pgsql_mnesia / 7d591a1 dynamic_domains_SUITE:with_mod_dynamic_domains_test:packet_handling_for_subdomain{error,
{{badrpc,
{'EXIT',
{timeout,
[{meck_proc,wait,6,
[{file,
"/home/circleci/app/_build/default/lib/meck/src/meck_proc.erl"},
{line,171}]},
{meck,wait,5,[]}]}}},
[{distributed_helper,rpc,
[#{node => mongooseim@localhost},
meck,wait,
[3,mod_dynamic_domains_test,process_packet,5,500]],
[{file,"/home/circleci/app/big_tests/tests/distributed_helper.erl"},
{line,117}]},
{dynamic_domains_SUITE,'-packet_handling_for_subdomain/1-fun-3-',1,
[{file,
"/home/circleci/app/big_tests/tests/dynamic_domains_SUITE.erl"},
{line,113}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1784}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1293}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1225}]}]}} ldap_mnesia_22 / ldap_mnesia / 7d591a1 ldap_mnesia_23 / ldap_mnesia / 7d591a1 pgsql_mnesia_24 / pgsql_mnesia / 7d591a1 pgsql_mnesia_22 / pgsql_mnesia / 7d591a1 elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 7d591a1 mysql_redis_24 / mysql_redis / 7d591a1 pgsql_mnesia_23 / pgsql_mnesia / 7d591a1 mssql_mnesia_24 / odbc_mssql_mnesia / 7d591a1 riak_mnesia_24 / riak_mnesia / 7d591a1 |
This PR updates hooks/handlers/accumulator pages in the docs so that they are in line with the current code.