Ivan Maslov
760e1020d3
Add Tools.Template for work with Jinja2 (need for Studio + Orchestrator web index page)
2 years ago
Ivan Maslov
7866c29480
docs
2 years ago
Ivan Maslov
ed59c4156d
#Mouse wiki done
...
#Keyboard wiki done
2 years ago
Ivan Maslov
52fb23bc1d
Wiki rus in progress
2 years ago
Иван Маслов
01897d7dec
Update WebRequestResponseSend
2 years ago
Ivan Maslov
6cbd22a2c2
fixes
3 years ago
Ivan Maslov
4aa21a68d2
- - Web server add EqualNoParam
3 years ago
Ivan Maslov
90b59f9d9f
ORC: You can change the index page (def WebURLIndexChange)
3 years ago
Ivan Maslov
7fefbe7a18
Add inUseCacheBool in web url connect file / folder + autodetect MIME
3 years ago
Ivan Maslov
cdd418a1bf
# add init_debug
3 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
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
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
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
Ivan Maslov
7a6e961aa8
- Create pyOpenRPA.Agent - just prototype, need test
...
- Create Agent support in Orchestrator (/pyOpenRPA/Agent/O2A and /pyOpenRPA/Agent/A2O)
Just writed prototype - start to 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
2942b7cc70
- Orchestrator WEB GUI update - Administrator mode - add log view - in progress
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
026a152dfc
+- Create Web HTML / JS generators [pyOpenRPA.Orchestrator.Web.Basic]
...
+- - def JSEscapeForHTMLInline(inJSStr): # Escape JS to the safe JS for the inline JS in HTML tags ATTENTION! Use it only if want to paste JS into HTML tag - not in <script>
+- - def HTMLLinkURL(inURLStr, inTitleStr=None, inColorStr=None): # Generate HTML code of the simple URL link by the URL
+- - def HTMLLinkJSOnClick(inJSOnClickStr, inTitleStr, inColorStr=None): # Generate HTML code of the simple URL link by the JS when onclick
4 years ago
Ivan Maslov
a0e85bb795
dev in progress - need update for GUID -do not create it
...
+- Add absolute/relative import for the control panels
+- Add new Orchestrator defs:
+- - def OrchestratorAccessUserUpdate(inGSettings, inADLoginStr, inADStr="", inADIsDefaultBool=True, inURLList=[], inCPAllowKeyList=[]): - Update user access
+- - def OrchestratorAccessSuperTokenAdd(inGSettings, inSuperTokenStr): # Add supertoken for the all access (it is need for the robot communication without human)
4 years ago
Ivan Maslov
921f8f72a2
# Add version check + autorefresh if version was changed (with backward compatibility)
4 years ago
Ivan Maslov
bee96d3596
# Create Orchestrator.RDP defs - need decorator @ProcessorOnly
4 years ago
Ivan Maslov
090754443f
# Updated all old defs in new Orchestrator.<def name>
4 years ago
Ivan Maslov
239a2c6c83
# Test new processor in progress - need new setings template
4 years ago
Ivan Maslov
9a7fc13d9f
# in progress new orchestrator processor
4 years ago
Ivan Maslov
18b98d89d3
v1.1.0 After 2 month test prefinal with new improovements (+RobotRDPActive in Orchestrator + Easy ControlPanelTemplate)
5 years ago
Ivan Maslov
74c355f679
RobotRDPActive: Add Ignore functionality, minor fix
5 years ago
Ivan Maslov
90f2b6a568
#Upgrade python/s
5 years ago
Ivan Maslov
bdd32a6e6c
#1.0.31 in pip
5 years ago
Ivan Maslov
6d442a424e
#New RobotScreenActive + tested
5 years ago
Ivan Maslov
cac1a84c6a
#v1.0.29 RobotRDPActive minor fix in weight height convertation
5 years ago
Ivan Maslov
c71394fa52
#1.0.28 #RobotRDPActive is ready for test
5 years ago
Ivan Maslov
927bda7564
#1.0.26 #Robot bug fix + RDPActive robot
5 years ago
Ivan Maslov
e00eb589ac
#1.0.25 #Safe call #UIDesktop (no Robot.py is needed) #Need test
5 years ago
Ivan Maslov
3abf2b1761
#Refactor result Studio Orchestrator
...
Signed-off-by: Ivan Maslov <Ivan.Maslov@UnicodeLabs.ru>
5 years ago
Ivan Maslov
8d434deb3e
#Refactor part 3
5 years ago