From 17c73aecdf490c60608bd23ec9e9637517f85a50 Mon Sep 17 00:00:00 2001 From: Schwirg László Date: Fri, 12 Jan 2024 10:44:20 +0100 Subject: [PATCH] Vrh.Web.Reporting v1.3.0 --- Vrh.OneMessage/OneMessage.cs | 4 +++- Vrh.OneMessage/OneMessageParameters.cs | 102 +++++++++++++++++++++++------------------------------------------------------------------------------- Vrh.OneMessage/Vrh.OneMessage.csproj | 4 ++-- Vrh.OneMessage/packages.config | 2 +- Vrh.OneReport/ReportService.cs | 12 ++++++------ Vrh.OneReport/Vrh.OneReport.csproj | 4 ++-- Vrh.OneReport/packages.config | 2 +- Vrh.Web.OneReport.Lib/Vrh.Web.OneReport.Lib.csproj | 8 ++++---- Vrh.Web.OneReport.Lib/packages.config | 4 ++-- Vrh.Web.Reporting/Areas/OneMessage/Controllers/OneMessageController.cs | 76 ---------------------------------------------------------------------------- Vrh.Web.Reporting/Areas/OneMessage/OneMessageAreaRegistration.cs | 24 ------------------------ Vrh.Web.Reporting/Properties/AssemblyInfo.cs | 6 +++--- Vrh.Web.Reporting/Vrh.Web.Reporting.csproj | 100 +++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------- Vrh.Web.Reporting/Web.config | 8 ++++---- Vrh.Web.Reporting/packages.config | 14 +++++++------- Vrh.Web.iScheduler.Lib/Areas/iScheduler/Controllers/iSchedulerController.cs | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------- Vrh.Web.iScheduler.Lib/Areas/iScheduler/Models/iSchedulerModel.cs | 38 ++++++++++++++++++++++++++++++++++++++ Vrh.Web.iScheduler.Lib/Vrh.Web.iScheduler.Lib.csproj | 8 ++++---- Vrh.Web.iScheduler.Lib/packages.config | 4 ++-- Vrh.Web.iScheduler.Report.Lib/Areas/iSchedulerReport/Controllers/iSchedulerReportController.cs | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----- Vrh.Web.iScheduler.Report.Lib/Vrh.Web.iScheduler.Report.Lib.csproj | 8 ++++---- Vrh.Web.iScheduler.Report.Lib/packages.config | 4 ++-- Vrh.iScheduler.Report/SchedulerPlugin.cs | 17 ++++++++++------- Vrh.iScheduler.Report/Vrh.iScheduler.Report.csproj | 4 ++-- Vrh.iScheduler.Report/packages.config | 2 +- Vrh.iScheduler/ScheduleExecute.cs | 3 ++- Vrh.iScheduler/SchedulerWordCodes.cs | 249 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------------------------- Vrh.iScheduler/Vrh.iScheduler.csproj | 8 ++++---- Vrh.iScheduler/packages.config | 4 ++-- iSchedulerMonitor/Plugins.Config.xml | 2 ++ iSchedulerMonitor/iSchedulerMonitor.ACPlugin.csproj | 28 ++++++++++++++-------------- iSchedulerMonitor/packages.config | 6 +++--- 32 files changed, 469 insertions(+), 469 deletions(-) delete mode 100644 Vrh.Web.Reporting/Areas/OneMessage/Controllers/OneMessageController.cs delete mode 100644 Vrh.Web.Reporting/Areas/OneMessage/OneMessageAreaRegistration.cs diff --git a/Vrh.OneMessage/OneMessage.cs b/Vrh.OneMessage/OneMessage.cs index ec52964..5e22011 100644 --- a/Vrh.OneMessage/OneMessage.cs +++ b/Vrh.OneMessage/OneMessage.cs @@ -98,7 +98,9 @@ namespace Vrh.OneMessage } this.MessageId = pars.MessageId; - var xmlc = new XmlConnection(pars.XmlConnectionString, Constants.DEFAULT_CONFIGNAME, XmlConnection.DefaultTypes.ConfigurationName); + var xmlcs = pars.XmlConnectionString; + if (string.IsNullOrWhiteSpace(xmlcs)) { xmlcs = $"config={Constants.DEFAULT_CONFIGNAME};"; } + var xmlc = new XmlConnection(xmlcs); using (var omxp = new OneMessageXmlParser(xmlc, pars.AppPath, pars.LCID, pars.Parameters, pars.MessageId, pars.Delivery)) { #region Combining external parameters with xml structure diff --git a/Vrh.OneMessage/OneMessageParameters.cs b/Vrh.OneMessage/OneMessageParameters.cs index 5915d52..1d949fa 100644 --- a/Vrh.OneMessage/OneMessageParameters.cs +++ b/Vrh.OneMessage/OneMessageParameters.cs @@ -110,94 +110,38 @@ namespace Vrh.OneMessage /// /// Példány létrehozása a két szótár alapján. /// - /// Alap paraméterek szótára. - /// Egyéb paramáterek szótára. + /// + /// Alap paraméterek szótára. + /// Egyéb paramáterek szótára. /// /// Ha /// - public OneMessageParameters(Dictionary basicparameters, Dictionary extraparameters) + public OneMessageParameters(List> firstlist, List> secondlist=null, string apppath="") { - if (basicparameters != null && basicparameters.Count() > 0) + this.AppPath = apppath; if (string.IsNullOrEmpty(this.AppPath)) { this.AppPath = ""; } + var EMPTYLIST = new List>(); + var allparameters = (firstlist ?? EMPTYLIST).Concat(secondlist ?? EMPTYLIST); + foreach (var item in allparameters) { - foreach (KeyValuePair item in basicparameters) + if (string.IsNullOrWhiteSpace(item.Key)) continue; + var value = item.Value; + switch (item.Key) { - this.Add(item.Key, item.Value); - } - } - if (extraparameters != null && extraparameters.Count() > 0) - { - foreach (KeyValuePair item in extraparameters) - { - this.Add(item.Key, item.Value); + case Constants.UParam.XML: this.XmlConnectionString = value; break; + case Constants.UParam.LCID: this.LCID = value; break; + case Constants.UParam.MSGID: this.MessageId = value; break; + case Constants.UParam.DELIVERY: this.Delivery = value; break; + case Constants.UParam.SENDAS: this.SendAs = value; break; + case Constants.UParam.CONNSTR: this.ConnectionString = value; break; + case Constants.UParam.SENDCOPYTO: this.SendCopyTo = value; break; + case Constants.UParam.SENDTO: this.SendTo = value; break; + case Constants.UParam.SUBJECT: this.Subject = value; break; + case Constants.UParam.MSGBODY: this.MessageBody = value; break; + case Constants.UParam.ATTACHMENTS: this.Attachments = value; break; + default: if (Parameters.ContainsKey(item.Key)) { this.Parameters[item.Key] = value; } else { Parameters.Add(item.Key, value); } break; } } } #endregion Constructors - - #region Add public method - /// - /// Érték hozzáadása az osztályhoz. Ha nevű - /// tulajdonság létezik, akkor az megkapja a - /// értékét, ha nem létezik, akkor a névvel együtt - /// bekerül a Parameters gyűjteménybe, mely egy string,string típusú Dictionary. - /// Már létező paraméter vagy korábban értéket kapott tulajdonság értéke felülíródik. - /// - /// A tulajdonságra vagy paraméterre jellemző elnevezés. - /// A tulajdonság vagy paraméter értéke. - /// - /// Ha key üres vagy null, akkor nem történik semmi. - /// - public void Add(string key, string value) - { - if (string.IsNullOrWhiteSpace(key)) return; - - switch (key) - { - case Constants.UParam.XML: - this.XmlConnectionString = value; - break; - case Constants.UParam.LCID: - this.LCID = value; - break; - case Constants.UParam.MSGID: - this.MessageId= value; - break; - case Constants.UParam.DELIVERY: - this.Delivery = value; - break; - case Constants.UParam.SENDAS: - this.SendAs= value; - break; - case Constants.UParam.CONNSTR: - this.ConnectionString= value; - break; - case Constants.UParam.SENDCOPYTO: - this.SendCopyTo = value; - break; - case Constants.UParam.SENDTO: - this.SendTo= value; - break; - case Constants.UParam.SUBJECT: - this.Subject= value; - break; - case Constants.UParam.MSGBODY: - this.MessageBody = value; - break; - case Constants.UParam.ATTACHMENTS: - this.Attachments= value; - break; - default: - if (Parameters.ContainsKey(key)) - { - this.Parameters[key] = value; - } - else - { - Parameters.Add(key, value); - } - break; - } - } - #endregion Add public method } } diff --git a/Vrh.OneMessage/Vrh.OneMessage.csproj b/Vrh.OneMessage/Vrh.OneMessage.csproj index 398131d..877926b 100644 --- a/Vrh.OneMessage/Vrh.OneMessage.csproj +++ b/Vrh.OneMessage/Vrh.OneMessage.csproj @@ -62,8 +62,8 @@ ..\packages\VRH.Common.3.0.0\lib\net45\VRH.Common.EF.dll - - ..\packages\Vrh.XmlProcessing.1.32.0\lib\net45\Vrh.XmlProcessing.dll + + ..\packages\Vrh.XmlProcessing.2.0.7\lib\net45\Vrh.XmlProcessing.dll diff --git a/Vrh.OneMessage/packages.config b/Vrh.OneMessage/packages.config index 0761d2f..a359722 100644 --- a/Vrh.OneMessage/packages.config +++ b/Vrh.OneMessage/packages.config @@ -2,5 +2,5 @@ - + \ No newline at end of file diff --git a/Vrh.OneReport/ReportService.cs b/Vrh.OneReport/ReportService.cs index 60d6da8..b5aee64 100644 --- a/Vrh.OneReport/ReportService.cs +++ b/Vrh.OneReport/ReportService.cs @@ -156,7 +156,8 @@ namespace Vrh.OneReport checklcid = string.IsNullOrWhiteSpace(checklcid) ? lcid : checklcid.Trim(); if (checklcid == "*") checklcid = ""; - var xmlcDir = new XmlConnection(xml, Constants.DEFAULT_CONFIG, XmlConnection.DefaultTypes.ConfigurationName); + if (string.IsNullOrWhiteSpace(xml)) { xml = $"config={Constants.DEFAULT_CONFIG};"; } + var xmlcDir = new XmlConnection(xml); using (var directory = new DirectoryXmlParser(xmlcDir, m_BasePath, lcid, otherVars)) { var reportNamesArray = reportNames.Split(','); @@ -218,7 +219,8 @@ namespace Vrh.OneReport listlcid = string.IsNullOrWhiteSpace(listlcid) ? lcid : listlcid.Trim(); if (listlcid == "*") listlcid = null; - var xmlcDir = new XmlConnection(xml, Constants.DEFAULT_CONFIG, XmlConnection.DefaultTypes.ConfigurationName); + if (string.IsNullOrWhiteSpace(xml)) { xml = $"config={Constants.DEFAULT_CONFIG};"; } + var xmlcDir = new XmlConnection(xml); using (var directory = new DirectoryXmlParser(xmlcDir, m_BasePath, lcid, otherVars)) { return directory.List(listmode, listlcid, reportId); @@ -274,10 +276,8 @@ namespace Vrh.OneReport { try { - var xmlc = new XmlConnection( - xmlConnectionString, - Constants.DEFAULT_CONFIG, - XmlConnection.DefaultTypes.ConfigurationName); + if (string.IsNullOrWhiteSpace(xmlConnectionString)) { xmlConnectionString = $"config={Constants.DEFAULT_CONFIG};"; } + var xmlc = new XmlConnection(xmlConnectionString); if (string.IsNullOrWhiteSpace(xmlc.ConfigurationName)) { throw new Exception(ERR_CONFIGITEMREQUIRED); } this.Report = new OneReportXmlParser(xmlc, m_BasePath, lcid, otherVars); } diff --git a/Vrh.OneReport/Vrh.OneReport.csproj b/Vrh.OneReport/Vrh.OneReport.csproj index 7f22ce9..84f6845 100644 --- a/Vrh.OneReport/Vrh.OneReport.csproj +++ b/Vrh.OneReport/Vrh.OneReport.csproj @@ -103,8 +103,8 @@ ..\packages\VRH.Log4Pro.MultiLanguageManager.3.21.3\lib\net45\VRH.Log4Pro.MultiLanguageManager.dll - - ..\packages\Vrh.XmlProcessing.1.32.0\lib\net45\Vrh.XmlProcessing.dll + + ..\packages\Vrh.XmlProcessing.2.0.7\lib\net45\Vrh.XmlProcessing.dll diff --git a/Vrh.OneReport/packages.config b/Vrh.OneReport/packages.config index faa3d6a..66c24fd 100644 --- a/Vrh.OneReport/packages.config +++ b/Vrh.OneReport/packages.config @@ -10,5 +10,5 @@ - + \ No newline at end of file diff --git a/Vrh.Web.OneReport.Lib/Vrh.Web.OneReport.Lib.csproj b/Vrh.Web.OneReport.Lib/Vrh.Web.OneReport.Lib.csproj index 9a305b1..5d14aec 100644 --- a/Vrh.Web.OneReport.Lib/Vrh.Web.OneReport.Lib.csproj +++ b/Vrh.Web.OneReport.Lib/Vrh.Web.OneReport.Lib.csproj @@ -111,11 +111,11 @@ ..\packages\VRH.Log4Pro.MultiLanguageManager.3.21.3\lib\net45\VRH.Log4Pro.MultiLanguageManager.dll True - - ..\packages\Vrh.Web.Common.Lib.2.20.2\lib\net451\Vrh.Web.Common.Lib.dll + + ..\packages\Vrh.Web.Common.Lib.2.20.3\lib\net451\Vrh.Web.Common.Lib.dll - - ..\packages\Vrh.XmlProcessing.1.32.0\lib\net45\Vrh.XmlProcessing.dll + + ..\packages\Vrh.XmlProcessing.2.0.7\lib\net45\Vrh.XmlProcessing.dll diff --git a/Vrh.Web.OneReport.Lib/packages.config b/Vrh.Web.OneReport.Lib/packages.config index 1176604..fbb55de 100644 --- a/Vrh.Web.OneReport.Lib/packages.config +++ b/Vrh.Web.OneReport.Lib/packages.config @@ -11,6 +11,6 @@ - - + + \ No newline at end of file diff --git a/Vrh.Web.Reporting/Areas/OneMessage/Controllers/OneMessageController.cs b/Vrh.Web.Reporting/Areas/OneMessage/Controllers/OneMessageController.cs deleted file mode 100644 index 656a022..0000000 --- a/Vrh.Web.Reporting/Areas/OneMessage/Controllers/OneMessageController.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.Mvc; -using System.Collections; - -using VRH.Common; -using Vrh.Web.Common.Lib; -using Vrh.OneMessage; - -namespace Vrh.Web.OneMessage.Areas.OneMessage.Controllers -{ - public class OneMessageController : BaseController - { - #region SendSMTPMessage action - /// - /// Vrh.OneMessage SMTP küldés belépési pontja. - /// - /// - [HttpPost] - public ActionResult SendSMTPMessage(string[][] paramlist = null) - { - var rij = new ReturnInfoJSON(); - try - { - base.ParameterSeparating(typeof(Constants.UParam)); - base.ParameterSeparating(paramlist, typeof(Constants.UParam)); - - #region LCID beállítása - if (String.IsNullOrWhiteSpace(base.RequestedParameters[Constants.UParam.LCID])) - { // A ForcedLanguageCode a BaseController konstruktorában megkapja a MultiLanguageManager.RelevantLanguageCode-ot - base.RequestedParameters[Constants.UParam.LCID] = base.ForcedLanguageCode; - } - else - { - base.ForcedLanguageCode = base.RequestedParameters[Constants.UParam.LCID]; - } - #endregion LCID beállítása - - #region MessageId meglétének ellenőrzése - if (string.IsNullOrWhiteSpace(base.RequestedParameters[Constants.UParam.MSGID])) - { - throw new Exception($"Az '{Constants.UParam.MSGID}' URL paraméter hiányzik!"); - } - #endregion MessageId meglétének ellenőrzése - - var parameters = new OneMessageParameters(base.RequestedParameters, base.OtherParameters) - { - AppPath = Server.MapPath(WebCommon.SIGN_RELATIVE) - }; - - var om = new Vrh.OneMessage.OneMessage(parameters); - - if (om.ErrorList.Count == 0) - { //ha nem volt hiba a feldolgozás közben, következhet a küldés - om.SendMessage(); - rij.ReturnValue = 0; - rij.ReturnMessage = "Az üzenet elküldése sikeresen megtörtént."; - } - else - { - rij.ReturnValue = -1; - rij.ReturnMessage = string.Join(WebCommon.HTML_NEWLINE, om.ErrorList); - } - } - catch (Exception ex) - { - rij.ReturnValue = -1; - rij.ReturnMessage = string.Join(WebCommon.HTML_NEWLINE, WebCommon.ErrorListBuilder(ex)); - } - return Json(rij, JsonRequestBehavior.AllowGet); - } - #endregion SendSMTPMessage action - } -} diff --git a/Vrh.Web.Reporting/Areas/OneMessage/OneMessageAreaRegistration.cs b/Vrh.Web.Reporting/Areas/OneMessage/OneMessageAreaRegistration.cs deleted file mode 100644 index 5ad2864..0000000 --- a/Vrh.Web.Reporting/Areas/OneMessage/OneMessageAreaRegistration.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.Web.Mvc; - -namespace Vrh.Web.OneMessage.Areas.OneMessage -{ - public class OneMessageAreaRegistration : AreaRegistration - { - public override string AreaName - { - get - { - return "OneMessage"; - } - } - - public override void RegisterArea(AreaRegistrationContext context) - { - context.MapRoute( - "OneMessage_default", - "OneMessage/{controller}/{action}/{id}", - new { action = "Index", id = UrlParameter.Optional } - ); - } - } -} \ No newline at end of file diff --git a/Vrh.Web.Reporting/Properties/AssemblyInfo.cs b/Vrh.Web.Reporting/Properties/AssemblyInfo.cs index 1f803df..863ad8c 100644 --- a/Vrh.Web.Reporting/Properties/AssemblyInfo.cs +++ b/Vrh.Web.Reporting/Properties/AssemblyInfo.cs @@ -36,6 +36,6 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.1.0")] -[assembly: AssemblyFileVersion("1.2.1.0")] -[assembly: AssemblyInformationalVersion("1.2.1")] +[assembly: AssemblyVersion("1.3.0.0")] +[assembly: AssemblyFileVersion("1.3.0.0")] +[assembly: AssemblyInformationalVersion("1.3.0")] diff --git a/Vrh.Web.Reporting/Vrh.Web.Reporting.csproj b/Vrh.Web.Reporting/Vrh.Web.Reporting.csproj index 1172fe7..7b22130 100644 --- a/Vrh.Web.Reporting/Vrh.Web.Reporting.csproj +++ b/Vrh.Web.Reporting/Vrh.Web.Reporting.csproj @@ -293,32 +293,32 @@ ..\packages\VRH.Log4Pro.WebTools.1.12.5\lib\net451\VRH.Log4Pro.WebTools.dll - - ..\packages\Vrh.Logger.3.0.9\lib\net451\Vrh.Logger.dll + + ..\packages\Vrh.Logger.3.1.0\lib\net451\Vrh.Logger.dll ..\packages\Vrh.Membership.4.13.0\lib\net451\Vrh.Membership.dll - - ..\packages\Vrh.Web.Common.Lib.2.20.2\lib\net451\Vrh.Web.Common.Lib.dll + + ..\packages\Vrh.Web.Common.Lib.2.20.3\lib\net451\Vrh.Web.Common.Lib.dll - - ..\packages\Vrh.Web.FileManager.1.5.1\lib\net462\Vrh.Web.FileManager.Lib.dll + + ..\packages\Vrh.Web.FileManager.1.6.0\lib\net462\Vrh.Web.FileManager.Lib.dll - - ..\packages\Vrh.Web.Membership.4.10.0\lib\net451\Vrh.Web.Membership.Lib.dll + + ..\packages\Vrh.Web.Membership.4.11.0\lib\net451\Vrh.Web.Membership.Lib.dll - - ..\packages\Vrh.Web.Menu.1.28.5\lib\net451\Vrh.Web.Menu.Lib.dll + + ..\packages\Vrh.Web.Menu.1.29.0\lib\net451\Vrh.Web.Menu.Lib.dll ..\packages\VRH.Web.Providers.2.0.2\lib\net451\Vrh.Web.Providers.dll - - ..\packages\Vrh.WebForm.2.7.1\lib\net462\Vrh.WebForm.Lib.dll + + ..\packages\Vrh.WebForm.2.8.0\lib\net462\Vrh.WebForm.Lib.dll - - ..\packages\Vrh.XmlProcessing.1.32.0\lib\net45\Vrh.XmlProcessing.dll + + ..\packages\Vrh.XmlProcessing.2.0.7\lib\net45\Vrh.XmlProcessing.dll ..\packages\WebActivatorEx.2.2.0\lib\net40\WebActivatorEx.dll @@ -338,8 +338,6 @@ - - Global.asax @@ -689,6 +687,10 @@ + + + + @@ -736,6 +738,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + Always @@ -868,16 +894,6 @@ - - - - - - - - - - @@ -934,6 +950,7 @@ + @@ -941,11 +958,6 @@ - - - - - @@ -958,29 +970,9 @@ - - - - - - - - - - - - - - - - - - - - @@ -1223,6 +1215,12 @@ + + + + + + Always diff --git a/Vrh.Web.Reporting/Web.config b/Vrh.Web.Reporting/Web.config index 7eb0ff0..307384a 100644 --- a/Vrh.Web.Reporting/Web.config +++ b/Vrh.Web.Reporting/Web.config @@ -41,10 +41,10 @@ - - - - + + + + diff --git a/Vrh.Web.Reporting/packages.config b/Vrh.Web.Reporting/packages.config index b5219b7..188730f 100644 --- a/Vrh.Web.Reporting/packages.config +++ b/Vrh.Web.Reporting/packages.config @@ -105,15 +105,15 @@ - + - - - - + + + + - - + + \ No newline at end of file diff --git a/Vrh.Web.iScheduler.Lib/Areas/iScheduler/Controllers/iSchedulerController.cs b/Vrh.Web.iScheduler.Lib/Areas/iScheduler/Controllers/iSchedulerController.cs index 5f89999..6f3b5ee 100644 --- a/Vrh.Web.iScheduler.Lib/Areas/iScheduler/Controllers/iSchedulerController.cs +++ b/Vrh.Web.iScheduler.Lib/Areas/iScheduler/Controllers/iSchedulerController.cs @@ -147,11 +147,9 @@ namespace Vrh.Web.iScheduler.Areas.iScheduler.Controllers #endif #endregion DEBUG base.ParameterSeparating(typeof(MandatoryUrlParams_ManagerAction)); - var xmlc = new XmlConnection( - base.RequestedParameters[MandatoryUrlParams_ManagerAction.XML], - SchConst.DEFAULT_XMLCONFIGNAME, - XmlConnection.DefaultTypes.ConfigurationName - ); + var xmlcs = base.RequestedParameters[MandatoryUrlParams_ManagerAction.XML]; + if (string.IsNullOrWhiteSpace(xmlcs)) { xmlcs = $"config={SchConst.DEFAULT_XMLCONFIGNAME};"; } + var xmlc = new XmlConnection(xmlcs); var x = Server.MapPath(""); var isxp = new SchedulerXmlParser( xmlc, @@ -483,6 +481,81 @@ namespace Vrh.Web.iScheduler.Areas.iScheduler.Controllers } #endregion ShowStateMessage action + #region ScheduleExecute action + + //http://192.168.64.122/Log4ProIS-REPORTING/iScheduler/iScheduler/ScheduleExecute?xml=config%3dALMiSchedulerReport%3b&scheduleid=1 + [HttpGet] + //[ValidateAntiForgeryToken] + public ActionResult ScheduleExecuteGet(string xml, int scheduleid, bool formatreturnmessage = false) { return _ScheduleExecute(xml, scheduleid, formatreturnmessage); } + [HttpPost] + public ActionResult ScheduleExecute(string xml, int scheduleid, bool formatreturnmessage = false) { return _ScheduleExecute(xml, scheduleid, formatreturnmessage); } + private ActionResult _ScheduleExecute(string xml, int scheduleid, bool formatreturnmessage = false) + { + string thisfn = "iScheduler.ScheduleExecute POST: "; + System.Diagnostics.Debug.WriteLine($"{thisfn} PING"); + base.ParameterSeparating(typeof(MandatoryUrlParams_EditorAction)); + + ReturnInfoJSON rijson = new ReturnInfoJSON(); + string message = ""; + try + { + using (var se = new ScheduleExecute(xml, base.BaseFolder, base.ForcedLanguageCode)) { se.Run(scheduleid, true); } + rijson.ReturnValue = 0; + } + catch (Exception ex) + { + rijson.ReturnValue = -1; + message = BuildResultMessage(String.Join(WebCommon.HTML_NEWLINE, WebCommon.ErrorListBuilder(ex))); + //dialogSize = "xl"; + } + SchedulerModel ism = SchedulerModel.LoadModel(LoadSQLConnectionString(xml), scheduleid); + if (ism == null) { base.ThrEx(typeof(SchedulerWordCodes.iScheduler.Error.NotFoundSchedule), scheduleid); } + + string header = base.Mlmgt(typeof(SchedulerWordCodes.iScheduler.Execute.ActionIsCompleted)); + string headerformatted = $"{header}
"; + string firstrowtemplate = $"" + + $""; + string onerowtemplate = ""; + string footer = "
{base.Mlmgt(typeof(SchedulerWordCodes.iScheduler.Execute.ColName))}{base.Mlmgt(typeof(SchedulerWordCodes.iScheduler.Execute.ColVal))}
{0}{1}
"; + rijson.ReturnMessage = String.Join( + headerformatted, firstrowtemplate, + string.Format(onerowtemplate, "xml", xml), + string.Format(onerowtemplate, "GroupId", ism.ObjectGroupId), + string.Format(onerowtemplate, "ObjectId", $"{ism.ObjectIdText}(id={ism.ObjectIdValue})"), + string.Format(onerowtemplate, "TimeStamp", ism.OperationTime), + string.Format(onerowtemplate, "Message", ism.IsExistReturnMessage? ism.ReturnMessage: "-"), + (string.IsNullOrWhiteSpace(message)?"":string.Format(onerowtemplate, "E X C E P T I O N", message)), + footer + ); + if (!formatreturnmessage) + { + rijson.ReturnMessage = rijson.ReturnMessage + .Replace("
", ";").Replace("
", ";").Replace("", "").Replace("
", "").Replace("", "") + .Replace("", "=").Replace("", "=") + .Replace("", ",").Replace("", ",") + .Replace("", "").Replace("", "").Replace("", ""); + } + return Json(rijson, JsonRequestBehavior.AllowGet); + } + private string LoadSQLConnectionString(string xmlcs) + { + if (string.IsNullOrWhiteSpace((string)xmlcs)) { xmlcs = $"config={SchConst.DEFAULT_XMLCONFIGNAME};"; } + var xmlc = new XmlConnection(xmlcs); + using (var isxp = new SchedulerXmlParser( + xmlc, HttpContext.Server.MapPath(WebCommon.SIGN_RELATIVE), + base.ForcedLanguageCode, base.OtherParameters, + base.RequestedParameters[MandatoryUrlParams_EditorAction.GROUPID])) + { + var ism = new SchedulerModel(isxp) + { //ObjectType és ObjectGroupId a példányosításkor értéket kap. És az Id=0. + BootboxId = base.RequestedParameters[MandatoryUrlParams_EditorAction.BOOTBOXID], + StateFilterList = m_States.FilterList + }; + return ism.ConnectionString; + } + } + #endregion ScheduleExecute action + #region Editor action #region Editor GET @@ -513,8 +586,9 @@ namespace Vrh.Web.iScheduler.Areas.iScheduler.Controllers { base.ThrEx(typeof(SchedulerWordCodes.iScheduler.Error.BootboxIdEmpty)); } - var xmlc = new XmlConnection(base.RequestedParameters[MandatoryUrlParams_EditorAction.XML], - SchConst.DEFAULT_XMLCONFIGNAME, XmlConnection.DefaultTypes.ConfigurationName); + var xmlcs = base.RequestedParameters[MandatoryUrlParams_EditorAction.XML]; + if (string.IsNullOrWhiteSpace(xmlcs)) { xmlcs = $"config={SchConst.DEFAULT_XMLCONFIGNAME};"; } + var xmlc = new XmlConnection(xmlcs); using (var isxp = new SchedulerXmlParser( xmlc, HttpContext.Server.MapPath(WebCommon.SIGN_RELATIVE), base.ForcedLanguageCode, base.OtherParameters, @@ -549,36 +623,7 @@ namespace Vrh.Web.iScheduler.Areas.iScheduler.Controllers ism.ScheduleType = SchConst.ScheduleTypes.Single; ism.State = ScheduleStates.Active; } - else //módosítás - { - using (var db = new SchedulerDB(ism.ConnectionString)) - { - Schedule schdl = db.Schedules.FirstOrDefault(x => x.Id == ism.Id); - if (schdl == null) - { - base.ThrEx(typeof(SchedulerWordCodes.iScheduler.Error.NotFoundSchedule), id); - } - - ism.ObjectIdValue = schdl.ScheduleObject.ObjectId; - ism.ObjectIdText = schdl.ScheduleObject.ObjectName; - ism.OperationIdValue = schdl.ScheduleOperation.OperationId; - ism.OperationIdText = schdl.ScheduleOperation.OperationName; - ism.OperationTime = schdl.OperationTime; - ism.State = schdl.State; - ism.IsExistReturnMessage = !string.IsNullOrWhiteSpace(schdl.ReturnMessage); - ism.SeriesId = schdl.ScheduleSeriesId; - if (schdl.ScheduleSeriesOne == null) - { - ism.ScheduleType = SchConst.ScheduleTypes.Single; - } - else - { - ism.ScheduleType = schdl.ScheduleSeriesOne.SeriesType; - ism.SeriesName = schdl.ScheduleSeriesOne.SeriesName; - ism.SeriesColor = schdl.ScheduleSeriesOne.SeriesColor; - } - } - } + else { ism = ism.LoadModel(); }//módosítás ism.StateTranslate = m_States.GetName(ism.State); ism.PreviousScheduleType = ism.ScheduleType; return PartialView(SchConst.Views.EDITOR, ism); @@ -919,8 +964,9 @@ namespace Vrh.Web.iScheduler.Areas.iScheduler.Controllers { System.Diagnostics.Debug.WriteLine("Vrh.iScheduler.iSchedulerController.CheckSchedule: START"); base.ParameterSeparating(typeof(MandatoryUrlParams_CheckSchedule)); - var xmlc = new XmlConnection(base.RequestedParameters[MandatoryUrlParams_CheckSchedule.XML], - SchConst.DEFAULT_XMLCONFIGNAME, XmlConnection.DefaultTypes.ConfigurationName); + var xmlcs = base.RequestedParameters[MandatoryUrlParams_CheckSchedule.XML]; + if (string.IsNullOrWhiteSpace(xmlcs)) { xmlcs = $"config={SchConst.DEFAULT_XMLCONFIGNAME};"; } + var xmlc = new XmlConnection(xmlcs); using (var isxp = new SchedulerXmlParser( xmlc, HttpContext.Server.MapPath(WebCommon.SIGN_RELATIVE), base.ForcedLanguageCode, base.OtherParameters)) diff --git a/Vrh.Web.iScheduler.Lib/Areas/iScheduler/Models/iSchedulerModel.cs b/Vrh.Web.iScheduler.Lib/Areas/iScheduler/Models/iSchedulerModel.cs index 6f2fc72..1fae24f 100644 --- a/Vrh.Web.iScheduler.Lib/Areas/iScheduler/Models/iSchedulerModel.cs +++ b/Vrh.Web.iScheduler.Lib/Areas/iScheduler/Models/iSchedulerModel.cs @@ -99,6 +99,11 @@ namespace Vrh.Web.iScheduler public bool IsExistReturnMessage { get; set; } = false; /// + /// Az ütemezésben rögzített visszatérő üzenet, akkor annak megjelenítése. + /// + public string ReturnMessage { get; set; } = ""; + + /// /// Ha az ütemezés egy sorozat tagja, akkor annak azonosítója. /// [DisplayNameWithTrueWordCodes(typeof(SchedulerWordCodes.iScheduler.Manager.Label.SeriesId))] @@ -310,6 +315,39 @@ namespace Vrh.Web.iScheduler #endregion Constructor #region Public methods + public SchedulerModel LoadModel() { return _LoadModel(null, 0, this); } + public static SchedulerModel LoadModel(string sqlconnectionstring, int scheduleid) { return _LoadModel(sqlconnectionstring, scheduleid,null); } + private static SchedulerModel _LoadModel(string sqlconnectionstring, int scheduleid, SchedulerModel existingmodel) + { + if (existingmodel == null) { existingmodel = new SchedulerModel(); } + else { sqlconnectionstring = existingmodel.ConnectionString; scheduleid = existingmodel.Id; } + if (string.IsNullOrWhiteSpace(sqlconnectionstring) || scheduleid<=0) return null; + using (var db = new SchedulerDB(sqlconnectionstring)) + { + Schedule schdl = db.Schedules.FirstOrDefault(x => x.Id == scheduleid); + if (schdl == null) return null; + + existingmodel.ObjectIdValue = schdl.ScheduleObject.ObjectId; + existingmodel.ObjectIdText = schdl.ScheduleObject.ObjectName; + existingmodel.OperationIdValue = schdl.ScheduleOperation.OperationId; + existingmodel.OperationIdText = schdl.ScheduleOperation.OperationName; + existingmodel.OperationTime = schdl.OperationTime; + existingmodel.State = schdl.State; + existingmodel.IsExistReturnMessage = !string.IsNullOrWhiteSpace(schdl.ReturnMessage); + existingmodel.ReturnMessage = schdl.ReturnMessage; + existingmodel.SeriesId = schdl.ScheduleSeriesId; + existingmodel.ObjectGroupId = schdl.ScheduleObject.ObjectGroupId; + + if (schdl.ScheduleSeriesOne == null) { existingmodel.ScheduleType = SchConst.ScheduleTypes.Single; } + else + { + existingmodel.ScheduleType = schdl.ScheduleSeriesOne.SeriesType; + existingmodel.SeriesName = schdl.ScheduleSeriesOne.SeriesName; + existingmodel.SeriesColor = schdl.ScheduleSeriesOne.SeriesColor; + } + } + return existingmodel; + } /// /// Kötelező kitöltésre figyelmeztető üzenetet ad vissza. /// diff --git a/Vrh.Web.iScheduler.Lib/Vrh.Web.iScheduler.Lib.csproj b/Vrh.Web.iScheduler.Lib/Vrh.Web.iScheduler.Lib.csproj index aadf006..71f1ea8 100644 --- a/Vrh.Web.iScheduler.Lib/Vrh.Web.iScheduler.Lib.csproj +++ b/Vrh.Web.iScheduler.Lib/Vrh.Web.iScheduler.Lib.csproj @@ -262,14 +262,14 @@ ..\packages\Vrh.Membership.4.13.0\lib\net451\Vrh.Membership.dll - - ..\packages\Vrh.Web.Common.Lib.2.20.2\lib\net451\Vrh.Web.Common.Lib.dll + + ..\packages\Vrh.Web.Common.Lib.2.20.3\lib\net451\Vrh.Web.Common.Lib.dll ..\packages\VRH.Web.Providers.2.0.2\lib\net451\Vrh.Web.Providers.dll - - ..\packages\Vrh.XmlProcessing.1.32.0\lib\net45\Vrh.XmlProcessing.dll + + ..\packages\Vrh.XmlProcessing.2.0.7\lib\net45\Vrh.XmlProcessing.dll ..\packages\WebGrease.1.6.0\lib\WebGrease.dll diff --git a/Vrh.Web.iScheduler.Lib/packages.config b/Vrh.Web.iScheduler.Lib/packages.config index ac18159..ea8ed71 100644 --- a/Vrh.Web.iScheduler.Lib/packages.config +++ b/Vrh.Web.iScheduler.Lib/packages.config @@ -60,8 +60,8 @@ - + - + \ No newline at end of file diff --git a/Vrh.Web.iScheduler.Report.Lib/Areas/iSchedulerReport/Controllers/iSchedulerReportController.cs b/Vrh.Web.iScheduler.Report.Lib/Areas/iSchedulerReport/Controllers/iSchedulerReportController.cs index 683cea0..00ea532 100644 --- a/Vrh.Web.iScheduler.Report.Lib/Areas/iSchedulerReport/Controllers/iSchedulerReportController.cs +++ b/Vrh.Web.iScheduler.Report.Lib/Areas/iSchedulerReport/Controllers/iSchedulerReportController.cs @@ -20,6 +20,7 @@ using VRH.Log4Pro.MultiLanguageManager; using Vrh.Web.Common.Lib; using Vrh.iScheduler.Report; +using Vrh.OneMessage; namespace Vrh.Web.iScheduler.Report.Areas.iSchedulerReport.Controllers { @@ -48,7 +49,8 @@ namespace Vrh.Web.iScheduler.Report.Areas.iSchedulerReport.Controllers System.Diagnostics.Debug.WriteLine($"{thisfn}xml={xml}, list={list}, groupId={groupId}"); #endif #endregion DEBUG - var xmlc = new XmlConnection(xml, SRConstants.DEFAULT_CONFIGNAME, XmlConnection.DefaultTypes.ConfigurationName); + if (string.IsNullOrWhiteSpace(xml)) { xml = $"config={SRConstants.DEFAULT_CONFIGNAME};"; } + var xmlc = new XmlConnection(xml); using (var srxp = new SchedulerReportXmlParser(xmlc, base.BaseFolder, base.ForcedLanguageCode, null, groupId)) { using (var dbc = new SchedulerReportDbContext(srxp.ConnectionString)) @@ -213,7 +215,8 @@ namespace Vrh.Web.iScheduler.Report.Areas.iSchedulerReport.Controllers #endif #endregion DEBUG var pem = new PackageEditorModel(); - var xmlc = new XmlConnection(xml, SRConstants.DEFAULT_CONFIGNAME, XmlConnection.DefaultTypes.ConfigurationName); + if (string.IsNullOrWhiteSpace(xml)) { xml = $"config={SRConstants.DEFAULT_CONFIGNAME};"; } + var xmlc = new XmlConnection(xml); using (var srxp = new SchedulerReportXmlParser(xmlc, base.BaseFolder, base.ForcedLanguageCode, null, groupId)) { if (srxp.ErrorList.Any()) @@ -737,9 +740,53 @@ namespace Vrh.Web.iScheduler.Report.Areas.iSchedulerReport.Controllers } return Json(rijson, JsonRequestBehavior.AllowGet); } - #endregion Execute action + #region SendSMTPMessage action + /// + /// Vrh.OneMessage SMTP küldés belépési pontja. + /// + /// + [HttpPost] + public ActionResult SendSMTPMessage(string[][] paramlist = null) + { + var rij = new ReturnInfoJSON(); + try + { + base.ParameterSeparating(typeof(Constants.UParam)); + base.ParameterSeparating(paramlist, typeof(Constants.UParam)); + + if (String.IsNullOrWhiteSpace(base.RequestedParameters[Constants.UParam.LCID])) { base.RequestedParameters[Constants.UParam.LCID] = base.ForcedLanguageCode; } + else { base.ForcedLanguageCode = base.RequestedParameters[Constants.UParam.LCID]; } + + if (string.IsNullOrWhiteSpace(base.RequestedParameters[Constants.UParam.MSGID])) { throw new Exception($"Az '{Constants.UParam.MSGID}' URL paraméter hiányzik!"); } + + var omp = new OneMessageParameters(base.RequestedParameters.ToList(), base.OtherParameters.ToList(), Server.MapPath(WebCommon.SIGN_RELATIVE)); + + var om = new Vrh.OneMessage.OneMessage(omp); + + if (om.ErrorList.Count == 0) + { //ha nem volt hiba a feldolgozás közben, következhet a küldés + om.SendMessage(); + rij.ReturnValue = 0; + rij.ReturnMessage = "Az üzenet elküldése sikeresen megtörtént."; + } + else + { + rij.ReturnValue = -1; + rij.ReturnMessage = string.Join(WebCommon.HTML_NEWLINE, om.ErrorList); + } + } + catch (Exception ex) + { + rij.ReturnValue = -1; + rij.ReturnMessage = string.Join(WebCommon.HTML_NEWLINE, WebCommon.ErrorListBuilder(ex)); + } + return Json(rij, JsonRequestBehavior.AllowGet); + } + #endregion SendSMTPMessage action + + #region Manager action /// /// A riport csomagok kilistázását eredményező nézet előkészítése. @@ -761,7 +808,8 @@ namespace Vrh.Web.iScheduler.Report.Areas.iSchedulerReport.Controllers System.Diagnostics.Debug.WriteLine($"{thisfn}START xml={xml}; groupId={groupId}"); #endif #endregion DEBUG - var xmlc = new XmlConnection(xml, SRConstants.DEFAULT_CONFIGNAME, XmlConnection.DefaultTypes.ConfigurationName); + if (string.IsNullOrWhiteSpace(xml)) { xml = $"config={SRConstants.DEFAULT_CONFIGNAME};"; } + var xmlc = new XmlConnection(xml); using (var srxp = new SchedulerReportXmlParser(xmlc, base.BaseFolder, base.ForcedLanguageCode, null, groupId)) { if (srxp.ErrorList.Any()) @@ -809,7 +857,8 @@ namespace Vrh.Web.iScheduler.Report.Areas.iSchedulerReport.Controllers System.Diagnostics.Debug.WriteLine($"{thisfn}query={query}, GroupId={groupId}, xml={xml}, ActiveOnly={activeOnly}"); #endif #endregion DEBUG - var xmlc = new XmlConnection(xml, SRConstants.DEFAULT_CONFIGNAME, XmlConnection.DefaultTypes.ConfigurationName); + if (string.IsNullOrWhiteSpace(xml)) { xml = $"config={SRConstants.DEFAULT_CONFIGNAME};"; } + var xmlc = new XmlConnection(xml); using (var srxp = new SchedulerReportXmlParser(xmlc, base.BaseFolder, base.ForcedLanguageCode, null, groupId)) { bool allPackage = true; diff --git a/Vrh.Web.iScheduler.Report.Lib/Vrh.Web.iScheduler.Report.Lib.csproj b/Vrh.Web.iScheduler.Report.Lib/Vrh.Web.iScheduler.Report.Lib.csproj index d1c32d1..6be12be 100644 --- a/Vrh.Web.iScheduler.Report.Lib/Vrh.Web.iScheduler.Report.Lib.csproj +++ b/Vrh.Web.iScheduler.Report.Lib/Vrh.Web.iScheduler.Report.Lib.csproj @@ -116,14 +116,14 @@ ..\packages\Vrh.Membership.4.13.0\lib\net451\Vrh.Membership.dll - - ..\packages\Vrh.Web.Common.Lib.2.20.2\lib\net451\Vrh.Web.Common.Lib.dll + + ..\packages\Vrh.Web.Common.Lib.2.20.3\lib\net451\Vrh.Web.Common.Lib.dll ..\packages\VRH.Web.Providers.2.0.2\lib\net451\Vrh.Web.Providers.dll - - ..\packages\Vrh.XmlProcessing.1.32.0\lib\net45\Vrh.XmlProcessing.dll + + ..\packages\Vrh.XmlProcessing.2.0.7\lib\net45\Vrh.XmlProcessing.dll diff --git a/Vrh.Web.iScheduler.Report.Lib/packages.config b/Vrh.Web.iScheduler.Report.Lib/packages.config index f4c4699..e1c39c7 100644 --- a/Vrh.Web.iScheduler.Report.Lib/packages.config +++ b/Vrh.Web.iScheduler.Report.Lib/packages.config @@ -15,7 +15,7 @@ - + - + \ No newline at end of file diff --git a/Vrh.iScheduler.Report/SchedulerPlugin.cs b/Vrh.iScheduler.Report/SchedulerPlugin.cs index 9ff34a5..3136b6c 100644 --- a/Vrh.iScheduler.Report/SchedulerPlugin.cs +++ b/Vrh.iScheduler.Report/SchedulerPlugin.cs @@ -80,7 +80,8 @@ namespace Vrh.iScheduler.Report //ha mégsincs ellenőrzendő, akkor üres listával tér vissza, nem hiba if (!string.IsNullOrWhiteSpace(objectList)) { - var xmlc = new XmlConnection(xml, SRConstants.DEFAULT_CONFIGNAME, XmlConnection.DefaultTypes.ConfigurationName); + if (string.IsNullOrWhiteSpace(xml)) { xml = $"config={SRConstants.DEFAULT_CONFIGNAME};"; } + var xmlc = new XmlConnection(xml); using (var srxp = new SchedulerReportXmlParser(xmlc, "", null, null, groupId)) { if (srxp.ErrorList.Any()) @@ -149,7 +150,8 @@ namespace Vrh.iScheduler.Report #endregion Paraméterek ellenőrzése var resultlist = new List(); - var xmlc = new XmlConnection(xml, SRConstants.DEFAULT_CONFIGNAME, XmlConnection.DefaultTypes.ConfigurationName); + if (string.IsNullOrWhiteSpace(xml)) { xml = $"config={SRConstants.DEFAULT_CONFIGNAME};"; } + var xmlc = new XmlConnection(xml); using (var srxp = new SchedulerReportXmlParser(xmlc, "", null, null, groupId)) { if (srxp.ErrorList.Any()) @@ -281,7 +283,8 @@ namespace Vrh.iScheduler.Report #endregion xml paraméter ürességének ellenőrzése var rijson = new ReturnInfoJSON(); - var xmlc = new XmlConnection(xml, SRConstants.DEFAULT_CONFIGNAME, XmlConnection.DefaultTypes.ConfigurationName); + if (string.IsNullOrWhiteSpace(xml)) { xml = $"config={SRConstants.DEFAULT_CONFIGNAME};"; } + var xmlc = new XmlConnection(xml); using (var srxp = new SchedulerReportXmlParser(xmlc, null, lcid, null, groupId)) { this.LogEntries.Add($"Xml processing OK. XmlConnectionString/lcid/groupId=<{xml}/{lcid}/{groupId}>"); @@ -573,10 +576,10 @@ namespace Vrh.iScheduler.Report #region Paraméterek összeszedése és behelyettesítése var onp = new OneMessage.OneMessageParameters { AppPath = "" }; - foreach (var par in srxp.PackageExecute.SendMessageUrl.UrlParameters) - { - onp.Add(par.Name, isrvars.Substitution(par.Value)); - } + var parameterdictionary = srxp.PackageExecute.SendMessageUrl.UrlParameters + .Select(par=>new KeyValuePair(par.Name, isrvars.Substitution(par.Value))) + .ToList(); + onp = new OneMessage.OneMessageParameters(parameterdictionary); ; this.LogEntries.Add($"OneMessage: Parameter processing is OK!"); #endregion Paraméterek összeszedése és behelyettesítése diff --git a/Vrh.iScheduler.Report/Vrh.iScheduler.Report.csproj b/Vrh.iScheduler.Report/Vrh.iScheduler.Report.csproj index 85e04cb..3ea21d2 100644 --- a/Vrh.iScheduler.Report/Vrh.iScheduler.Report.csproj +++ b/Vrh.iScheduler.Report/Vrh.iScheduler.Report.csproj @@ -117,8 +117,8 @@ ..\packages\VRH.Web.Providers.2.0.2\lib\net451\Vrh.Web.Providers.dll - - ..\packages\Vrh.XmlProcessing.1.32.0\lib\net45\Vrh.XmlProcessing.dll + + ..\packages\Vrh.XmlProcessing.2.0.7\lib\net45\Vrh.XmlProcessing.dll diff --git a/Vrh.iScheduler.Report/packages.config b/Vrh.iScheduler.Report/packages.config index 0d649ad..19fde66 100644 --- a/Vrh.iScheduler.Report/packages.config +++ b/Vrh.iScheduler.Report/packages.config @@ -16,5 +16,5 @@ - + \ No newline at end of file diff --git a/Vrh.iScheduler/ScheduleExecute.cs b/Vrh.iScheduler/ScheduleExecute.cs index 7c5ed0b..519c24a 100644 --- a/Vrh.iScheduler/ScheduleExecute.cs +++ b/Vrh.iScheduler/ScheduleExecute.cs @@ -60,7 +60,8 @@ namespace Vrh.iScheduler System.Diagnostics.Debug.WriteLine($"{dpx} START: xmlConnectionString='{xmlConnectionString}'"); #region Xml parser - var xmlc = new XmlConnection(xmlConnectionString, SchConst.DEFAULT_XMLCONFIGNAME, XmlConnection.DefaultTypes.ConfigurationName); + if (string.IsNullOrWhiteSpace(xmlConnectionString)) { xmlConnectionString = $"config={SchConst.DEFAULT_XMLCONFIGNAME};"; } + var xmlc = new XmlConnection(xmlConnectionString); this.Scheduler = new SchedulerXmlParser(xmlc, baseFolder, lcid, null); if (this.Scheduler.ErrorList.Any()) { diff --git a/Vrh.iScheduler/SchedulerWordCodes.cs b/Vrh.iScheduler/SchedulerWordCodes.cs index 69ffba6..7515273 100644 --- a/Vrh.iScheduler/SchedulerWordCodes.cs +++ b/Vrh.iScheduler/SchedulerWordCodes.cs @@ -1,9 +1,9 @@ -using VRH.Log4Pro.MultiLanguageManager; +using VRH.Log4Pro.MultiLanguageManager; namespace Vrh.iScheduler { /// - /// Az iScheduler-ben hasznlatos szkdok. + /// Az iScheduler-ben használatos szókódok. /// [TranslationModule(MODULNAME)] public static class SchedulerWordCodes @@ -13,86 +13,86 @@ namespace Vrh.iScheduler public const string MODULNAME = "ISCHEDULER"; /// - /// Az iScheduler-ben hasznlatos szkdok. + /// Az iScheduler-ben használatos szókódok. /// public static class iScheduler { #region Error /// - /// Hibazenetek szkdjai. + /// Hibaüzenetek szókódjai. /// public static class Error { /// - /// "A fjl nem ltezik! Fjlnv={0}" / "The file does not exist! Filename={0}" + /// "A fájl nem létezik! Fájlnév={0}" / "The file does not exist! Filename={0}" /// - [InitializeTranslation("A fjl nem ltezik! Fjlnv={0}", huhu)] + [InitializeTranslation("A fájl nem létezik! Fájlnév={0}", huhu)] [InitializeTranslation("The file does not exist! Filename={0}", enus)] public static class FileDoesNotExists { } /// - /// "Hiba trtnt az XML fjl feldolgozsa kzben!" / + /// "Hiba történt az XML fájl feldolgozása közben!" / /// "Error occured when processing XML file!" /// - [InitializeTranslation("Hiba trtnt az XML fjl feldolgozsa kzben!", huhu)] + [InitializeTranslation("Hiba történt az XML fájl feldolgozása közben!", huhu)] [InitializeTranslation("Error occured when processing XML file!", enus)] public static class ErrorOccuredWhileXMLParsing { } /// - /// "Nem tallhat a megadott temezs! Azonost = {0}" + /// "Nem található a megadott ütemezés! Azonosító = {0}" /// "The specified schedule could not be found! ID = {0}" /// - [InitializeTranslation("Nem tallhat a megadott temezs! Azonost = {0}", huhu)] + [InitializeTranslation("Nem található a megadott ütemezés! Azonosító = {0}", huhu)] [InitializeTranslation("The specified schedule could not be found! ID = {0}", enus)] public static class NotFoundSchedule { } /// - /// "A \"bootboxid\" paramter nincs vagy res! Az iScheduler.Editor szmra szksges a \"bootboxid\" paramter!" / + /// "A \"bootboxid\" paraméter nincs vagy üres! Az iScheduler.Editor számára szükséges a \"bootboxid\" paraméter!" / /// "The \"bootboxid\" parameter is missing or empty! The iScheduler.Editor requires the \"bootboxid\" parameter!" /// - [InitializeTranslation("A \"bootboxid\" paramter nincs vagy res! Az iScheduler.Editor szmra szksges a \"bootboxid\" paramter!", huhu)] + [InitializeTranslation("A \"bootboxid\" paraméter nincs vagy üres! Az iScheduler.Editor számára szükséges a \"bootboxid\" paraméter!", huhu)] [InitializeTranslation("The \"bootboxid\" parameter is missing or empty! The iScheduler.Editor requires the \"bootboxid\" parameter!", enus)] public static class BootboxIdEmpty { } /// - /// "Az 'id' paramter tpusa rossz! id={0}" + /// "Az 'id' paraméter típusa rossz! id={0}" /// - [InitializeTranslation("Az 'id' paramter tpusa rossz! id={0}", huhu)] + [InitializeTranslation("Az 'id' paraméter típusa rossz! id={0}", huhu)] [InitializeTranslation("Type of 'id' parameter is incorrect! id={0}", enus)] public static class TypeOfIdIsWrong { } /// - /// "Az temezs nem egy sorozat tagja, pedig annak trlst kezdemnyezte!" + /// "Az ütemezés nem egy sorozat tagja, pedig annak törlését kezdeményezte!" /// - [InitializeTranslation("Az temezs nem egy sorozat tagja, pedig annak trlst kezdemnyezte!", huhu)] + [InitializeTranslation("Az ütemezés nem egy sorozat tagja, pedig annak törlését kezdeményezte!", huhu)] [InitializeTranslation("Schedule is not a member of a schedule series, but you initiated the deletion of a series!", enus)] public static class ScheduleIsNotAMemberOfTheSeries { } /// - /// "Konzisztencia ellenrzs nem lehetsges, mert mg nincs temezs az adatbzisban!" + /// "Konzisztencia ellenõrzés nem lehetséges, mert még nincs ütemezés az adatbázisban!" /// - [InitializeTranslation("Konzisztencia ellenrzs nem lehetsges, mert mg nincs temezs az adatbzisban!", huhu)] + [InitializeTranslation("Konzisztencia ellenõrzés nem lehetséges, mert még nincs ütemezés az adatbázisban!", huhu)] [InitializeTranslation("No consistency check is possibile, as there are no schedules in the database", enus)] public static class ThereAreNoSchedules { } /// - /// "Ez a nzet mg fejleszts alatt! Nzet kdja={0}" + /// "Ez a nézet még fejlesztés alatt! Nézet kódja={0}" /// - [InitializeTranslation("Ez a nzet mg fejleszts alatt! Nzet kdja={0}", huhu)] + [InitializeTranslation("Ez a nézet még fejlesztés alatt! Nézet kódja={0}", huhu)] [InitializeTranslation("Under development. View code ={0}", enus)] public static class ThisViewIsUnderDeveloped { } /// - /// "A nzet kdja nem ltezik! Nzet kdja={0}" + /// "A nézet kódja nem létezik! Nézet kódja={0}" /// - [InitializeTranslation("A nzet kdja nem ltezik! Nzet kdja={0}", huhu)] + [InitializeTranslation("A nézet kódja nem létezik! Nézet kódja={0}", huhu)] [InitializeTranslation("View does not exist! View code={0}", enus)] public static class ThisViewIsNotExists { } /// - /// "Az temezett feladat idpontja nem lehet korbbi a mdosts idpontjnl!" + /// "Az ütemezett feladat idõpontja nem lehet korábbi a módosítás idõpontjánál!" /// - [InitializeTranslation("Az temezett feladat idpontja nem lehet korbbi a mdosts idpontjnl!", huhu)] + [InitializeTranslation("Az ütemezett feladat idõpontja nem lehet korábbi a módosítás idõpontjánál!", huhu)] [InitializeTranslation("Schedule time can not be before current time!", enus)] public static class TimeOfTheScheduledTaskCannotBeErlier { } } @@ -100,88 +100,88 @@ namespace Vrh.iScheduler #region Manager /// - /// Az iScheduler.Manager-rel kapcsolatos szkdok + /// Az iScheduler.Manager-rel kapcsolatos szókódok /// public static class Manager { /// - /// "temezs kezel" + /// "Ütemezés kezelõ" /// - [InitializeTranslation("temezs kezel", huhu)] + [InitializeTranslation("Ütemezés kezelõ", huhu)] [InitializeTranslation("Schedule Manager", enus)] public static class Title { } /// - /// "Katt a mdostshoz!" + /// "Katt a módosításhoz!" /// - [InitializeTranslation("Katt a mdostshoz!", huhu)] + [InitializeTranslation("Katt a módosításhoz!", huhu)] [InitializeTranslation("Click for modification!", enus)] public static class MakeEditableToolTip { } /// - /// "Krem vrjon ..." + /// "Kérem várjon ..." /// - [InitializeTranslation("Krem vrjon ...", huhu)] + [InitializeTranslation("Kérem várjon ...", huhu)] [InitializeTranslation("Please wait ...", enus)] public static class WaitMessage { } /// - /// "Biztos benne, hogy trli az temezst?" + /// "Biztos benne, hogy törli az ütemezést?" /// - [InitializeTranslation("Biztos benne, hogy trli az temezst?", huhu)] + [InitializeTranslation("Biztos benne, hogy törli az ütemezést?", huhu)] [InitializeTranslation("Are You sure to delete the schedule?", enus)] public static class ConfirmDelete { } /// - /// "Biztos benne, hogy az temezst kitrli a sorozatbl?" + /// "Biztos benne, hogy az ütemezést kitörli a sorozatból?" /// - [InitializeTranslation("Biztos benne, hogy az temezst kitrli a sorozatbl?", huhu)] + [InitializeTranslation("Biztos benne, hogy az ütemezést kitörli a sorozatból?", huhu)] [InitializeTranslation("Are you sure to remove schedule from this series?", enus)] public static class ConfirmDeleteFromSeries { } /// - /// "Az sszes olyan temezs trlst kezdemnyezte, amelyhez jelen temezsi is tartozik. Az temezsek trlse utn, a sorozatazonost is trlsre kerl! \n\nBiztos benne, hogy trli a sorozatot s a sorozathoz tartoz sszes temezst?" + /// "Az összes olyan ütemezés törlését kezdeményezte, amelyhez jelen ütemezési is tartozik. Az ütemezések törlése után, a sorozatazonosító is törlésre kerül! \n\nBiztos benne, hogy törli a sorozatot és a sorozathoz tartozó összes ütemezést?" /// - [InitializeTranslation("Az sszes olyan temezs trlst kezdemnyezte, amelyhez jelen temezsi is tartozik. Az temezsek trlse utn, a sorozatazonost is trlsre kerl!" - + " Biztos benne, hogy trli a sorozatot s a sorozathoz tartoz sszes temezst?", huhu)] + [InitializeTranslation("Az összes olyan ütemezés törlését kezdeményezte, amelyhez jelen ütemezési is tartozik. Az ütemezések törlése után, a sorozatazonosító is törlésre kerül!" + + " Biztos benne, hogy törli a sorozatot és a sorozathoz tartozó összes ütemezést?", huhu)] [InitializeTranslation("You initiated the removal of all the schedules of the series where this schedule belongs to. After removal of all schedules, the series will be removed!" + " Are You sure to remove the series with all the schedules in it?", enus)] public static class ConfirmDeleteSeries { } /// - /// "Konzisztencia vizsglat folyamatban ..." + /// "Konzisztencia vizsgálat folyamatban ..." /// - [InitializeTranslation("Konzisztencia vizsglat folyamatban ...", huhu)] + [InitializeTranslation("Konzisztencia vizsgálat folyamatban ...", huhu)] [InitializeTranslation("Consistency check is running...", enus)] public static class ConsistencyWaitMessage { } /// - /// "Azok az temezsek, melyek objektuma mr nem ltezik." + /// "Azok az ütemezések, melyek objektuma már nem létezik." /// - [InitializeTranslation("Azok az temezsek, melyek objektuma mr nem ltezik.", huhu)] + [InitializeTranslation("Azok az ütemezések, melyek objektuma már nem létezik.", huhu)] [InitializeTranslation("These are the schedules, that refer to objects, that do not exist anymore.", enus)] public static class ConsistencyTitle { } #region Button public static class Button { - [InitializeTranslation("Hnap nzet", huhu)] + [InitializeTranslation("Hónap nézet", huhu)] [InitializeTranslation("Month view", enus)] public static class GoToMonthView { } - [InitializeTranslation("Lista nzet", huhu)] + [InitializeTranslation("Lista nézet", huhu)] [InitializeTranslation("List view", enus)] public static class GoToListView { } - [InitializeTranslation("Konzisztencia ellenrzs KI", huhu)] + [InitializeTranslation("Konzisztencia ellenõrzés KI", huhu)] [InitializeTranslation("Consistency check OFF", enus)] public static class ConsistencyCheckOff { } - [InitializeTranslation("Konzisztencia ellenrzs BE", huhu)] + [InitializeTranslation("Konzisztencia ellenõrzés BE", huhu)] [InitializeTranslation("Consistency check ON", enus)] public static class ConsistencyCheckOn { } - [InitializeTranslation("j temezs", huhu)] + [InitializeTranslation("Új ütemezés", huhu)] [InitializeTranslation("Create new schedule", enus)] public static class NewSchedule { } @@ -193,7 +193,7 @@ namespace Vrh.iScheduler #region Label /// - /// Manager-ben hasznlatos cmkk. + /// Manager-ben használatos címkék. /// public static class Label { @@ -212,30 +212,30 @@ namespace Vrh.iScheduler public static class ObjectId { } /// - /// "Mvelet" / "Operation" + /// "Mûvelet" / "Operation" /// - [InitializeTranslation("Mvelet", huhu)] + [InitializeTranslation("Mûvelet", huhu)] [InitializeTranslation("Operation", enus)] public static class OperationId { } /// - /// "Idpont" / "Timestamp" + /// "Idõpont" / "Timestamp" /// - [InitializeTranslation("Idpont", huhu)] + [InitializeTranslation("Idõpont", huhu)] [InitializeTranslation("Timestamp", enus)] public static class OperationTime { } /// - /// "llapot" / "Status" + /// "Állapot" / "Status" /// - [InitializeTranslation("llapot", huhu)] + [InitializeTranslation("Állapot", huhu)] [InitializeTranslation("Status", enus)] public static class State { } /// - /// "Tpus" / "Type" + /// "Típus" / "Type" /// - [InitializeTranslation("Tpus", huhu)] + [InitializeTranslation("Típus", huhu)] [InitializeTranslation("Type", enus)] public static class ObjectTpye { } @@ -247,9 +247,9 @@ namespace Vrh.iScheduler public static class ObjectGroupId { } /// - /// "Visszatrsi rtk:" / "Return value:" + /// "Visszatérési érték:" / "Return value:" /// - [InitializeTranslation("Visszatrsi rtk:", huhu)] + [InitializeTranslation("Visszatérési érték:", huhu)] [InitializeTranslation("Return value:", enus)] public static class ReturnValue { } @@ -261,9 +261,9 @@ namespace Vrh.iScheduler public static class SeriesType { } /// - /// "Sorozatazonost" / "Series ID" + /// "Sorozatazonosító" / "Series ID" /// - [InitializeTranslation("Sorozatazonost", huhu)] + [InitializeTranslation("Sorozatazonosító", huhu)] [InitializeTranslation("Series ID", enus)] public static class SeriesId { } } @@ -271,14 +271,14 @@ namespace Vrh.iScheduler #region State /// - /// Idzts llapotainak fordtsai. + /// Idõzítés állapotainak fordításai. /// public static class State { /// - /// "Aktv" / "Active" + /// "Aktív" / "Active" /// - [InitializeTranslation("Aktv", huhu)] + [InitializeTranslation("Aktív", huhu)] [InitializeTranslation("Active", enus)] public static class Active { } @@ -290,9 +290,9 @@ namespace Vrh.iScheduler public static class Success { } /// - /// "Hibs" / "Failed" + /// "Hibás" / "Failed" /// - [InitializeTranslation("Hibs", huhu)] + [InitializeTranslation("Hibás", huhu)] [InitializeTranslation("Failed", enus)] public static class Failed { } } @@ -302,49 +302,49 @@ namespace Vrh.iScheduler #region Editor /// - /// Az iScheduler.Editor-ral kapcsolatos szkdok + /// Az iScheduler.Editor-ral kapcsolatos szókódok /// public static class Editor { /// - /// "j temezs" / "New schedule" + /// "Új ütemezés" / "New schedule" /// - [InitializeTranslation("j temezs", huhu)] + [InitializeTranslation("Új ütemezés", huhu)] [InitializeTranslation("New schedule", enus)] public static class TitleAdd { } /// - /// "temezs mdostsa" / "Schedule change" + /// "Ütemezés módosítása" / "Schedule change" /// - [InitializeTranslation("temezs mdostsa", huhu)] + [InitializeTranslation("Ütemezés módosítása", huhu)] [InitializeTranslation("Schedule change", enus)] public static class TitleUpdate { } /// - /// "Az temezs mr nem egy sorozat tagja." / "Scheduling is no longer part of a series." + /// "Az ütemezés már nem egy sorozat tagja." / "Scheduling is no longer part of a series." /// - [InitializeTranslation("Az temezs mr nem egy sorozat tagja.", huhu)] + [InitializeTranslation("Az ütemezés már nem egy sorozat tagja.", huhu)] [InitializeTranslation("Scheduling is no longer part of a series.", enus)] public static class ScheduleIsNotAMemberOfASeries { } /// - /// "Tbb kijellse Ctrl + Click" / "Select more Ctrl + Click" + /// "Több kijelölése Ctrl + Click" / "Select more Ctrl + Click" /// - [InitializeTranslation("Tbb kijellse Ctrl + Click", huhu)] + [InitializeTranslation("Több kijelölése Ctrl + Click", huhu)] [InitializeTranslation("Select more Ctrl + Click", enus)] public static class FootnoteOfDays { } /// - /// "Krem, vrjon a mvelet vgrehajtsra !" / "Please wait for the operation to complete!" + /// "Kérem, várjon a mûvelet végrehajtására !" / "Please wait for the operation to complete!" /// - [InitializeTranslation("Krem, vrjon a mvelet vgrehajtsra !", huhu)] + [InitializeTranslation("Kérem, várjon a mûvelet végrehajtására !", huhu)] [InitializeTranslation("Please wait for the operation to complete!", enus)] public static class ExecuteWaitMessage { } /// - /// "A mvelet eredmnye !" / "Result of the operation !" + /// "A mûvelet eredménye !" / "Result of the operation !" /// - [InitializeTranslation("A mvelet eredmnye !", huhu)] + [InitializeTranslation("A mûvelet eredménye !", huhu)] [InitializeTranslation("Result of the operation !", enus)] public static class ResultOfTheOperation { } @@ -355,44 +355,44 @@ namespace Vrh.iScheduler public static class Button { /// - /// "Kilps" / "Exit" + /// "Kilépés" / "Exit" /// - [InitializeTranslation("Kilps", huhu)] + [InitializeTranslation("Kilépés", huhu)] [InitializeTranslation("Exit", enus)] public static class Exit { } /// - /// "Ments" / "Save" + /// "Mentés" / "Save" /// - [InitializeTranslation("Ments", huhu)] + [InitializeTranslation("Mentés", huhu)] [InitializeTranslation("Save", enus)] public static class Save { } /// - /// "Trls" / "Remove" + /// "Törlés" / "Remove" /// - [InitializeTranslation("Trls", huhu)] + [InitializeTranslation("Törlés", huhu)] [InitializeTranslation("Remove", enus)] public static class Remove { } /// - /// "Objektum szerkesztse" / "v" + /// "Objektum szerkesztése" / "v" /// - [InitializeTranslation("Objektum szerkesztse", huhu)] + [InitializeTranslation("Objektum szerkesztése", huhu)] [InitializeTranslation("Object editing", enus)] public static class ObjectEditor { } /// - /// "Trls a sorozatbl" / "Remove from the series" + /// "Törlés a sorozatból" / "Remove from the series" /// - [InitializeTranslation("Trls a sorozatbl", huhu)] + [InitializeTranslation("Törlés a sorozatból", huhu)] [InitializeTranslation("Remove from the series", enus)] public static class DeleteFromSeries { } /// - /// "Sorozat trlse" / "Remove series" + /// "Sorozat törlése" / "Remove series" /// - [InitializeTranslation("Sorozat trlse", huhu)] + [InitializeTranslation("Sorozat törlése", huhu)] [InitializeTranslation("Remove series", enus)] public static class DeleteTheSeries { } } @@ -400,57 +400,57 @@ namespace Vrh.iScheduler #region Label /// - /// Editorban hasznlatos cmkk fordtsai. + /// Editorban használatos címkék fordításai. /// public static class Label { /// - /// "Mvelet vgrehajtsa ments utn" / "Perform operation after saving" + /// "Mûvelet végrehajtása mentés után" / "Perform operation after saving" /// - [InitializeTranslation("Mvelet vgrehajtsa ments utn", huhu)] + [InitializeTranslation("Mûvelet végrehajtása mentés után", huhu)] [InitializeTranslation("Perform operation after saving", enus)] public static class ScheduleExecute { } /// - /// "temezs tpusa" / "Schedule type" + /// "Ütemezés típusa" / "Schedule type" /// - [InitializeTranslation("temezs tpusa", huhu)] + [InitializeTranslation("Ütemezés típusa", huhu)] [InitializeTranslation("Schedule type", enus)] public static class ScheduleType { } /// - /// "Els alkalom" / "First time" + /// "Elsõ alkalom" / "First time" /// - [InitializeTranslation("Els alkalom", huhu)] + [InitializeTranslation("Elsõ alkalom", huhu)] [InitializeTranslation("First time", enus)] public static class FirstTime { } /// - /// "Hetek szma" / "Number of weeks" + /// "Hetek száma" / "Number of weeks" /// - [InitializeTranslation("Hetek szma", huhu)] + [InitializeTranslation("Hetek száma", huhu)] [InitializeTranslation("Number of weeks", enus)] public static class NumberOfWeeks { } /// - /// "Hnapok szma" / "Number of months" + /// "Hónapok száma" / "Number of months" /// - [InitializeTranslation("Hnapok szma", huhu)] + [InitializeTranslation("Hónapok száma", huhu)] [InitializeTranslation("Number of months", enus)] public static class NumberOfMonths { } /// - /// "Sorozat megnevezse" / "Series name" + /// "Sorozat megnevezése" / "Series name" /// - [InitializeTranslation("Sorozat megnevezse", huhu)] + [InitializeTranslation("Sorozat megnevezése", huhu)] [InitializeTranslation("Series name", enus)] public static class SeriesName { } /// - /// "Sorozat szne" / "Series color" + /// "Sorozat színe" / "Series color" /// - [InitializeTranslation("Sorozat szne", huhu)] + [InitializeTranslation("Sorozat színe", huhu)] [InitializeTranslation("Series color", enus)] public static class SeriesColor { } @@ -461,12 +461,12 @@ namespace Vrh.iScheduler [InitializeTranslation("Days", enus)] public static class Days { } - #region A ht napjai + #region A hét napjai /// /// "" / "" /// - [InitializeTranslation("Htf", huhu)] + [InitializeTranslation("Hétfõ", huhu)] [InitializeTranslation("Monday", enus)] public static class Monday { } @@ -485,16 +485,16 @@ namespace Vrh.iScheduler public static class Wednesday { } /// - /// "Cstrtk" / "Thursday" + /// "Csütörtök" / "Thursday" /// - [InitializeTranslation("Cstrtk", huhu)] + [InitializeTranslation("Csütörtök", huhu)] [InitializeTranslation("Thursday", enus)] public static class Thursday { } /// - /// "Pntek" / "Friday" + /// "Péntek" / "Friday" /// - [InitializeTranslation("Pntek", huhu)] + [InitializeTranslation("Péntek", huhu)] [InitializeTranslation("Friday", enus)] public static class Friday { } @@ -506,19 +506,19 @@ namespace Vrh.iScheduler public static class Saturday { } /// - /// "Vasrnap" / "Sunday" + /// "Vasárnap" / "Sunday" /// - [InitializeTranslation("Vasrnap", huhu)] + [InitializeTranslation("Vasárnap", huhu)] [InitializeTranslation("Sunday", enus)] public static class Sunday { } - #endregion A ht napjai + #endregion A hét napjai } #endregion Label #region Wizard /// - /// Az Editor-ban a radi buttonok elnevezshez hasznljuk. + /// Az Editor-ban a radió buttonok elnevezéséhez használjuk. /// public static class Wizard { @@ -545,7 +545,24 @@ namespace Vrh.iScheduler } #endregion Wizard } - #endregion Editor + #endregion Editor + + #region Execute + public static class Execute + { + [InitializeTranslation("Az ütemezés végrehajtása befejeződött.", huhu)] + [InitializeTranslation("Execution of schedule finished.", enus)] + public static class ActionIsCompleted { } + + [InitializeTranslation("Név", huhu)] + [InitializeTranslation("Name", enus)] + public static class ColName { } + + [InitializeTranslation("Érték", huhu)] + [InitializeTranslation("Value", enus)] + public static class ColVal { } + } + #endregion Execute } } } \ No newline at end of file diff --git a/Vrh.iScheduler/Vrh.iScheduler.csproj b/Vrh.iScheduler/Vrh.iScheduler.csproj index ad85f58..fcfe92a 100644 --- a/Vrh.iScheduler/Vrh.iScheduler.csproj +++ b/Vrh.iScheduler/Vrh.iScheduler.csproj @@ -124,8 +124,8 @@ ..\packages\VRH.Log4Pro.MultiLanguageManager.3.21.3\lib\net45\VRH.Log4Pro.MultiLanguageManager.dll - - ..\packages\Vrh.Logger.3.0.9\lib\net451\Vrh.Logger.dll + + ..\packages\Vrh.Logger.3.1.0\lib\net451\Vrh.Logger.dll ..\packages\Vrh.Membership.4.13.0\lib\net451\Vrh.Membership.dll @@ -133,8 +133,8 @@ ..\packages\VRH.Web.Providers.2.0.2\lib\net451\Vrh.Web.Providers.dll - - ..\packages\Vrh.XmlProcessing.1.32.0\lib\net45\Vrh.XmlProcessing.dll + + ..\packages\Vrh.XmlProcessing.2.0.7\lib\net45\Vrh.XmlProcessing.dll diff --git a/Vrh.iScheduler/packages.config b/Vrh.iScheduler/packages.config index 492ea2e..36b7eb8 100644 --- a/Vrh.iScheduler/packages.config +++ b/Vrh.iScheduler/packages.config @@ -20,8 +20,8 @@ - + - + \ No newline at end of file diff --git a/iSchedulerMonitor/Plugins.Config.xml b/iSchedulerMonitor/Plugins.Config.xml index 69fab29..19584fd 100644 --- a/iSchedulerMonitor/Plugins.Config.xml +++ b/iSchedulerMonitor/Plugins.Config.xml @@ -3,4 +3,6 @@ + + \ No newline at end of file diff --git a/iSchedulerMonitor/iSchedulerMonitor.ACPlugin.csproj b/iSchedulerMonitor/iSchedulerMonitor.ACPlugin.csproj index 2231318..1c917f6 100644 --- a/iSchedulerMonitor/iSchedulerMonitor.ACPlugin.csproj +++ b/iSchedulerMonitor/iSchedulerMonitor.ACPlugin.csproj @@ -40,8 +40,8 @@ ..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll - - ..\packages\Vrh.ApplicationContainer.4.3.1\lib\net451\InstanceFactory.FromXML.dll + + ..\packages\Vrh.ApplicationContainer.4.4.1\lib\net451\InstanceFactory.FromXML.dll ..\packages\Microsoft.Report.Viewer.11.0.0.0\lib\net\Microsoft.ReportViewer.Common.dll @@ -100,8 +100,8 @@ - - ..\packages\Vrh.ApplicationContainer.4.3.1\lib\net451\Vrh.ApplicationContainer.dll + + ..\packages\Vrh.ApplicationContainer.4.4.1\lib\net451\Vrh.ApplicationContainer.dll ..\packages\Vrh.ApplicationContainer.Control.Contract.0.1.0\lib\net451\Vrh.ApplicationContainer.Control.Contract.dll @@ -118,8 +118,8 @@ ..\packages\VRH.Log4Pro.MultiLanguageManager.3.21.3\lib\net45\VRH.Log4Pro.MultiLanguageManager.dll - - ..\packages\Vrh.Logger.3.0.9\lib\net451\Vrh.Logger.dll + + ..\packages\Vrh.Logger.3.1.0\lib\net451\Vrh.Logger.dll ..\packages\Vrh.Membership.4.13.0\lib\net451\Vrh.Membership.dll @@ -133,8 +133,8 @@ ..\packages\VRH.Web.Providers.2.0.2\lib\net451\Vrh.Web.Providers.dll - - ..\packages\Vrh.XmlProcessing.1.32.0\lib\net45\Vrh.XmlProcessing.dll + + ..\packages\Vrh.XmlProcessing.2.0.7\lib\net45\Vrh.XmlProcessing.dll @@ -157,12 +157,6 @@ - - Always - - - Always - SqlServerTypes\x64\msvcr100.dll PreserveNewest @@ -174,10 +168,16 @@ Always + + Always + + + Always + Always diff --git a/iSchedulerMonitor/packages.config b/iSchedulerMonitor/packages.config index 4208364..a051edf 100644 --- a/iSchedulerMonitor/packages.config +++ b/iSchedulerMonitor/packages.config @@ -12,13 +12,13 @@ - + - + - + \ No newline at end of file -- libgit2 0.21.2