Ivan Maslov
67e06960e3
# Add Processot ActivityListVerification to check structure
4 years ago
Ivan Maslov
41b940c600
# Minor name changes in logs
4 years ago
Ivan Maslov
ecce39c234
# Now Activity Item Support "" value for ArgGSettings and ArgLogger
...
# Basic.JSProcessorActivityListAdd - raise exception if Def is not string
# Orchestrator.ProcessorAliasDefUpdate fix if inDef is not a function - raise Exception
# Scheduler major bugfix! It works now!
4 years ago
Ivan Maslov
32278ccde5
New wiki information about Orchestrator module
4 years ago
Ivan Maslov
30f356e36f
# Fix with pseude turple (when , after {})
4 years ago
Ivan Maslov
b740f102f8
Wpy64 install Sphinx, furo (html theme), sphinx-markdown-builder
4 years ago
Ivan Maslov
25b6ba874d
#add sphinx autodoc prototype with __Orchestrator__ guide in eng
4 years ago
Ivan Maslov
b149647594
Add pause trigger to RDPActive when Processor is working!
4 years ago
Ivan Maslov
1f1eaf027c
OrchestratorSave - remove extra info from logs (credentials...)
4 years ago
Ivan Maslov
6cb4705551
Web.Basic> HTMLLink fixes
4 years ago
Ivan Maslov
94b861041a
Remove additional info from ActivityListExecute - no secret info in logs..
4 years ago
Ivan Maslov
f4a147d829
Fix about logger web dump
4 years ago
Ivan Maslov
add5b0d9cb
Fix about logger
4 years ago
Ivan Maslov
73cee5e46f
def ProcessorActivityItemCreate(inDef, inArgList=None, inArgDict=None, inArgGSettingsStr=None, inArgLoggerStr=None): # Create ActivityItem # return dict
...
def ProcessorAliasDefUpdate(inGSettings=inGSettings, inDef=inDef, inAliasStr=lDefAliasStr)
# Create HTMLLink by the def, argdict, arglist, gsettingsStr, logger Str titleStr, color, (execute permanently)
def HTMLLinkDefExecute(inGSettings, inDef, inArgDict=None, inArgList=None, inArgGSettingsStr="", inArgLoggerStr="", inLinkTitleStr=None, inLinkColorStr=""):
# Create HTMLLink by the def, argdict, arglist, gsettingsStr, logger Str titleStr, color, (add in processor queue)
def HTMLLinkDefProcessor(inGSettings, inDef, inArgDict=None, inArgList=None, inArgGSettingsStr="", inArgLoggerStr="", inLinkTitleStr=None, inLinkColorStr=""):
4 years ago
Ivan Maslov
d9cd7b0581
Some fixes in ProcessorAliasDef
4 years ago
Ivan Maslov
1d12d59e8c
- def ProcessorAliasDefCreate(inGSettings, inDef, inAliasStr=None): # Create alias for def (can be used in ActivityItem in field Def)
...
- WEB
/// Add ActivityList in processor queue
mGlobal.pyOpenRPA.ProcessorQueueAdd=function(inActivityList) {
/// Execute ActivityList
mGlobal.pyOpenRPA.ActivityListExecute=function(inActivityList) {
- ORC Defs
def JSActivityListExecute(inActivityList): # Create JS for execute activity list/ activity permanent # USAGE: Orchestrator.Web.Basic.JSActivityListExecute(inActivityList)
def JSProcessorActivityListAdd(inActivityList): # Create JS for send activity list/ activity to the processor # USAGE: Orchestrator.Web.Basic.JSProcessorActivityListAdd(inActivityList)
4 years ago
Ivan Maslov
e6945b4a2a
Add safe init CP when starts
4 years ago
Ivan Maslov
f711586d61
Minimize autocleaner thread
4 years ago
Ivan Maslov
3585cb3946
Orchestrator executable with auto run with admin rights
4 years ago
Ivan Maslov
1c415a34cb
interval from Web front 600ms + OSCredentialsVerify on the back with no logs
4 years ago
Ivan Maslov
6161d43715
CMDStart - display logs in orchestrator :)
4 years ago
Ivan Maslov
fa67b83b77
Change log message about sesitive params - dont show it in logs... Security reasons, because logs can be shown on the web.
4 years ago
Ivan Maslov
d980f0f5d3
Return CPU Settings, fix the ProcessorDict settings
4 years ago
Ivan Maslov
600db3b9c7
Minimize the CPU time in orchestrator
4 years ago
Ivan Maslov
ed4909bd1d
Orc Server minor fixes in RDP List generation
4 years ago
Ivan Maslov
48f9b0960c
Fix Old Processor item
4 years ago
Ivan Maslov
9d054fa905
Fix ESCAPE in Basic Web CP
4 years ago
Ivan Maslov
f618515fc2
Fix Logging BUG with WEB dump
4 years ago
Ivan Maslov
150300de34
FIX MEGA BUG - DONT USE DEFAUL VALUE AS [] or {} - python has been save it between call if arg is not transmitted
4 years ago
Ivan Maslov
f72b20a490
Fix in BC with User URL match list
4 years ago
Ivan Maslov
8487d6e485
Minor fix BC Old Start (DeepMergeDict2to1 FIXES)
4 years ago
Ivan Maslov
f9c2349d67
Minor fix BC Old Start (BC FIXES)
4 years ago
Ivan Maslov
c2643a0c19
Minor fix BC Old Start (BC FIXES)
4 years ago
Ivan Maslov
2a1838f36f
Minor fix BC Old Start
4 years ago
Ivan Maslov
0237db208f
Minor fix BC Old Start
4 years ago
Ivan Maslov
e4a264617b
Minor fix BC Old Start
4 years ago
Ivan Maslov
f733935a4a
Minor fix BC Old Start
4 years ago
Ivan Maslov
242a466944
Minor fix when test after rename
4 years ago
Ivan Maslov
fcb839d97c
Renamin main file to __main file__ because of collisions when import
4 years ago
Ivan Maslov
09ba3c0e86
! Scheduler period activity was suppressed ("TimeHH:MMStart" in lItem and "TimeHH:MMStop")
...
- WEB Connect defs
- def WebURLConnectDef(inGSettings, inMethodStr, inURLStr, inMatchTypeStr, inDef, inContentTypeStr="application/octet-stream"): # Connect URL to DEF
- def WebURLConnectFolder(inGSettings, inMethodStr, inURLStr, inMatchTypeStr, inFolderPathStr): # Connect URL to Folder
- def WebURLConnectFile(inGSettings, inMethodStr, inURLStr, inMatchTypeStr, inFilePathStr, inContentTypeStr="application/octet-stream"): # Connect URL to File
- def RDPTemplateCreate(inLoginStr, inPasswordStr, inHostStr="127.0.0.1", inPortInt = 3389, inWidthPXInt = 1680, inHeightPXInt = 1050, inUseBothMonitorBool = False, inDepthBitInt = 32, inSharedDriveList=["c"]): # Create some RDP template dict to use it when connect/reconnect
- Update def RDPSessionConnect(inGSettings, inRDPSessionKeyStr, inRDPTemplateDict=None, inHostStr=None, inPortStr=None, inLoginStr=None, inPasswordStr=None): # Create new RDPSession in RobotRDPActive. Attention - activity will be ignored if key is exists
- Update def RDPSessionReconnect(inGSettings, inRDPSessionKeyStr, inRDPTemplateDict=None): # RDP Session reconnect
4 years ago
Ivan Maslov
f1f706bca1
- def UACKeyListCheck(inRequest, inRoleKeyList): #Check is client is has access for the key list
...
- def WebUserInfoGet(inRequest): # Return User info about request Return {"DomainUpperStr":"", "UserNameUpperStr": ""}
- def WebUserUACHierarchyGet(inRequest): # Return User UAC Hierarchy DICT Return {...}
- Scheduler
- Refactoring in gSettings (Scheduler > SchedulerDict)
- def SchedulerActivityTimeAddWeekly(inGSettings, inTimeHHMMStr="23:55:", inWeekdayList=[], inActivityList=[]): # Add activity in time weekly
- Scheduler now listen SchedulerDict
- def ProcessorActivityItemAppend(inGSettings, inDef, inArgList=[], inArgDict={}, inArgGSettingsStr=None, inArgLoggerStr=None): # Add Activity item in Processor list
4 years ago
Ivan Maslov
09ae47ac85
- Add Working Dir (CWD) + Orchestrator Version Str in ServerData > UserDict
...
- Orc Web JS - lite refactoring
4 years ago
Ivan Maslov
caf688536a
- Orc new structure for CP: "CPDict": { # "CPKey": {"HTMLRenderDef":None, "JSONGeneratorDef":None, "JSInitGeneratorDef":None}},
...
- - Back: inGSettings["CPDict"][RobotKeyStr]["HTMLRenderDef"] > Front: mGlobal.pyOpenRPA.ServerDataDict.CPDict.RobotKeyStr.HTMLStr
- - Back: inGSettings["CPDict"][RobotKeyStr]["JSONGeneratorDef"] > Front: mGlobal.pyOpenRPA.ServerDataDict.CPDict.RobotKeyStr.JSONDict
- - CPDict > HTMLRenderDef > def (inGSettings); def (inRequest, inGSettings); def ()
- - CPDict > JSONGeneratorDef > def (inGSettings); def (inRequest, inGSettings); def ()
- - CPDict > JSInitGeneratorDef > def (inGSettings); def (inRequest, inGSettings); def ()
Orc connect JSONGenerators to WEB Front (mGlobal.)
- Orc back: add new block: OrchestratorWeb
- - def OrchestratorWebCPUpdate(inGSettings, inCPKeyStr, inHTMLRenderDef=None, inJSONGeneratorDef=None, inJSInitGeneratorDef=None): # Add control panel HTML, JSON generator or JS when page init
4 years ago
Ivan Maslov
4c31b27bf6
- Orc RoleHierarchy - support RDP, Support Agent + buttons
...
Tested!
4 years ago
Ivan Maslov
2e73292fc6
- Orc - add log about send activity to agent
4 years ago
Ivan Maslov
2fc1553c9f
- Agent Add 2 defs:
...
- - def OSFileTextDataStrCreate(inFilePathStr, inFileDataStr, inEncodingStr = "utf-8",inGSettings = None): # Create text file by the string
- - def OSFileBinaryDataBase64StrCreate(inFilePathStr, inFileDataBase64Str,inGSettings = None): # Create binary file by the base64 string (safe for JSON transmition)
-Orc Defs
- - def AgentOSFileBinaryDataBytesCreate(inGSettings, inHostNameStr, inUserStr, inFilePathStr, inFileDataBytes): # Send binary file to Agent (Bytes)
- - def AgentOSFileBinaryDataBase64StrCreate(inGSettings, inHostNameStr, inUserStr, inFilePathStr, inFileDataBase64Str): # Send binary file to Agent (base64 string)
- - def AgentOSFileTextDataStrCreate(inGSettings, inHostNameStr, inUserStr, inFilePathStr, inFileDataStr, inEncodingStr = "utf-8"): # Send text file to Agent (string)
4 years ago
Ivan Maslov
913505ae0e
- - def AgentOSFileDataBytesCreate(inGSettings, inHostNameStr, inUserStr, inFilePathStr, inFileDataBytes): # Send to agent activity item to OSCMD
...
- - def AgentOSFileDataStrCreate(inGSettings, inHostNameStr, inUserStr, inFilePathStr, inFileDataStr, inEncodingStr="utf-8"): # Send to agent activity item to OSCMD
Need to test Agent.FileCreate - has ploblem with transmit bytes on JSON - json dont support bytes string... Need safe encode/decode
4 years ago
Ivan Maslov
2f40c81a72
- Agent: Add Agent defs as Alias in ProcessorDict
...
- Agent Add 2 defs:
- - def OSFileBytesCreate(inFilePathStr, inFileBytes,inGSettings = None): # Send CMD to OS. Result return to log + Orchestrator by the A2O connection
- - def OSCMD(inCMDStr, inRunAsyncBool=True, inGSettings = None): # Send CMD to OS. Result return to log + Orchestrator by the A2O connection
- Orc: Add Agent Defs
- - def AgentActivityItemAdd(inGSettings, inHostNameStr, inUserStr, inActivityItemDict): # Add activity in AgentDict
- - def AgentOSCMD(inGSettings, inHostNameStr, inUserStr, inCMDStr): # Send to agent activity item to OSCMD
- - def AgentOSFileBytesCreate(inGSettings, inHostNameStr, inUserStr, inFilePathStr, inFileBytes): # Send to agent activity item to OSCMD
- Orc WEB: Create mGlobal.pyOpenRPA.ActivityListExecute({}) to test some activities from the front
4 years ago
Ivan Maslov
cbc4b42180
- Orch web: Fix eror in serverDataRender when error render
...
- Agent: Add CMD to kill agent because it is in background mode
- Orch: Add handler to set connection when Agent listen orch (/pyOpenRPA/Agent/O2A)
- Orch start processor Dict in own thread (Processor.ProcessorRunSync(inGSettings))
- Agent: Create Processor in Agent similarly to Orchestrator (pyOpenRPA.Agent.Processor == pyOpenRPA.Orchestrator.Processor)
4 years ago
Ivan Maslov
383fc9b575
- Orch: /pyOpenRPA/ServerData - add sub dict "AgentDict"
...
- Orch WEB: Create Agent render
!NEED TEST!
4 years ago