Commit Graph

817 Commits

Author SHA1 Message Date
Ylian Saint-Hilaire 0e549631ac Event log is now userid based instead of username based. 2022-01-11 13:10:36 -08:00
Ylian Saint-Hilaire c14aba06d4 Added session disconnection log entries, #3437 2022-01-10 17:42:54 -08:00
Ylian Saint-Hilaire 188b6c1b7c
Merge pull request #3438 from nzalev/factoring-meshuser
Factoring meshuser
2022-01-10 15:29:56 -08:00
Ylian Saint-Hilaire 42137aa1d1 Added session disconnection log for desktop multiplex, #3437 2022-01-10 15:28:46 -08:00
Noah Zalev 57e83620ba Fix missed break statement 2022-01-10 17:57:57 -05:00
Noah Zalev 979ad000b4 Added send function for serverCommands 2022-01-10 15:39:24 -05:00
Ylian Saint-Hilaire f8e9426350 Improved MongoDB indexes. 2022-01-10 12:25:31 -08:00
Noah Zalev 0017c99cce Added functions for each report type 2022-01-10 13:48:28 -05:00
Noah Zalev 685f429509 Added command handlers for updateAgents,report 2022-01-10 13:35:31 -05:00
Noah Zalev ca864539ff Added function handlers for traffic stats,delta 2022-01-10 13:22:06 -05:00
Ylian Saint-Hilaire fe60c49f5d
Merge pull request #3432 from nzalev/factor-meshuser
Factor meshuser
2022-01-09 22:45:20 -08:00
Noah Zalev 1398ca583b Added command function handlers for get,set clip 2022-01-09 21:22:03 -05:00
Noah Zalev 6ce252482f Added function handlers for getcookie,emailuser 2022-01-09 21:14:11 -05:00
Noah Zalev 96fa6e87d5 Factor smsuser + remove unused variable 2022-01-09 21:04:34 -05:00
Noah Zalev f262dd9aa1 Added function for updateUserImage + bugfix 2022-01-09 20:29:54 -05:00
Ylian Saint-Hilaire 92fe9642d0 Added maximum device guest sharing time, #3431 2022-01-09 17:15:48 -08:00
Ylian Saint-Hilaire e5e451a8a2 Added DB bulk operation indication in server info command. 2022-01-09 15:36:26 -08:00
Noah Zalev cb8337c3a3 check for ws equality on close, like original 2022-01-08 15:18:35 -05:00
Noah Zalev 8368c8e641 Added func handlers for confirm,remove,verifyphone 2022-01-08 15:11:17 -05:00
Noah Zalev e0915f97f8 Added function handler for adddeviceuser 2022-01-08 14:46:55 -05:00
Noah Zalev 89e5572130 Remove left-to-right override unicode characters 2022-01-08 14:30:09 -05:00
Noah Zalev c51cfef7c0 Factorize close command + bugfix 2022-01-08 14:27:17 -05:00
Noah Zalev fe4d426bdb Added function handlers for agentdisconnect and addmeshuser 2022-01-08 11:55:06 -05:00
Ylian Saint-Hilaire 5121295128 Added 2FA rate limiting, #3393 2022-01-03 13:12:10 -08:00
Ylian Saint-Hilaire 061f8492c9 Web Power Switch logging improvement. 2021-12-31 13:22:50 -08:00
Ylian Saint-Hilaire 935ad09129 Web Power Switch operations are now logged. 2021-12-31 13:17:17 -08:00
Ylian Saint-Hilaire ad3dc5fbed Completed work on WebPowerSwitch support. 2021-12-14 14:42:45 -08:00
Ylian Saint-Hilaire 1567594ef3 Early work on WebPowerSwitch support. 2021-12-14 03:22:18 -08:00
Ylian Saint-Hilaire 3905620495 Added PostgreSQL to info command in server console. 2021-12-13 19:37:46 -08:00
Ylian Saint-Hilaire 40f052e027 Attempt at a fix for #3344 2021-12-13 16:29:18 -08:00
Ylian Saint-Hilaire db3659d665 Added option to remove OTP 2FA. 2021-12-11 16:08:26 -08:00
Ylian Saint-Hilaire adacd5b63b
Merge pull request #3333 from nzalev/factorize-meshuser
Factorize meshuser
2021-12-08 22:14:51 -08:00
Noah Zalev a54fcf1665 Factor changeemail, verifyemail 2021-12-08 00:27:45 -05:00
Noah Zalev ca75173152 Factor interuser, servertimelinestats 2021-12-08 00:14:29 -05:00
Noah Zalev 8bf0112423 Factor logincookie, changelang 2021-12-07 23:59:37 -05:00
Noah Zalev bb81de62db Factorize urlargs, intersession 2021-12-07 23:47:31 -05:00
Noah Zalev d1523c3bbf Simplify removeuserfromusergroup - remove unneeded condition/variable 2021-12-07 22:33:52 -05:00
Noah Zalev 92c53d9854 Factorize removeuserfromusergroup 2021-12-07 22:00:14 -05:00
Noah Zalev c9462811fc Factorize authcookie 2021-12-07 21:51:40 -05:00
Noah Zalev a5b9d02d49 Factorize addusertousergroup 2021-12-07 21:18:54 -05:00
Noah Zalev e626f03d5d Fix - dont return before sending err 2021-12-07 20:38:36 -05:00
Noah Zalev 184fdaf237 Factorize adduser 2021-12-07 19:57:31 -05:00
Noah Zalev 0fc6dc77f1 Factored adduserbatch 2021-12-07 19:47:21 -05:00
Noah Zalev 5aa8e26607 Fixed report msgid filter 2021-12-07 17:59:44 -05:00
Ylian Saint-Hilaire 448aeec6e7 Added IP-KVM port status tracking. 2021-12-05 16:12:58 -08:00
Ylian Saint-Hilaire 718f58c5dc More work on IP-KVM support. 2021-12-05 14:33:27 -08:00
Ylian Saint-Hilaire 4fa629f825 Added user last access support, #3319 2021-12-04 13:08:17 -08:00
Ylian Saint-Hilaire 8f36513078 Early work on IP KVM integration. 2021-12-02 20:20:37 -08:00
Ylian Saint-Hilaire 3c6ccc9139 Added support for IP-KVM device groups. 2021-12-02 18:34:18 -08:00
Ylian Saint-Hilaire e199c0c073 Added guest sharing list to device group panel. 2021-12-01 14:53:28 -08:00
Ylian Saint-Hilaire b0726e9a13 Fixed server file permissions for device groups, #3294 2021-11-25 09:26:25 -08:00
Ylian Saint-Hilaire eb14be8465
Merge pull request #3273 from HuFlungDu/fix/add-user-to-user-group
Fix bug in addusertousergroup
2021-11-15 15:07:33 -08:00
Josiah Baldwin d3f115b3a2 Fixed missing initialization of new variable. 2021-11-15 12:06:14 -08:00
Ylian Saint-Hilaire bf94381a1d Added user customized quick typing strings. 2021-11-11 17:09:12 -08:00
Josiah Baldwin c50b3c0d26 Fix bug in addusertousergroup
Fix obscure bug when the last user added in list of addusertousergroup was an unknown user causing the server to crash.

