Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
3.67k stars 511 forks source link

Event filter in 'My Events' does not work for new events #6189

Closed Pinkbyte closed 2 weeks ago

Pinkbyte commented 2 weeks ago

Describe the bug As per topic says - filtering only works for past items, new events are displayed like there is no filter

To Reproduce Steps to reproduce the behavior:

  1. Go to 'My Events' tab
  2. Choose any filter
  3. Wait for new events to come
  4. New events are displayed, even if they does not pass the filter

Expected behavior Only filtered events should be displayed

Screenshots screenshot

Server Software (please complete the following information):

Client Device (please complete the following information):

Your config.json file

{
  "$schema": "http://info.meshcentral.com/downloads/meshcentral-config-schema.json",
  "settings": {
    "cert": "meshcentral.local",
    "WANonly": true,
    "sessionKey": "<hidden>",
    "userSessionIdleTimeout": 60,
    "exactPorts": true,
    "port": 443,
    "redirPort": 80,
    "TLSOffload": true,
    "TrustedProxy": "172.16.0.1,172.16.0.2,172.16.0.3,172.16.0.4,172.16.0.5,172.16.0.6",
    "agentsInRam": true,
    "agentPing": 60,
    "browserPing": 60,
    "agentTimeStampServer": false,
    "agentSingLock": false,
    "manageAllDeviceGroups": [ "user//admin"],
    "SelfUpdate": false,
    "mongoDb": "mongodb://mongo:27017",
    "mongoDbName": "meshcentral"
  },
  "domains": {
    "": {
      "title": "Test",
      "title2": "MeshCentral",
      "NewAccounts": false,
      "newAccountsRights": [ "nonewgroups", "notools" ],
      "passwordRequirements": {
        "allowaccountreset": false,
        "loginTokens": false
      },
      "certUrl": "https://172.16.0.1:443",
      "auth": "ldap",
      "_comment - nested groups are not supported!": "",
      "ldapSiteAdminGroups": [ "CN=admin,CN=Users,DC=test,DC=local" ],
      "ldapUserKey": "sAMAccountName",
      "ldapUserGroups": "memberOf",
      "ldapUserRequiredGroupMembership": [ "CN=admin,CN=Users,DC=test,DC=local" ],
      "ldapOptions": {
        "url": "ldap://test.local:389",
        "bindDN": "CN=meshcentral,CN=Users,DC=test,DC=local",
        "bindCredentials": "<hidden>",
        "searchBase": "DC=test,DC=local",
        "searchFilter": "(sAMAccountName={{username}})",
        "reconnect": true
      }
    }
  }
}