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

whowas: return all responses from the server #372

Merged
merged 6 commits into from
Aug 29, 2024

Commits on Dec 28, 2023

  1. whowas: return all responses from the server

    Whowas results are a list of all known RPL_WHOWASUSER replies.
    Return the most recent event as the top level and add the
    rest to a `historical` field as an array.
    
    Example:
    
    ```
    :inspircd.server.example 314 val someone ident3 127.0.0.1 * :Realname
    :inspircd.server.example 312 val someone My.Little.Server :Sun Mar 20 2022 10:59:26
    :inspircd.server.example 314 val someone ident2 127.0.0.1 * :Realname
    :inspircd.server.example 312 val someone My.Little.Server :Sun Mar 20 2022 10:59:16
    :inspircd.server.example 314 val someone ident1 127.0.0.1 * :Realname
    :inspircd.server.example 312 val someone My.Little.Server :Sun Mar 19 2022 9:23:06
    :inspircd.server.example 369 val someone :End of WHOWAS
    
    whowas {
      nick: 'someone',
      ident: 'ident3',
      hostname: '127.0.0.1',
      real_name: 'Realname',
      server: 'My.Little.Server',
      server_info: 'Sun Mar 20 2022 10:59:26',
      historical: [
        {
          nick: 'someone',
          ident: 'ident2',
          hostname: '127.0.0.1',
          real_name: 'Realname',
          server: 'My.Little.Server',
          server_info: 'Sun Mar 20 2022 10:59:16'
        },
        {
          nick: 'someone',
          ident: 'ident1',
          hostname: '127.0.0.1',
          real_name: 'Realname',
          server: 'My.Little.Server',
          server_info: 'Sun Mar 19 2022 9:23:06'
        }
      ]
    }
    ```
    
    Fixes: kiwiirc#371
    brunnre8 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    55720c1 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Add support for RPL_WHOWASIP used by inspircd;

    Return all results in event.historical
    ItsOnlyBinary committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    3403e3a View commit details
    Browse the repository at this point in the history
  2. Update docs

    ItsOnlyBinary committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    b9d4fd7 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    51a97ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    25f25f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e88197b View commit details
    Browse the repository at this point in the history