Also updated the group update message of same to display all users added, rather than only the last one in the list.
2021-11-11 15:47:04 -08:00
Ylian Saint-Hilaire ecd25f3eb2 More work on device self-sharing. 2021-11-10 13:21:30 -08:00
Ylian Saint-Hilaire 529fa04094 Guest sharing security improvements. 2021-11-10 10:31:33 -08:00
Ylian Saint-Hilaire 80afe74314 Fixed unlimited device guest sharing event. 2021-11-10 09:14:55 -08:00
Ylian Saint-Hilaire f4b9372dd2 Started work on agent self-sharing. 2021-11-09 22:51:40 -08:00
Ylian Saint-Hilaire eece5412f4 Added PreconfiguredRemoteInput #3264 2021-11-08 11:45:45 -08:00
Ylian Saint-Hilaire 3e115c272b MeshCtrl wake improvements. 2021-11-05 18:22:03 -07:00
Ylian Saint-Hilaire 14283aef12 Added userid to events of power actions. 2021-11-05 17:12:55 -07:00
Ylian Saint-Hilaire 244399c329 First version with working PostgreSQL support. 2021-11-04 11:53:54 -07:00
Ylian Saint-Hilaire f71c326231 Removed auth data from websocket connection URL. 2021-11-03 18:52:11 -07:00
Ylian Saint-Hilaire 2c3cbf9efb Improved server console info command. 2021-10-28 23:19:24 -07:00
Ylian Saint-Hilaire 38c9f5dbdd Added session termination for multiplex desktop sessions. 2021-10-19 14:33:42 -07:00
Ylian Saint-Hilaire bd2e4f4d2b Added session termination feature except for desktop multiplexor. 2021-10-19 11:47:39 -07:00
Ylian Saint-Hilaire 9720f0758e Completed per-device notification support. #3190 2021-10-14 18:21:43 -07:00
Ylian Saint-Hilaire 2a363c0f60 Almost done with per-device notifications. 2021-10-14 16:57:20 -07:00
Ylian Saint-Hilaire 20b17b64b7 More work on device connect/disconnect email notifications. 2021-10-11 09:38:30 -07:00
Ylian Saint-Hilaire 44dec3bf87 Lots of work on email notification of device connect/disconnect. 2021-10-10 12:43:20 -07:00
Ylian Saint-Hilaire 1aacef0b52 MeshCtrl.js devicesharing improvements. 2021-10-08 19:03:51 -07:00
Ylian Saint-Hilaire ecd79e7516 Added account restriction on adding new devices. 2021-10-07 19:55:23 -07:00
Ylian Saint-Hilaire f4cb2bab1e Removed user group remove permissions, #3129. 2021-09-15 08:56:47 -07:00
Ylian Saint-Hilaire 68dfafa739 Started work on user group permission removal, #3129 2021-09-14 17:27:39 -07:00
Ylian Saint-Hilaire 453eb369ee Added device group name to reports. #3130 2021-09-14 15:19:05 -07:00
Ylian Saint-Hilaire 1179f7f63a Started work on user group session recording. #3127 2021-09-13 16:19:30 -07:00
Ylian Saint-Hilaire f67f094d88 user traffic report fix. 2021-09-13 15:16:28 -07:00
Ylian Saint-Hilaire 72da3a683e Fix for reports, #3128 2021-09-13 15:01:36 -07:00
Ylian Saint-Hilaire 508f294858 Added user bandwidth report. 2021-09-12 19:21:25 -07:00
Ylian Saint-Hilaire 663d1fb722 Improved events and reports. 2021-09-12 13:03:03 -07:00
Ylian Saint-Hilaire 902e71a96f Guest sharing fixes. 2021-09-12 11:17:54 -07:00
Ylian Saint-Hilaire dc1c89ee93 Much shorter guest sharing URLs. 2021-09-11 22:58:44 -07:00
Ylian Saint-Hilaire a80af24779 Inter-user messaging fixes. 2021-09-10 21:17:39 -07:00
Ylian Saint-Hilaire 29c34ab5b2 Added inter-user messaging support. 2021-09-10 21:10:01 -07:00
Ylian Saint-Hilaire fa34e72001 Report improvements. 2021-09-10 18:10:25 -07:00
Ylian Saint-Hilaire 9563f34700 Added ManageAllDeviveGroup support in reports. 2021-09-10 17:51:21 -07:00
Ylian Saint-Hilaire ea027d73a1 Reporting improvements. 2021-09-10 17:28:08 -07:00
Ylian Saint-Hilaire 10fe94557b More report fixes. 2021-09-09 14:50:59 -07:00
Ylian Saint-Hilaire 333d7813b9 Improved report totals. 2021-09-09 11:38:26 -07:00
Ylian Saint-Hilaire eb30d40e25 Added desktop session length into event log when multiplexor is used. 2021-09-09 10:37:54 -07:00
Ylian Saint-Hilaire ce8b2a6bd8 Added MySQL/MariaDB support for reports. 2021-09-09 10:09:18 -07:00
Ylian Saint-Hilaire a15a5e779d Started work on reports feature. 2021-09-08 15:55:07 -07:00
Ylian Saint-Hilaire b2905bfe29 More auto device removal fixes. #3089 2021-09-01 22:30:43 -07:00
Ylian Saint-Hilaire 7d25391f78 Improvements for automatic device removal, #3089 2021-09-01 22:21:39 -07:00
Ylian Saint-Hilaire 715f85e720 Guest device shares can now be unlimited time. 2021-08-31 13:40:03 -07:00
Ylian Saint-Hilaire 41ecece9a9 Completed user access rights removal feature, #3065 2021-08-27 14:42:28 -07:00
Ylian Saint-Hilaire 96f7c048f7 Started work on per-user rights removal. 2021-08-27 09:14:11 -07:00
Ylian Saint-Hilaire 9ab6fb5a39 Fix for #3066 2021-08-26 22:04:17 -07:00
Ylian Saint-Hilaire e6b6bd061e Started work on per-user session recording. #3064 2021-08-26 12:42:09 -07:00
Ylian Saint-Hilaire 6798415c92 Added SSH Key support. 2021-08-12 22:52:42 -07:00
Noah Zalev ccb9094217 Factorize myserver upgrade check 2021-08-07 00:20:48 -04:00
Noah Zalev 27a4589306 Factorize myserver errorlog check 2021-08-07 00:10:19 -04:00
Noah Zalev 72cd6e307c Factorize siteadmin svrupdate perm check 2021-08-06 23:37:33 -04:00
Noah Zalev 0addc28f11 Added server command handler functions 2021-08-05 23:51:19 -04:00
Ylian Saint-Hilaire 90c7fc9854 Fixed issue where if first remote desktop user was view-only, it would block all input in desktop multiplexor mode. 2021-08-04 21:12:51 -07:00
Ylian Saint-Hilaire 2281a61e30 Completed device inactive auto-remove feature. 2021-08-04 10:55:33 -07:00
Ylian Saint-Hilaire a45febe864 More lastconnect improvements, added meshid. 2021-08-03 19:28:48 -07:00
Ylian Saint-Hilaire e63e7b54f4 Inactive device removal bug fix. 2021-08-01 10:59:57 -07:00
Ylian Saint-Hilaire 896a613a65 More work on automatic inactive device removal. 2021-08-01 10:54:14 -07:00
Ylian Saint-Hilaire d006dbbff8 More last device connection improvements. 2021-07-31 19:31:47 -07:00
Ylian Saint-Hilaire bc316b01ae Added last connection time and address to device details export. 2021-07-30 18:06:26 -07:00
Ylian Saint-Hilaire d7e41d8366 Added DropAllCira command to server console, #2976 2021-07-30 17:09:35 -07:00
Ylian Saint-Hilaire b96c88f1b4 Added new device details permission. 2021-07-27 14:49:43 -07:00
Ylian Saint-Hilaire e8659b0d9e Added device group name to detailed device export in JSON. 2021-07-27 10:33:33 -07:00
Ylian Saint-Hilaire e55d04a2c6 Last Connect improvements, #2939 2021-07-27 00:13:41 -07:00
Noah Zalev b3be0120fa Added client side handler for lastseen 2021-07-24 23:55:07 -04:00
Noah Zalev 18c367040d Added initial last seen handler function 2021-07-24 23:19:10 -04:00
Noah Zalev da8947d25e Factor out meshuser extraids 2021-07-24 21:57:38 -04:00
Ylian Saint-Hilaire 552520cdc0 Fixed deprecated buffer() usage. 2021-07-24 14:35:55 -07:00
Ylian Saint-Hilaire 821464ae08 Added support for meshctrl --details, #2933 2021-07-24 11:28:55 -07:00
Noah Zalev 669878077d Added meshuser command handler functions 2021-07-20 22:43:13 -04:00
Ylian Saint-Hilaire c9129a2d2f Started work on viewonly remote desktop server option. 2021-07-17 22:16:57 -07:00
Ylian Saint-Hilaire dffafae46e Added option to remove clipboard get/set support. 2021-07-15 13:58:30 -07:00
Ylian Saint-Hilaire 70a6503f6f
Merge pull request #2897 from nzalev/refactoring-meshuser
Refactoring meshuser
2021-07-13 20:45:37 -07:00
Noah Zalev f0d2581b2d Added handler function for getsysinfo 2021-07-13 18:13:52 -04:00
Noah Zalev 34aab9c10a Factor out node id and domain validation 2021-07-13 17:51:54 -04:00
Noah Zalev c4b11d3384 Create handler function for getnetworkinfo 2021-07-13 17:48:08 -04:00
Ylian Saint-Hilaire 11d1fea935 Added debug code for #2892 2021-07-13 11:20:44 -07:00
Ylian Saint-Hilaire 6f26582c0d Fixed invalid function name, #2864 2021-07-11 11:08:30 -07:00
Noah Zalev 65ad724546 Remove unneeded switch labels 2021-07-10 22:59:08 -04:00
Noah Zalev ad6ff11413 meshuser: log uncaught exceptions to mesherrs 2021-07-10 20:14:15 -04:00
Noah Zalev ff4c67da7c Refactor meshuser: initial command handlers 2021-07-10 19:50:36 -04:00
Ylian Saint-Hilaire 913ed9f033 Fix for incorrect MeshMessenger URL when using a multi-domain server. #2882 2021-07-09 15:36:16 -07:00
Noah Zalev 939088bae4 Remove extra command handlers/table 2021-07-08 10:24:11 -04:00
Noah Zalev b05f65d819 Clean meshuser merge 2021-07-08 10:21:13 -04:00
Ylian Saint-Hilaire e9e44101f8 Merge fix. 2021-07-07 19:36:43 -07:00
Ylian Saint-Hilaire 27ceb05e07 Merge fixes. 2021-07-07 19:35:15 -07:00
Ylian Saint-Hilaire db29e74d8d
Merge branch 'master' into refactor-serverconsole 2021-07-07 19:27:57 -07:00
Ylian Saint-Hilaire 591d73cf64 Refactor for #2868 2021-07-07 19:22:18 -07:00
Noah Zalev 3581880117 Remove superfluous arguments 2021-07-07 21:39:53 -04:00
Noah Zalev 809f6ab74d Refactor meshuser - console command obj 2021-07-07 21:26:20 -04:00
Noah Zalev 2addeb78a9 Refactor meshuser - serverconsome cmd handlers 2021-07-07 20:44:02 -04:00
Ylian Saint-Hilaire 148fe804bb Added Intel AMT device import to AMT-only device group. 2021-07-02 16:36:02 -07:00
Ylian Saint-Hilaire 2727c28426 Added missing server console email command to help. 2021-07-01 16:46:39 -07:00
Ylian Saint-Hilaire 85f8db041b Fixed desktop multiplexor view-only mode. 2021-06-30 00:01:44 -07:00
Ylian Saint-Hilaire d4ecae73d9 MeshCentral can now remember RDP credentials. 2021-06-29 17:13:18 -07:00
Ylian Saint-Hilaire 57552aee86 Added editdevice to meshctrl.js 2021-06-11 12:48:43 -07:00
Ylian Saint-Hilaire bf899b2ded Added AV details to device export. 2021-06-11 11:57:05 -07:00
Ylian Saint-Hilaire bfc3126937 Added security data to device export, #2760 2021-06-10 13:54:06 -07:00