Skip to content
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

Remove dynamically compiled modules #3394

Merged
merged 105 commits into from
Nov 15, 2021
Merged

Commits on Oct 11, 2021

  1. Hostypify mod_private

    Also, made mod_private_backend module
    arcusfelis committed Oct 11, 2021
    Configuration menu
    Copy the full SHA
    89168cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0d3c58 View commit details
    Browse the repository at this point in the history
  3. Add remove_domain callback

    arcusfelis committed Oct 11, 2021
    Configuration menu
    Copy the full SHA
    a30caa3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    013f9b9 View commit details
    Browse the repository at this point in the history
  5. Inline backend calls

    arcusfelis committed Oct 11, 2021
    Configuration menu
    Copy the full SHA
    7cc3cf2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1d387c4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e9c6820 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    22cc73c View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2021

  1. Get rid of macros

    Move new code into mongoose_backend, just to keep it away from the old backend_module
    Align args correctly
    arcusfelis committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    ecf2183 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2021

  1. Merge pull request #3323 from esl/mu-private-no-backend

    mod_private without dynamic modules
    chrzaszcz authored Oct 13, 2021
    Configuration menu
    Copy the full SHA
    3d42507 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ad06c0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7923887 View commit details
    Browse the repository at this point in the history
  4. Fix xref

    gustawlippa committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    76d351a View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2021

  1. Merge pull request #3336 from esl/wdbm-mod_auth_token

    Add `mod_auth_token_backend`
    chrzaszcz authored Oct 14, 2021
    Configuration menu
    Copy the full SHA
    f231c96 View commit details
    Browse the repository at this point in the history
  2. Removing dynamically compiled modules from mod_last

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8c36279 View commit details
    Browse the repository at this point in the history
  3. Adding mistakenly deleted ignore_xref to mod_last

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    c579418 View commit details
    Browse the repository at this point in the history
  4. Resolving remarks from PR

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    926579c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    79aa05d View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2021

  1. Fix space

    Co-authored-by: Paweł Chrząszcz <pawel.chrzaszcz@erlang-solutions.com>
    gustawlippa and chrzaszcz authored Oct 15, 2021
    Configuration menu
    Copy the full SHA
    28036c9 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2021

  1. Changing init_per_host_type in mongoose_backend module

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    3a3261f View commit details
    Browse the repository at this point in the history
  2. Add mongoose_backend:get_backend_name

    It returns the atom describing the backend, like `mssql`, `pgsql`, etc.
    This is analogous to `backend_name` function that was exposed by the
    dynamically compiled modules in `backend_module.erl`. It is used by
    some tests and `mongoose_rdbms`.
    gustawlippa committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    1e065b8 View commit details
    Browse the repository at this point in the history
  3. Make get_backend helper use HostType

    Because backends can be running per host type. This also fixes an
    issue of suites logging that they finished dirty, after having
    dynamically compiled backends removed.
    
    The old interface is called for the time being, but will be removed when
    all modules will have dynamic backends converted.
    gustawlippa committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    bffd681 View commit details
    Browse the repository at this point in the history
  4. Removing xref to mod_last from rebar.config

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    c46fa10 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fbfd33a View commit details
    Browse the repository at this point in the history
  6. Merge pull request #3340 from esl/wdbm-event_pusher

    Add `mod_event_pusher_push_backend`
    chrzaszcz authored Oct 19, 2021
    Configuration menu
    Copy the full SHA
    154e492 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2021

  1. Use different keys

    gustawlippa committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    01fb11a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3345 from esl/wdbm-tests-mongoose_helper

    Add mongoose_backend:get_backend_name
    vkatsuba authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    24ec4b1 View commit details
    Browse the repository at this point in the history
  3. Fix function call

    NelsonVides committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    36c3539 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e7a322c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b97b6d3 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #3347 from esl/wdbm/privacy

    Migrate mod_privacy to mongoose_backend
    vkatsuba authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    9411c90 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ca10c75 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2021

  1. Adding mod_inbox_backend, removing dynamically compiled module from

    mod_inbox
    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    27740f7 View commit details
    Browse the repository at this point in the history
  2. Fixing code in mod_inbox_backend

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    ad71add View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e70b6e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    efdd23b View commit details
    Browse the repository at this point in the history
  5. Migrate mod_muc_light_codec to mongoose_backend

    Note also the many dialyzer error that were hiding behind a dynamic
    callstack. They were all wrong specs and not wrong code, but still,
    nice not to hide them any longer.
    NelsonVides committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    d7ebf1d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    36e607a View commit details
    Browse the repository at this point in the history
  7. Add mod_muc_backend

    gustawlippa committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    bf3ef60 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #3349 from esl/wdbm-mod_muc

    Add `mod_muc_backend`
    vkatsuba authored Oct 21, 2021
    Configuration menu
    Copy the full SHA
    0eae95e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bb7f726 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #3351 from esl/wdbm/muclight

    Migrate mod_muc_light_db to mongoose_backend
    vkatsuba authored Oct 21, 2021
    Configuration menu
    Copy the full SHA
    37fd6cc View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2021

  1. Adding mod_offline_backend

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    b4df11a View commit details
    Browse the repository at this point in the history
  2. Adding mod_offline_chatmarkers.erl

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    5637890 View commit details
    Browse the repository at this point in the history
  3. Fixing issues in mod_inbox_backend.erl

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    2d74e87 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2021

  1. Move into a directory

    NelsonVides committed Oct 24, 2021
    Configuration menu
    Copy the full SHA
    f88d8ba View commit details
    Browse the repository at this point in the history
  2. Move into a directory

    NelsonVides committed Oct 24, 2021
    Configuration menu
    Copy the full SHA
    8df58a3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    12bd3fe View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2021

  1. Configuration menu
    Copy the full SHA
    33b5163 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d4bee3 View commit details
    Browse the repository at this point in the history
  3. Fix wrong module name

    NelsonVides committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    09b14aa View commit details
    Browse the repository at this point in the history
  4. fixing big_test

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    3fa78d5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #3358 from esl/wdbm/vcard

    Wdbm/vcard
    vkatsuba authored Oct 25, 2021
    Configuration menu
    Copy the full SHA
    8a7b507 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #3350 from esl/mod_inbox_remove_dynamic_modules

    Removing dynamically compiled module from mod_inbox
    chrzaszcz authored Oct 25, 2021
    Configuration menu
    Copy the full SHA
    0fcced8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e6c1563 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #3362 from esl/xref/remove_mod_inbox

    Remove mod_inbox_backend from xref_ignores
    arcusfelis authored Oct 25, 2021
    Configuration menu
    Copy the full SHA
    0533119 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2021

  1. Removing dynamically compiled modules from mod_roster

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    3f74c5c View commit details
    Browse the repository at this point in the history
  2. Fixing big-tests

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    6c14607 View commit details
    Browse the repository at this point in the history
  3. Deleting mod_offline and mod_offline_chatmarkers from rebar.config

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    bf5c188 View commit details
    Browse the repository at this point in the history
  4. Removing mod_roster from rebar.config

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    42ed2ab View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4748b9a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ea8afc2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5140b15 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2021

  1. Fixing optional callback

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 27, 2021
    Configuration menu
    Copy the full SHA
    14f8f2f View commit details
    Browse the repository at this point in the history
  2. Fixing mod_roster_backend to allow optional callbacks

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 27, 2021
    Configuration menu
    Copy the full SHA
    d653ba0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #3368 from esl/wdbm-mod_pubsub_cache

    Add `mod_pubsub_cache_backend`
    NelsonVides authored Oct 27, 2021
    Configuration menu
    Copy the full SHA
    f41d2e2 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #3371 from esl/mod-offline-optional-callback-fix

    Looks good, thanks for the fix
    gustawlippa authored Oct 27, 2021
    Configuration menu
    Copy the full SHA
    d106506 View commit details
    Browse the repository at this point in the history
  5. Remove dynamically compiled modules from mod_http_upload

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 27, 2021
    Configuration menu
    Copy the full SHA
    ece5632 View commit details
    Browse the repository at this point in the history
  6. Get rid of mod_mam_cassandra_arch_params

    Add host types into mod_mam_cassandra_arch
    arcusfelis committed Oct 27, 2021
    Configuration menu
    Copy the full SHA
    da5b223 View commit details
    Browse the repository at this point in the history
  7. HostTypes for mod_mam_muc_cassandra_arch

    Use db_message_format=mam_message_xml by default now in mod_mam_muc_cassandra_arch and mod_mam_cassandra_arch
    Get rid of mod_mam_muc_cassandra_arch_params
    arcusfelis committed Oct 27, 2021
    Configuration menu
    Copy the full SHA
    2dd3e3e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    91c7982 View commit details
    Browse the repository at this point in the history
  9. Fix dialyzer

    arcusfelis committed Oct 27, 2021
    Configuration menu
    Copy the full SHA
    d88bf05 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c94502a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    01ba08c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5620a85 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2021

  1. Removing mod_http_upload from rebar.config

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    047d066 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3372 from esl/mod-http-upload-remove-dynamic-modules

    Remove dynamically compiled modules from mod_http_upload
    vkatsuba authored Oct 28, 2021
    Configuration menu
    Copy the full SHA
    a14a4a5 View commit details
    Browse the repository at this point in the history
  3. Removing dynamically compiled modules froem mod_keystore

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    5c6a63e View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2021

  1. Fixing types

    Janusz Jakubiec authored and Janusz Jakubiec committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    ba5c343 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1020bde View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf91f1a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c159446 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2021

  1. Merge pull request #3379 from esl/mu-without-dynamic-modules-in-sm

    Use persistent terms to store backend_module in ejabberd_sm
    NelsonVides authored Oct 30, 2021
    Configuration menu
    Copy the full SHA
    4c8d7fd View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2021

  1. Configuration menu
    Copy the full SHA
    e29d70a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c2bca9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da9ce57 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2021

  1. Configuration menu
    Copy the full SHA
    4ce1ea7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ca4366 View commit details
    Browse the repository at this point in the history
  3. Meck properly

    arcusfelis committed Nov 3, 2021
    Configuration menu
    Copy the full SHA
    dd9c278 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2021

  1. Configuration menu
    Copy the full SHA
    2ed6b62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ca82fe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c47fe4 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2021

  1. Configuration menu
    Copy the full SHA
    12e5cfb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67712f4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e9f93c3 View commit details
    Browse the repository at this point in the history
  4. Fix indention

    arcusfelis committed Nov 5, 2021
    Configuration menu
    Copy the full SHA
    34fc43b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9299add View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d21eb5d View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2021

  1. Configuration menu
    Copy the full SHA
    6ce5112 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3390 from esl/wdbm-mongoose_rdbms

    With the changes done in #3386, this turned out to be really easy. Before that, I tried to make mongoose_rdbms_backend expose its API with HostTypes, but it was a bit messy. I think it's better to do it in a separate PR (after the whole without-dynamic-backend-modules branch is merged), to keep this already big diff smaller and more focused.
    
    Other issue is that mongoose_rdbms has many functions exported, which seem to be not used, mainly for escaping different types. This could be revisited, but, in similar fashion, I left this as is for now.
    What's left to do is remove dynamic mongoose_rdbms_type, but it will be done in a separate PR.
    NelsonVides authored Nov 9, 2021
    Configuration menu
    Copy the full SHA
    d856ba0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    49157c4 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #3392 from esl/wdbm-ejabberd_rdbms

    Get rid of ejabberd_rdbms because all it did was compile mongoose_rdbms_type. In turn, all it did was get an option from the config.
    
    The functionality is left as it was. From what I understand, one can (in theory) use ODBC with different databases, so maybe the rdbms_server_type option is needed, but it could at least be moved from the general section to the RDBMS pool options. This could be done after dynamically compiled modules are merged.
    NelsonVides authored Nov 9, 2021
    Configuration menu
    Copy the full SHA
    07e01df View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9bbb440 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5e3aa4c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f71b7f0 View commit details
    Browse the repository at this point in the history