Code Monkey home page Code Monkey logo

Comments (10)

SMART-ALEX-T avatar SMART-ALEX-T commented on July 23, 2024 1

Yes, that's exactly right

image

from meshcentral.

SMART-ALEX-T avatar SMART-ALEX-T commented on July 23, 2024 1

Certainly)
image

from meshcentral.

si458 avatar si458 commented on July 23, 2024

im assuming your list looks like below and you only want to sort it by the username and not including the hostname?
(can you share example screenshot?)
BEFORE:

Connected, Console
Active, RDP-Tcp#0 - ACFTP2022/Administrator
Active, RDP-Tcp#1 - ACFTP2022/User1
Active, RDP-Tcp#2 - ACFTP2022/Fred
Active, RDP-Tcp#3 - ACFTP2022/User2
Active, RDP-Tcp#4 - ACFTP2022/Jones

AFTER:

Connected, Console
Active, RDP-Tcp#0 - ACFTP2022/Administrator
Active, RDP-Tcp#2 - ACFTP2022/Fred
Active, RDP-Tcp#4 - ACFTP2022/Jones
Active, RDP-Tcp#1 - ACFTP2022/User1
Active, RDP-Tcp#3 - ACFTP2022/User2

from meshcentral.

si458 avatar si458 commented on July 23, 2024

Ok! So I'll do a value u can set inside if your domains section in config.json
So u can say sort by terminal id OR sort my username or none!
As ur screenshot shows both the username and the terminal id as not sorted haha

I'm guessing its listing them by most recent activity first

from meshcentral.

SMART-ALEX-T avatar SMART-ALEX-T commented on July 23, 2024

Thank you, this will be what we need

from meshcentral.

si458 avatar si458 commented on July 23, 2024

ok ive added an option called userSessionsSort under the domains section of config.json
so this will apply to all users in per domain basis!

Arange the Connect sessions offered when multiple Terminal Sessions are present by 'SessionId', 'StationName' or 'Username' with 'SessionId' as the default sorting criteria.

from meshcentral.

SMART-ALEX-T avatar SMART-ALEX-T commented on July 23, 2024

Unfortunately, the sessions are not sorted.
image
image

from meshcentral.

si458 avatar si458 commented on July 23, 2024

i have only just merged it!
so you have to wait for a new release,
OR
stop meshcentral, npm install Ylianst/MeshCentral, start meshcentral - NPM
OR
image: ghcr.io/ylianst/meshcentral:master DOCKER

p.s. anything with an _ in front of it is ignored! so you should be using "userSessionsSort": "Username"

from meshcentral.

SMART-ALEX-T avatar SMART-ALEX-T commented on July 23, 2024

Thank you very much! Now everything works. :)

from meshcentral.

si458 avatar si458 commented on July 23, 2024

@SMART-ALEX-T just be aware,
using those install methods above, basically latch onto the LATEST code in the master repo,
so the could be bugs/issues! but if you spot things, do open new issues and report them :)

p.s. can u share screenshots of it working hehe, would be nice to see its all ok

from meshcentral.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.