activated plugins-list

Feature Requests
  • As plugin I'd like to be able to either get a list of activated plugins (maybe also version) or to send a request whether there is an activated plugin of given name (If you're aware of security issues 😛 )

    My use-case: I'd like to show a warning when my plugin has a known conflict with another activated plugin (emoji-extended vs. emoji as example).

    Maybe it's also nice to be able to get this list client-side as user therefor I may setup a new NodeBB instance like another board I know without having to ask the admin for the plugin-names.
    This would also be helpful for solving issues on external boards and I don't think it's a problem to security.

    Last related point: If I want to setup a new NodeBB instance that uses the same plugins like another one, here it could be helpful to generate a bash command to clone the plugin-installations and activations (shown within ACP).

  • @frissdiegurke said:

    Last related point: If I want to setup a new NodeBB instance that uses the same plugins like another one, here it could be helpful to generate a bash command to clone the plugin-installations and activations (shown within ACP).

    As a workaround, you could always use rsync -avz to sync one node_modules/ folder with another 😄

  • @frissdiegurke said:

    As plugin I'd like to be able to either get a list of activated plugins (maybe also version) or to send a request whether there is an activated plugin of given name (If you're aware of security issues 😛 )

    I think you can call Plugins.isActive to see if a specific plugin is activated. Otherwise you can query db.getSetMembers('plugins:active', callback) for the actual list


Suggested Topics


  • 0 Votes
    5 Posts
    150 Views
  • Request features (list)

    Feature Requests
    1 Votes
    1 Posts
    462 Views
  • 1 Votes
    1 Posts
    658 Views
  • 0 Votes
    3 Posts
    1168 Views
  • 1 Votes
    1 Posts
    985 Views