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

Unify the admin REST API #3753

Merged
merged 14 commits into from
Sep 15, 2022
Merged

Commits on Sep 14, 2022

  1. Add mongoose_admin_api

    This module will delegate Admin REST API calls to the handler modules,
    just like mongoose_client_api is doing for client API requests.
    Paweł Chrząszcz authored and chrzaszcz committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    8a52cfb View commit details
    Browse the repository at this point in the history
  2. Add Admin API module for contacts (roster)

    Also: fix types in mod_roster_api
    Paweł Chrząszcz authored and chrzaszcz committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    d754a60 View commit details
    Browse the repository at this point in the history
  3. Add Admin API modules for stanzas and messages

    Also: fix types in mongoose_stanza_api
    
    Marked missing error handling as TO DO - it will be done in a separate task.
    Paweł Chrząszcz authored and chrzaszcz committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    5d471f8 View commit details
    Browse the repository at this point in the history
  4. Add Admin API module for inbox

    Also: fix types and whitespace in mod_inbox_api
    Paweł Chrząszcz authored and chrzaszcz committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    6c5ffb7 View commit details
    Browse the repository at this point in the history
  5. Add Admin API module for MUC

    Also: fix types in mod_muc_api
    Paweł Chrząszcz authored and chrzaszcz committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    2a49bc4 View commit details
    Browse the repository at this point in the history
  6. Add Admin API module for MUC Light

    Also: fix types and typos (sic!) in MUC Light modules
    Paweł Chrząszcz authored and chrzaszcz committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    b5c8307 View commit details
    Browse the repository at this point in the history
  7. Add Admin API module for sessions

    Paweł Chrząszcz authored and chrzaszcz committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    a04f373 View commit details
    Browse the repository at this point in the history
  8. Add Admin API module for users (accounts)

    Paweł Chrząszcz authored and chrzaszcz committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    34c72b3 View commit details
    Browse the repository at this point in the history
  9. Enable mongoose_admin_api (new) instead of mongoose_api_admin (old)

    Paweł Chrząszcz authored and chrzaszcz committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    a9fdeac View commit details
    Browse the repository at this point in the history
  10. Update REST tests for the new API

    - Update expected messages
    - Actually test message errors for MUC (invites were tested instead)
    - Remove tests for listing commands and adding mongoose_commands
      Command listing will be possible only with GraphQL, and
      mongoose_commands will be removed in a follow-up PR.
    
    Also: remove test repeat
    Paweł Chrząszcz authored and chrzaszcz committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    bffcc6c View commit details
    Browse the repository at this point in the history
  11. Cover error cases in rest_SUITE

    Also: reorganize tests for easier management
    Paweł Chrząszcz authored and chrzaszcz committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    df90b8c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    96592b7 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e644cf2 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4583d13 View commit details
    Browse the repository at this point in the history