Ivan Maslov
de9f0cc3df
# ORC WEB - Add freeze logs textarea button - tested!
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
1c415a34cb
interval from Web front 600ms + OSCredentialsVerify on the back with no logs
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
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
Ivan Maslov
caeae7c997
- Create new pyOpenRPA UAC Client hierarchy SettingsTemplate.__UACClientAdminCreate__ - need to update functionallity
...
- Orchestrator WEB: Update WEB to the new UACClient
4 years ago
Ivan Maslov
fea3809d85
- Create /pyOpenRPA/ActivityListExecute
...
- Create /pyOpenRPA/Processor
- Orchestrator.OSCMD Listen output and send to logger
- Orchestrator.OSCMD Add 2 input args inLogger + inRunAsyncBool
- WEB Update CMD Input line (tranfer to Log view). Change /Utils/Processor to /pyOpenRPA/ActivityListExecute
- Defs has been added in ProcessorAliasDict as Alias with own def name
- WEB Remove client freeze when back is dead
4 years ago
Ivan Maslov
bde44722e9
# Add new Handler for the log dump - need to refactoring...!!!!
4 years ago
Ivan Maslov
a2eab2389a
- Test URL "/pyOpenRPA/ServerData"
...
- Create new support - CP def can return {"CPKeyStr":{"HTMLStr":"", DataDict:{}}}
- Create CP 2 HTML generator for the backward compatibility
4 years ago
Ivan Maslov
c79c446888
# Add "/pyOpenRPA/ServerData" - in progress
4 years ago
Ivan Maslov
921f8f72a2
# Add version check + autorefresh if version was changed (with backward compatibility)
4 years ago
Ivan Maslov
c7cfa66a62
# minor fixes in basic UAC (because of add 2 buttons in front)
4 years ago
Ivan Maslov
d7dbb8c2f0
# Minor fixes in render RDPList 2
4 years ago
Ivan Maslov
e2c1d3e575
# Test + Add web button + add model in front + Backward compatibility from v1.1.13 + try..except when load CP
4 years ago
Ivan Maslov
5333209528
# Orch ajax optimized # Remove refresh button # remove RDPListControlPanelGet # AddAutocleaner #Add exception if ControlPanel with error # Restart Orch with old RDP List!!! (need test)
4 years ago
Ivan Maslov
73e563e58f
# Lite style update in orchestrator
5 years ago